@font-face {
  font-family: BebasNeue;
  src: local("BebasNeue"), url("./assets/fonts/BebasNeue.WOFF2"),
    url("./assets/fonts/BebasNeue.WOFF"), url("./assets/fonts/BebasNeue.TTF");
  font-display: block;
}

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

:root {
  font-size: clamp(12px, 1.8vw, 24px);

  --red-accent: #ef1f0d;
  --aubergine-accent: #45114e;
  --grey-accent: #f5f5f5;
  --black-accent: #221e2d;
}

html {
  color: white;
  font-family: BebasNeue, Helvetica, sans-serif;
  letter-spacing: 2px;
  scroll-behavior: smooth;
}

body {
  background: var(--grey-accent);
  padding-bottom: 5rem;
}

a {
  text-decoration: none;
  color: var(--red-accent);
}

h1,
h2 {
  color: var(--black-accent);
}

h1 {
  font-size: clamp(16px, 3vw, 80px);
  margin-bottom: 1em;
}

h2 {
  font-size: 1.17em;
}

button {
  position: relative;
  overflow: hidden;
  appearance: none;
  min-width: 100px;
  padding: 0.5rem 1.5rem;
  border-radius: 3px;
  border-style: solid;
  border-color: var(--red-accent);
  border-width: clamp(1px, 0.3vw, 3px);
  font-family: BebasNeue;
  letter-spacing: 2px;
  background-color: transparent;
  color: var(--red-accent);
  font-size: 1rem;
  cursor: pointer;

  transition: color 300ms ease-in-out;
}

button:focus {
  outline: none;
}

button > * {
  position: relative;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 130%;
  height: 55px;
  background-color: var(--red-accent);
  transform: translate(-110%, 0) skew(-30deg);
  transition: 0.5s;
}

button:hover {
  color: var(--grey-accent);
}

button:hover::before {
  transform: translate(-5%, 0) skew(-15deg);
}

.cover {
  position: relative;
}

.absolute-container {
  width: 100%;
  height: 76vw;
  position: absolute;
  top: 0;
  left: 0;
}

.cover__image {
  width: 100%;
  height: 100%;
}

.cover__image.cover__image-foreground {
  position: absolute;
  top: 0;
  left: 0;
}

.cover__logo {
  max-width: clamp(150px, 66vw, 1500px);
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 20vw;
  padding-top: 2vw;
  opacity: 0;
  transition: opacity ease-in 500ms 500ms;
}

.cover__logo.visible {
  opacity: 1;
}

.cover__logo-text {
  position: absolute;
  top: 57vw;
  left: 50%;
  max-width: clamp(150px, 50vw, 1500px);
  transform: translateX(-50%);
}

.navbar {
  position: sticky;
  top: 0;
  bottom: 0;
  width: 100%;
  height: clamp(30px, 5vw, 70px);
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: clamp(1rem, 2vw, 2rem);
  padding: 0 2rem;
  background: var(--red-accent);
}

.navbar__item {
  color: white;
  transition: all ease-out 150ms;
}

.navbar__item:hover {
  color: var(--grey-accent);
}

.music__music-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.music__music-video--main {
  grid-area: main;
  @media (max-width: 1000px) {
    grid-area: auto;
  }
}

.music__music-video-gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas:
    "main main main"
    "main main main"
    ". . .";
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  padding-bottom: 2rem;

  @media (max-width: 1000px) {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: none;
  }
}

.contacts__info {
  margin-bottom: 1rem;
}

section {
  margin-left: auto;
  margin-right: auto;
  max-width: clamp(600px, 60vw, 1000px);
}

section:not(:last-child) {
  padding-bottom: 5rem;
}

li {
  list-style: none;
}

li:not(:first-child) {
  margin-top: 0.2em;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.anchor-pivot {
  height: 3rem;
}

.text-center {
  text-align: center;
}

@media (max-width: 600px) {
  .navbar {
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .desktop-only {
    display: none;
  }

  section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
