/* ============================================= FONTS ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

/* ====================== MAIN ROOT ====================== */

:root {
  --fMain: "Exo 2", serif;
  --fSub: "Oswald", serif;
}

* {
  margin: 0;
  padding: 0;
}

/* ====================== NAV ====================== */

nav {
  padding: 1%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* position: sticky;
  top: 0;
  z-index: 10;
  background-color: white; */
}

/* ========= NAV LOGO ========= */
nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 50px;
}

nav .logo a {
  text-decoration: none;
  font-family: var(--fMain);
  font-size: 1.5rem;
  color: black;
  font-weight: 600;
}

nav .logo .dropdown_box {
  display: none;
  flex-direction: column;
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
  height: 10px;
  width: 50px;
}

nav .logo .dropdown_box .line1 {
  width: 50px;
  height: 3px;
  border-radius: 50px;
  background-color: black;
  transition: all 0.5s ease;
  position: absolute;
  top: 0;
}

nav .logo .dropdown_box .line2 {
  width: 50px;
  height: 3px;
  border-radius: 50px;
  background-color: black;
  transition: all 0.5s ease;
  position: absolute;
  top: 100%;
}

nav .logo .dropdown_box.clicked .line1 {
  transform: rotate(45deg);
  width: 25px;
  top: 70%;
}
nav .logo .dropdown_box.clicked .line2 {
  transform: rotate(-45deg);
  width: 25px;
  left: 35%;
  top: 70%;
}

/* ========= NAV HYPERLINKS ========= */
nav .hyperlinks {
  display: inline-flex;
  gap: 25px;
}

nav .hyperlinks a {
  text-decoration: none;
  font-family: var(--fMain);
  font-size: 1.3rem;
  color: black;
  position: relative;
}

nav .hyperlinks a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: black;
  border-radius: 50px;
  left: 0;
  bottom: -5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-in-out;
}

nav .hyperlinks a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav .hyperlinks a:not(:hover)::after {
  transform-origin: right;
  transform: scaleX(0);
}

/* ========= NAV BUTTON ========= */
nav .button_wrapper button {
  font-family: var(--fMain);
  font-size: 1.3rem;
  color: white;
  background-color: #000;
  border-radius: 50px;
  padding: 10px 30px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

nav .button_wrapper button:hover {
  background-color: #312f2f;
}

.hidden {
  display: none !important;
}

/* ====================== NAV RESPONSIVE ====================== */
@media (max-width: 840px) {
  nav .logo {
    width: 90%;
    justify-content: space-between;
  }
  nav .logo .dropdown_box {
    display: inline-flex;
  }
  nav .hyperlinks,
  nav .button_wrapper button {
    display: none;
  }
  nav {
    display: flex;
    flex-direction: column;
  }
  nav .hyperlinks.show {
    display: inline-flex;
    flex-direction: column;
    text-align: center;
    margin-top: 10%;
  }
}

/* ======================================================================================================= FOOTER ============================================= */

footer {
  display: flex;
  flex-direction: column;
  gap: 100px;
  width: 85%;
  margin: 0 auto;
}

/* ====================== TEXT WRAPPER ====================== */
footer .footer_text_wrapper:before {
  content: "";
  position: absolute;
  top: -50%;
  width: 100%;
  border-top: 2px solid rgb(127, 240, 89);
  border-radius: 50px;
}

footer .footer_text_wrapper {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
  height: 200px;
  position: relative;
}

footer .footer_text_wrapper h1 {
  font-family: var(--fMain);
  font-size: 2.5rem;
}

footer .footer_text_wrapper a {
  text-decoration: none;
  font-family: var(--fSub);
  font-size: 1.5rem;
  font-weight: 400;
  color: rgb(145, 144, 144);
  transition: all 0.7s ease;
  position: relative;
  width: fit-content;
}

footer .footer_text_wrapper a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  border-bottom: 2px solid rgba(127, 240, 89, 1);
  transition: all 0.7s ease;
}

footer .footer_text_wrapper a:hover:after {
  width: 100%;
  left: 0;
}

footer .footer_text_wrapper a:hover {
  color: black;
  cursor: pointer;
}

.fix_wrapper {
  display: contents;
  margin: 8% 0;
}
.fix_wrapper_v2 {
  display: contents;
}

.f2,
.f3,
.f4 {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}
.d-button {
  width: 100px;
  height: 33px;
}

/* ====================== FOOTER COPYRIGHT ====================== */
.footer_copyright {
  display: flex;
  justify-content: space-between;
  padding-bottom: 2%;
}

.footer_copyright p {
  font-family: var(--fSub);
  font-size: 1.2rem;
}

.footer_copyright .social_links {
  display: inline-flex;
  gap: 20px;
}

.footer_copyright img {
  height: 40px;
}

/* ============================== FOOTER RESPONSIVE ============================== */

@media (max-width: 600px) {
  footer .footer_text_wrapper:before {
    top: -10%;
    width: 105%;
  }
  .footer_text_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  footer .footer_text_wrapper {
    display: flex;
    justify-content: space-between;
    height: fit-content;
    position: relative;
  }
  .f3 {
    padding-right: 4%;
  }
  .footer_copyright {
    margin-top: -20%;
  }
  .fix_wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 425px) {
  .fix_wrapper {
    flex-direction: column;
    width: 85%;
  }
  .fix_wrapper_v2 {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 7%;
  }
  .f4 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 5%;
  }
  footer .footer_text_wrapper h1 {
    font-size: 3rem;
  }
  footer .footer_text_wrapper a {
    font-size: 1.7rem;
  }
}
