@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("common/fonts/roboto-400.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("common/fonts/roboto-700.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("common/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("common/fonts/poppins-700.woff2") format("woff2");
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("common/fonts/inter-v12-latin-regular.eot"); /* IE9 Compat Modes */
  src: url("common/fonts/inter-v12-latin-regular.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("common/fonts/inter-v12-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */ url("common/fonts/inter-v12-latin-regular.woff") format("woff"),
    /* Modern Browsers */ url("common/fonts/inter-v12-latin-regular.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("common/fonts/inter-v12-latin-regular.svg#Inter") format("svg"); /* Legacy iOS */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("common/fonts/inter-v12-latin-700.eot"); /* IE9 Compat Modes */
  src: url("common/fonts/inter-v12-latin-700.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("common/fonts/inter-v12-latin-700.woff2") format("woff2"),
    /* Super Modern Browsers */ url("common/fonts/inter-v12-latin-700.woff") format("woff"),
    /* Modern Browsers */ url("common/fonts/inter-v12-latin-700.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("common/fonts/inter-v12-latin-700.svg#Inter") format("svg"); /* Legacy iOS */
}

html[data-theme="light"] {
  --background-image: url(common/media/patternloop.jpg);
  --background-filter: brightness(0.97) invert(0);
  --background-opacity: 100%;
  --background-color: rgb(235, 235, 235);
  --text-color: rgb(70, 70, 70);
  --box-border: rgba(255, 255, 255);
  --box-background: rgba(245, 245, 246, 0.95);
  --store-border: rgb(210, 210, 210);
  --store-brightness: brightness(1.055);
  --store-background: url(common/media/chrome-store.png);
  --theme-icon: url("common/media/light.svg");
  --logos: url(common/media/logos.png);
  --arrow: none;
}

html[data-theme="dark"] {
  --background-image: url(common/media/patternloop.jpg);
  --background-filter: brightness(0.97) invert(0);
  --background-opacity: 100%;
  --background-color: rgb(235, 235, 235);
  --text-color: rgb(70, 70, 70);
  --box-border: rgba(255, 255, 255);
  --box-background: rgba(245, 245, 246, 0.95);
  --store-border: rgb(210, 210, 210);
  --store-brightness: brightness(1.055);
  --store-background: url(common/media/chrome-store.png);
  --theme-icon: url("common/media/light.svg");
  --logos: url(common/media/logos.png);
  --arrow: none;
}

/* html[data-theme="dark"] {
  --background-image: url(common/media/patternloop.jpg);
  --background-filter: brightness(0.97) invert(0.85);
  --background-opacity: 70%;
  --background-color: rgb(40, 40, 40);
  --text-color: rgb(220, 220, 220);
  --box-border: rgba(65, 65, 65, 0.75);
  --box-background: rgba(52, 52, 52, 0.9);
  --store-border: rgb(60, 60, 60);
  --store-brightness: brightness(1.2);
  --store-background: url(common/media/chrome-storeb.png);
  --theme-icon: url("common/media/dark.svg");
  --logos: url(common/media/logosb.png);
  --arrow: brightness(6.9) grayscale(1);
} */

.background {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: var(--background-opacity);
  background-size: cover;
  background-image: var(--background-image);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  filter: var(--background-filter);
  transition: background-image 0.7s, color 0.7s, filter 0.7s, opacity 0.7s;
}

.usechatgpt {
  cursor: pointer;
  position: fixed;
  height: 141px;
  bottom: 0;
  box-shadow: 0 0 10px rgb(0 0 0 / 10%);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.usechatgpt img {
  cursor: pointer;
  height: 141px;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  border-top: 1px solid rgb(118 1 211 / 7%);
  border-left: 1px solid rgb(118 1 211 / 7%);
  border-right: 1px solid rgb(118 1 211 / 7%);
  image-rendering: -webkit-optimize-contrast;
  transition: filter 100ms, height 200ms, box-shadow 200ms;
  z-index: 100000;
}

.usechatgpt img:hover {
  filter: brightness(1.02) saturate(1.05);
  box-shadow: 0 0 35px rgb(0 0 0 / 11%);
  height: 146px;
}

.usechatgpt span {
  user-select: none;
  color: #7601d3;
  font-weight: 900;
  font-size: 1.3em;
  position: absolute;
  top: 0.55em;
  pointer-events: none;
  z-index: 111000;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: overlay;
  background-color: var(--background-color);
  transition: color 0.7s, background-color 0.7s;
}

h1,
h2,
h3 {
  margin: 15px 0 -5px 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

p,
li {
  font-size: large;
  padding-left: 2px;
  line-height: 1.75;
}

li span {
  position: relative;
  left: -7px;
}

img {
  width: auto;
  height: auto;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 925px;
  margin: auto;
  display: flex;
  /* animation: load-title 1.25s;
  animation-fill-mode: forwards; */
}

.title svg {
  fill: var(--text-color);
  transition: fill 0.7s;
}

.title p {
  font-size: 57px;
  line-height: 3;
  margin: 0;
  margin-left: 26px;
}

.title b {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.title a {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  margin-left: 6px;
}

.theme-toggle {
  width: 20px;
  height: 20px;
  margin: 10px 20px;
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  border-radius: 30px;
  border: 1px solid;
  border-color: var(--box-border);
  background-color: var(--box-background);
  background-image: var(--theme-icon);
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 5px 15px -5px rgb(0 0 0 / 0.5);
  animation: load-theme-toggle 1.25s;
  animation-fill-mode: forwards;
  transition: background-color 0.7s, border-color 0.7s, background-image 0.7s, filter 0.7s;
  display: none;
}

.main {
  margin: 0px 1.5% 160px 1.5%;
  padding: 44px 75px 75px 75px;
  border-radius: 10px;
  width: 900px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    var(--box-background) 15%,
    var(--box-background) 85%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: border-color 0.7s, background-color 0.7s;
}

.popup {
  display: flex;
  justify-content: center;
}

.popup img {
  width: 31%;
  margin: 0 10px;
  border-radius: 10px;
}

.video-example {
  overflow: hidden;
  margin: 3px auto;
  width: 868px;
  height: 362px;
  background-color: rgb(0, 0, 0);
  border: 1px solid rgb(90, 90, 90);
  border-radius: 20px;
}

.video-example video {
  display: block;
  margin: auto;
  position: relative;
  width: auto;
  height: 100%;
  transition: all 300ms;
}

.video-example span {
  position: absolute;
  color: white;
  z-index: 1;
  font-size: 25px;
  margin: 5px 14px;
  text-shadow: 0px 0px 3px black, 0px 0px 3px black, 0px 0px 3px black;
}

.arrow {
  filter: var(--arrow);
  margin-bottom: 5px;
  width: 25px;
}

.store-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.store {
  margin: 10px 25px;
  border: 1px solid;
  border-color: var(--store-border);
  border-radius: 15px;
  width: 257px;
  height: 54px;
  background-image: var(--store-background);
  background-repeat: no-repeat;
  transition: background-image 0.7s, border-color 0.7s, filter 0.7s;
}

.store:hover {
  background-color: white;
  filter: var(--store-brightness);
}

.store:not(:hover) {
  filter: brightness(1);
}

.store a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-decoration: none;
  z-index: 10;
}

.manual img,
.player-button img {
  border: 1px solid rgb(90, 90, 90);
  border-radius: 18px;
  margin-left: 5px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.player-button img {
  margin-top: 0px;
  margin-bottom: 30px;
}

.button-group {
  position: absolute;
  margin-top: 307px;
  margin-left: 807px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.button-group svg {
  fill: white;
  opacity: 70%;
  cursor: pointer;
  filter: drop-shadow(0px 0px 1px black);
  transition: all 200ms;
}

.button-group svg:hover {
  opacity: 100%;
}

.theme-toggle:hover {
  filter: brightness(1.4);
}

.theme-toggle:not(:hover) {
  background-color: var(--box-background);
}

.theme-toggle:active {
  filter: brightness(0.95);
  transition: filter 0s;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(100, 100, 100, 0.3);
  border-radius: 5px;
}

@keyframes load-box {
  from {
    opacity: 0%;
    transform: translate(0, 50px);
  }

  to {
    opacity: 100%;
    transform: translate(0);
  }
}

@keyframes load-title {
  from {
    opacity: 0%;
    transform: translate(0, -50px);
  }

  to {
    opacity: 100%;
    transform: translate(0);
  }
}

@keyframes load-theme-toggle {
  from {
    opacity: 0%;
    transform: translate(200%);
  }

  to {
    opacity: 100%;
    transform: translate(0);
  }
}

@media screen and (orientation: portrait) {
  .button-group {
    display: none;
  }

  .video-example {
    width: 1080px;
    height: 455px;
  }

  .info1 {
    display: none;
  }

  .theme-toggle {
    display: none;
  }

  .title {
    height: 140px;
    width: 100%;
    padding: 20px 50px;
    /* animation: none; */
  }

  .title p {
    font-size: 70px;
  }

  .manual img {
    display: none;
  }

  .background {
    background-image: none;
  }

  .main {
    background: none;
    border: none;
    padding: 25px 50px 15px 160px;
    width: 100%;
    box-shadow: none;
    animation: none;
  }

  .store-link {
    display: block;
  }

  .store {
    transform: scale(1.6);
    margin: 40px auto;
  }

  .support {
    height: 80px;
  }
}

.support {
  display: block;
  image-rendering: -webkit-optimize-contrast;
  margin: 30px auto 45px;
  background-image: var(--logos);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 60px;
  transition: background-image 0.7s;
}

@media screen and (orientation: portrait) {
  .button-group {
    display: none;
  }

  .video-example {
    width: 1080px;
    height: 455px;
  }

  .info1 {
    display: none;
  }

  .theme-toggle {
    display: none;
  }

  .title {
    height: 140px;
    width: 100%;
    padding: 20px 50px;
    /* animation: none; */
  }

  .title p {
    font-size: 70px;
  }

  .manual img {
    display: none;
  }

  .background {
    background-image: none;
  }

  .main {
    background: none;
    border: none;
    padding: 25px 50px 15px 160px;
    width: 100%;
    box-shadow: none;
    animation: none;
  }

  .store-link {
    display: block;
  }

  .store {
    transform: scale(1.6);
    margin: 40px auto;
  }

  .support {
    height: 80px;
  }
}

.shortcuts img,
.persistent img,
.manual img,
.player-button img {
  border: 1px solid rgb(90, 90, 90);
  border-radius: 18px;
  margin-left: 5px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.paypal {
  margin: 10px 0 30px;
  background: transparent;
  filter: brightness(1.15);
  color: white;
  border: 1px solid #8a8a8a5d;
  padding: 0 15px;
  display: inline-block;
  text-align: center;
  line-height: 35px;
  border-radius: 25px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 3px;
  margin-right: 3px;
  text-decoration: none;
  width: 210px;
  padding: 0px 12px 0px 18px;
  line-height: 0px;
  border-radius: 100px;
}

.paypal:hover {
  background: rgba(0, 140, 255, 0.25);
  transition: all 400ms;
}

.paypal:not(:hover) {
  background: transparent;
  transition: all 400ms;
}

.paypal:active {
  background: rgba(0, 140, 255, 0.5);
  transition: all 100ms;
}
