/* =================================
   T.I.V.C.O. — MAIN STYLE
================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #111;
  color: #f2f0eb;
  font-family: "Futura", "Century Gothic", sans-serif;
  overflow: auto;
}

/* HEADER */

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(12px);
}

/* NAVIGATION */

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.navigation a,
.socials a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.navigation a {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navigation a:hover,
.socials a:hover {
  opacity: 0.5;
}

/* LANGUAGE */

.language {
  position: absolute;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.language button {
  border: none;
  background: transparent;
  color: #888;
  cursor: pointer;
  font: inherit;
}

.language button.active {
  color: #fff;
}

/* SPATIAL WORLD */

.world {
  position: relative;
  width: 300vw;
  height: 300vh;
}

/* PANELS */

.panel {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 12%;
  overflow: hidden;
}

.content {
  max-width: 1400px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* HOME */

.home {
  left: 100vw;
  top: 100vh;
  background: #171717;
  isolation: isolate;
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* VIDEO OVERLAY */

.home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.50),
      rgba(0, 0, 0, 0.50)
    ),
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.22) 0.7px,
      transparent 1px
    );
  background-size: auto, 5px 5px;
}

/* HOME CONTENT */

.home .content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  flex: 1;
}

/* MAIN TITLE */

.main-title {
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 3.5vw, 58px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-align: center;
  white-space: nowrap;
  border-bottom: 2px solid currentColor;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 5px;
}

/* SUBTITLE */

.intro {
  margin-top: 30px;
  font-family: "Futura", "Century Gothic", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;
  color: #ccc;
  text-align: center;
}

/* SOCIAL ICONS */

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 110px auto 0;
  max-width: 800px;
  width: 100%;
}

.socials::before,
.socials::after {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
  flex: 1;
  max-width: 140px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f2f0eb;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.socials svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* OTHER PANELS */

.album {
  left: 0;
  top: 100vh;
  background: #202020;
}

.releases {
  left: 100vw;
  top: 200vh;
  background: #191919;
}

.about {
  left: 100vw;
  top: 0;
  background: #222;
}

.contact {
  left: 200vw;
  top: 100vh;
  background: #171717;
}

/* TYPOGRAPHY */

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 30px;
  color: #aaa;
}

h2 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -2px;
}

/* RESPONSIVE */

@media (max-width: 850px) {

  .topbar {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    padding: 18px 5%;
    gap: 18px;
  }

  .navigation {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
  }

  .navigation a {
    font-size: 10px;
  }

  .language {
    position: static;
    margin-left: auto;
  }

  .panel {
    padding: 130px 7%;
  }

  .main-title {
    font-size: clamp(22px, 5vw, 36px);
    white-space: normal;
    line-height: 1.3;
  }

  .intro {
    margin-top: 22px;
  }

  .socials {
    gap: 18px;
    margin-top: 75px;
    flex-wrap: wrap;
  }

  .socials a {
    width: 27px;
    height: 27px;
  }

  .socials::before,
  .socials::after {
    max-width: 45px;
  }
}