#navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #023e8a;
  z-index: 1000;
  width: 100%;
  height: 8vh;
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 1px 8px #023e8a;
}

#logo {
  width: 170px;
  height: 50px;
}

nav > ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav > ul > li:last-child {
  margin-right: 20px;
}

nav > ul > li > a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 10px;
}

nav > ul > li > a:hover {
  background-color: black;
}

#burger-icon {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 20px;
}

footer {
  background-color: #023e8a;
  color: white;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

#footer-prof-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

footer h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

footer h3 {
  font-size: 1.5rem;
  color: #cccccc;
  margin: 0;
}

#white-social-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 20px 0;
}

#white-social-icons img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

#white-social-icons img:hover {
  transform: scale(1.1);
  filter: brightness(0.8);
}

#footer-logo {
  width: 190px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 40px;
}

footer > aside:last-child {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

@media (max-width: 1024px) {
  #logo {
    width: 150px;
    height: 45px;
  }

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

  nav > ul > li {
    margin: 0 10px;
  }

  nav > ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  footer h1 {
    font-size: 2rem;
  }

  footer h3 {
    font-size: 1.2rem;
  }

  #white-social-icons img {
    width: 50px;
    height: 50px;
  }

  #footer-logo {
    width: 170px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  nav > ul > li {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  #burger-icon {
    display: block;
  }

  footer h1 {
    font-size: 1.8rem;
  }

  footer h3 {
    font-size: 1rem;
  }

  #white-social-icons {
    gap: 30px;
  }

  #white-social-icons img {
    width: 45px;
    height: 45px;
  }

  #footer-logo {
    width: 150px;
    height: 45px;
  }
}

@media (max-width: 600px) {
  #navbar {
    flex-direction: column;
    height: 6vh;
    padding: 10px;
  }

  #logo {
    margin-bottom: 10px;
  }

  nav > ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav > ul > li {
    margin: 5px 10px;
  }

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

  footer h1 {
    font-size: 1.5rem;
  }

  footer h3 {
    font-size: 0.9rem;
  }

  #white-social-icons {
    gap: 20px;
  }

  #white-social-icons img {
    width: 40px;
    height: 40px;
  }

  #footer-logo {
    width: 130px;
    height: 40px;
  }

  #burger-icon {
    font-size: 20px;
  }
}

@media (max-width: 425px) {
  #navbar {
    padding: 8px;
  }

  #logo {
    width: 110px;
    height: 35px;
  }

  nav > ul > li {
    margin: 5px 8px;
  }

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

  footer h1 {
    font-size: 0.8rem;
  }

  footer h3 {
    font-size: 0.5rem;
  }

  #footer-logo {
    width: 100px;
    height: 30px;
    margin-bottom: 5px;
  }

  #white-social-icons {
    justify-content: center;
    gap: 10px;
  }

  #white-social-icons div {
    width: 30px;
    height: 30px;
  }

  #white-social-icons img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  #burger-icon {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  #burger-icon.active {
    transform: rotate(90deg);
  }

  header nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #023e8a;
    border: 1px solid rgb(175, 174, 173);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  header nav ul.active {
    right: 0;
  }

  header nav ul li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  header nav ul li a {
    font-size: 1.5rem;
    padding: 10px 20px;
    color: white;
  }

  header nav ul li a:hover {
    text-decoration: underline;
  }
}

@media (max-width: 425px) {
  header nav ul {
    width: 80%;
  }

  header nav ul li a {
    font-size: 1.2rem;
  }

  #burger-icon {
    font-size: 1.5rem;
    top: 15px;
    right: 15px;
  }
}
