/* alegreya-sans-sc-regular - 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: 'Alegreya Sans SC';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/alegreya-sans-sc-v23-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-sc-800 - 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: 'Alegreya Sans SC';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/alegreya-sans-sc-v23-latin-800.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* babylonica-regular - 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: 'Babylonica';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/babylonica-v5-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}

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

body {
  color: #000;
  min-width: 320px;
  min-height: 100vh;
  font-family: 'Alegreya Sans SC', sans-serif;
  font-style: normal;
  font-weight: 400;
  overflow: hidden;
}

.container {
  background-image: url(../assets/img/fon-img.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 5px;
}

.header-title {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: aliceblue;
}

.video-player {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.video__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video {
  max-width: 60%;
  border: 1px solid lightgray;
  border-radius: 10px;
  box-shadow: 0 8px 13px hsla(0deg 0% 0% / 50%),
    -1px 0px 13px hsla(0deg 0% 0% / 97%),
    8px -8px 13px hsla(0deg 0% 4.05% / 50%),
    8px 0 13px hsla(210, 100%, 50%, 0.5);
}

.central-btn,
.central-btn-pause {
  position: absolute;
  width: 50px;
  height: 50px;
  background-image: url(../assets/svg/central-btn.svg);
}

.central-btn,
.central-btn-pause,
.pause-btn,
.play-btn,
.volume,
.full-screen {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  transition: 1s;
  z-index: 3;
  filter: brightness(0) invert(1);
  background-color: transparent;
  border: none;
}


.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  margin-top: 5px;
  margin-bottom: 20px;
  width: 60%;
}

.pause-btn,
.play-btn {
  width: 30px;
  height: 30px;
  background-image: url(../assets/svg/central-btn.svg);
  margin-right: 10px;
}

.central-btn-pause,
.pause-btn {
  background-image: url(../assets/svg/pause.svg);
}

.timeline {
  position: relative;
  width: 100%;
  margin: 0 auto;
  font-size: 15px;
}

.progress {
  width: 90%;
}

.time-indicator {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: aqua;
  z-index: 100;
  top: 4px;
}

.time-bar,
.all-time,
.current-time {
  color: white;
}

.volume-items {
  display: flex;
}

.volume {
  width: 30px;
  height: 30px;
  z-index: 3;
  background-image: url(../assets/svg/sound.svg);
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: 1s;
  margin-right: 5px;
}

.volume-off {
  background-image: url(../assets/svg/sound-off.svg);
}

.volume-range {
  margin-right: 20px;
  width: 100%;
}

.full-screen {
  width: 30px;
  height: 30px;
  background-image: url(../assets/svg/full-screen.svg);
}

.footer {
  max-width: 60%;
  margin: 0 auto;
}

.footer__wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 2px;
}

.footer__link {
  color: #FFF;
  font-family: 'Babylonica', sans-serif;
  font-style: normal;
  font-weight: 400;
  transition: 0.9s;
  font-size: 30px;
  text-decoration: none;
}

.footer__link img {
  width: 30%;
  filter: invert(76%) sepia(15%) saturate(638%) hue-rotate(140deg) brightness(92%) contrast(87%);
}

.footer__link:active,
.footer__link:focus,
.footer__link:hover {
  opacity: 0.75;
  color: #fbedd9;
}

.central-btn:hover,
.central-btn-pause:hover,
.pause-btn:hover,
.play-btn:hover,
.volume:hover,
.full-screen:hover,
.volume-off:hover {
  filter: invert(76%) sepia(35%) saturate(638%) hue-rotate(140deg) brightness(92%) contrast(87%);
}