:root {
  --ibb-blue: #0F2D92;
  --ibb-white: #FEFEFF;
  --ibb-red: #AE2218;
  --ibb-black: #0c0c0d;
  --z-index-background-image: 0;
  --z-index-background-text: 1;
  --z-index-content: 2;
  --z-index-foreground: 3;
}

@font-face {
  font-display: swap;
  font-family: 'Lekton';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/lekton-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Lekton';
  src: url('../assets/fonts/Lekton-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-display: swap;
  font-family: 'Lekton';
  src: url('../assets/fonts/Lekton-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-display: swap;
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/space-mono-v15-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  src: url('../assets/fonts/SpaceMono-Bold.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Space Mono';
  font-style: italic;
  font-weight: 400;
  src: url('../assets/fonts/SpaceMono-Italic.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Space Mono';
  font-style: italic;
  font-weight: 700;
  src: url('../assets/fonts/SpaceMono-BoldItalic.ttf') format('truetype');
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  position: relative;
}

h1 {
  margin: 0;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: var(--z-index-background-image);
}

.site-bg picture,
.site-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

main {
  position: relative;
}

section {
  max-width: 100vw;
  min-height: 100vh;
}

.ibb-landing {
  background-color: var(--ibb-blue);
  color: var(--ibb-white);
  z-index: var(--z-index-content);
  padding: 2vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 20vh;
  font-family: 'Space Mono';
}

.logo-container {
  display: flex;
  font-size: clamp(1.5rem, 2rem + 0.5vw, 3rem);
  font-weight: 400;
}

sup {
  font-size: clamp(1rem, 2rem + 0.5vw, 3rem);
}

.name-container {
  margin-left: auto;
  font-size: clamp(2rem, 3rem + 1vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pre-about {
  overflow: hidden;
}

.background-text {
  position: absolute;
  z-index: var(--z-index-background-text);
  color: var(--ibb-blue);
  font-size: clamp(6rem, 3rem + 15vw, 15rem);
  line-height: 70%;
  width: 100vw;
  display: flex;
  overflow-wrap: anywhere;
  word-break: break-all;
  justify-content: flex-end;
  margin: 0;
  z-index: var(--z-index-background-text);
  font-family: Lekton;
  overflow: hidden;
  font-weight: 700;
}

.foreground-text {
  z-index: var(--z-index-foreground);
  align-self: flex-end;
  margin-top: auto;
  background-color: var(--ibb-red);
  color: var(--ibb-white);
  font-family: 'Space Mono';
  font-size: clamp(1rem, 2rem, 4rem);
  margin-right: 2vw;
}

.pre-about {
  position: relative;
  display: flex;
  flex-direction: column;
}

.values {
  color: var(--ibb-red);
  background-color: var(--ibb-white);
  font-family: 'Space Mono';
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 5vw;
}

.about {
  position: relative;
  font-family: "Space Mono";
}

.about h1 {
  color: var(--ibb-black);
  font-size: clamp(2rem, 1.5rem + 6vw, 6rem);
  margin: 0 0 2rem 0;
  padding: 2rem 0 0 2rem;
  font-weight: 700;
}

.about p,
.about cite {
  color: var(--ibb-blue);
  font-size: clamp(1rem, 1rem + 1.5vw, 1.8rem);
  margin: 0;
  padding: 0 4rem 4rem 4rem;
}

blockquote p {
  font-style: italic;
  font-weight: 400;
}

cite {
  font-style: italic;
  font-weight: 700;
  display: block;
}

.coming-soon {
  color: var(--ibb-blue);
  background-color: var(--ibb-white);
  font-family: "Space Mono";
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.coming-soon h1 {
  font-size: clamp(2rem, 1.5rem + 8vw, 8rem);
  font-weight: 900;
}

.contact {
  z-index: var(--z-index-content);
  background-color: var(--ibb-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Space Mono";
  min-height: 100dvh;
  width: 100vw;
  padding: 6.5vw;
}

.contact h1 {
  color: var(--ibb-red);
  font-size: clamp(2rem, 1.5rem + 8vw, 8rem);
  line-height: 85%;
  font-weight: 900;
}

.contact p {
  color: var(--ibb-white);
  padding-top: 10vh;
  font-size: clamp(1rem, 1.3rem + 0.5vw, 3rem);
}

.first {
  font-weight: 700;
  align-self: center
}

.second {
  margin-left: 6%;
  align-self: flex-start;

}

.third {
  font-weight: 700;
  font-style: italic;
  align-self: center;
  margin-left: 15%;
}

.social-bar {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  padding: 2rem 0;
}

.social-bar a {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.social-bar a:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.social-bar img {
  width: 100%;
  height: 100%;
  filter: invert(100%);
}

.copyright {
  position: relative;
  background-color: var(--ibb-black);
  color: var(--ibb-white);
  z-index: var(--z-index-content);
  text-align: center;
  padding: 1.5rem;
  font-family: 'Space Mono';
}

.copyright p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {

  .about h1 {
    padding: 1.5rem 0 0 1.5rem;
    margin: 0 0 1rem 0;
  }

  .about p,
  cite {
    padding: 0 2rem 2rem 2rem;
    font-size: clamp(0.95rem, 1rem + 1vw, 1.2rem);
    line-height: 1.5;
  }

  blockquote p {
    font-size: clamp(0.95rem, 1rem + 1vw, 1.2rem);
    padding: 0 0 1.5rem 0;
  }

  cite {
    padding: 0 0 1.5rem 0;
    font-size: clamp(0.95rem, 1rem + 1vw, 1.2rem);
  }

  .foreground-text {
    font-size: clamp(0.5rem, 0.7rem + 0.25vw, 1rem);
    margin-right: 2vw;
  }

  .background-text {
    font-size: clamp(5rem, 2rem + 12vw, 15rem);
    line-height: 70%;
    width: 100vw;
  }

  .contact {
    padding: 4.5vw;
    padding-top: 6.5vw;
    padding-left: 4.5vw;
    display: flex;
  }

  .contact h1 {
    font-size: clamp(1rem, 1.5rem + 4vw, 4rem)
  }

  .contact p {
    align-self: center;
    font-size: clamp(0.75rem, 0.75rem + 0.5vw, 1.5rem);
  }

  .first {
    font-weight: 700;
    align-self: center
  }

  .second {
    margin-left: 6%;
    align-self: flex-start;

  }

  .third {
    font-weight: 700;
    font-style: italic;
    align-self: center;
    margin-left: 18%;
  }

  .logo-container {
    display: flex;
    font-size: clamp(0.75rem, 1.5rem + 0.25vw, 1rem);
    font-weight: 400;
  }

  sup {
    font-size: clamp(0.75rem, 1.3rem + 0.5vw, 1rem);
  }

  .name-container {
    margin-left: auto;
    font-size: clamp(1rem, 1.5rem + 1vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .copyright p {
    margin: 0;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

}