:root {
  --colorDark: rgba(10, 10, 10, 1);
  --colorWhite: rgba(255, 255, 255, 1);
  --colorRed: rgba(237, 28, 36, 1);
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100%;
  background: var(--colorDark) url(../images/img-m.jpg) 0 0 no-repeat;
  background-size: cover;
  font-family: 'Gotham Pro', sans-serif;
  color: var(--colorWhite);
}

.page {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100dvh;
}

@supports (-webkit-touch-callout: none) {
  .page {
    min-height: -webkit-fill-available;
  }
}

.header {
  display: flex;
  column-gap: 16px;
  padding-top: 30px;
}

.contacts {
  display: flex;
  flex-direction: column;
}

.logo_link img {
  width: 50px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.button-player {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 101px;
  border: none;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  margin-bottom: 26px;
  transition: transform 0.15s ease-in-out;
  flex-shrink: 0;
}

.button-player:active {
  transform: scale(1.1);
}

.button-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button-player .button-player__img-pause {
  display: none;
}

.button-player--pause .button-player__img-play {
  display: none;
}

.button-player--pause .button-player__img-pause {
  display: block;
}

.sound-wave {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-wave__bar {
  animation-name: wave-lg;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  background: var(--colorWhite);
  margin: 0 1px;
  height: 10px;
  width: 1px;
}

.sound-wave__bar:nth-child(-n + 7),
.sound-wave__bar:nth-last-child(-n + 7) {
  animation-name: wave-md;
}

.sound-wave__bar:nth-child(-n + 3),
.sound-wave__bar:nth-last-child(-n + 3) {
  animation-name: wave-sm;
}

@keyframes wave-sm {
  0% {
    opacity: 0.35;
    height: 10px;
  }
  100% {
    opacity: 1;
    height: 25px;
  }
}

@keyframes wave-md {
  0% {
    opacity: 0.35;
    height: 15px;
  }
  100% {
    opacity: 1;
    height: 50px;
  }
}

@keyframes wave-lg {
  0% {
    opacity: 0.35;
    height: 15px;
  }
  100% {
    opacity: 1;
    height: 70px;
  }
}

.volume {
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.volume__icon {
  background-image: url('/images/volume.svg');
  width: 28px;
  height: 28px;
  background-position: 0 0;
}

.volume__icon.volume__icon--low {
  background-position: 0 56px;
}

.volume__icon.volume__icon--mute {
  background-position: 0 28px;
}

.volume__track {
  position: relative;
  width: 100px;
  height: 11px;
  background-color: rgba(255, 255, 255, 0.35);
}

.volume__filled {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--colorWhite);
}

.volume__drag {
  position: absolute;
  top: -6px;
  left: 100%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  border-radius: 100px;
  background-color: var(--colorWhite);
  border: 1px solid var(--colorDark);
  -webkit-transform: translateX(-12px);
  -ms-transform: translateX(-12px);
  transform: translateX(-12px);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}

.footer .contacts {
  display: none;
}

.contacts__link {
  position: relative;
  color: var(--colorWhite);
  text-decoration: none;
  display: inline-block;
}

.contacts__link--phone {
  font-size: 20px;
  line-height: 20px;
  margin-bottom: 6px;
}

.contacts__link--email {
  font-size: 14px;
  line-height: 13.1px;
}

.contacts__link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: var(--colorWhite);
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.contacts__link:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.footer__tg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--colorRed);
  border-radius: 50%;
  transition: all 0.15s ease-in-out;
}

.footer__tg:hover {
  transform: scale(1.1);
}

.footer__tg img {
  margin-left: -2px;
}

@media all and (min-width: 640px) and (max-width: 720px) and (orientation: portrait) {
  body {
    background-image: url(../images//img.jpg);
    background-position: 100% 0;
    background-size: 140%;
  }

  .header {
    padding-top: 40px;
  }

  .button-player {
    width: 100px;
    height: 100px;
    margin-right: 24px;
    margin-bottom: 0;
  }

  .sound-wave {
    height: 80px;
    opacity: 0.2;
  }

  .sound-wave--active {
    opacity: 1;
  }

  .footer {
    padding-bottom: 80px;
  }

  .contacts__link--phone {
    font-size: 36px;
    line-height: 34px;
    margin-bottom: 16px;
  }

  .contacts__link--email {
    font-size: 24px;
    line-height: 23px;
    margin-bottom: 45px;
  }
}

@media all and (min-width: 900px) {
  body {
    background-image: url(../images//img.jpg);
    background-position: 100% 0;
    background-size: auto;
  }

  .header .contacts {
    display: none;
  }

  .logo_link img {
    width: auto;
  }

  .content {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 24px;
  }

  .button-player {
    margin-bottom: 0;
  }

  .sound-wave {
    height: 80px;
  }

  .volume {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .footer {
    align-items: flex-start;
  }

  .footer .contacts {
    display: flex;
  }

  .contacts__link--phone {
    font-size: 36px;
    line-height: 34px;
    margin-bottom: 16px;
  }

  .contacts__link--email {
    font-size: 24px;
    line-height: 23px;
    margin-bottom: 45px;
  }
}

@media all and (min-width: 1100px) {
  .header {
    padding-top: 60px;
  }

  .footer {
    padding-bottom: 100px;
  }
}
