@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
  font-family: myfont1;
  src: url(../assets/fonts/overcame-demo/OvercameDemoOutline.ttf);
}

@font-face {
  font-family: myfont2;
  src: url(../assets/fonts/overcame-demo/OvercameDemoBold.ttf);
}

@font-face {
  font-family: myfont3;
  src: url(../assets/fonts/swera-demo/SweraBoldDemo.otf);
}

:root {
  --theme-btncolor: rgb(231, 231, 231);
  --theme-bgcolor: rgba(44, 44, 44, 0.4);
  --theme-range-bgcolor: rgb(171, 171, 171);
  --theme-range-color: black;
}

.flex {
  display: flex;
}

.flex-jc-c {
  justify-content: center;
}

.flex-ai-c {
  align-items: center;
}

.flex-jc-sb {
  justify-content: space-between;
}

body {
  margin: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 98vh;
  cursor: url(../assets/icons/cursor20x20.png), auto;
  font-family: "Poppins";
  background-color: #E7E7E7;
}

.heading {
  position: absolute;
  top: -3.2%;
  left: 31%;
  margin: 0;
  mix-blend-mode: hard-light;
  font-size: 2vw;
  font-family: "myfont1";
  letter-spacing: 0.5em;
  color: white;
  mix-blend-mode: difference;
  text-shadow: 5vh 5vh 50vh white;
  transition: all 200ms ease-in-out;
}

span {
  font-family: "myfont2";
}

h2 {
  font-size: 2.1vw;
  cursor: url(../assets/icons/cursor20x20.png), auto;
}

label {
  cursor: url(../assets/icons/cursor20x20.png), auto;
}

#uploadLabel {
  cursor: url(../assets/icons/cursor_zoom32x32.png), pointer;
}

input {
  cursor: url(../assets/icons/cursor20x20.png), auto;
}

.hidden {
  display: none;
}

input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  accent-color: var(--theme-range-color);
}

input[type="color"] {
  width: 32px;
  height: 32px;
  outline: 1px solid black;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  scale: 2;
}

h3,
#label_page_color,
#youtubelabel_page_color {
  font-size: 1.2em;
  font-weight: 700;
}

#title {
  position: absolute;
  top: -1.45%;
  font-size: 1.3vw;
}

#youtubecolorReset {
  border: none;
  color: white;
  text-decoration: none;
  background-color: black;
  border-radius: 1vw;
  padding: 0.5vw 0.8vw;
}

#videoSettings,
#youtubeSettings {
  display: none;
  position: absolute;
  z-index: 3;
  left: 15vw;
  bottom: 10%;
  border: none;
  margin: 0;
  height: 32em;
  flex-direction: column;
  background-color: rgba(255, 253, 251, 0.75);
  backdrop-filter: blur(1.5em);
  border-radius: 20px;
  padding-left: 1.5em;
  padding-right: 1.5em;
  padding-top: 0;

  #below_box,
  #youtubebelow_box {
    gap: 1.7em;
  }


  #brigtness_box,
  #sepia_box,
  #youtubebrigtness_box,
  #youtubesepia_box {
    gap: 0.8em;
  }

  #part_one,
  #part_two,
  #youtubepart_one,
  #youtubepart_two {
    gap: 1.5vw;
    flex-direction: column;
  }

  #rotate_box,
  #youtuberotate_box {
    flex-direction: column;
  }

  input[type="color"] {
    height: 65px;
    width: 65px;
    border: none;
    border-radius: 50%;
  }

  #flip_box,
  #youtubeflip_box {
    gap: 1em;
  }

  .label_flip,
  .youtubelabel_flip {
    font-size: 1.02em;
  }

  #page_color,
  #youtubepage_color {
    background-color: rgba(242, 242, 242, 0.65);
    flex-direction: column-reverse;
    padding: 1vw;
    width: 10em;
    height: 8em;
    outline: 2px solid black;
    border-radius: 20px;
    gap: 2vw;
  }

  .colorOptions,
  .youtubecolorOptions {
    gap: 3em;
    font-size: 1.2em;
  }

  p {
    margin: 0;
    display: inline;
  }
}

#rotate-slider,
#youtuberotate-slider {
  display: flex;
  flex-direction: column;
  gap: 1em;
  height: 5vw;
}

datalist {
  display: flex;
  font-size: 0.85em;
  gap: 0.95em;
}

.rotate,
.youtuberotate {
  width: 27em;
}

.intro-msg {
  position: absolute;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  bottom: 4%;
  border-radius: 2vw;
  padding: 0.7em 1.5em;
  font-size: 1.2vw;
  border: none;
  color: white;
  mix-blend-mode: exclusion;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(1em);
  opacity: 1;
  transition: opacity 1s ease-in-out;

  p {
    margin: 0;
  }
}

.yt-intro-msg,
.spotify-intro-msg {
  display: none;
}

.adblock {
  display: none;
  color: white;
  position: absolute;
  margin: 0;
  top: 34%;
  font-size: 1.1em;
  padding: 1em;
  text-align: center;
}

#msg {
  position: relative;
  width: 4em;
  height: 1em;
  text-align: center;
  border-radius: 10px;
  top: 5%;
  left: 77%;
  z-index: 2;
  font-size: 3.5vw;
  color: white;
  margin: 0;
  cursor: default;
}

.upload {
  width: inherit;
  height: inherit;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: inherit;
  background-color: rgba(255, 253, 251, 0.1);

  #uploadAdd {
    width: 6.3vw;
  }
}

#backVideo {
  display: block;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: -100;
  border-radius: 0%;
  filter: blur(1vw);
  border: none;
  scale: 1.3;
}

video {
  background-color: black;
  width: inherit;
  height: inherit;
  border-radius: 1.7vw;
  position: absolute;
  top: 0%;
  z-index: 1;
}

[data-open="false"] {
  cursor: url(../assets/icons/cursor_youtube.png), auto;
}

[data-spotifyopen="false"] {
  cursor: url(../assets/icons/cursor_spotify.png), auto;
}

.ytWatchbtn,
.spotifyWatchbtn {
  border: none;
  color: white;
  background-color: rgba(32, 32, 32, 0.5);
  /* mix-blend-mode: difference; */
  backdrop-filter: blur(1.5em);
  border-radius: 1vw;
  padding: 0.5vw 0.8vw;
  position: absolute;
  bottom: 2%;
  left: 0.9%;
  font-size: 1vw;
  transition: all 250ms ease-in-out;
}

.spotifyWatchbtn {
  left: 91%;
}

#yt_logo_img {
  display: none;
  transition: all 5000ms ease-in-out;
  position: absolute;
  top: 30.5vw;
  width: 32vw;
}


.yt_instruction {
  display: none;
  position: absolute;
  text-align: center;
  padding: 2em;
  font-size: 1vw;
  border-radius: 1vw;
  background-color: #E7E7E7;
}

iframe {
  display: none;
  width: 71.1vw;
  height: 40vw;
  position: absolute;
  top: 14%;
  left: 15.5vw;
  border: 3px solid black;
  border-radius: 1.5vw;
  cursor: url(../assets/icons/cursor20x20.png), auto;
  transition: all 250ms ease-in-out;
}

#yt_iframe {
  box-shadow: 0px 0px 20px grey;
  width: 70.05vw;
  height: 39.408vw;
}

.progress_bar_wrapper {
  display: none;
  position: absolute;
  font-size: 1.2vw;
  right: -10%;
  transform: rotate(-90deg);
}

#current,
#total {
  transform: rotate(90deg);
}

#progress_bar {
  width: 25vw;
  /* transform: rotate(-90deg); */
}

input[type="search"] {
  display: none;
  position: absolute;
  top: 28%;
  left: 35.1%;
  /* border: none; */
  border-radius: 0.8vw;
  font-size: 1.5vw;
  width: 20em;
  height: 2em;
  padding: 1em 0.8em;
  transition: all 250ms ease-in-out;
}

#spotifysearch:focus {
  outline: none;
}

.spotify-intro-msg,
.yt-intro-msg {
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50% 50%;
  position: absolute;
  bottom: 4.5%;
  width: 22em;
  height: 7em;
}

.spotify-intro-msg {
  mix-blend-mode: difference;
  background-image: url(../assets/icons/Spotify_logo.webp);
}

.yt-intro-msg {
  mix-blend-mode: difference;
  background-image: url(../assets/icons/YouTube-White-Logo..png);
}

#player {
  border: 0.32vw dashed;
  width: 50vw;
  height: 25vw;
  border-radius: 2vw;
  background-color: rgba(255, 253, 251, 0.3);
  backdrop-filter: blur(1.5em);
  transition: all 250ms ease-in-out;
}

#videoSettingsButton,
#resetButton,
#colorReset {
  border: none;
  border-radius: 3vw;
  padding: 0.65vw 1.7vw;
  font-size: 1vw;
  width: unset;
  height: unset;
  background-color: var(--theme-btncolor);
  text-decoration: none;
  color: black;
  cursor: pointer;
}

#resetButton {
  &:hover {
    background-color: black;
    color: white;
    outline: 2px solid white;
  }
}

#colorReset {
  background-color: var(--theme-range-color);
  color: white;

  &:hover {
    outline: 2px solid white;
  }
}

#volumeButton {
  width: 2.1vw;
  height: 2.1vw;
  background-color: var(--theme-btncolor);
}

#volume {
  font-size: 1vw;
}

#forward_seek_btn {
  background-image: url(../assets/icons/media-seek-forward-svgrepo-com.svg);
}

#backward_seek_btn {
  background-image: url(../assets/icons/media-seek-backward-svgrepo-com.svg);
}

#stop_btn {
  background-image: url(../assets/icons/media-stop-svgrepo-com.svg);
}

#reload_btn {
  background-image: url(../assets/icons/reload-svgrepo-com.svg);
}

.controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.65vw;
  border: 2px solid black;
  width: auto;
  height: 2.2vw;
  padding: 0.4vw 0.5vw;
  border-radius: 30vw;
  position: absolute;
  bottom: 0.4vw;
  background-color: var(--theme-bgcolor);
  backdrop-filter: blur(1em);
}

button {
  cursor: pointer;
  border-radius: 0.5vw;
  border: none;
  width: 2.3vw;
  height: 2.3vw;
  font-size: 1vw;
  padding: 0;
  margin: 0;
  background-size: 80%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-color: var(--theme-btncolor);

  img {
    width: 1.8vw;
  }

  &:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    outline: 2px solid white;
  }
}


#shortcut_msg {
  display: none;
  position: absolute;
  font-size: 0.65vw;
  font-weight: 600;
  backdrop-filter: blur(1.5em);
  bottom: 1.2%;
  right: 0.5%;
  border: 2px solid black;
  border-radius: 2vw;
  padding: 0.65vw 0.9vw;
  transition: all 300ms ease-in-out;
}

#shortcut_heading {
  font-size: 1.1em;
  font-weight: 800;
  margin: 0.7em auto 1.4em 0.9em;
}

#gesture_heading {
  text-align: center;
  font-size: 0.9em;
  font-weight: 600;
  margin: 1.7em auto 0em auto;
}

#both_part {
  justify-content: space-around;
  gap: 1em;
}

#shortcut_part1,
#shortcut_part2 {
  flex-direction: column;
  gap: 0.8em;
}

.each_shortcut {
  border-bottom: 1px solid black;
  justify-content: space-between;
  gap: 4.5em;
}

.key {
  width: 3em;
  text-align: center;
}

#shortcuts {
  width: 68vw;
  height: 41.5vw;
  font-size: 1.3vw;
  border: 2.8px solid black;
  border-radius: 2vw;
  background-color: rgba(255, 252, 252, 0.85);
  backdrop-filter: blur(1em);

  &::backdrop {
    backdrop-filter: blur(0.15em);
  }
}

.volume {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  height: 2.37vw;
  border-radius: 2vw;
  padding: 0em 1em;
  background-color: var(--theme-btncolor);
}

button[data-state="pause"] {
  background-image: url(../assets/icons/pause_500dp_000000_FILL1_wght400_GRAD0_opsz48.svg);
}

button[data-state="play"] {
  background-image: url(../assets/icons/play_arrow_500dp_000000_FILL1_wght400_GRAD0_opsz48.svg);
}

button[data-pip="false"] {
  background-image: url(../assets/icons/pip_500dp_000000_FILL0_wght400_GRAD0_opsz48.svg);
}

button[data-pip="true"] {
  background-image: url(../assets/icons/pip_exit_500dp_000000_FILL0_wght400_GRAD0_opsz48.svg);
}

button[data-loop="false"] {
  background-image: url(../assets/icons/repeat_500dp_000000_FILL0_wght400_GRAD0_opsz48.svg);
}

button[data-loop="true"] {
  background-image: url(../assets/icons/repeat_on_500dp_000000_FILL0_wght400_GRAD0_opsz48.svg);
  background-size: 80%;
}

button[data-volume="medium"] {
  background-image: url(../assets/icons/medium-volume-speaker-svgrepo-com.svg);
}

button[data-volume="high"] {
  background-image: url(../assets/icons/speaker-loud-volume-svgrepo-com.svg);
}

button[data-volume="low"] {
  background-image: url(../assets/icons/low-volume-sound-svgrepo-com.svg);
}

button[data-volume="mute"] {
  background-image: url(../assets/icons/mute-volume-svgrepo-com.svg);
}

.speed {
  background-color: var(--theme-btncolor);
  color: black;
  font-size: 1vw;
  gap: 0.5vw;
  height: 2.1vw;
  border-radius: 2vw;
  padding: 0.15vw 0.6vw 0.2vw 0.8vw;

  &:hover {
    background-color: black;
    color: white;
    outline: 2px solid white;
  }
}

select {
  border-radius: 2vw;
  padding: 0.25vw 0.5vw;
  border: none;
  font-size: 1vw;
  background-color: var(--theme-range-color);
  color: var(--theme-btncolor);

  &:hover {
    /* outline: 2px solid white; */
    background-color: white;
    color: black;
  }
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: var(--theme-range-bgcolor);
  cursor: pointer;
  height: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--theme-range-color);
  height: 1rem;
  width: 1rem;
  outline: 3px solid white;
  border-radius: 50%;
}

#videoEnd {
  display: none;
  flex-direction: column;
  position: absolute;
  font-size: 1vw;
  width: 30em;
  height: 20em;
  padding: 1em 2em;
  outline: 0.2vw solid black;
  border-radius: 20px;
  background-color: rgba(142, 142, 142, 0.5);
  backdrop-filter: blur(1.5em);

  p {
    font-size: 1.65vw;
    font-weight: 700;
    word-spacing: 0.2em;
    margin: 1em 0em 1em 0em;
    color: white;
  }

  #playAgain {
    border-radius: 50vw;
    padding: 0.7em 1.7em;
    font-weight: 500;
    font-size: 1.3vw;
    word-spacing: unset;
    margin: 0em 0em 1.65em 0em;
    background-color: var(--theme-range-color);
    color: white;
  }
}

[data-ytgear="false"] {
  background-image: url(../assets/icons/settings_500dp_000000_FILL0_wght400_GRAD0_opsz48.svg);
}

[data-ytgear="true"] {
  background-image: url(../assets/icons/settings_500dp_000000_FILL1_wght400_GRAD0_opsz48.svg);
}


.youtube_gear {
  display: none;
  background-size: 80%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  position: absolute;
  top: 2%;
  right: 1%;
  width: 2.6vw;
  height: 2.6vw;
  border-radius: 20vw;
  background-color: white;
}

#youtubeSettings {
  top: 4vw;
  left: 56vw;
}

.policy {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8em;
  position: absolute;
  top: 46%;
  width: 28em;
  height: 11em;
  font-size: 1vw;
  border: 2px solid white;
  color: white;
  border-radius: 3vw;
  padding: 1.2em 2.2em 1.5em 2.2em;
  background-color: rgba(120, 120, 120, 0.5);
  /* backdrop-filter: blur(0.2em); */

  p {
    margin: 0;
    font-weight: 500;
  }

  .policy-heading {
    font-size: 1.2vw;
    font-weight: 800;
  }
}