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

h1, h2, h3, h4, h5,
em, strong {
  font-size: inherit;
  font-style: normal;
  font-weight: 400;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

.no-select {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.clear {
  display: block;
  float: none;
  clear: both;
}

html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  width: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  display: none;
}

* {
  scrollbar-width: none;
}

@font-face {
  font-family: "Apfel Grotezk";
  src: url("../assets/fonts/ApfelGrotezk-Regular.woff2") format("woff2"), url("../assets/fonts/ApfelGrotezk-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Apfel Grotezk Mittel";
  src: url("../assets/fonts/ApfelGrotezk-Mittel.woff2") format("woff2"), url("../assets/fonts/ApfelGrotezk-Mittel.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Apfel Grotezk Satt";
  src: url("../assets/fonts/ApfelGrotezk-Satt.woff2") format("woff2"), url("../assets/fonts/ApfelGrotezk-Satt.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Apfel Grotezk Fett";
  src: url("../assets/fonts/ApfelGrotezk-Fett.woff2") format("woff2"), url("../assets/fonts/ApfelGrotezk-Fett.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
:root {
  --GRID_COLS: 8;
  --GRID_MARGIN: calc(20 * 0.05rem);
  --GRID_GUTTER: calc(20 * 0.05rem);
  --FS18: calc(18 * 0.05rem);
  --LH18: 1.25em;
  --FS24: calc(24 * 0.05rem);
  --LH24: 1.25em;
  --FS36: calc(36 * 0.05rem);
  --LH36: 1.1em;
  --10: calc(10 * 0.05rem);
  --20: calc(20 * 0.05rem);
  --PERCENT_1: 46.5%;
  --PERCENT_2: 18.5%;
  --PERCENT_3: 73.15%;
}

html {
  font-family: "Apfel Grotezk";
  font-size: 20px;
  line-height: normal;
  visibility: hidden;
}

body {
  position: relative;
  overflow: hidden;
}

#main-grid {
  display: grid;
  visibility: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0 var(--GRID_MARGIN);
  box-sizing: border-box;
  grid-template-columns: repeat(var(--GRID_COLS), 1fr);
  column-gap: var(--GRID_GUTTER);
  z-index: 10000;
  pointer-events: none;
}
#main-grid .col {
  height: 100%;
  grid-column-end: span 1;
  background-color: rgba(0, 255, 255, 0.1);
}

#main {
  display: flex;
  flex-direction: column;
  height: 100svh;
}

header {
  display: flex;
  justify-content: space-between;
  padding: var(--10) var(--GRID_MARGIN);
  box-sizing: border-box;
  background-color: #3D2D24;
  color: #F1E8D2;
  font-family: "Apfel Grotezk Mittel";
  font-size: var(--FS18);
  line-height: 1;
}
header #contact {
  display: flex;
}
header a {
  display: block;
  text-decoration: none;
}
header a:hover {
  text-decoration: underline;
}

footer {
  display: flex;
  padding: var(--10) var(--GRID_MARGIN);
  box-sizing: border-box;
  background-color: #3D2D24;
  color: #F1E8D2;
  font-family: "Apfel Grotezk Mittel";
  font-size: var(--FS18);
  line-height: 1;
}
footer .left {
  margin-right: var(--GRID_GUTTER);
}
footer .left svg {
  display: block;
  height: 1em;
  width: auto;
}
footer .left svg path, footer .left svg rect, footer .left svg polygon {
  fill: #F1E8D2;
}
footer .right {
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(0.1em);
}
footer .right .band {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: 30s linear 0s infinite normal none running infinite-scroll;
}
@keyframes infinite-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

#section-rc {
  position: relative;
  padding: var(--GRID_MARGIN);
  box-sizing: border-box;
  overflow: hidden;
  height: var(--RC_HEIGHT);
}
#section-rc #rc {
  position: relative;
  height: 100%;
  width: fit-content;
}
#section-rc #rc #bg-rc-1 {
  position: absolute;
  left: var(--PERCENT_3);
  top: calc(var(--GRID_MARGIN) * -1);
  width: 100vw;
  height: calc(100% + var(--GRID_MARGIN) * 2);
  transform: rotate(180deg);
  transform-origin: center left;
  background-color: #00875A;
  z-index: -1;
}
#section-rc #rc #bg-rc-2 {
  position: absolute;
  left: var(--PERCENT_3);
  top: calc(var(--GRID_MARGIN) * -1);
  width: 100vw;
  height: calc(100% + var(--GRID_MARGIN) * 2);
  background-color: #FC0000;
  z-index: -1;
}
#section-rc #rc svg {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
}
#section-rc #rc svg path, #section-rc #rc svg rect, #section-rc #rc svg polygon, #section-rc #rc svg ellipse {
  fill: #F1E8D2;
}
#section-rc #rc .rc-type-line {
  display: none;
}
#section-rc.switch-color #rc #bg-rc-1 {
  background-color: #FC0000;
}
#section-rc.switch-color #rc #bg-rc-2 {
  background-color: #00875A;
}
#section-rc.one-line #rc .rc-type-line {
  display: block !important;
}
#section-rc.one-line #rc .rc-type-2lines {
  display: none !important;
}
#section-rc.one-line #rc #bg-rc-1 {
  left: 52.2% !important;
}
#section-rc.one-line #rc #bg-rc-2 {
  left: 52.2% !important;
}

#section-infos {
  display: flex;
  position: relative;
  height: var(--INFOS_HEIGHT);
  background-color: #3D2D24;
}
#section-infos .left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--GRID_MARGIN);
  box-sizing: border-box;
  width: calc(var(--COLUMN_WIDTH) * 4 + var(--GRID_GUTTER) * 3.5 + var(--GRID_MARGIN));
  background-color: #F1E8D2;
}
#section-infos .left svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-50% - var(--GRID_GUTTER)));
  display: block;
  height: 100%;
  max-width: calc(100% - var(--GRID_MARGIN) * 2);
  cursor: pointer;
}
#section-infos .left svg path {
  fill: #3D2D24;
}
#section-infos .left svg:hover #queen {
  display: none;
}
#section-infos .left svg:hover #listening {
  display: block;
}
#section-infos .right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(var(--COLUMN_WIDTH) * 4 + var(--GRID_GUTTER) * 3.5 + var(--GRID_MARGIN));
  background-color: #DAC98E;
  color: #3D2D24;
  padding: var(--GRID_MARGIN);
  box-sizing: border-box;
}
#section-infos .right #catchline {
  font-family: "Apfel Grotezk Satt";
  font-size: var(--FS36);
  line-height: var(--LH36);
  text-align: center;
  margin-bottom: 0.2em;
}
#section-infos .right #openings {
  font-family: "Apfel Grotezk Mittel";
  font-size: var(--FS24);
  line-height: var(--LH24);
  text-align: center;
}
#section-infos .right #openings span:last-child {
  display: block;
  transform: translateX(3.02em);
}
#section-infos.switch-order .left {
  order: 1;
}
#section-infos.switch-order .right {
  order: 0;
}
#section-infos.switch-color .left {
  background-color: #DAC98E;
}
#section-infos.switch-color .right {
  background-color: #F1E8D2;
}
#section-infos.max-queen .right {
  width: fit-content;
}
#section-infos.max-queen .left {
  flex-grow: 1;
}
#section-infos.listening .left svg #queen {
  display: none;
}
#section-infos.listening .left svg #listening {
  display: block;
}
#section-infos.listening .left svg:hover #queen {
  display: block;
}
#section-infos.listening .left svg:hover #listening {
  display: none;
}

#main.switch-heights #section-rc {
  height: var(--INFOS_HEIGHT);
}
#main.switch-heights #section-rc #rc #bg-rc-1 {
  left: var(--PERCENT_1);
}
#main.switch-heights #section-rc #rc #bg-rc-2 {
  left: var(--PERCENT_1);
}
#main.switch-heights #section-infos {
  height: var(--RC_HEIGHT);
}
#main.switch-heights #section-infos #infos {
  transform: translateY(calc(-50% + 7em));
}
#main.switch-heights #section-infos .rca-queen {
  height: calc(100% - var(--GRID_MARGIN) * 2) !important;
  transform: translateX(-50%) translateY(-50%);
}

@media (min-aspect-ratio: 1920/800) {
  #section-rc #rc .rc-type-line {
    display: block !important;
  }
  #section-rc #rc .rc-type-2lines {
    display: none !important;
  }
  #section-rc #rc #bg-rc-1 {
    left: 52.2% !important;
  }
  #section-rc #rc #bg-rc-2 {
    left: 52.2% !important;
  }
}