@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Didact+Gothic&family=Mulish:ital,wght@0,200..1000;1,200..1000&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=Questrial&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins";
  scroll-behavior: smooth;
  text-decoration: none;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #9b9b9b;
  border-radius: 5px;
  cursor: pointer;
}
body {
  overflow-x: hidden;
}
::selection {
  background: #66c887;
  color: #fff;
}
.hiddenHeader {
  opacity: 0;
  visibility: hidden;
  background-color: #fff;
  width: 100vw;
  transform: translateY(-50px);
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  transition: 0.3s;
}
.hiddenHeader img {
  width: 50px;
}
.hiddenHeader.showHeader {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu {
  width: 100%;
  z-index: 1000;
}
.menu .socials {
  align-items: center;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  background-color: #c7ddcb;
  padding: 10px 300px;
  gap: 10px;
}
.menu .socials p {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b4b4b;
}
.menu .socials a {
  color: #007f45;
  font-size: 13px;
  height: 25px;
  width: 25px;
  align-items: center;
  justify-content: center;
  display: flex;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}
.menu .navigation {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  position: absolute;
  background: #fff;
  width: 100%;
  height: 90px;
  z-index: 1000;
  box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.05);
}
.menu .navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
}
.menu .navigation ul li,
.menu .navigation ul li a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b4b4b;
  cursor: pointer;
  text-align: center;
}
.menu .navigation ul li i {
  font-size: 0.6rem;
  color: #4b4b4b;
}
.menu .navigation img {
  width: 60px;
}
.menu .navigation button {
  padding: 8px 20px;
  background: #40916c;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.menu .navigation button a {
  color: #fff;
  font-size: 0.9rem;
}
.menu .navigation button:hover {
  background: #2d6a4f;
}
.menu .navigation .dropdown {
  position: relative;
  padding: 40px 0;
}
.menu .navigation .dropdown .dropdown-menu {
  display: none;
}
.menu .navigation .dropdown.open i {
  transform: rotate(180deg);
  transition: 0.3s;
}
.menu .navigation .dropdown.open .dropdown-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 80px;
  left: 0;
  background: #fff;
  padding: 20px 35px;
  white-space: nowrap;
  border-radius: 5px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  gap: 20px;
}
.menu .navigation .dropdown-menu li a {
  font-weight: 500;
  color: #4b4b4b;
}
.menu .navigation .dropdown-menu li a:hover {
  color: #40916c;
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #4b4b4b;
  cursor: pointer;
}
.hero {
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  opacity: 0.3;
}
.img-container {
  width: 100%;
  z-index: -1;
  height: 100%;
  background-color: #103510;
}
.hero .text {
  position: absolute;
  color: #fff;
  font-size: 7rem;
  text-transform: uppercase;
  text-shadow: 8px 8px 0px rgba(24, 24, 24, 0.8);
  font-weight: 800;
}
.table-container {
  width: 100%;
  padding: 50px 300px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.table-container .wrapper {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.table-container h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #0e4b13;
  text-shadow: 2px 2px 0px rgba(14, 75, 19, 0.5);
}
.table-container th {
  text-align: center;
  font-weight: 800;
  font-size: 1.5rem;
}
.table-container th,
.table-container td {
  padding: 10px 20px;
  font-size: 1.3rem;
  line-height: 1;
}
.table-container .position,
.table-container .head-position {
  width: 350px;
  min-width: 350px;
  max-width: 350px;
  text-align: right;
}
.table-container .wrapper .head-position {
  color: #0e4b13;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: right;
}
.table-container .wrapper .head-name {
  color: #0e4b13;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: left;
}
.table-container .wrapper .programs {
  transform: scale(0.9);
  transform-origin: top center;
}
.table-container table {
  border-collapse: collapse;
}

footer {
  width: 100%;
  height: 19cm;
  position: relative;
  overflow: hidden;
  padding: 20px 60px;
}
footer .footer-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
footer .footer-container {
  position: relative;
  z-index: 1;
  height: 100%;
}
footer .footer-wrapper {
  height: 90%;
  display: flex;
}
footer .footer-wrapper .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}
footer .footer-wrapper .wrapper:nth-of-type(2) {
  align-items: flex-end;
  padding: 90px 0;
  margin-top: 50px;
}
footer .footer-wrapper .wrapper img {
  width: 800px;
}
footer .footer-wrapper .wrapper .footer-links {
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 0.9;
}
footer .footer-wrapper .wrapper .footer-links .links {
  display: flex;
  gap: 30px;
  font-size: 2rem;
  margin-top: 10px;
}
footer .footer-wrapper .wrapper .footer-links .links a {
  color: #fff;
}
footer .footer-wrapper .wrapper .footer-links span {
  color: #74c69d;
}
footer .footer-wrapper .wrapper .navigational-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}
footer .footer-wrapper .wrapper .navigational-link .navi {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
footer .footer-wrapper .wrapper .navigational-link .navi a {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
footer .copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  height: 10%;
}
footer .footer-wrapper .wrapper .footer-desc {
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: right;
  color: #fff;
}
footer
  .footer-wrapper
  .wrapper
  .navigational-link
  .navi.contacts-link
  .contacts-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
footer
  .footer-wrapper
  .wrapper
  .navigational-link
  .navi.contacts-link
  .contacts-wrapper
  a {
  font-size: 0.8rem;
  text-align: right;
}
footer
  .footer-wrapper
  .wrapper
  .navigational-link
  .navi.contacts-link
  .contacts-wrapper
  span {
  font-size: 0.95rem;
  color: #59e9a8;
}

@media only screen and (min-width: 300px) and (max-width: 900px) {
  .menu .socials {
    padding: 10px 20px;
    justify-content: center;
  }
  .menu .navigation img {
    width: 45px;
  }
  .menu .navigation {
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    height: 70px;
  }

  .menu .navigation ul {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    gap: 20px;
    padding: 20px 0;
    display: none;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.05);
  }

  .menu .navigation ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu .navigation button {
    width: 80%;
    margin: auto;
  }

  .menu .navigation .dropdown {
    padding: 10px 0;
  }
  .menu .navigation .dropdown.open .dropdown-menu {
    position: static;
    padding: 10px 20px;
    box-shadow: none;
    background: none;
  }
  .menu .navigation .dropdown.open .dropdown-menu li a {
    font-size: 0.8rem;
  }
  .contact-nav {
    display: none;
  }
  .contact {
    display: none;
  }
  .hero {
    height: 50vh;
  }
  .hero .text {
    font-size: 2rem;
  }
  .table-container {
    padding: 20px 10px;
    gap: 35px;
  }

  .table-container h1 {
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.1;
  }

  .table-container table {
    width: 100%;
    table-layout: fixed;
  }

  .table-container th,
  .table-container td {
    font-size: 0.65rem;
    padding: 4px;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .table-container .position,
  .table-container .head-position {
    width: 32%;
    min-width: unset;
    max-width: unset;
    text-align: right;
  }

  .table-container .head-name {
    text-align: left;
  }

  /* specifically for 3-column tables */
  .table-container .programs th,
  .table-container .programs td {
    font-size: 0.55rem;
    padding: 3px;
  }
  .table-container table:not(.programs) {
    width: auto;
    margin: 0 auto;
    table-layout: auto;
  }

  .table-container table:not(.programs) .position,
  .table-container table:not(.programs) .head-position {
    width: 140px;
    text-align: right;
  }
  footer {
    padding: 5px 15px;
  }
  footer .footer-bg {
    object-position: right center;
  }
  footer .footer-wrapper {
    flex-direction: column;
  }
  footer .footer-wrapper .wrapper {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  footer .footer-wrapper .wrapper img {
    width: 400px;
  }
  footer .footer-wrapper .wrapper:nth-of-type(2) {
    padding: 10px 0;
    margin-top: 0;
  }
  footer .footer-wrapper .wrapper .footer-links {
    font-size: 2rem;
    margin-top: -40px;
  }
  footer .footer-wrapper .wrapper .footer-links .links {
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
  }
  footer .footer-wrapper .wrapper .navigational-link .navi {
    font-size: 0.9rem;
    font-weight: 600;
    gap: 5px;
  }
  footer .footer-wrapper .wrapper .navigational-link .navi a {
    font-size: 0.7rem;
    font-weight: 400;
  }
  footer .footer-wrapper .wrapper .footer-desc {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
    margin-top: 50px;
  }
  footer .footer-container .copyright p {
    font-size: 0.75rem;
  }
  footer .footer-wrapper .wrapper .navigational-link .navi.contacts-link {
    margin-left: auto;
    text-align: right;
  }
  footer .copyright {
    height: 5%;
  }
  footer .footer-wrapper {
    height: 95%;
  }
}
