
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
html {
  font-size: 15px;
}
html,
body {
  width: 100%;
  height: 100%;
}
body {
  font-family: 'Roboto', sans-serif;

  position: relative;
  background-color: #454545;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  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;
}
@-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 {
  font-family: 'Roboto', sans-serif;
  position: absolute;
  margin-bottom: 100px;
  width: 95%;
  max-width: 350px;
  background: #f2f2f2;
  border-radius: 4px;
  z-index: 100;
  -webkit-animation: show 1.2s steps(1, end) 1;
  animation: show 1.2s steps(1, end) 1;
}
.top_wrapper {
  padding: 17px 20px;
  width: 100%;
  text-align: left;
}
.top_wrapper h1 {
  text-transform: capitalize;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.top_wrapper p {
  line-height: 20px;
}
.button {
  width: 100%;
  color: #12b7b1;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  text-align: right;
  padding: 0 20px 18px 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex
;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
.button:hover {
  background: rgba(225, 225, 225, 0.5);
  border-radius: 0 0 10px 10px;
}
.player {
  width: 100%;
  max-width: 850px;
  height: 60vh;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  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;
}
.top_icons {
  position: absolute;
  top: 10px;
  left: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  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: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  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%;
}
.player_content img {
  padding-top: 50px;
  position: absolute;
}
.player_content .loading {
  width: 35px;
  -webkit-animation: hidden 0.9s steps(1, end) forwards;
          animation: hidden 0.9s steps(1, end) forwards;
}
.player_content .play {
  width: 70px;
  opacity: 0;
  -webkit-animation: show 0.9s steps(1, end) forwards;
          animation: show 0.9s steps(1, end) forwards;
}
.pause_play {
  position: relative;
  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;
}
.pause_play img:first-child {
  position: absolute;
  opacity: 0;
  -webkit-animation: show 0.9s steps(1, end) forwards;
          animation: show 0.9s steps(1, end) forwards;
}
.pause_play img:last-child {
  -webkit-animation: hidden 0.9s steps(1, end) forwards;
          animation: hidden 0.9s steps(1, end) forwards;
}
.player_navigation {
  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: 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: 0.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;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 12px;
  position: relative;
  cursor: pointer;
}
.progress_load {
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  -webkit-animation: progress_load 20s linear forwards;
          animation: progress_load 20s linear forwards;
}
.progress_line {
  width: 0%;
  height: 100%;
  background: #4080ff;
  -webkit-animation: progress_line 1s linear forwards;
          animation: progress_line 1s linear forwards;
}
@-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 queries start ***********/
@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: 15px;
    left: 14px;
  }
  .top_icons img {
    width:20px;
  }

  .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;
  }
  
  .player_content img {
    padding-top: 20px;
  }
}
@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;
  }
}
/*************** media queries FOR WRAPPER ONLY ***********/
@media screen and (max-width: 320px), screen and (max-width: 480px) and (orientation: landscape) {
  .top_wrapper {
    padding: 17px;
  }
}
@media screen and (max-width: 840px) and (max-height: 440px) and (orientation: landscape) {
  .wrapper {
    margin-bottom: 0;
    margin-top: 8px;
  }
}