@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

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

body{
  min-height: 100vh;
  background: url(/Assets/bg.gif) no-repeat;
  background-size: cover;
  background-position: center;
}

.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.3rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.1);
  backdrop-filter: blur(24px);
  z-index: -1;
}

.header::after{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, white, transparent);
  transition: .5s ease;
  z-index:-1;
}

.header:hover::after{
  left: 100%;
}

.logo{
  font-size: 1rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
}

.navbar a{
  font-size: 1.15rem;
  color:#FFFFFF;
  text-decoration: none;
  font-weight: 500;
  margin-left:2.5rem;
}

#check{
  display: none;
}

.icons{
  position: absolute;
  right: 5%;
  font-size: 1.5rem;
  color: #FFFFFF;
  cursor: pointer;
  display: none;
}

/* wowowowoow*/
@media (max-width: 992px) {
  
  .header{
    padding:1.3rem 5%;
  }
}

@media (max-width: 768px) {
  
  .icons{
    display: inline-flex;
  }
  
  #check:checked~.icons #menu-icon{
    display: none;
  }
  
  .icons #close-icon{
    display: none;
  }
  
  #check:checked~.icons #close-icon{
    display: block;
  }
  
  .navbar{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(24px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    overflow: hidden;
    transition: .3s ease;
  }
  
  #check:checked~.navbar{
    height: 17.7rem;
    /*border-radius: 40px;*/
    
  }
  
  .navbar a {
    display: block;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-align: center;
    transform: translateY(-50px);
    opacity:0;
    transition: .3s ease;
    
  }
  
  #check:checked~.navbar a{
    transform: translate(0);
    opacity: 1;
    transition-delay: calc(.15s = var(--i));
  }
}
