@import url('https://fonts.googleapis.com/css2?family=Aldrich&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
*{
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

body{
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:  url(img/animbg.avif), url(img/bg.png), #444;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

main{
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 1em;
  margin: 1em;
}

h1,h2,h3,h4{
  font-family: 'Aldrich', sans-serif;
  margin: 0;
}
h1{
  display: inline-block;
  font-size: 36px
}
h2{
  font-size: 28px;
}
h3{
  font-size: 24px;
}

ul{
  padding: 0;
}
ul li{
  list-style-type: none;
}

article{
  background-color: #666;
  border-radius: 16px;
  margin: 1em 0;
  box-shadow: inset 0 0 5px #000, 0 0 10px #000;
  padding-bottom: .1px;
}

article > h2{
  background-color: #00000070;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 5px 5px #000;
  text-shadow: 3px 3px 2px #000;
  padding: .5em;
}

#me{
  background-color: #ffffff;
  box-shadow: 0 0 20px #fff;
  border-radius: 1em;
}
#me>*{
  color: #000;
}

#projects{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5em;
  padding: 1em;
}
#projects > div{
  width: 100%;
  height: 200px;
  background-color: #00000070;
  border-radius: .5em;
  padding: .5em;
}
#projects > div iframe{
 width 100%; 
}

img{
  width: 100%;
}