@import url("https://fonts.googleapis.com/css2?family=Nova+Square&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Slim&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Flat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Round&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nova+Round&family=Offside&display=swap");

* {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

:root {
  --fSquare: "Nova Square", sans-serif;
  --fSlim: "Nova Slim", system-ui;
  --fFlat: "Nova Flat", system-ui;
  --fRound: "Nova Round", system-ui;
  --fOffside: "Offside", sans-serif;

  --cMain: #298598;
  --cBlue: #0a192f;
  --cSilver: #a8b2d1;
  --cPink: #ff3366;
  --cWhite: #f5f5f5;
}

/* =========================NAV========================= */
.hiddenNav {
  display: none !important;
}

.smallScreenNav {
  background-color: var(--cBlue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
}
.smallScreenNav .smallScreenNavLogo {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--cSilver);
  font-family: var(--fSquare);
  font-size: 1.5rem;
}
.smallScreenNav .smallScreenNavLogo img {
  height: 70px;
}

.smallScreenNav .smallScreenNavIcon {
  width: 40px;
  height: 5px;
  cursor: pointer;
  border-bottom: 3px solid var(--cSilver);
  border-top: 3px solid var(--cSilver);
}

/* ===========FLOATING-NAV=========== */
.bottom-nav {
  display: flex;
  background-color: var(--cBlue);
  border-radius: 36px;
  padding: 12px 12px;
  gap: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: fit-content;
  pointer-events: none;
  font-family: var(--fSlim);
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 1000;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  color: #a8b2d1;
  cursor: pointer;
  gap: 10px;
}

.nav-item:hover {
  background-color: #a8b2d1;
  color: #ff3366;
}

.nav-item.activeLink {
  color: #298598;
}

.nav-icon i {
  font-size: 20px;
  color: inherit;
  transition: color 0.3s ease;
}

.nav-item a {
  text-decoration: none;
  color: inherit;
}

.nav-item span {
  max-width: 0;
  overflow: hidden;
  opacity: 1;
  white-space: nowrap;
  transition: max-width 0.3s ease, opacity 0.3s ease, color 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
}

.nav-item:hover span {
  max-width: 120px;
  opacity: 1;
}

/* ===========DROPDOWN-NAV=========== */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.navDropdownWrapper {
  display: flex;
  justify-content: end;
  width: 100%;
  height: 100vh;
  background-color: transparent;
  position: absolute;
  z-index: 100;
  top: 0;
  background-color: rgba(0, 0, 0, 0.25);
}
.navDropdown {
  width: 70%;
  height: 100vh;
  background-color: var(--cBlue);
  position: absolute;
  display: flex;
  flex-direction: column;
  align-content: center;
  gap: 10px;
  padding-top: 4%;
}
.navDropdown .navDropdownIcon {
  height: 30px;
  width: 30px;
  position: relative;
  left: 97%;
  transform: translateX(-100%);
  cursor: pointer;
  margin-bottom: 7%;
}
.navDropdown .navDropdownIcon .rnl1,
.navDropdown .navDropdownIcon .rnl2 {
  width: 100%;
  height: 3px;
  background-color: var(--cSilver);
  position: absolute;
  top: 50%;
}
.navDropdown .navDropdownIcon .rnl1 {
  rotate: 45deg;
}
.navDropdown .navDropdownIcon .rnl2 {
  rotate: -45deg;
}

.navDropdown article {
  width: 95%;
  background-color: var(--cSilver);
  margin: 0 auto;
  padding: 1em 0em;
  border-radius: 16px;
}
.navDropdown article a {
  text-decoration: none;
  font-family: var(--fSquare);
  font-size: 1.5rem;
  color: var(--cBlue);
  text-indent: 20px;
}
.navDropdown article a i {
  margin-right: 2%;
}
.navDropdown article:last-of-type a {
  color: var(--cPink);
}
.navDropdown article.activePage {
  background-color: #298598;
}

/* =========================NEWSLETTER========================= */
#news {
  padding: 20px 0;
  width: calc(100% - 120px);
  margin: 0 auto;
  background-color: var(--cBlue);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 7%;
  text-align: center;
}

#news h1 {
  font-family: var(--fSquare);
  font-size: 4rem;
  color: var(--cWhite);
}
#news p {
  font-family: var(--fSlim);
  font-size: 1.5rem;
  color: var(--cSilver);
  margin-bottom: 20px;
}

#news .inputContainer {
  position: relative;
  font-family: var(--fOffside);
  color: var(--cPink);
  width: 40%;
  margin-bottom: 20px;
}
.floatingLabel {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}
.inputType {
  height: 70px;
  border-radius: 16px;
  width: 100%;
  outline: none;
  font-family: var(--fOffside);
  font-size: 1.5rem;
  text-indent: 5%;
  border: 2px solid transparent;
}
.inputType:focus {
  border: 2px solid var(--cPink);
}
.inputType:focus + .floatingLabel,
.inputType.filled + .floatingLabel {
  top: 10px;
  font-size: 0.8rem;
}

#news a {
  background-color: var(--cMain);
  text-decoration: none;
  font-family: var(--fOffside);
  font-size: 2rem;
  color: var(--cWhite);
  padding: 0.3em 2em;
  border-radius: 16px;
  transition: all 0.3s ease;
}
#news a:hover {
  color: var(--cPink);
}

@media (max-width: 1024px) {
  #news h1 {
    font-size: 3rem;
  }
  #news p {
    font-size: 1.3rem;
  }
  #news .inputContainer {
    width: 90%;
  }
}
@media (max-width: 585px) {
  #news {
    width: 100%;
  }
}
@media (max-width: 390px) {
  #news h1 {
    font-size: 2.8rem;
  }
  #news p {
    font-size: 1rem;
  }
  .floatingLabel {
    font-size: 1.2rem;
  }
  .inputType {
    height: 50px;
  }
  #news a {
    font-size: 1.5rem;
  }
}

/* =========================FOOTER========================= */
footer {
  height: 400px;
  background-color: var(--cBlue);
}

footer .wrapper {
  width: calc(100% - 120px);
  margin: 0 auto;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
}
footer section {
  display: flex;
  flex-direction: column;
}

footer .wrapper section:first-of-type span {
  font-family: var(--fSquare);
  font-size: 2.25rem;
  color: var(--cSilver);
}
footer .wrapper section:first-of-type p {
  font-family: var(--fSlim);
  font-size: 0.87rem;
  color: #7ea4b2;
}
footer .wrapper section:first-of-type .social {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}
footer .wrapper section:first-of-type .social .socialIcon {
  width: 50px;
  height: 50px;
  background-color: var(--cMain);
  position: relative;
  border-radius: 16px;
}
footer .wrapper section:first-of-type .social a {
  font-size: 2rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

footer .wrapper h1 {
  font-family: var(--fRound);
  font-size: 2.25rem;
  color: var(--cWhite);
  margin-bottom: 30px;
}
footer .wrapper a {
  text-decoration: none;
  font-family: var(--fSlim);
  font-size: 1.25rem;
  color: var(--cWhite);
  margin-bottom: 20px;
  position: relative;
  width: fit-content;
}
footer section:not(:first-of-type) a::after {
  position: absolute;
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--cPink);
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

footer section:not(:first-of-type) a:hover::after {
  width: 100%;
}

footer .wrapper section:last-of-type p {
  font-family: var(--fSlim);
  font-size: 1.25rem;
  color: var(--cWhite);
}
footer .wrapper section:last-of-type p:last-of-type {
  margin-top: 10px;
  font-size: 0.93rem;
}
footer .wrapper section:last-of-type span {
  color: var(--cPink);
}

footer .copyright {
  color: var(--cMain);
  font-family: var(--fSlim);
  font-size: 20px;
  text-align: center;
  margin-top: 3.5%;
}

@media (max-width: 1000px) {
  footer {
    height: fit-content;
  }
  footer .wrapper {
    width: 95%;
    flex-direction: column;
    gap: 20px;
  }
  footer .wrapper h1 {
    margin-bottom: 10px;
  }
  footer .wrapper a {
    margin-bottom: 5px;
  }
}
@media (max-width: 430px) {
  footer .copyright {
    font-size: 15px;
    margin-top: 10%;
  }
}
