/* header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 120px;
  background: #11141a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
} */
/* .logo,
img {
  width: 150px;
} */
.dark-btn {
  position: absolute;
  right: 0;
  top: 1.6rem;
  margin-right: 35px;
}

.switch-container {
  --color: #a5a5b0;
  --size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: var(--size);
  user-select: none;
  fill: var(--color);
}

.switch-container .moon {
  animation: keyframes-fill 0.5s;
}

.switch-container .sun {
  fill: var(--blue);
  display: none;
  animation: keyframes-fill 0.5s;
}

.switch-container input:checked ~ .moon {
  display: none;
}

.switch-container input:checked ~ .sun {
  display: block;
}

.switch-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

@keyframes keyframes-fill {
  0% {
    transform: rotate(-360deg) scale(0);
    opacity: 0;
  }

  75% {
    transform: rotate(25deg);
  }
}

nav a {
  font-size: 18px;
  color: #3e3e3e;
  text-decoration: none;
  font-weight: 500;
  margin-left: 35px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
nav a:hover,
nav a.active {
  color: var(--blue);
}

nav {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* height: 80px; */
  background: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: 0.2s;
}
#navbar.shadow {
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: 0.2s;
  padding: 10px 20px;
}
.nav-logo {
  margin: 0;
}
.nav-logo img {
  width: 140px;
  /* margin-left: 50px; */
}
nav ul {
  float: right;
  margin-right: 50px;
}
nav ul li {
  display: inline-block;
  /* line-height: 80px; */
  /* margin: 0 15px; */
}
nav ul li a {
  position: relative;
  /* top: 35px; */
  color: #3e3e3e;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 700;
  /* text-transform: uppercase; */
}
nav ul li a:hover {
  color: var(--black);
}
nav ul li a:before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--white);
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transform-origin: right;
  -ms-transform-origin: right;
  transform-origin: right;
  -webkit-transition: -webkit-transform 0.4s linear;
  transition: -webkit-transform 0.4s linear;
  -o-transition: transform 0.4s linear;
  transition: transform 0.4s linear;
  transition: transform 0.4s linear, -webkit-transform 0.4s linear;
}
nav ul li a:hover:before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transform-origin: left;
  -ms-transform-origin: left;
  transform-origin: left;
}

label #btn,
label #cancel {
  color: #000;
  font-size: 30px;
  float: right;
  position: relative;
  /* top: 10px; */
  /* line-height: 80px; */
  margin-right: 30px;
  cursor: pointer;
  display: none;
}
label #btn:hover {
  color: var(--blue);
}
label #cancel:hover {
  color: var(--blue);
}
#check {
  display: none;
}
#check:checked ~ ul {
  left: 0;
}
#check:checked ~ label #btn {
  display: none;
}
#check:checked ~ label #cancel {
  display: block;
  z-index: 5;
}
@media (max-width: 1118px) {
  .nav-logo img {
    left: 5%;
  }
}
@media (max-width: 994px) {
  nav ul li a {
    font-size: 14px;
  }
}
@media (max-width: 860px) {
  label #btn {
    display: block;
  }
  .nav-logo img {
    margin-left: 0;
  }
  label #btn,
  label #cancel {
    margin-right: 0;
  }
  nav {
    justify-content: space-between;
  }
  nav ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: var(--white);
    top: 0;
    left: -100%;
    z-index: 2;
    /* border-left: 3px solid var(--blue); */
    text-align: right;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
  }
  nav ul li {
    display: block;
    margin: 10px 0;
    line-height: 40px;
  }

  nav ul li a {
    color: rgb(0, 0, 0);
    font-size: 19px;
    padding-right: 30px;
    top: 8rem;
  }
  nav ul li a:hover {
    color: var(--blue);
  }
  nav a.active {
    color: var(--blue);
  }
  .nav1 {
    display: none;
  }
}
@media only screen and (max-width: 835px) {
  .dark-btn {
    position: absolute;
    right: 0;
    top: 1.7rem;
    margin-right: 75px;
  }
}
@media only screen and (max-width: 320px) {
  nav ul li {
    line-height: 20px;
  }

  nav ul li a {
    font-size: 14px;
  }
}
