@import url("https://cdn.jsdelivr.net/npm/@xz/fonts@1/serve/hk-grotesk.min.css");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body, input, textarea, button, a {
  font-family: 'HK Grotesk', sans-serif;
  color: #333335;
}

button, a, span, p {
  line-height: 1.5em;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

nav {
  width: 100%;
  height: 11vh;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 5rem;
  z-index: 20;
  border-bottom: 1px solid #36bedd;
}

nav .navbar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 10vh;
  background-color: #fff;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

nav.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

nav .logo {
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav .logo a, nav .logo a img {
  height: 100%;
}

nav .content {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 50%;
  height: 100%;
  color: #000
}

nav .pages {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%;
}

nav .pages ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}

nav ul li {
  font-weight: 300;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul li:not(:first-child) {
  margin-left: 1.5rem;
}

nav ul li a {
  font-family: 'Poppins', sans-serif;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
}

nav ul li a:hover {
  opacity: 0.6;
}

.dropdown {
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #333;
  z-index: 1;
  color: #000;
  width: 37rem;
  top: 5rem;
  left: 65%;
  transform: translate(-50%, 0);
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2.5rem 3rem;
  position: absolute;
}

.dropdown.about-us .dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  z-index: 1;
  color: #000;
  width: 13rem;
  top: 4rem;
  left: 65%;
  transform: translate(-50%, 0);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.5rem;
  position: absolute;
  gap: .75rem;
}

.dropdown-content-mobile {
  display: none;
}

.dropdown-content .buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 35%;
}

.dropdown-content .buttons button {
  background-color: transparent;
  color: #000;
  border: none;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.3s ease-in-out;
}

.dropdown-content .buttons button:hover, .dropdown-content .buttons button.active {
  opacity: 0.6;
}

.dropdown-content .items {
  display: none;
}

.dropdown-content .items.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.dropdown-content .sub-items {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.dropdown-content .sub-items span {
  font-weight: 400;
}

.dropdown-content .sub-items li {
  margin-left: initial;
  margin: 0.25rem 0;
}

.dropdown-content .sub-items li a {
  font-weight: 300;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

nav .content button#navbarBtn {
  display: none;
}

nav .content > button {
  margin: 0 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: transparent;
  color: #000;
  border: none;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 1.3rem;

  transition: transform 0.3s ease-in-out;

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 12;
}

nav .content > button.opened {
  background-color: transparent;
  font-size: 1.5rem;
}

nav .content > button:after {
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  content: "\f0c9";
}

nav .content > button.opened:after {
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  content: "\f00d";
}

/* nav .pages ul li button i {
  margin-right: 0.5rem;
} */

nav .content > button:hover {
  transform: scale(1.05);
}

section .button {
  text-decoration: none;
  text-align: center;
  padding: 0.6rem 2rem;
  border: 1px solid #fff;
  background-color: #fff;
  border-radius: 30rem;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  color: #000;
  font-size: 1rem;
}

section .button:hover {
  transform: scale(1.05);
}

.tip {
  display: flex;
  flex-direction: column;
  margin: 30px 50px;
}

.tip-text {
  color: #36bedd;
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.tip-author {
  font-weight: 500;
  font-size: 0.95rem;
}

@media only screen and (max-width: 768px) {
  nav {
    padding: 0 2rem;
  }

  nav .content button#navbarBtn {
    display: flex;
  }

  nav .content button {
    margin: 0;
  }

  .dropdown-content {
    display: none;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown-content-mobile.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

  .dropdown-content-mobile.active a {
    margin: 0.5rem 0 0 1rem;
  }

  #services-link.opened:after, #about-link.opened:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f077";
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  nav .content .pages {
    visibility: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    z-index: 11;
    justify-content: center;
    background: #fff;
    transition: 0.3s ease-in-out;
  }

  nav .content .pages ul {
    flex-direction: column;
    align-items: flex-start;
    height: initial;
    width: 70%;
    margin: 0 auto;
  }

  nav .content .pages ul li {
    margin: 1rem 0;
    font-size: 1.2rem;

    flex-direction: column;
    align-items: flex-start;
  }

  #services-link:after, #about-link:after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "\f078";
    font-size: 1rem;
    margin-left: 0.5rem;
  }

  nav .content .pages.active {
    visibility: visible;
    left: 0;
  }
}

main {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer {
  width: 100%;
  height: 10vh;
  background-color: #fff;
  color: #333335;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 8rem;
  text-align: center;
}

@media only screen and (max-width: 1024px) {
  footer {
    justify-content: center;
    padding: 0;
    flex-direction: column;
  }
}

