:root {
  --main-color: #161616;
  --grey:#F2F2F2;
  --red:#F43E2A;
  --lightgrey:#A9AFB2;
  --footerback:#D9D9D9;
  --copyrightcolor:#404040;
}

body, html {
  margin: 0px;
  padding: 0px;
  color: var(--main-color);
}

body * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.text-lightgrey {
  color: var(--lightgrey);
}

.main-bg {
  background-color: var(--main-color);
}

.text-grey {
  color: var(--grey);
}

.back-grey {
  background-color: var(--grey);
}

.text-light-grey {
  color: var(--lightgrey);
}

.red-color {
  color: #F43E2A;
}

.red-back {
  background-color: #F43E2A;
}

.back-grey {
  background-color: var(--grey);
}

.language__picker {
  border: 1px solid var(--grey);
}

.language__picker:hover {
  background-color: #FFFFFF;
  color: var(--main-color);
}

.language__picker:focus {
  border-color: #F43E2A;
  color: var(--main-color);
  background-color: #F43E2A;
}

.folder.light {
  background-color: #B9A69E;
}

.index-5 {
  z-index: 5;
}

.card__subtitle {
  font-size: 28px;
  line-height: 32px;
}

.folder__subtitle {
  font-size: 28px;
  line-height: 32px;
}

.folder__title {
  font-size: 40px;
  line-height: 45px;
}

.title {
  font-size: 75px;
  line-height: 75px;
}

.big-text {
  font-size: 40px;
  line-height: 45px;
}

.medium-text {
  font-size: 28px;
  line-height: 32px;
}

.folder {
  position: sticky;
  top: 50px;
}

.folder:nth-child(2) {
  top: 100px;
}

.cards > .elem:nth-child(1) {
  -webkit-transform: rotate(-5.07deg);
          transform: rotate(-5.07deg);
}

.cards > .elem:nth-child(2) {
  -webkit-transform: rotate(4.41deg);
          transform: rotate(4.41deg);
}

.cards > .elem {
  -webkit-box-shadow: 12px 4px 6px 0px rgba(0, 0, 0, 0.6);
          box-shadow: 12px 4px 6px 0px rgba(0, 0, 0, 0.6);
}

.folder.dark {
  background-color: #292929;
}

.folder.dark .container:before {
  content: "";
  position: absolute;
  width: 268px;
  height: 49px;
  background-color: #292929;
  left: 32px;
  top: -21px;
  border-radius: 12px;
}

.folder.light .container:before {
  content: "";
  position: absolute;
  width: 268px;
  height: 49px;
  background-color: #B9A69E;
  left: 32px;
  top: -21px;
  border-radius: 12px;
}

.horizontal-center {
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.full-center {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.plate:hover {
  background-color: var(--lightgrey);
}

.ellipse {
  opacity: 0;
  -webkit-transition: 0.3s ease all;
  transition: 0.3s ease all;
}

.ellipse:hover {
  opacity: 1;
}

.marquee li {
  color: var(--red);
  font-size: 26px;
}

.tickercontainer {
  height: auto !important;
}

.tickercontainer:nth-child(2) li {
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

.tickercontainer:nth-child(2) {
  -webkit-transform: scaleX(-1) !important;
          transform: scaleX(-1) !important;
}

.marquee {
  padding-top: 20px !important;
  padding-bottom: 17px !important;
}

.tickercontainer:nth-child(1) {
  margin-bottom: 180px !important;
  -webkit-transform: rotate(2deg);
          transform: rotate(2deg);
  padding-top: 80px;
  background-position: 0px 84px;
}

.tickercontainer:nth-child(2) {
  -webkit-transform: rotate(2deg);
          transform: rotate(2deg);
  padding-bottom: 45px;
  background-position: 0px 4px;
}

.tickercontainer:nth-child(2) {
  -webkit-transform: rotate(-1.6deg);
          transform: rotate(-1.6deg);
}

.tickercontainer {
  width: 3600px;
  background: url("../img/texture.webp");
  background-repeat: no-repeat;
  background-size: 3600px 60px;
  background-position: 0px 3px;
  margin-right: -5%;
}

.circle__blur {
  top: -140px;
  left: -140px;
}

.dark-grey {
  color: #404040;
}

.switcher ul li a {
  background-color: #831104;
  -webkit-transition: 0.3s ease all;
  transition: 0.3s ease all;
}
.switcher ul li a:hover {
  background-color: #F43E2A;
}
.switcher ul li a.current {
  background-color: #F43E2A;
}

.lightgrey-back {
  background-color: var(--footerback);
}

footer {
  background-color: var(--footerback);
}

.faq__elem.opened > .head > span {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.petition {
  background: url("../img/petitionback.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.box__options {
  border: 1px dashed var(--lightgrey);
  border-radius: 20px;
  min-height: 634px;
  position: relative;
}

.question {
  background-color: #F43E2A;
  bottom: -16px;
}

.cards > .elem {
  background: url("../img/cardback.webp");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  background-position: center;
}

.cards > .elem:hover .ellipse {
  opacity: 1;
}

.box__options ul li a {
  background-color: #8E1D11;
}
.box__options ul li a.current {
  background-color: #F2F2F2;
}

.cards > .elem:nth-child(1) {
  z-index: 2;
}

.cards > .elem .btn > a {
  background-color: var(--grey);
}

.cards > .elem .btn {
  z-index: 2;
  width: calc(100% - 32px);
  -webkit-transition: 0.4s ease all;
  transition: 0.4s ease all;
  opacity: 0;
}

.cards > .elem:hover .btn {
  opacity: 1;
}

.footer__title {
  font-size: 40px;
  line-height: 45px;
}

.hero:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero__video.visible {
  -webkit-transform: scale(1) translateX(-50%);
          transform: scale(1) translateX(-50%);
  top: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
}

.hero__video {
  width: calc(100% - 300px);
  top: 100vh;
  height: calc(100% - 80px);
  -webkit-transition: 0.8s ease all;
  transition: 0.8s ease all;
}

.word {
  opacity: 1 !important;
}

.consequences .texture.active {
  opacity: 1;
}

.consequences .texture + span {
  opacity: 1 !important;
}

.text-wrapper {
  opacity: 1 !important;
}

.consequences .texture {
  opacity: 0;
  -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}

.consequences h2, .consequences p {
  color: #3D3D3D;
}

.highlight-text .text span,
.highlight-text span {
  color: #3D3D3D;
  display: inline-block;
  opacity: 0.7;
  -webkit-transition: color 0.3s, opacity 0.3s;
  transition: color 0.3s, opacity 0.3s;
}

.highlight-text .text span.active,
.highlight-text span.active {
  color: #fff;
  display: inline-block;
  opacity: 1;
  -webkit-transition: color 0.3s, opacity 0.3s;
  transition: color 0.3s, opacity 0.3s;
}

.hero__video {
  background-color: #000;
}

.cards > .elem {
  -webkit-transition: 0.4s ease all;
  transition: 0.4s ease all;
}

.cards > .elem:nth-child(1) {
  left: 0px;
}

.cards > .elem:nth-child(2) {
  right: 0px;
}

.line .thin {
  height: 1px;
  background-color: var(--lightgrey);
}

.line .fat {
  height: 4px;
  background-color: var(--lightgrey);
}

.sticky__section {
  height: 3200px;
}

.sticky__section .inner {
  position: sticky;
  top: 0px;
  left: 0px;
  width: calc(100% + 32px);
}

.sticky__section .cards__wrapper {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.cards__wrapper {
  padding-left: 100%;
}

.did__you--know {
  position: relative;
  top: 80px;
  opacity: 0;
  -webkit-transition: 1.2s ease top, 1.2s ease opacity;
  transition: 1.2s ease top, 1.2s ease opacity;
}

.media__wrapper > img {
  -webkit-transition: 0.3s ease all;
  transition: 0.3s ease all;
}

.legal-vs-illegal {
  position: relative;
  top: 80px;
  opacity: 0;
  -webkit-transition: 1.2s ease top, 1.2s ease opacity;
  transition: 1.2s ease top, 1.2s ease opacity;
}

.did__you--know.visible, .legal-vs-illegal.visible {
  top: 0px;
  opacity: 1;
}

.hero__video .controls__video {
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0)));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}
.hero__video .controls__video .progress__wrapper {
  -webkit-transition: 0.3s ease all;
  transition: 0.3s ease all;
}
.hero__video .controls__video .progress__wrapper:hover .progress {
  height: 8px;
}
.hero__video .controls__video .progress {
  -webkit-transition: 0.3s ease all;
  transition: 0.3s ease all;
  background-color: var(--footerback);
}

.myth__reality .animate1 {
  position: relative;
  -webkit-transform: translateY(60px);
          transform: translateY(60px);
  opacity: 0;
  -webkit-transition: 0.6s ease all;
  transition: 0.6s ease all;
}
.myth__reality .animate2 {
  position: relative;
  -webkit-transform: translateY(60px);
          transform: translateY(60px);
  opacity: 0;
  -webkit-transition: 0.6s ease all;
  transition: 0.6s ease all;
}
.myth__reality .question {
  bottom: -60px;
  opacity: 0;
  -webkit-transition: 0.6s ease opacity, 0.6s ease bottom;
  transition: 0.6s ease opacity, 0.6s ease bottom;
}
.myth__reality .box__options {
  position: relative;
  -webkit-transform: translateY(60px);
          transform: translateY(60px);
  opacity: 0;
  -webkit-transition: 0.8s ease all;
  transition: 0.8s ease all;
}
.myth__reality .box__options .cards > .elem {
  opacity: 0;
  top: 60px;
  position: relative;
  -webkit-transition: 0.6s ease top, 0.6s ease opacity, 0.4s ease transform, 0.4s ease left, 0.4s ease right;
  transition: 0.6s ease top, 0.6s ease opacity, 0.4s ease transform, 0.4s ease left, 0.4s ease right;
}

.right__answer {
  z-index: 4;
  max-width: 650px;
}
.right__answer .inner {
  height: 345px;
  border-radius: 33px;
  border: 3px solid #12B60F;
}
.right__answer .inner > p {
  font-size: 55px;
  line-height: 67px;
}

.wrong__answer {
  z-index: 4;
  max-width: 650px;
}
.wrong__answer .inner {
  height: 345px;
  border-radius: 33px;
  border: 3px solid #F43E2A;
}
.wrong__answer .inner > p {
  font-size: 55px;
  line-height: 67px;
}

.question li a.passed {
  background-color: transparent !important;
}

.top__footer .elems .btns > a {
  background-color: #F43E2A;
  border-radius: 12px;
}

.top__footer .elems .btns > a.current {
  background-color: #831104;
}

.termsfeed-com---palette-dark .cc-nb-okagree,
.termsfeed-com---palette-dark .cc-nb-reject,
.termsfeed-com---palette-dark .cc-cp-foot-save {
  background-color: #F43E2A !important;
  border-radius: 12px;
}

.termsfeed-com---palette-dark .cc-nb-changep {
  border-radius: 12px;
}

.top__footer .elem .btns > a:hover {
  background-color: #831104 !important;
}

.top__footer .elem .btns > a.current, .top__footer .elem .btns > a.current:hover {
  color: #fff !important;
  background-color: #000000 !important;
}

.confirm {
  margin-top: 34px;
}

.confirm > a.picked {
  pointer-events: none;
  opacity: 1 !important;
}

.confirm > a:hover {
  background-color: #831104;
}

.confirm > a.pickable {
  opacity: 1;
  pointer-events: initial;
}

.confirm > a {
  pointer-events: none;
  opacity: 0.6;
  -webkit-transition: 0.3s ease all;
  transition: 0.3s ease all;
  background-color: #F43E2A;
}

@media (max-width: 1440px) {
  .line {
    margin-bottom: 36px;
  }
  .folder__subtitle {
    margin-bottom: 24px;
  }
  .cards__wrapper > div {
    width: 400px;
  }
  .cards__wrapper > div p {
    font-size: 14px;
    line-height: 20px;
  }
  .hero .box {
    padding-bottom: 120px;
  }
  .folder .btn {
    margin-top: 25px;
  }
}
@media (max-width: 1024px) {
  .folder.dark {
    margin-top: -40px;
  }
  .right__answer .inner, .wrong__answer .inner {
    height: 280px;
  }
  .right__answer .inner > p span img, .wrong__answer .inner > p span img {
    min-width: 34px;
    max-width: 34px;
  }
  .right__answer, .wrong__answer {
    max-width: calc(100% - 30px);
  }
  .box__options {
    min-height: 0px;
  }
  .right__answer .inner > p, .wrong__answer .inner > p {
    font-size: 24px;
    line-height: 32px;
  }
  .cards__wrapper > div {
    width: 260px;
  }
  .hero .container {
    margin-top: 70px;
    height: calc(100vh - 70px);
    min-height: calc(100vh - 70px);
  }
  .hero .box {
    margin-top: -150px;
  }
  .hero .box {
    padding-bottom: 0px;
  }
  .folder .btn {
    margin-top: 16px;
  }
  .tickercontainer:nth-child(1) {
    margin-top: -30px;
  }
  .tickercontainer {
    background-size: 3600px 37px;
  }
  .tickercontainer:nth-child(1) {
    margin-bottom: 140px !important;
  }
  .marquee {
    padding-top: 8px !important;
  }
  .marquee li {
    font-size: 16px;
    line-height: 20px;
  }
  .consequences .big-text {
    font-size: 28px;
    line-height: 40px;
  }
  .folder {
    top: 18px;
  }
  .folder.light .container:before {
    width: 160px;
    height: 42px;
    top: -16px;
    left: 20px;
  }
  .folder__title {
    font-size: 28px;
    line-height: 40px;
  }
  .folder.dark .container:before {
    width: 160px;
    height: 42px;
    top: -16px;
    left: 20px;
  }
  .medium-text {
    font-size: 16px;
    line-height: 20px;
  }
  .card__subtitle {
    font-size: 16px;
    line-height: 20px;
  }
  .cards > .elem .btn {
    width: 100%;
    opacity: 1;
  }
  .cards > .elem:nth-child(1) {
    -webkit-transform: none;
            transform: none;
  }
  .cards > .elem:nth-child(2) {
    -webkit-transform: none;
            transform: none;
  }
  .title {
    font-size: 32px;
    line-height: 36px;
  }
  .big-text {
    font-size: 32px;
    line-height: 36px;
  }
  .footer__title {
    font-size: 28px;
    line-height: 40px;
  }
}
@media (max-width: 390px) {
  .folder__title {
    font-size: 20px;
    line-height: 28px;
  }
  .folder > .container {
    padding-top: 20px;
  }
  .folder .desc > p {
    font-size: 14px;
    line-height: 20px;
  }
  .plate {
    top: 105px;
  }
  .hero .title {
    font-size: 26px;
    line-height: 30px;
  }
}

/* iOS performance optimizations */
.sticky__section,
.parallax-section,
.legal-vs-illegal,
.faq-section,
.myth__reality {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Reduce animation complexity for low-power mode */
@media (prefers-reduced-motion: reduce) {
    .sticky__section,
    .parallax-section,
    .legal-vs-illegal,
    .faq-section,
    .myth__reality {
        transition: none !important;
        transform: none !important;
    }
}