.pano-bg {
  z-index: 10;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: fixed;
}

.frame {
  z-index: 20;
  width: 100%;
  height: 100%;
  position: fixed;
  box-shadow: inset 0 0 0 6em #9cffd6;
}

.logo {
  z-index: 500;
  grid-column-gap: 4em;
  grid-row-gap: 4em;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 0;
  margin-top: 6em;
  display: flex;
  position: fixed;
}

.logo__img {
  background-color: #fff;
  border-radius: 100%;
  flex: none;
  width: 10em;
  padding: .6em;
}

.controls {
  z-index: 100;
  grid-column-gap: 3em;
  grid-row-gap: 5em;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 0;
  padding-left: 3.5em;
  padding-right: 3em;
  display: flex;
  position: fixed;
  bottom: 3.5em;
  box-sizing: border-box;
}

.controls__player-box {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  height: 5em;
  padding-left: 1.2em;
  padding-right: 1.2em;
  display: flex;
  box-shadow: 0 0 0 1em #fff, inset 0 0 0 3px #333;
}

.showMarksButton {
  cursor: pointer;
  flex: none;
  width: 4em;
  height: 4em;

  display: flex;
  align-items: center;
  justify-content: center;
}

#controls-hide,
#controls-show {
  max-width: 3.5em;
}

.showMarksButton img, 
showMarksButton svg {
  transition-duration: 75ms;
}

.showMarksButton:hover img,
.showMarksButton:hover svg {
  scale: 1.1;
}

.showMarksButton:active img,
.showMarksButton:active svg {
  scale: 1.05;
}

.controls__social {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 10px 20px 10px rgba(0, 0, 0, .2);
}

.markText {
  text-transform: uppercase;
  cursor: pointer;
  padding: 1.5em 1.2em;
  font-family: Montserrat, sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  line-height: 0;

  transition-duration: 75ms;
}

.addMarkButton {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  height: 5em;
  padding-left: .3em;
  padding-right: .3em;

  width: 13vw;

  display: flex;
  box-shadow: 0 0 0 1em #fff, inset 0 0 0 3px #333;
}

.addMarkButton:hover .markText {
  font-size: 1.54em; 
}

.addMarkButton:active .markText {
  font-size: 1.47em; 
}

.showMarksWrapper {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  height: 5em;

  padding: 0 0.5em;
  box-sizing: border-box;
  display: flex;
  box-shadow: 0 0 0 1em #fff, inset 0 0 0 3px #333;
}

.oranment {
  z-index: 30;
  width: 100%;
  height: 100%;
  position: fixed;
}

.ornament__01 {
  width: 5em;
  position: absolute;
  top: 12em;
  left: 1em;
}

.ornament__02 {
  width: 10em;
  position: absolute;
  bottom: 9.5em;
  right: 1em;
}

.ornament__03 {
  height: 5em;
  position: absolute;
  top: 1em;
  left: 40em;
}

.ornament__04 {
  width: 5em;
  position: absolute;
  top: 2em;
  right: 1em;
}

.controls__player {
  background-color: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 10px 20px 10px rgba(0, 0, 0, .2);
}

.counter {
  z-index: 100;
  background-color: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  bottom: 3.5em;
  right: 3.5em;
  box-shadow: 0 10px 20px 10px rgba(0, 0, 0, .2);
}

.counter__box {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 10.5em;
  height: 5em;
  padding-left: .3em;
  padding-right: .3em;
  display: flex;
  box-shadow: 0 0 0 1em #fff, inset 0 0 0 3px #333;
}

.counter__txt {
  text-transform: uppercase;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 2em;
  font-weight: 700;
  line-height: 0;
}

.year {
  background-color: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 0 10px 20px 10px rgba(0, 0, 0, .2);
}

.year__box {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  background-color: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  height: 5em;
  padding-left: 1.2em;
  padding-right: 1.2em;
  display: flex;
  box-shadow: 0 0 0 1em #fff, inset 0 0 0 3px #333;
}

.year__box.year__box--2024 {
  background-color: #fe6622;
}

.year__txt {
  text-transform: uppercase;
  cursor: pointer;
  padding: 1.5em 1.2em;
  font-family: Montserrat, sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  line-height: 0;
}

@media screen and (max-width: 991px) {
  .frame {
    display: none;
  }

  .controls {
    justify-content: space-between;
    padding-left: 1.5em;
    padding-right: 1.5em;
    bottom: 1.5em;
  }

  .controls__player-box {
    box-shadow: 0 0 0 .5em #fff, inset 0 0 0 3px #333;
  }

  .markText {
    font-weight: 800;
  }

  .addMarkButton, .showMarksWrapper {
    box-shadow: 0 0 0 .5em #fff, inset 0 0 0 3px #333;
  }

  .oranment {
    display: none;
  }

  .controls__player {
    box-shadow: 0 0 0 .5em #fff, inset 0 0 0 3px #333;
  }

  .counter {
    bottom: 8.5em;
    right: 1.5em;
    box-shadow: 0 0 0 .5em #fff, inset 0 0 0 3px #333;
  }

  .counter__box {
    box-shadow: 0 0 0 .5em #fff, inset 0 0 0 3px #333;
  }

  .counter__txt {
    font-weight: 800;
  }

  .year, .year__box {
    box-shadow: 0 0 0 .5em #fff, inset 0 0 0 3px #333;
  }

  .year__txt {
    font-weight: 800;
  }
}

@media screen and (max-width: 479px) {

  html, body {
    font-size: 2vw !important;
  }

  .markText {
    font-size: 1.6em;
  }

  .counter__box {
    width: 10.5em;
  }

  .year__txt {
    font-size: 1.6em;
  }

  .addMarkButton {
    width: 35vw;
  }
}
html, body {

  font-family: Montserrat;

  color: #333;
  font-size: 0.8vw;
  line-height: 1.2;
}

* {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.logo .logo__img, .oranment, .frame {
    pointer-events: none;
}

.year__box {
    text-decoration: unset;
    color: black;
}

.year__txt {
    cursor: inherit;
}

.scale {
    mix-blend-mode: screen;
}

.showMarksButton#pause {
    display: none;
}

@media screen and (max-width: 469px) {
  .logo__box {
    background-color: unset;
    box-shadow: unset;
  }
}
