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

body {
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
}

header,
footer {
  flex: 0 0 auto;
}

main {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-grow: 1;
}

.container {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5px;
}
@media screen and (max-height: 450px) and (orientation: landscape) {
  .container {
    max-width: 100%;
  }
}

/*! CSS Used from: Embedded */
.th_icon {
  position: absolute;
  height: 100%;
  width: 100%;
  right: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
}

.th_duration,
.th_quality {
  position: absolute;
  right: 5px;
  font-size: 12px;
  color: #f9f9f9;
  padding: 3px 7px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: bolder;
}

.th_duration {
  bottom: 5px;
  background-color: rgba(0, 0, 0, 0.6);
}

.th_quality {
  top: 5px;
  background-color: rgba(252, 0, 0, 0.75);
}

/*! CSS Used from: Embedded */
a {
  text-decoration: none;
  word-wrap: break-word;
}

#navi_button,
#page_header {
  display: grid;
  position: relative;
}

#page_header {
  align-items: center;
  width: 100%;
  padding: 0 10px;
  grid-template-columns: 50px minmax(100px, 1fr) 50px;
  grid-column-gap: 10px;
  height: 50px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  text-align: center;
}

#page_header div {
  display: inline-block;
}

#logo div img {
  max-height: 26px;
  width: auto;
}

#navi_button {
  place-items: center;
}

.gg-search {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  transform: scale(var(--ggs, 1.1));
  width: 16px;
  height: 16px;
  border: 3px solid;
  border-radius: 100%;
  margin-left: -4px;
  margin-top: -4px;
  color: #33393b;
}

.gg-search::after {
  content: '';
  display: block;
  box-sizing: border-box;
  position: absolute;
  border-radius: 3px;
  width: 3px;
  height: 8px;
  background: currentColor;
  transform: rotate(-45deg);
  top: 10px;
  left: 12px;
}

#navi_button label {
  display: flex;
  flex-direction: column;
  width: 35px;
  cursor: pointer;
}

#navi_button label .m_line {
  background: #33393b;
  border-radius: 10px;
  height: 4px;
  margin: 2px 0;
  transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.m_line:first-of-type,
.m_line:nth-of-type(3) {
  width: 75%;
}

.m_line:nth-of-type(2) {
  width: 100%;
}

#navi_button input[type='checkbox'] {
  display: none;
}

input[type='checkbox']:checked ~ .m_line:first-of-type {
  transform-origin: bottom;
  width: 50%;
  transform: rotatez(45deg) translate(2px, -1px);
}

input[type='checkbox']:checked ~ .m_line:nth-of-type(2) {
  transform-origin: top;
  transform: rotatez(-45deg);
}

input[type='checkbox']:checked ~ .m_line:nth-of-type(3) {
  transform-origin: bottom;
  width: 50%;
  transform: translate(15px, -3px) rotatez(45deg);
}

#menu_items,
#menu_overlay {
  position: absolute;
  left: 0;
  z-index: 10;
  top: 100%;
}

#menu_items {
  display: block;
}

#menu_items {
  margin: 1px;
  width: 250px;
  transform: translateX(-100%);
  border-radius: 3px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  text-align: left;
  padding: 10px 20px;
}

.menu_item {
  display: inline-block;
  position: relative;
  padding: 7px 0;
  width: 100%;
}

.menu_item:not(:last-child):after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 1px;
  left: 0;
  background-color: #cfcfcf;
  width: 50%;
}

.menu_item a {
  color: #1e1f1a;
  display: inline-block;
  font-size: 14px;
  font-weight: bolder;
}

#menu_overlay {
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.1);
  display: none;
}

#menu_items,
#page_header {
  background-color: #fff;
}

.age {
  font-size: 22px;
  color: #33393b;
  font-weight: bold;
  letter-spacing: -3px;
  border: 3px solid #33393b;
  border-radius: 5px;
}

body #search {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
body #search .close {
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 3px;
  border: 3px solid #000000;
  width: 23px;
  border-radius: 5px;
}

body.close #search {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
body.close #search .close {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 3px;
  border: 3px solid #000000;
  width: 23px;
  border-radius: 5px;
  cursor: pointer;
}

.panel {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.4);
}
.panel__containerLine {
  max-width: 50%;
  width: 100%;
  height: 4px;
  display: block;
}
.panel__containerManagement {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel__line {
  max-width: 46%;
  width: 100%;
  display: block;
  height: 4px;
  background: #d9d9d9;
  position: absolute;
}
.panel__line::before {
  content: '';
  position: absolute;
  height: inherit;
  left: 0;
  top: 0;
  right: 0;
  width: 30%;
  background: #b86b6b;
}
.panel__line::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #953d3d;
  top: -5px;
  left: -2px;
}
.panel__play {
  display: block;
  background: none;
  border: none;
}
.panel__play img {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.panel__sound {
  background: none;
  border: none;
  margin: 0 10px;
}
.panel__sound img {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.panel__time {
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0 10px;
}
.panel__control {
  display: flex;
}
.panel__setting {
  background: none;
  border: none;
  margin-right: 10px;
}
.panel__wid {
  background: none;
  border: none;
}

.player {
  width: 100%;
  height: 60%;
}
.player .player__window {
  background: #000000 url('previev2.jpg');
  background-size: cover;
  background-position: 40%;
  min-height: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.player__container {
  position: relative;
  max-width: 800px;
}
.player__container img {
  width: 100%;
  display: block;
  object-fit: contain;
}
.player__head {
  position: absolute;
  top: 0;
  left: 5px;
  right: 5px;
  width: auto;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.player__quality {
  background: #de2600;
  color: #fff;
  padding: 2px 5px;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-radius: 3px;
}
.player__time {
  background: rgba(58, 58, 58, 0.7607843137);
  padding: 4px 5px;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.player__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  padding: 10px 15px;
}
.player__control {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  color: #fff;
  justify-content: center;
  align-items: stretch;
}
.player__agree {
  display: none;
}
.player__loader {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.27);
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.player__disclaimer {
  text-align: center;
  font-family: Arial;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: #fff;
}
.player__playContainer {
  border: none;
  background: rgba(0, 0, 0, 0.7);
  padding: 45px 7px 45px 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  z-index: 999;
}
.player__playContainer img {
  display: block;
  object-fit: contain;
  width: 50px;
  height: 56px;
}
.player__textBtn {
  color: #fff;
  text-align: left;
  margin-right: 21px;
}
.player__textBtn h2 {
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.3px;
}
.player__textBtn span {
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.player__description {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.2);
  display: block;
  position: relative;
  width: fit-content;
  margin: 10px auto;
  padding: 0;
}

.image-video-container {
  padding-top: 20px;
  height: 27%;
  height: 27vh;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  position: relative;
}
.image-video-container img {
  width: 100%;
  position: relative;
  object-fit: cover;
}

.watch {
  padding: 5px;
}
.watch__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.watch__eye {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.watch__eye img {
  display: block;
  object-fit: contain;
  width: 100%;
  max-width: 24px;
  height: 25px;
}
.watch__eye span {
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.watch__like,
.watch__dislike {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
}
.watch__like img,
.watch__dislike img {
  display: block;
  object-fit: contain;
  width: 100%;
  max-width: 24px;
}
.watch__like span,
.watch__dislike span {
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.watch__message {
  position: relative;
}
.watch__message span {
  position: absolute;
  top: 0;
  right: -4px;
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  background: #de2600;
  color: #fff;
  border-radius: 6px;
  padding: 2px 4px;
}

.hideThis,
.showThis {
  transition: opacity 1s ease-in-out;
}

.footer {
  height: 80px;
  flex: 0 0 auto;
}
.footer a {
  color: inherit;
}
.footer__container {
  padding: 5px 10px;
  text-align: center;
}
.footer__text {
  color: #545454;
  font-size: 12px !important;
  background: rgba(255, 255, 255, 0.4196078431);
  display: inline;
  line-height: initial;
}
.footer__agree {
  display: none;
}
.footer__agree p {
  color: #555555;
}
.footer__default {
  display: block;
}

body.agree .footer__default {
  display: none;
}
body.agree .footer__agree {
  display: block;
}
body.agree .hideThis {
  display: none !important;
  opacity: 0;
}
body.agree .showThis {
  display: flex !important;
  opacity: 1;
}
body.agree .player__default {
  display: none;
}
body.agree .player__agree {
  display: flex;
}

body.close #search .close {
  display: flex;
}
body.loader .player__default {
  display: none;
}
body.loader .hideThis {
  display: none !important;
  opacity: 0;
}
body.loader .showThis {
  display: flex !important;
  opacity: 1;
}
body.loader .showThis a,
body.loader .showThis .buy {
  display: none !important;
}
body.loader .player__agree .player__disclaimer,
body.loader .player__agree .player__description {
  display: none;
}
body.loader .player__loader {
  display: flex;
}

.loaderItem {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  position: absolute;
  top: 40%;
  border: 3px solid;
  border-color: #fff #fff transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loaderItem::after,
.loaderItem::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #ff3d00 #ff3d00;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loaderItem::before {
  width: 32px;
  height: 32px;
  border-color: #fff #fff transparent transparent;
  animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
