@import url("https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Iceberg&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Jost:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&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&family=Quicksand:wght@300..700&family=Righteous&family=Smooch+Sans:wght@100..900&family=Tektur:wght@400..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Quicksand", sans-serif;
}

:root {
  --green: #008d77;
  --gold: #f6bc1c;
}

.page-intro {
  position: relative;
}

#logo {
  position: absolute;
  top: 20px;
  left: 40px;
  height: 85px;
  width: fit-content;
  object-fit: cover;
  z-index: 5;
}

/* Menu Bar */
.nav-bar {
  position: absolute;
  right: 45px;
  top: 40px;
  z-index: 5;
}

.nav-bar ul {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  gap: 30px;
}

.nav-bar ul li {
  position: relative;
}

.nav-bar ul li .mainTab {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
}

.nav-bar ul li.active .mainTab {
  background-color: white;
  padding: 8px 20px;
  border-radius: 24px;
  color: var(--green);
}

.nav-bar ul li:not(.active) .mainTab:hover {
  color: var(--gold);
}

.nav-bar ul li .extendedTabTitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: fit-content;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  color: white;
  margin: auto;
}

.nav-bar ul li.active .extendedTabTitle {
  background-color: white;
  padding: 8px 20px;
  border-radius: 24px;
}

.nav-bar ul li.active .extendedTabTitle .mainTab {
  padding: 0px;
}

.nav-bar ul li .extendedTabTitle:hover {
  color: var(--gold);
}

.nav-bar ul li .extendedTabTitle i {
  margin-left: 8px;
  color: white;
}

.nav-bar ul li.active .extendedTabTitle i {
  color: var(--green);
}

.nav-bar ul li .options {
  max-height: 0px;
  overflow: hidden;
  transition: all 1s;
}

.nav-bar ul li:hover .options {
  max-height: 120px;
}

.nav-bar ul li .options .subTab {
  display: block;
  margin: 6px auto;
  width: 100%;
  color: white;
  font-weight: 600;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.25s;
  border-radius: 6px;
  text-align: center;
  padding: 10px;
}

.nav-bar ul li .options .subTab:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

#openMenuBtn,
#closeMenuBtn {
  display: none;
}


/* Menu: Responsive */
@media screen and (min-width: 600px) {
.nav-bar ul li .options {
  max-height: 0px;
  position: absolute;
  top: 30px;
  left: 0px;
  right: 0px;
  overflow: hidden;
  transition: all 1s;
}

.nav-bar ul li.active .options {
  top: 40px;
}
}



/* Menu: Responsive */
@media screen and (max-width: 600px) {
  .nav-bar {
    width: 50vw;
    background-color: rgba(0, 0, 0, 0.7);
    /* background-color: rgba(0, 141, 120, 0.4); */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    top: 0;
    right: -50vw;
    position: fixed;
    /* right: -225px; */
    height: 100%;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    transition: all 1s;
  }

  #logo {
    height: 65px;
    left: 16px;
  }

  #openMenuBtn {
    display: block;
    position: absolute;
    top: 30px;
    right: 20px;
    font-size: 1.4rem;
    z-index: 5;
    font-weight: 900;
    color: white;
  }

  #closeMenuBtn {
    display: block;
    font-weight: 900;
    margin-top: 30px;
    margin-left: 14px;
    font-size: 1.4rem;
    color: white;
  }

  .nav-bar ul {
    flex-direction: column;
    width: 90%;
    margin: auto;
    margin-top: 24px;
    gap: 16px;
  }

  .nav-bar ul li .mainTab {
    display: inline-block;
    padding: 8px;
    width: 100%;
    text-align: center;
    border-radius: 24px;
  }
}

.contacts {
  position: relative;
  display: flex;
  flex-direction: row;
  background-color: #044239;
  width: 100%;
  padding: 100px 5% 150px 5%;
  justify-content: center;
  align-items: center;
}

.contacts img {
  height: fit-content;
  width: 20%;
  margin-right: 10%;
}

.contacts .content {
  display: flex;
  flex-basis: 60%;
}

.contacts .sub-contact {
  display: inline-block;
  width: 50%;
}

.sub-contact h6 {
  font-size: 1.4rem;
  color: white;
  font-family: "Iceberg";
  font-weight: 500;
}

.sub-contact p {
  color: rgb(198, 198, 198);
  margin-top: 16px;
  font-weight: 500;
  font-size: 1.05rem;
}

@media screen and (max-width: 600px) {
  .contacts {
    flex-direction: column;
    align-items: center;
    padding: 5%;
    padding-bottom: 30%;
  }

  .contacts img {
    width: 90%;
    margin: auto;
  }

  .contacts .content {
    margin: auto;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-bottom: 24px;
  }

  .contacts .sub-contact {
    width: 80%;
  }

  .contacts .sub-contact > * {
    width: fit-content;
    margin: auto;
    text-align: center;
  }
}

.design-by {
  position: absolute;
  bottom: 16px;
  width: 98%;
  height: fit-content;
  display: flex;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  justify-content: space-between;
  color: white;
  padding: 18px 24px;
}

.design-by .copyright {
  font-family: "Poppins";
}

.design-by .author {
  font-family: "Advent Pro";
  font-size: 1.2rem;
}

.design-by .author a {
  font-weight: 700;
  text-decoration: none;
  color: #fc7f52;
}

@media screen and (max-width: 600px) {
  .design-by {
    flex-direction: column;
    gap: 8px;
  }

  .design-by .copyright {
    font-size: 0.95rem;
  }

  .design-by .author {
    font-size: 1.1rem;
  }
}
