/* rubik-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/rubik-v26-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/rubik-v26-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/rubik-v26-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* rubik-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/rubik-v26-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* RESET */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

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

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------- */

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Main Style */
html {
  scroll-behavior: smooth;
}

:root {
  --clr-white: #fff;
  --clr-neutral-400: #9ca3af;
  --clr-neutral-600: #4b5563;
  --clr-neutral-900: #111827;
  --clr-primary-100: #dbeafe;
  --clr-primary-200: #bfdbfe;
  --clr-primary-400: #60a5fa;
  --clr-primary-700: #106ebe;
  --clr-primary-900: #1560ad;

  --ff-primary: "Rubik", sans-serif;
  --ff-h: "Rubik", sans-serif;

  --fs-l: 1.125rem; /* 18px */
  --fs-m: 1rem;
  --fs-s: 0.875rem;
  --fs-xs: 0.75rem;

  --fs-h1: 2.5rem;
  --fs-h2: 2.2rem;
  --fs-h3: 2rem;
  --fs-h4: 1.75rem; /* 28px */
  --fs-h5: 1.5rem;
  --fs-h6: 1.25rem;

  --breakpoint: 58em;
}

@media (max-width: 58em) {
  :root {
    --fs-h1: 2.25rem;
    --fs-h2: 2rem;
    --fs-h3: 1.75rem;
    --fs-h4: 1.5rem;
    --fs-h5: 1.25rem;
    --fs-h6: 1.125rem;
  }
}

body {
  font-family: var(--ff-primary);
  font-size: var(--fs-l);
  font-weight: 400;
  line-height: 1.75rem;
  color: var(--clr-neutral-900);
  display: flex;
  flex-direction: column;
}

#main {
  flex: 1;
}

strong {
  font-weight: 500;
}

p {
  padding-bottom: 1.75rem;
}
p:last-child {
  padding-bottom: 0;
}

h1,
.h1 {
  font-weight: 600;
  color: var(--clr-white);
  font-size: var(--fs-h1);
  font-family: var(--ff-h);
  line-height: calc(var(--fs-h1) + 0.5rem);
}

h2,
.h2 {
  font-weight: 600;
  color: var(--clr-primary-900);
  font-size: var(--fs-h2);
  font-family: var(--ff-h);
  line-height: calc(var(--fs-h2) + 0.5rem);
}

h3,
.h3 {
  font-weight: 600;
  color: var(--clr-primary-900);
  font-size: var(--fs-h3);
  font-family: var(--ff-h);
  line-height: calc(var(--fs-h3) + 0.5rem);
  margin-bottom: 1.5rem;
}

h4,
.h4 {
  font-weight: 700;
  color: var(--clr-primary-900);
  font-size: var(--fs-h4);
  font-family: var(--ff-h);
  line-height: calc(var(--fs-h4) + 0.5rem);
  margin-bottom: 0.75rem;
}

h5,
.h5 {
  font-weight: 500;
  color: var(--clr-primary-900);
  font-size: var(--fs-h5);
  font-family: var(--ff-h);
  line-height: calc(var(--fs-h5) + 0.5rem);
  margin-bottom: 1rem;
}

h6,
.h6 {
  font-weight: 600;
  color: var(--clr-primary-900);
  font-size: var(--fs-h6);
  font-family: var(--ff-h);
  line-height: calc(var(--fs-h6) + 0.5rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.d-none {
  display: none;
}

a,
.link {
  color: var(--clr-primary-900);
  text-decoration: none;
}
a:hover,
a:focus,
.link:hover,
.link:focus {
  color: var(--clr-primary-400);
}

.btn {
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: var(--fs-m);
  font-weight: 400;
  white-space: nowrap;
  margin-bottom: 1.75rem;
  display: inline-block;
}
.btn-primary {
  background-color: var(--clr-primary-900);
  color: var(--clr-white);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--clr-primary-400);
  color: var(--clr-white);
}

/* navigation */
header {
  background-color: var(--clr-primary-700);
  position: sticky;
  top: 0;
  z-index: 9998;
  width: 100%;
}

.lang-nav {
  --max-width: 1420px;
  --padding: 2rem;
  width: min(var(--max-width), 100% - var(--padding));
  margin-inline: auto;
  padding-block: 1.25rem;
  padding-bottom: 0;
  display: flex;
  justify-content: end;
}
.lang-nav ul {
  display: flex;
  text-decoration: none;
  list-style-type: none;
}
.lang-nav a {
  color: var(--clr-white);
  padding-inline-end: 1rem;
}
.lang-nav li.active a {
  font-weight: bold;
}

.primary-header {
  --max-width: 1420px;
  --padding: 2rem;
  width: min(var(--max-width), 100% - var(--padding));
  margin-inline: auto;
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

@media (max-width: 58em) {
  .primary-header {
    justify-content: space-between;
    padding-block: 0;
  }
}

.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active {
  color: var(--clr-white);
  font-size: var(--fs-l);
}

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

.nav-list {
  display: flex;
  gap: 0.75rem;
}

.nav-list a {
  font-size: var(--fs-l);
  padding: 0.5rem 1rem;
  color: var(--clr-white);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}

@media (min-width: 58em) {
  .nav-list a:hover,
  .nav-list a:focus,
  .nav-list a:active,
  .nav-list li.active a {
    color: var(--clr-primary-900);
    background-color: var(--clr-primary-200);
  }
}

@media (max-width: 58em) {
  .primary-navigation {
    z-index: 9999;
    display: none;

    position: absolute;
    inset: 5rem 1rem auto;
    max-width: 20em;
    margin-left: auto;
    background-color: var(--clr-neutral-900);
    padding: 0.75rem;
  }

  .nav-list {
    display: grid;
    text-align: start;
    gap: 0;
  }

  .nav-list a {
    color: var(--clr-white);
    font-weight: 400;
    font-size: var(--fs-l);
    display: block;
    padding: 0.5rem 1rem;
  }
  .nav-list a:hover,
  .nav-list a:focus,
  .nav-list a:active,
  .nav-list li.active a {
    background-color: var(--clr-primary-200);
    color: var(--clr-primary-900);
    border: 0;
  }

  .primary-navigation[data-visible] {
    display: block;
  }

  .mobile-nav-toggle {
    display: block;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0.5em;
  }
}
/* END-NAV */

.container {
  --max-width: 58rem;
  --padding: 2rem;
  width: min(var(--max-width), 100% - var(--padding));
  margin-inline: auto;
  padding-top: var(--container-padding);
}

section {
  margin-top: 4rem;
}
section img {
  max-width: 100%;
  height: auto;
}

.even-columns {
  display: grid;
  gap: 1.25rem;
  grid-row-gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 48em) {
  .even-columns {
    grid-template-columns: 1fr;
  }
}

.wrapper {
  display: flex;
  gap: 1.25rem;
}
@media (max-width: 40em) {
  .wrapper {
    flex-wrap: wrap;
  }
}

.head-content {
  background-color: rgb(24, 24, 27, 0.3);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: darken;
  width: 100%;
  max-width: 1420px;
  height: 460px;
  margin-inline: auto;
  border-bottom: 64px solid var(--clr-primary-400);
  position: relative;
}

.head-content .logo {
  max-width: 400px;
  height: auto;
  position: absolute;
  bottom: -59px;
  left: 34px;
}

.head-content .headlines {
  position: absolute;
  left: 33%;
  top: 80px;
}

@media (max-width: 58em) {
  .head-content {
    border-bottom-width: 45px;
  }
  .head-content .headlines {
    left: 36px;
  }
  .head-content .logo {
    left: 50%;
    translate: -50%;
    max-width: 300px;
    bottom: -42px;
  }
}

.head-content .headlines h4 {
  color: var(--clr-white);
}

footer {
  background-color: var(--clr-primary-900);
  color: var(--clr-white);
  font-size: var(--fs-s);
  line-height: 1.25rem;
  padding-block: 1.25rem;
  margin-top: 5rem;
}

footer b {
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: inline-block;
}

footer a {
  color: var(--clr-white);
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: inline-block;
}
footer a:hover,
footer a:focus,
footer a:active {
  color: var(--clr-primary-200);
}

footer .even-columns {
  grid-template-columns: auto auto auto;
}

@media (max-width: 58em) {
  footer .even-columns {
    grid-template-columns: 1fr;
  }
}

section ul {
  padding-inline-start: 40px;
  margin-block-end: 1.75rem;
}

.cards .card {
  border: 1px solid var(--clr-neutral-400);
}
.cards .head {
  background-color: var(--clr-primary-100);
  padding: 0.75rem 1rem;
  margin-top: -8px;
}
.cards .head p {
  font-size: var(--fs-m);
  color: var(--clr-neutral-600);
  line-height: 1.25rem;
}
.cards .text {
  padding: 0.75rem 1rem;
}

.partner .logo {
  width: 160px;
  flex: none;
}
.partner .entry {
  margin-bottom: 3rem;
}
.years .year {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
}
@media (max-width: 48em) {
  .years .year {
    grid-template-columns: 1fr;
  }
}
.years .content {
  background-color: var(--clr-primary-100);
  padding: 2rem;
  place-content: center;
}
.years .btn {
  margin-bottom: 0;
}
.youtube iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
.youtube:not(:has(h3)) {
  margin-top: 1rem;
}

.person .container {
  background-color: var(--clr-primary-100);
  padding: 1rem;
}

.person h3 {
  margin-bottom: 0;
}
.person h7 {
  font-weight: 500;
}
.person .videos {
  padding-top: 1rem;
}
.person ul.links li {
  list-style-type: none;
  position: relative;
}
.person ul.links li:before {
  content: "";
  position: absolute;
  top: 2px;
  left: -30px;
  width: 24px;
  height: 24px;
  background-image: url("../Icons/Content/link_icon.svg");
}
.person .video_content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}
@media (max-width: 48em) {
  .person .video_content {
    grid-template-columns: 1fr;
  }
}
