/* rubik-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/rubik-v26-cyrillic_latin-regular.eot'); /* IE9 Compat Modes */
  src: url('/assets/fonts/rubik-v26-cyrillic_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/assets/fonts/rubik-v26-cyrillic_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/assets/fonts/rubik-v26-cyrillic_latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/assets/fonts/rubik-v26-cyrillic_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/assets/fonts/rubik-v26-cyrillic_latin-regular.svg#Rubik') format('svg'); /* Legacy iOS */
  }

  html {
  scroll-behavior: smooth; 
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}



body {
  font-family: 'Rubik';
  font-style: normal;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: normal;
  color: #545454;
  background-color: rgb(0, 0, 0);
}

.wrapper {
  max-width: 1280px;
  margin: 0 auto;
  height: 100vh;
}

.image {
  width: 100%;
  height: 100vh;
  background-image: url(./assets/img/R.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}


h1 {
  position: absolute;
  top: 60px;
  left: 50px;
  font-size: 4rem;
  font-weight: bold;
  color: rgb(227, 24, 24);
}

.qrcode {
  width: 7.5rem;
  border-radius: 20%;
  position: absolute;
  right: 25px;
  bottom:25px;
}

@media (hover: hover) {
  .qrcode:hover {
    animation: spin 1.2s ease-in-out forwards;
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  1000% {
    transform: rotate(360deg);
  }
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.buton-play {
  background-image: url(/assets/img/play.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 22.5rem;
  height: 22.5rem;
  opacity: 0.6;
  transition: scale 1s, backgraund-image 1s;
  align-self: center; 
  margin-bottom: auto;
  margin-top: auto;
}

.stop {
  background-image: url(/assets/img/stop.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 22.5rem;
  height: 22.5rem;
  opacity: 0.6;
}

@media (hover: hover) {
  .buton-play:hover {
    scale: 1.2;
    opacity: 1;
  }
}

input[type='range'] {
  -webkit-appearance: none !important;
  background:rgba(255, 255, 255, 0.3);
  height: 15px;
  width: 240px;
  border-radius: 5px;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  background:rgba(244, 244, 244, 0.8);
  height: 30px;
  width: 30px;
  border-radius: 50%;
  transition: width 0.2s, height 0.2s;
}


@media (hover: hover) {
  input[type='range']:hover::-webkit-slider-thumb {
    width: 50px;
    height: 50px; 
  }
}


.volume {
  margin-bottom: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 10px;
}

.volume-icon {
  background-image: url(/assets/img/volume-icon.png);
  width: 48px;
  height: 48px;
  opacity: 0.6;
  transition: scale 0.2s;
}

.volume-icon-turnoff {
  background-image: url(/assets/img/volume-off.png);
  width: 48px;
  height: 48px;
  opacity: 0.6;
  transition: scale 0.2s;
}


@media (hover: hover) {

  .volume-icon:hover {
    scale: 1.2;
    opacity: 1;
  }

}

@media (max-width: 630px) {

  .buton-play {
    width: 14rem;
    height: 14rem;
  }

  .stop {
    width: 14rem;
    height: 14rem;
  }

}

@media (max-width: 630px) {
  .qrcode {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 130px;
  }
}

@media (max-width: 630px) {
  .image {
    background-position: -400px 0;
  }
}

.email-button {
  background-image: url(/assets/img/mail.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 75px;
  height: 75px;
  position: absolute;
  bottom: 35px;
  left: 35px;
  transition: transform 0.8s;
}

.email-button:hover {
transform: scale(1.2);
}

/* .mail {
  font-size: 1.2rem;
  color: rgb(172, 163, 163);
  position: relative;
  left: 25px;
  bottom: 35px;
} */

.popup {
  position: fixed;
  width: 0;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  width: 0;
  opacity: 0;
  transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.popup.active {
  width: 100%;
  opacity: 1;

}

.popup__body {
  min-height: 100%; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}


.form {
  
  width: 550px;
  margin: 0 auto;
  color: #fff;
  padding: 30px 0;
}

.form * {
  outline: none;
}

.form__body {

}

.form__title {
  font-size: 40px;
  font-weight: 700;
  margin: 0px 0px 30px 0px;
}

.form__item {
  margin: 0px 0px 20px 0px;
}

.form__label {
  font-size: 18px;
  display: block;
  margin: 0px 0px 10px 0px;
}

.form__input {
  height: 50px;
  padding: 0px 20px;
  border-radius: 5px;
  width: 100%;
  font-size: 18px;
}

.form__input._error {
  box-shadow: 0 0 25px rgb(255, 0, 0);
}

.form__input:focus {
  box-shadow: 0 0 15px rgb(234, 255, 0);
}

textarea.form__input {
  min-height: 120px;
  resize: vertical;
  padding: 20px;
}

.form__button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  background-color: rgb(181, 20, 20);
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 20px;
  border: none;
  box-shadow: 0 4px 0 rgb(92, 11, 11);
  transition: background-color 0.5s ease 0s;
  position: relative;
  top: 0;
}

.form__button:hover {
  background-color: rgb(117, 15, 15);
}

.form__button:active {
  top: 3px;
  box-shadow: 0 1px 0 rgb(92, 11, 11);
}

.popup__close {
  background-image: url(/assets/img/clouseBtn.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  margin-left: auto;
  transition: transform 0.8s;
}

.popup__close:hover {
  transform: scale(1.2);
}