:root {
  --background-color: #f8f8f8;
  --background-second: #f8f8f8;
  --text-color: #000000;
  --subtext-color: #000000;
  --btn-bg-color: #000000;
  --btn-bg-solid: #ace06d;
  --btn-text-color: #ffe632;
}
html,
body,
#app {
  height: 100%;
  margin: 0;
  padding: 0;
}

div#app {
  width: 100%;
}
body {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--text-color);
  font-weight: 400;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: var(--background-second);
  box-sizing: border-box;
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

.btn-confirm {
  width: 100%;
  background-color: #ec1367;
  border: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 10px;
}
.reject {
  color: rgb(0, 0, 0);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 200;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
  text-decoration-line: underline;
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: #fff;
  font-size: 10px;
  line-height: 1;
  font-family: 'Open Sans', sans-serif;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body,
a {
  text-size-adjust: none;
}

a {
  text-decoration: underline;
}

.cla::after {
  content: '';
  clear: both;
  display: table;
}

.mpic {
  display: block;
  max-width: 100%;
  margin: 0px auto;
}

.wrapper {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.header {
  height: 40px;
  color: rgb(255, 255, 255);
  background: rgb(22, 22, 22);
  position: relative;
}
.header__close {
  border-radius: 100%;
  border: 1px solid #222;
  width: 24px;
  height: 24px;
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: #222;
  color: #fff !important;
  font-size: 16px;
  position: absolute;
  right: 43px;
  top: 7px;
}
.header .menu {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  width: 40px;
  background: url('menu.png') center center / 40px no-repeat;
}

.header .menu::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 32px;
  width: 40px;
  height: 40px;
  background: url('search.png') center center / 40px no-repeat;
}

.header .logo {
  margin: 0 auto;
  padding-top: 2px;
  font-size: 22px;
  position: absolute;
  left: 69px;
  top: 6px;
}

.header .logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header .user {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 80px;
  padding-left: 40px;
  font-size: 16px;
  line-height: 40px;
}

.tags {
  text-align: left;
  padding: 8px;
}

.tag {
  display: inline-block;
  margin-right: 3px;
  padding: 0px 6px;
  background: rgb(217, 217, 217);
  color: rgb(0, 0, 0);
  font-size: 14px;
  line-height: 26px;
}

.tag.b {
  color: rgb(255, 255, 255);
  font-weight: bold;
  background: rgb(0, 0, 0);
}

.tag.r {
  color: rgb(255, 255, 255);
  font-weight: bold;
  background: rgb(222, 38, 0);
}

.middle-box {
  padding-left: 8px;
  padding-right: 8px;
  @media screen and (orientation: landscape) and (max-height: 415px) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    align-items: center;
    .player {
      width: 100%;
    }
  }
}

.player {
  height: 40vh;
  background: url('grud.jpg') center center / cover no-repeat rgb(0, 0, 0);
  margin: 0px auto 20px;
  position: relative;
  cursor: pointer;
}

.player-title {
  position: absolute;
  top: 5.66667px;
  left: 8.5px;
  max-width: 308px;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  color: rgb(255, 255, 255);
  font-size: 12px;
  line-height: 16px;
}

.player-bar {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 36px;
  background: url('player-bar-bg.jpg') center center repeat-x;
  opacity: 0;
}

.player-bar::before,
.player-bar::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

.player-bar::before {
  background: url('player-bar-left.jpg') left center no-repeat;
}

.player-bar::after {
  background: url('player-bar-right.jpg') right center no-repeat;
}

.btn-box {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -34px;
  z-index: 111;
  display: flex;
  flex-direction: column;
  @media screen and (orientation: landscape) and (max-height: 415px) {
    bottom: 16px;
  }
}
.buy {
  @media screen and (orientation: landscape) and (max-height: 415px) {
    line-height: normal;
    display: flex;
    box-sizing: border-box;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}
.btn {
  display: block;
  max-width: 480px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: rgb(255, 255, 255);
  font-size: 26px;
  line-height: 18vh;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  position: relative;
  z-index: 1;
  height: 24vh;
  -webkit-box-shadow: 0px 2px 5px 2px rgba(255, 255, 255, 0.35);
  box-shadow: 0px 2px 5px 2px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
@media (max-width: 320px) {
  .btn {
    display: block;
    max-width: 480px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: rgb(255, 255, 255);
    font-size: 24px;
    line-height: 26vh;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    position: relative;
    z-index: 1;
    -webkit-box-shadow: 0px 2px 5px 2px rgba(255, 255, 255, 0.35);
    box-shadow: 0px 2px 5px 2px rgba(255, 255, 255, 0.35);
  }
}
.btn-text {
  display: inline-block;
  padding-right: 40px;
  position: relative;
  width: 100%;
  @media screen and (orientation: landscape) and (max-height: 415px) {
    line-height: normal;
    display: flex;
    padding: 20% 40px 20% 0;
    box-sizing: border-box;
    position: relative;
    justify-content: center;
    align-items: center;
  }
}
.btn-text1 {
  line-height: normal;
  display: flex;
  padding: 20% 0;
  box-sizing: border-box;
  position: relative;
  justify-content: center;
  align-items: center;
}

.btn-text::before {
  content: '';
  position: absolute;
  top: 50%;
  height: 0px;
  width: 0px;
  right: 40px;
  margin-top: -20px;
  border-width: 20px 0px 20px 20px;
  border-style: solid;
  border-color: transparent transparent transparent rgb(255, 255, 255);
  border-image: initial;
}

.price {
  color: rgb(153, 153, 153);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  padding-top: 10px;
}

.price-bg {
  display: inline-block;
  background: rgb(234, 229, 229);
  padding: 0px 2px 2px;
}
.banner {
  @media screen and (orientation: landscape) {
    display: none;
  }
}
.meta {
  margin: 52px 0px 6px;
  @media screen and (orientation: landscape) and (max-height: 415px) {
    display: none;
  }
}

.meta + .meta {
  margin-top: 6px;
}

.meta img {
  display: block;
  max-width: 100%;
  margin: 0px auto;
}

.related {
  padding: 15px 5px 0px;
}

.related img {
  float: left;
  display: block;
  width: 50%;
}

.footer {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding-bottom: 2px;
  background: rgb(255, 255, 255);
  color: rgb(170, 170, 170);
  font-size: 16px;
  line-height: 0.9;
  text-align: center;
  box-sizing: border-box;
}

.footer a {
  color: inherit;
  text-decoration: underline;
}
.footer,
.footer a {
  font-size: 10px;
  line-height: 1;
}

.control {
}

.control img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

@media (max-height: 633px) {
}

@media (max-height: 558px) {
}

@media (max-height: 459px) {
  .player {
    height: 175px;
  }
}

@media (orientation: landscape) {
}

@media (max-width: 767px) and (orientation: landscape) {
  .player {
    height: calc(100% - 140px);
  }

  .btn {
    max-width: 320px;
    line-height: normal;
  }

  .btn-text::before {
    margin-top: -16px;
    border-width: 16px 0px 16px 16px;
    border-style: solid;
    border-color: transparent transparent transparent rgb(255, 255, 255);
    border-image: initial;
  }

  .tags,
  .player-bar,
  .related {
    display: none;
  }
}

@media (orientation: landscape) and (width: 568px) {
  body {
    width: 100%;
    height: 99%;
  }

  .wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 321px;
    overflow: hidden;
  }

  .footer {
    padding-bottom: 5px;
  }
}

@media (max-height: 319px) and (orientation: landscape) and (width: 568px) {
  .wrapper {
    height: 100%;
  }

  .footer {
    padding-bottom: 0px;
  }
}

@media (max-width: 480px) and (orientation: landscape) {
  .player {
    height: 90px;
  }
}

@media (min-width: 768px) and (orientation: landscape) {
  .wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-box {
    padding-top: 130px;
  }
}

#finalize {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.hideThis {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
.showThis {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#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: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  text-align: left;
}

#logo div img {
  max-height: 26px;
  width: auto;
}
#navi_button {
  place-items: center;
}
#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);
}
#page_header {
  background-color: #fff;
}
.age {
  font-size: 22px;
  color: #33393b;
  font-weight: bold;
  letter-spacing: -3px;
  border: 3px solid #33393b;
  border-radius: 5px;
}
.logo_href {
  font-size: 1.5em;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

body {
  #search {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    .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;
    .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;
      font-size: 16px;
    }
  }
}

body.loader {
  .btn-box {
    display: none !important;
  }
}

.loading {
  display: none;
}
body {
  &.loader {
    .loading {
      width: 100%;
      position: absolute;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      display: flex;
      height: 100% !important;
      &__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;

  &::after,
  &::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;
  }

  &::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);
  }
}

.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: #ffffff;
}
