@font-face {
  font-family: "Mont";
  src: url(/src/font/Mont-Book.ttf);
}

@font-face {
  font-family: "Open Sans";
  src: url(/src/font/OpenSans-Regular.ttf);
}

@font-face {
  font-family: "Open Sans";
  src: url(/src/font/OpenSans-SemiBold.ttf);
  font-weight: 700;
}

:root {
  /* colors */

  --white: #fff;
  --accent: #005252;
  --dark: #010006;
  --green: #095d40;
  --green-2: #7efd51;
  --yellow: #eede88;
  --red: #990012;
  --grey: #a7a6a8;
  --blue: #93bfe3;
  --blue-2: #81b0dc;

  --gradient: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(147, 191, 227, 1) 65%, rgba(147, 191, 227, 1) 100%);
  --light-gradient: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(25, 196, 208, 1) 65%, rgba(25, 196, 208, 1) 100%);

  /* font-sizes */
  --fs-900: clamp(5rem, 8vw + 1rem, 9.375rem);
  --fs-800: 4rem;
  --fs-700: 3rem;
  --fs-650: 2.5rem;
  --fs-600: 2rem;
  --fs-550: 1.5rem;
  --fs-medium: clamp(0.875rem, 0.663vw + 0.72rem, 1.25rem);
  --fs-small: clamp(0.75rem, 1.875vw + 0.375rem, 1.125rem);
  --fs-nav: clamp(1rem, 1.25vw + 0.5rem, 2rem);

  /* font-families */
  --ff-serif: "Open Sans", Helvetica, serif;
  --ff-sans-normal: "Mont", Arial, sans-serif;
  --Josefin: "Josefin";
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ::-webkit-scrollbar {
  background: transparent;
} */

/* ::-webkit-scrollbar-track {
  background-color: white;
  padding-inline: 1px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--dark);
} */

* {
  -ms-overflow-style: none;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
  margin: 0;
  padding: 0;
}

html,
body {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;

  font-family: var(--ff-serif);
}

html,
body,
main {
  position: relative;
  z-index: -10;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

/* make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* make forms elements easier to work with */
input,
button,
textarea,
select {
  font: inherit;
}

label,
input {
  font-family: var(--ff-sans-normal);
  font-size: var(--fs-550);
}

/* remove animations for people who have them turned off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button {
  cursor: pointer;
}

/* --------------------------  */
/* Utility Classes             */
/* --------------------------  */
.flex {
  display: flex;
  gap: var(--gap, 0.25rem);
}

.relative {
  position: relative;
}

.d-block {
  display: block;
}

.hidden {
  display: none;
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-space, 1rem);
}

.container {
  margin-inline: auto;
  max-width: min(80rem, 95%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* added line */
  border: 0;
}

/* colors */
.bg-dark {
  background-color: var(--dark);
}
.bg-accent {
  background-color: var(--accent);
}
.bg-accent-2 {
  background-color: var(--accent-2);
}
.bg-accent-3 {
  background-color: var(--accent-3);
}
.bg-white {
  background-color: var(--white);
}

.text-black {
  color: #000;
}
.text-accent {
  color: var(--accent);
}
.text-accent-2 {
  color: var(--accent-2);
}
.text-white {
  color: var(--white);
}
.text-green {
  color: var(--green);
}
.text-red {
  color: var(--red);
}

/* typography */
.ff-serif {
  font-family: var(--ff-serif);
}
.ff-sans-normal {
  font-family: var(--ff-sans-normal);
  font-weight: 700;
}

.letter-spacing-1 {
  letter-spacing: 4.75px;
}
.letter-spacing-2 {
  letter-spacing: 2.7px;
}
.letter-spacing-3 {
  letter-spacing: 2.35px;
}

.uppercase {
  text-transform: uppercase;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.justify {
  text-align: justify;
}

.bold {
  font-weight: 700;
}

.fs-900 {
  font-size: var(--fs-900);
}
.fs-800 {
  font-size: var(--fs-800);
}
.fs-700 {
  font-size: var(--fs-700);
}
.fs-650 {
  font-size: var(--fs-650);
}
.fs-600 {
  font-size: var(--fs-600);
}
.fs-550 {
  font-size: var(--fs-550);
}
.fs-medium {
  font-size: var(--fs-medium);
}
.fs-small {
  font-size: var(--fs-small);
}
.fs-nav {
  font-size: var(--fs-nav);
}

.fs-900,
.fs-800,
.fs-medium {
  line-height: 1.2;
}

body {
  position: relative;

  background-color: var(--grey);
  background-image: url(/src/background.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.primary-header {
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  height: 100px;

  align-items: center;
  background: var(--dark);
}

.mobile-nav-toggle {
  display: none;
}

/* button */
.btn {
  padding: 1rem 2rem;
  margin-inline: auto;

  font-family: var(--ff-serif);
  font-size: var(--fs-medium);

  color: white;
  background: var(--dark);
  border: 0;
  border-radius: 5px;
}

.btn--x {
  width: clamp(25px, 4vw, 40px);
  height: clamp(25px, 4vw, 40px);
  margin-left: auto;

  background-image: url(/src/x-icon.png);
  background-color: transparent;
  background-size: cover;
  border: 0;
}

/* Navigation */
.primary-navigation {
  padding: 0;
  margin: 0;

  list-style: none;
  font-size: var(--fs-nav);
}

.primary-navigation li {
  position: relative;
  width: fit-content;
}

.active {
  border-bottom: 2px solid var(--white);
}

.primary-navigation a {
  text-decoration: none;
  font-weight: 400;
}

.primary-navigation a:visited,
.primary-navigation a {
  color: var(--white);
  margin: 0 0 1rem;
}

.primary-navigation a:hover {
  border-bottom: 2px solid var(--white);
}

button {
  margin: 0;
  padding: 0;
}

.header-logo {
  max-height: 100px;
  height: 100%;
  padding-block: 5px;
  padding-left: 2rem;
}

.header-link {
  max-height: 100px;
  color: var(--white);
  text-decoration: none;
}

.header-link h2 {
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0px 0px 10px var(--white);
  letter-spacing: 2px;
}

.logo {
  width: 100%;
  height: 100%;
  max-height: 100px;
  max-width: 50vw;

  object-fit: contain;
  filter: invert(100%);
}

@media (min-width: 640px) {
  .logo {
    max-width: 300px;
  }
}

@media (max-width: 40em) {
  .primary-navigation {
    --gap: 2em;

    position: fixed;
    z-index: 9998;
    inset: 0 0 0 30%;

    flex-direction: column;
    padding: min(40vh, 30rem) 2em;

    background: var(--dark);
    transform: translateX(100%);
    transition: transform 350ms ease-out;
  }

  .primary-navigation[data-visible="true"] {
    transform: translateX(0%);
    transition: transform 350ms ease-in;
  }

  .active {
    border-bottom: 0px;
  }

  .primary-navigation a:visited,
  .primary-navigation a {
    color: white;
    margin: 0 0 1rem;
  }

  .primary-navigation a:hover {
    border-bottom: 2px solid white;
  }

  .mobile-nav-toggle {
    display: block;
    position: relative;
    width: 2rem;
    margin-left: auto;
    margin-right: 2rem;
    aspect-ratio: 1;

    background-color: transparent;
    background-image: url("/src/menu-icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    border: 0;
    z-index: 9999;
  }

  .mobile-nav-toggle[aria-expanded="true"] {
    position: fixed;
    right: 1rem;
    background-color: transparent;
    background-image: url("/src/x-icon.png");
    background-size: cover;
    filter: invert(100%);
    z-index: 9999;
  }
}

@media (min-width: 40em) {
  nav {
    margin-left: auto;
  }
  .primary-navigation {
    --gap: clamp(0.5rem, 1vw + 0.7rem, 3rem);
    padding-block: 2rem;
    padding-inline: clamp(1rem, 2.5vw, 3rem);
  }
  .header-logo {
    flex-shrink: 0;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  background-color: var(--blue);
  box-shadow: 0px 5px 2px var(--dark);

  justify-content: left;
}

.hero::after {
  content: " ";
  position: absolute;
  width: 100vw;
  height: calc(100vh - 100px);
  top: 0;
  left: 0;

  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero__image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  border-radius: 0px 0px 5px 5px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;

  border-radius: 0px 0px 5px 5px;
}

@media (min-width: 1024px) {
  .hero__image img {
    object-position: 0 35%;
  }
}

.hero__p {
  position: relative;
  width: fit-content;
  max-width: min(80rem, 95%);
  margin-block: 3vh 0;
  margin-inline: 5vw 0;

  border-radius: 5px;
  z-index: 1;
}

.hero__header {
  position: relative;
  padding: 0;
  margin: 0;

  font-size: clamp(2rem, 1.233vw + 1.711rem, 2.5rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  text-shadow: 1px 1px 1px var(--dark);
  z-index: 10;
}

.page-content {
  position: relative;
  margin: 4rem auto;

  background-color: var(--white);
  border-radius: 5px;
  z-index: -5;
}

.about-us {
  gap: 8rem;
  flex-direction: column;
  margin-block: 4rem;
}

.about-us__article {
  gap: 1rem;
  flex-direction: column;
  padding: 4rem 2rem;

  background-color: white;
  box-shadow: 5px 5px 1px var(--dark);
}

@media (min-width: 1024px) {
  .about-us__article {
    padding: 4rem;
  }
}

.about-us__article h2 {
  position: relative;
  display: block;
  width: fit-content;
  padding-bottom: 1rem;

  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section--img {
  max-width: none;
  max-height: 450px;
  width: calc(100% + 4rem);
  margin-top: 3rem;
  margin-left: -2rem;

  object-fit: cover;
}

@media (min-width: 1024px) {
  .section--img {
    width: calc(100% + 8rem);
    margin-left: -4rem;
  }
}

.about-us__article ul {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-left: 0;
}

.about-us__article li {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-us__article li span::after {
  content: ":";
  font-weight: 400;
}

.about-us__article li p {
  width: calc(100% - 100px - 1rem);
}

.values {
  width: 100px;
  height: 100px;
}

.geo-graphic {
  width: 100%;
  max-width: 720px;
  margin: auto;
}

.board {
  position: relative;
  flex-wrap: wrap;
  gap: 4rem;

  background-color: var(--white);
}

.about-us__board-header {
  position: relative;
}

.board__member {
  flex: 1 100%;
  display: flex;
  position: relative;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  height: 100%;

  font-size: var(--fs-medium);
  color: var(--dark);

  text-align: center;
}

.bio {
  position: relative;
  margin: auto;

  color: var(--white);
}

.bio__title {
  position: relative;
  width: 250px;
  padding-block: 1rem;
  bottom: 0;
  left: 50%;

  background-color: var(--dark);
  transform: translateX(-50%);
  z-index: 10;
}

.board__name {
  font-size: 1.75rem;
  font-weight: 700;
}

.board__member--portrait {
  width: 250px;
  height: 300px;
  margin-inline: auto;
  top: 0;
  left: 0;

  object-fit: cover;
  object-position: center;
}

.board__member:nth-of-type(3) .board__member--portrait {
  object-position: bottom 100px;
}

.read-more-button {
  width: fit-content;
  padding: 1rem 2rem;
  margin-inline: auto;

  color: var(--white);
  font-size: var(--fs-medium);

  background-color: #333;
  border: 0;
  border-radius: 5px;
  transition: 300ms;
}

.read-more-button:hover {
  color: var(--black);
  background-color: var(--grey);
}

.board__bio {
  flex-direction: column;

  text-align: justify;
}

.board__bio p {
  padding-block-end: 2rem;
}

@media (min-width: 768px) {
  .board__member {
    flex-direction: row;
  }

  .board__bio {
    width: calc(100% - 250px - 2rem);
  }

  .bio {
    margin: 0;
  }
}

.contact-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  min-height: 40vh;
}

.contact-form--half {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contact-form--half input {
  padding: 1rem 1rem;
  border: 3px solid var(--dark);
  border-radius: 10px;
}

.contact-form--full {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contact-form--full textarea {
  max-width: 100%;
  min-height: 150px;
  padding: 1rem;

  border: 3px solid var(--dark);
  border-radius: 10px;
}

@media (min-width: 768px) {
  .contact-form--half {
    width: calc(50% - 1rem);
  }
}

.contact__section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
}

.contact--3 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  text-align: center;
}

.contact--3 a {
  width: fit-content;
  margin-inline: auto;
  padding-bottom: 0.25rem;

  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--dark);
}

@media (min-width: 768px) {
  .contact__section {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

footer {
  background: var(--dark);
}

.footer__section {
  position: relative;
  justify-content: space-between;
  min-width: min(80rem, 95vw);
  margin-inline: auto;
  padding: 2rem 1rem;
}

.footer__logo {
  position: relative;
  width: 350px;
  height: 100px;
  margin-inline: auto;
  object-fit: contain;

  filter: invert(100%);
}

/*   .footer__section::after {
      content: " ";
      position: absolute;
      width: calc(100vw / 4);
      min-height: 100%;
      top: 0;
      right: 100%;
  
      background-image: url(/src/globe-full.png);
      background-position: center;
      background-size: cover;
      opacity: .5;
  } */

footer ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 01rem;
  padding: 0;
}

footer li {
  list-style: none;
  text-align: center;
}

footer a {
  height: 175px;
  font-size: var(--fs-550);
  font-family: var(--ff-sans-normal);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

footer a:visited {
  color: var(--white);
}

.footer__section li > a:hover {
  border-bottom: 3px solid var(--white);
}

@media (max-width: 768px) {
  .footer__section {
    flex-direction: column;
    --gap: 1rem;
  }

  .footer__logo {
    height: 175px;
  }
}

@media (min-width: 768px) {
  .footer__section {
    padding: 1rem 0rem;
  }

  footer a {
    height: 100px;
  }

  footer ul {
    flex-direction: row;
  }
}
