@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");
html{
    height: 100%;
}
body {
  background: repeating-linear-gradient(0deg, rgb(231, 142, 179), rgb(231, 163, 197) 40%, rgb(250, 248, 248));
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  font-family: Poppins, "sans-serif";
  background-color: thistle;
}

.logo {
  color: rgb(250, 248, 248);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 20px;
}
.nav-links {
  display: flex;
  justify-content: space-around;
  width: 45%;
}

.nav-links li {
  list-style: none;
}
.nav-links a {
  color: rgb(250, 248, 248);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 3px;
  animation: navLinkFade ease-in;
}
.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 25px;
  height: 3px;
  border-radius: 30%;
  background-color: rgb(241, 245, 243);
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  /* nav{
        width: 75%;
    } */
  .nav-links {
    position: absolute;
    right: 0px;
    top: 8vh;
    height: 92vh;
    width: 50%;
    background-color: thistle;
    display: flex;
    color: red;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
  }
  .nav-links li {
    opacity: 0;
  }
  .burger {
    display: block;
  }
}

.nav-active {
  transform: translateX(0%);
  transition: transform 0.5s ease-in;
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
.toggle .line-1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line-2 {
  opacity: 0;
}
.toggle .line-3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
