* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* --blue: #4c50e7; */
  --orange: #ff990a;
  --textColor: rgb(28, 28, 28);
}

.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(--orange);
  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: #fff;
  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(--orange);
}

nav {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 0;
  background: black;
  transition: box-shadow 0.3s ease-in-out;
}
#navbar.shadow {
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
nav > p {
  /* width: 180px; */
  position: absolute;
  top: 20px;
  left: 5%;
  color: var(--orange);
  font-weight: 800;
  font-size: 18px;
}
nav > img {
  position: absolute;
  top: 10px;
  left: 5%;
  /* padding-left: 20px; */
  width: 10rem;
}

nav ul {
  float: right;
  margin-right: 90px;
}

nav ul li {
  display: inline-block;
  line-height: 35px;
  margin: 0 15px;
}

nav ul li a {
  position: relative;
  color: white;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 600;
}

nav ul li a:hover {
  color: var(--orange);
}

label #btn,
label #cancel {
  color: var(--orange);
  font-size: 20px;
  float: right;
  position: relative;
  margin-right: 30px;
  cursor: pointer;
  display: none;
}

label #btn:hover {
  color: var(--orange);
}

label #cancel:hover {
  color: var(--orange);
}

#check {
  display: none;
}

@media (max-width: 600px) {
  nav > p {
    top: 22px !important;
    font-size: 16px;
  }
}

@media (max-width: 1118px) {
  nav img {
    left: 5%;
  }
}

/* @media (max-width: 994px) {
 
} */

@media (max-width: 950px) {
  label #btn {
    display: block;
  }
  nav img {
    top: 13px;
    left: 2%;
    width: 7rem;
  }
  nav ul li a {
    font-size: 14px;
  }
  nav {
    padding: 25px 0;
  }
  nav ul {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100dvh;
    text-align: center;
    background: black;
    left: -100%;
    z-index: 2;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
  }
  nav ul li {
    display: block;
    margin: 10px 0;
  }

  nav ul li a {
    font-size: 19px;
    padding-right: 30px;
    top: 8rem;
  }
}

#check:checked ~ ul {
  left: 0;
}

#check:checked ~ label #btn {
  display: none;
}

#check:checked ~ label #cancel {
  display: block;
  z-index: 5;
}

@media (max-width: 860px) {
  .nav1 {
    display: none;
  }
  nav > p {
    top: 20px;
  }
}

@media only screen and (max-width: 835px) {
  .dark-btn {
    position: absolute;
    right: 0;
    top: 1.7rem;
    margin-right: 75px;
  }
}
