html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *::before, *::after {
  box-sizing: content-box;
  margin: 0;
  padding: 0;
}

body {
  color: #fff;
}

.pirata {
  font-family: "Pirata One", serif;
  font-weight: 400;
  font-style: normal;
}

.playfar-display {
  font-family: "Playfair Display", serif;
}

img, video {
  height: auto;
  max-width: 100%;
}

model-viewer {
  position: fixed;
  width: 100vw;
  height: 100vh;
}

main {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,0) 25%, rgba(191,193,212,0.5) 75%, #bfc1d4 100%);
  width: 100vw;
  height: 100vh;
}

.container-background {
  position: absolute;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

header {
  margin-top: clamp(0.75rem, 0.2283rem + 2.6087vw, 2.25rem);
  border-radius: 10px 10px 0 0;
  border: 2px solid #fff;
  height: clamp(3rem, 2.6522rem + 1.7391vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.05rem 0.7rem;
}

h1 {
  font-size: clamp(2.75rem, 2.4891rem + 1.3043vw, 3.5rem);
}

.logo-link {
  position: absolute;
  z-index: 10;
  align-items: flex-end;
}

.logo {
  margin-top: clamp(0.75rem, 0.2283rem + 2.6087vw, 2.25rem);
  position: absolute;
  display: flex;
  align-items: flex-end;
  top: 0.5rem;
  right: clamp(1.2rem, 0.313rem + 4.4348vw, 3.75rem);
  height: clamp(2.5rem, 2.1522rem + 1.7391vw, 3.5rem);
  width: auto;
  cursor: pointer;
  transition: all 0.5s ease-out;
}

.logo:hover {
  filter: drop-shadow(0 0 0.5em #fff);
}

.main {
  border-right: 2px solid #fff;
  border-left: 2px solid #fff;
  flex-grow: 1;
}

footer {
  margin-bottom: clamp(0.75rem, 0.2283rem + 2.6087vw, 2.25rem);
  border-radius: 0 0 10px 10px;
  border-right: 2px solid #fff;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 0 0.4rem 0.4rem 0.4rem;
}

footer > .marquee-container {
  display: flex;
  width: 100%;
  height: fit-content;
  overflow: hidden;
}

.marquee-text {
  font-size: clamp(1.125rem, 0.9076rem + 1.087vw, 1.75rem);
  padding-right: 0.35rem;
  text-align: left;
  white-space: nowrap;
  animation: marquee 15s infinite linear;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-200%);
  }
}

#ar-button {
  font-family: "Playfair Display", serif;
  font-weight: 750;
  position: absolute;
  top: 4.65rem;
  left: 1rem;
  background-color: #0001;
  padding: 0.5rem 1rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 5rem;
  text-shadow: 1px 1px 2px #454a79, 0 0 1em #454a79, 0 0 0.2em #454a79;
}

.player {
  position: absolute;
  top: clamp(38.75rem, 34.0761rem + 23.3696vw, 52.1875rem);
  left: clamp(1.0938rem, 0.1698rem + 4.6196vw, 3.75rem);
  cursor: pointer;
  filter: opacity(35%);
  width: clamp(7.125rem, 16.3913rem + -11.9565vw, 14rem);
  height: 2rem;
}

#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -3;
}

.buttons {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  bottom: clamp(5.5rem, 7.1848rem + -2.1739vw, 6.75rem);
  right: clamp(1.2rem, 0.313rem + 4.4348vw, 3.75rem);
  gap: 0.5rem;
  filter: opacity(85%);
}

.button1,
.button3,
.button4 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 2.25rem;
  height: 2.25rem;
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 2.5px 5px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button1 {
  border-radius: 16.0625rem;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, #2cff05 100%);
}
.button1:hover {
  background-color: #fff;
  color: #000;
}

.button3 {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, #f5eebf 100%);
}
.button3:hover {
  background-color: #fff;
  color: #000;
}

.button4 {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, #f0ade6 100%);
}
.button4:hover {
  background-color: #fff;
  color: #000;
}