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

.navbar {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  width: calc(100% - 25em);
  margin: auto;
  padding: 0.1rem 1rem;
  box-shadow: 0 0 10px #0005;
  font-family: "Times",serif;

  @include flexCenter;
  gap: 0.7rem;

  border-radius: 0.5rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 100;

  a {
    position: relative;
    display: block;
    padding: 0.1rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
  }
  ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center; 
    flex: 1;
    li a {
      display: block;
      padding: 10px 14px;
    }
  }
  .navcontainer {
    display: flex;
    justify-content: center;
    position: relative;
    width: min(1450px, 100% - 1em);
    margin-inline: auto;
    .burger {
      color: #fff;
      display: none;
    }
    .logo {
      margin-right: auto;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .logo img {
      width: 30px;
      border-radius: 50%;
      filter: none !important;
    }
    .logo span {
      color: #fff;
      font-size: 16px;
      font-weight: bold;
      width: 1.5rem;
      transition: all 0.5 ease;
      white-space: nowrap;
    }
    .social-icons {
      display: flex;
      align-items: center;
      margin-left: auto;
    }
    .social-icons a{
	    color: #fff;
      line-height: 30px;
      font-size: 20px;
      margin: 0 2px;
      text-decoration:none;
      white-space: nowrap;
     }
     .social-icons a:hover i{
        z-index: 2;
        -webkit-transition: all 200ms ease-in;
        -webkit-transform: scale(1.3);
        -ms-transition: all 200ms ease-in;
        -ms-transform: scale(1.3);   
        -moz-transition: all 200ms ease-in;
        -moz-transform: scale(1.3);
        transition: all 200ms ease-in;
        transform: scale(1.3);
      }
  }
  .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 0.08rem;
    background-image: linear-gradient(to right, #8ad4ff, #fa7196);
    border-radius: 0.1rem;
    animation: progressMove linear both;
    animation-timeline: scroll(block root);
  }
}

.mobilenav {
  display: none;
}
#nav-check {
  display: none;
}

@keyframes showText {
  from {
    opacity: 0;
    translate: 0 0.3rem;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes progressMove {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
@media only screen and (max-width: 1200px) {
  .sidebar {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 10px;
    overflow-y: visible;
    display: flex;
    justify-content: center;
  }

  .sidebar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sidebar ul li {
    margin: 5px;
  }

  .sidebar ul li a {
    padding-left: 15px;
    padding-right: 10px;
  }

  .sidebar ul ul {
    margin-left: 0;
    width: 100%;
  }

  .sidebar ul ul li a {
    padding-left: 20px;
  }
  .sidebar ul li a::before {
    left: 3px;
  }
  }
  .navbar {
    width: 80%;
    .navcontainer {
      width: min(1450px, 100% + 1em);
    }
  }
}

@media only screen and (max-width: 1200px) {
  .navbar {
    width: 80%;
    .navcontainer {
      width: min(1450px, 100% + 1em);
    }
  }
}

@media only screen and (max-width: 900px) {
  .navbar {
    top: 0.5rem;
    width: 90%;
    .navcontainer {
      justify-content:flex-end;
      .burger {
        display: block;
        font-size: 1.5rem;
        padding: 8px;
        cursor:pointer;
      }
      ul {
        position: absolute;
        width: calc(100% + 1.9em);
        background-color: #333;
        top:100%;
        left:50%;
        translate:-50% 0;
        display: none;
        a {
          color:#FFF;
          font-weight: 400;
        }
        &.active {
          display: block;
        }
      }
    }
  }
}

@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) and (stroke-color: transparent) {
    .progress-bar {
      display: none;
    }
  }
}

.navbtn-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.navbtn,
.navbtn *,
.navbtn:after,
.navbtn:before,
.navbtn:after,
.navbtn:before {
  border: 0 solid;
  box-sizing: border-box;
}
.navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: transparent;
  color: #c4c4c4;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  padding: 10px 20px;
  border-radius: 99rem;
  border-width: 2px;
  text-align: center;
  width: 150px;
}
.navbtn:hover {
  color: #ccefff;
}
.navbtn:disabled {
  cursor: default;
}
.navbtn:-moz-focusring {
  outline: auto;
}
.navbtn svg {
  display: block;
  vertical-align: middle;
}
.navbtn [hidden] {
  display: none;
}
.footer {
  background-color: #000000;
  padding: 35px 0;
  text-align: center;
  font-family: Arial, sans-serif;
  color: white;
  z-index: 2;
}

.footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  max-width: 800px;
  margin-bottom: 20px;
}

.footer ul li {
  text-align: center;
  flex: 1 1 auto;
  min-width: 100px;
}

.footer ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.footer ul li a:hover {
  color: #d6faff;
  text-decoration: underline;
}

.footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer .social-icons a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer .social-icons a:hover {
  color: #d6faff;
  transform: scale(1.2);
}

.copyright {
  color: #ababab;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: bold;
}

.trademark {
  color: gray;
  font-size: 12px;
}

@media (max-width: 900px) {
  footer ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  footer ul li {
    flex: 1 1 45%;
    max-width: 200px;
    flex-grow: 0;
  }

  .social-icons {
    flex-direction: row;
  }
}
