@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.player,
body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox
}

.button,
.top_wrapper h1 {
  text-transform: capitalize
}

.button,
.top_wrapper {
  text-align: center;
  background: rgba(255, 255, 255, .95)
}

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

html {
  font-size: 15px
}

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

body {
  font-family: 'Open Sans', sans-serif;
  position: relative;
  background-color: #454545;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center
}

@-webkit-keyframes show {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@keyframes show {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes hidden {
  100% {
    opacity: 0
  }
}

@keyframes hidden {
  100% {
    opacity: 0
  }
}

.wrapper {
  position: absolute;
  bottom: 25px;
  width: 87%;
  max-width: 400px;
  z-index: 100;
  -webkit-animation: 1.2s steps(1, end) show;
  animation: 1.2s steps(1, end) show
}

.top_wrapper {
  padding: 17px;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px
}

.top_wrapper h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px
}

.button {
  width: 100%;
  color: #2289fb;
  font-size: 1.3rem;
  font-weight: 400;
  border-top: 1px solid rgba(0, 0, 0, .15);
  padding: 13px 10px;
  cursor: pointer;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px
}

.button:hover {
  background: rgba(225, 225, 225, .5);
  border-radius: 0 0 10px 10px
}

.player {
  width: 100%;
  max-width: 850px;
  height: 60vh;
  position: relative;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 15px;
  background: #000
}

.player_content,
.top_icons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox
}

.progress,
.progress_load {
  background: rgba(255, 255, 255, .4)
}

.top_icons {
  position: absolute;
  top: 10px;
  left: 20px;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start
}

.top_icons img {
  width: 35px;
  cursor: pointer
}

.top_icons img:first-child {
  margin-right: 14px
}

.player_content {
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  width: 100%
}

.pause_play,
.player_navigation {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -webkit-box-align: center
}

.player_content img {
  padding-top: 50px;
  position: absolute
}

.player_content .loading {
  width: 35px;
  -webkit-animation: .9s steps(1, end) forwards hidden;
  animation: .9s steps(1, end) forwards hidden
}

.player_content .play {
  width: 70px;
  opacity: 0;
  -webkit-animation: .9s steps(1, end) forwards show;
  animation: .9s steps(1, end) forwards show
}

.pause_play {
  position: relative;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center
}

.pause_play img:first-child {
  position: absolute;
  opacity: 0;
  -webkit-animation: .9s steps(1, end) forwards show;
  animation: .9s steps(1, end) forwards show
}

.pause_play img:last-child {
  -webkit-animation: .9s steps(1, end) forwards hidden;
  animation: .9s steps(1, end) forwards hidden
}

.player_navigation {
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%
}

.player_navigation_item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center
}

.player_navigation_item img {
  height: 20px;
  cursor: pointer
}

.player_navigation_item p {
  font-size: .8rem;
  margin-left: 12px;
  color: #fff
}

.player_navigation_item:last-child img {
  margin-right: 15px
}

.player_navigation_item:last-child img:last-child {
  margin-right: 0
}

.progress {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 4px;
  margin: 0 12px;
  position: relative;
  cursor: pointer
}

.progress_load {
  width: 0%;
  height: 100%;
  -webkit-animation: 20s linear forwards progress_load;
  animation: 20s linear forwards progress_load
}

.progress_line {
  width: 0%;
  height: 100%;
  background: #4080ff;
  -webkit-animation: 1s linear forwards progress_line;
  animation: 1s linear forwards progress_line
}

.button_cansel {
  margin-top: 10px;
  background: rgba(255, 255, 255, .95);
  border-radius: 10px
}

@-webkit-keyframes progress_load {
  0% {
    width: 0
  }

  100% {
    width: 50%
  }
}

@keyframes progress_load {
  0% {
    width: 0
  }

  100% {
    width: 50%
  }
}

@-webkit-keyframes progress_line {
  0% {
    width: 0
  }

  100% {
    width: 10px
  }
}

@keyframes progress_line {
  0% {
    width: 0
  }

  100% {
    width: 10px
  }
}

@media screen and (max-width:992px) {
  .player {
    height: 75vh
  }
}

@media screen and (max-width:768px) {
  .player {
    height: 42vh
  }
}

@media screen and (max-width:768px) and (orientation:landscape) {
  .player {
    height: 80vh
  }
}

@media screen and (max-width:440px) {
  .top_icons {
    top: 10px;
    left: 15px
  }

  .top_icons img {
    width: 28px
  }

  .top_icons img:first-child {
    margin-right: 12px
  }

  .player_content img {
    padding-top: 25px
  }

  .player_content .loading {
    width: 30px
  }

  .player_content .play {
    width: 60px
  }

  .player_navigation_item:last-child img {
    margin-right: 10px
  }

  .player_navigation_item:last-child img:last-child {
    margin-right: 0
  }

  .player_navigation_item img {
    height: 18px
  }
}

@media screen and (max-width:320px),
screen and (max-width:480px) and (orientation:landscape) {
  html {
    font-size: 14px
  }

  .top_icons {
    top: 10px;
    left: 15px
  }

  .top_icons img {
    width: 28px
  }

  .top_icons img:first-child {
    margin-right: 12px
  }

  .player_content img {
    padding-top: 20px
  }

  .top_wrapper {
    padding: 17px
  }
}

@media screen and (max-width:840px) and (max-height:440px) and (orientation:landscape) {
  body {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start
  }

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

  .player_content img {
    padding-top: 0
  }

  .wrapper {
    margin-bottom: 0;
    margin-top: 8px
  }
}