@font-face {
  font-family: "Balthis";
  src: url("./fonts/balthis-medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  background: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background: #fff;
  font-family: "Balthis", sans-serif;
}

main {
  min-height: 100svh;
  position: relative;
}

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

.composition {
  position: absolute;
  top: calc(2.71svh + 65px);
  left: calc(2.31vw + 220px);
  width: 421.333333px;
  margin: 0;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
}

.logo {
  position: absolute;
  top: 104.3%;
  left: calc(102.6% + 5px);
  display: block;
  width: 23%;
  height: auto;
}

.tagline {
  position: absolute;
  top: 0.75%;
  left: calc(102.6% + 5px);
  width: calc(97.69vw - 102.6% - 5px);
  margin: 0;
  color: #000;
  font-family: "Balthis", sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.cookie-consent {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 10;
  width: min(22rem, calc(100vw - 3rem));
  padding: 1rem;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 0.875rem;
  line-height: 1.35;
}

.cookie-consent[hidden],
.cookie-settings[hidden] {
  display: none;
}

.cookie-consent h2,
.cookie-consent p {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
}

.cookie-consent p {
  margin-top: 0.5rem;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cookie-consent button,
.cookie-settings {
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.cookie-consent button:first-child {
  background: #000;
  color: #fff;
}

.cookie-consent button:focus-visible,
.cookie-settings:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.cookie-settings {
  position: absolute;
  top: 1024px;
  right: calc(-25.6% - 5px);
  left: auto;
  z-index: 9;
  min-height: auto;
  padding: 0.25rem 0;
  border: 0;
  color: rgb(0 0 0 / 50%);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 43.75rem) {
  .tagline {
    white-space: normal;
  }

  .cookie-consent {
    right: 1rem;
    bottom: 1rem;
    width: calc(100vw - 2rem);
  }
}
