* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
font-size: 16px;
scroll-behavior: smooth;
overflow-x: hidden;
}

body {
opacity: 0;
transition: opacity 0.5s ease-in-out;
background-color: black;
}

.fade-in {
opacity: 0;
animation: fadeIn ease-in 0.9s;
animation-fill-mode: forwards;
}

@keyframes fadeIn {
from {
  opacity: 0;
}
to {
  opacity: 1;
}
}

div {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

div.visible {
opacity: 1;
transform: translateY(0);
} 

#home {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.background {
  display: flex;
  z-index: -1;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}
.navbar {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  width: 100%;
  justify-content: space-around;
  z-index: 1001;
  position: absolute;
}
.navbar a {
  color: white;
  font-size: 2.2rem;
  font-weight: 1000;
  text-decoration-line: line-through;
  text-decoration-thickness: 0.2em;
  text-decoration-color: rgba(255, 255, 255, 0);
  transition: text-decoration-color 300ms;
}
.navbar a:hover {
  text-decoration-color: rgba(255, 255, 255, 1);
}
@media (max-width: 935px) {
  .background {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .navbar a {
    text-decoration: none;
  }
}


#about {
  width: 100%;
  height: 100vh;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: black;
  opacity: 1;
  transition: none;
  transform: none;
}
.content {
  opacity: 1;
  transition: none;
  transform: none;
}
.about-content {
  display: flex;
  flex-direction: column;
  color: white;
  width: 40%;
  justify-content: center;
  margin: 0 auto;
}
#about p {
  font-weight: 200;
  font-size: 1.125rem;
  line-height: 1.8;
}
#about p strong {
  font-weight: 700;
}
.learn-more {
  display: flex;
  justify-content: center;
}  
.learn-more a {
  color: white;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.socials img {
  max-width: 1.375rem;
  max-height: 1.375rem;
}
@media (max-width: 935px) {
  #about p {
    font-weight: 200;
    font-size: 1rem;
    line-height: 1.8;
  }
  .about-content {
    padding: 2%;
    width: 80%;
  }
  .learn-more {
    padding: 20px 0;
    justify-content: center;
  }  
  .socials {
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .socials img {
    max-width: 2rem;
    max-height: 2rem;
  }
}

.back-to-top {
  width: 10%;
  margin: 20px auto;
  padding: 10px;
  color: #555;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  border: none;
  height: 20px;
  line-height: 20px;
  transform: none;
  transition: none;
}

footer {
  background-color: black;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: white;
  width: 100%;
  margin-top: auto;
}

footer p {
  font-weight: 300;
}

@media (max-width: 935px) {
footer {
  font-size: 10px;
}
}