@font-face {
  font-family: "Raleway";
  src: url(/src/fonts/Raleway-VariableFont_wght.ttf);
}

@font-face {
  font-family: "Open Sans";
  src: url(/src/fonts/OpenSans-VariableFont_wdth\,wght.ttf);
}

:root {
  /* colors */

  --white: hsla(6, 50%, 96%, 1);
  --white: #fff;
  --accent: #005252;
  --dark: #010006;
  --green: #00b800;
  --red: #ec0b43;
  --blue: #0abeff;
  --blue-2: #234296;

  --bg-gradient: linear-gradient(145deg, rgba(0, 11, 79, 1) 0%, rgba(0, 11, 79, 1) 40%, rgba(1, 0, 6, 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-525: 1.25rem;
  --fs-medium: clamp(0.75rem, 0.884vw + 0.543rem, 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", Arial, Helvetica, serif;
  --ff-sans-normal: "Raleway", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  scrollbar-color: transparent transparent;
  scrollbar-width: 0px;
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  width: 0;
}

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

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

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

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

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

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;
}

/* 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 {
  padding: 2rem 2rem;
  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);
}
.text-blue {
  color: var(--blue);
}

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

.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-525 {
  font-size: var(--fs-500);
}
.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 {
  background-image: url(/src/background.jpg);
  background-size: cover;
}

p {
  text-align: justify;
}

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

  align-items: center;
  flex-wrap: wrap;
  background-color: var(--white);
}

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

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

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

  color: white;
  background: var(--bg-gradient);
  border: 0;
  border-radius: 20px;
}

a:hover {
  cursor: pointer;
}

.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 black;
}

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

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

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

button {
  margin: 0;
  padding: 0;
}

.header-logo {
  padding-left: clamp(1rem, 2.5vw, 3rem);
  filter: invert(1000%);
}

.header-pic {
  width: 15vw;
  min-height: 100%;
  background-image: url(/src/chem.jpg);
  background-size: cover;
  opacity: 0.5;
}

.logo {
  max-height: 80px;
}

@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(--white);
    transform: translateX(100%);
    transition: transform 350ms ease-out;
  }

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

  .active {
    border-bottom: 2px solid black;
  }

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

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

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

    filter: invert(100%);
    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;

    filter: invert(0%);
    background-color: transparent;
    background-image: url("/src/x-icon.png");
    background-size: cover;
    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(75vh - 100px);
  /* background-color: white; */

  align-items: flex-end;
}

.hero__image {
  position: absolute;
  width: 100%;
  max-width: min(80rem, 95%);
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  filter: grayscale(25%);
}

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

.hero__p {
  position: relative;
  width: 100%;
  max-width: min(80rem, 95%);
  margin-inline: auto;

  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 75%, rgba(0, 0, 0, 1) 100%);
  z-index: 1;
}

.hero__header {
  font-size: clamp(2rem, 1.233vw + 1.711rem, 2.5rem);
  font-weight: 500;
  text-align: center;
  text-shadow: 2px 2px 0px var(--dark);
}

.page-content {
  margin: 4rem auto;
  padding: 4rem 2rem;

  background-color: white;
}

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

.about-us__article {
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
}

.about-us__article h2 {
  position: relative;
  width: fit-content;
}

/* .about-us__article h2::after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: -10px;
  left: 0;

  background-color: var(--dark);
  border-radius: 5px;
} */

.article__list {
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.colon::after {
  content: ":";
  font-weight: 400;
}

figcaption {
  padding-block: 1rem;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.pie {
  width: 100%;
  max-width: 325px;
  height: 100%;
  max-height: 340px;
  margin: auto;
  object-fit: contain;
}

.bar {
  width: 100%;
  max-width: 769px;
  height: 100%;
  max-height: 431px;
  margin: auto;
  object-fit: contain;
}

.market-segments {
  columns: 3;
  list-style: none;
  margin: 0;
  padding: 0;
}

.list__item {
  flex-direction: column;
  flex: 1 350px;
  padding: 2rem;

  color: white;

  background: linear-gradient(145deg, rgba(0, 11, 79, 1) 0%, rgba(0, 11, 79, 1) 40%, rgba(1, 0, 6, 1) 100%);
  border: 2px solid #333;
  border-radius: 10px;
}

@media (min-width: 1024px) {
  .list__item {
    flex: 1 500px;
  }
}

.list__item h3 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.contact {
  width: fit-content;
  padding-bottom: 3px;
  text-decoration: none;

  color: var(--dark);
  border-bottom: 2px solid var(--dark);
}

.about-us__board {
  flex-wrap: wrap;
  gap: 4rem;
}

.board__container {
  width: 100%;
}

.full {
  width: 100%;
}

.board__header {
  position: relative;
  width: fit-content;
}

.board__member {
  flex: 1 350px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  position: relative;

  text-align: center;
}

.biography {
  gap: 2rem;
  justify-content: space-evenly;
  flex-direction: column;
}

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

.left-side {
  min-width: 6ch;
  width: 100%;
  max-width: 320px;
  flex-direction: column;
  gap: 1rem;
  margin-inline: auto;
}

.right-side {
  max-width: 640px;
  margin-inline: auto;
}

/* .board__header::after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: -10px;
  left: 0;

  background-color: var(--dark);
  border-radius: 5px;
} */

.board__member a {
  text-decoration: none;
}

.board__member a:visited {
  text-decoration: none;
}

.board__member img {
  width: 200px;
  height: 200px;
  margin-inline: auto;
  top: 0;
  left: 0;

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

.board__member h3 {
  width: fit-content;
  margin-inline: auto;
  font-weight: 600;
  color: var(--blue-2);

  letter-spacing: 1px;
}

.article__geo-graphic {
  position: relative;
  width: 75%;
  max-width: 768px;
  margin: auto;
  padding: 1rem;
}

.article__swot {
  flex-direction: column;
}

.swot__item {
  column-gap: 0.5rem;
  min-width: 275px;
  max-width: calc(50% - 0.5rem);
  margin-inline: auto;
  padding: 1rem 0;
  flex-wrap: wrap;
  flex: 1 100%;

  align-content: flex-start;
}

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

  .swot__item {
    flex: 1 100%;
  }
}

.swot__number {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;

  font-weight: 900;

  background-image: url("/src/diamond.png");
  background-size: 100% 100%;
}

.swot__item > h4:nth-of-type(2) {
  position: relative;
  width: calc(100% - 64px);
  height: fit-content;
  margin-right: 0.5rem;
  padding-bottom: 0.75rem;

  font-size: var(--fs-550);
  font-weight: 700;
  text-align: center;
}

.swot__item h4:nth-of-type(2):after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;

  background-color: #46366a;
  border-radius: 5px;
}

.swot__item ol {
  width: 100%;
  padding-left: 20px;

  list-style-type: lower-alpha;
}

.bio {
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  width: min(90%, 1024px);
  margin: auto;
  padding: 2rem;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);

  background-color: white;
  border: 5px solid #333;
  border-radius: 10px;

  z-index: 1;
}

.bio img {
  width: 150px;
  height: 150px;
  margin-inline: auto;
}

.bio p {
  max-width: 768px;
  margin-inline: auto;
}

.calendar__header {
  width: fit-content;
}

.invest-list {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  padding: 0;
  margin: 0;

  list-style: none;
}

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

.footer__section {
  position: relative;
  justify-content: space-between;
  min-width: min(80rem, 95vw);
  height: 100px;
  margin-inline: auto;
  padding: 1rem 0;
  align-content: center;
}

.footer__logo {
  position: relative;
  margin-inline: auto;
  max-height: 80px;

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

footer ul {
  display: flex;
  align-content: center;
  padding: 0;
  margin: 0;
}

footer li {
  display: flex;
  flex-wrap: wrap;
  align-content: center;

  list-style: none;
  text-align: center;
}

footer a {
  font-size: clamp(1.5rem, 1.25vw + 0.5rem, 2rem);
  font-family: var(--ff-sans-normal);
  color: black;
  text-decoration: none;
}

footer a:visited {
  color: black;
}

.footer__section li > a:hover {
  border-bottom: 3px solid black;
}

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