@font-face {
  font-family: Quicksand;
  src: url(assets/Quicksand.ttf); }

.btn {
  display: inline-block;
  margin: 0 auto 55px;
  text-decoration: none;
  font-weight: bold;
  background-image: url(assets/page1/button.webp);
  background-size: contain;
  background-repeat: no-repeat;
  padding: 20px 45px 25px;
  color: white; }

.row .column {
  display: block; }

@media (min-width: 800px) {
  .row {
    display: flex; }
    .row .column {
      display: inline-block; } }

body {
  margin: 0;
  background-color: #ede6e2;
  display: flex;
  flex-direction: column; }
  body main {
    flex-grow: 1; }

header {
  position: relative;
  width: 100%; }
  header .sticky {
    z-index: 2;
    position: fixed; }
  header .menu-placeholder {
    flex-grow: 1; }
  header .top-part {
    pointer-events: none;
    display: flex;
    width: 100%; }
    header .top-part > * {
      flex-grow: 1; }
    header .top-part .logo {
      display: flex; }
    header .top-part .logo > .pic {
      display: block;
      width: 84px;
      height: 49px;
      background-image: url(assets/logo.webp);
      background-size: cover;
      margin: 20px 18px; }
    header .top-part .logo > .words {
      color: #e42f1a;
      align-self: center;
      max-width: 150px;
      margin-top: -5px;
      font-size: 1.4em;
      font-weight: bold; }
    header .top-part .menu-toggle > label {
      display: block;
      width: 22px;
      height: 18px;
      background-image: url(assets/menu.webp);
      background-size: cover;
      margin: 20px 18px; }
    header .top-part .menu-close > label {
      display: block;
      width: 22px;
      height: 22px;
      background-image: url(assets/menu-close.webp);
      background-size: cover;
      margin: 20px 18px; }
    header .top-part .menu-toggle, header .top-part .menu-close {
      position: relative;
      direction: rtl;
      padding: 7px; }
      header .top-part .menu-toggle > label, header .top-part .menu-close > label {
        pointer-events: all; }
    header .top-part .menu-close .locales {
      list-style: none;
      position: absolute;
      text-align: left;
      padding: 0;
      margin: 0 18px;
      width: 22px;
      pointer-events: all;
      transform: translateY(-10px); }
      header .top-part .menu-close .locales li {
        margin-bottom: 3px; }
        header .top-part .menu-close .locales li a {
          color: white;
          font-size: 1.5em;
          font-family: monospace; }
  header #main-nav-toggle-navigation {
    display: none; }
    header #main-nav-toggle-navigation:checked + .menu-wrapper {
      display: flex; }
  header .menu-wrapper {
    z-index: 3;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    overflow-y: auto; }
    header .menu-wrapper > .wrapper {
      display: flex;
      flex-grow: 1;
      flex-direction: column; }
    header .menu-wrapper > .wrapper > .wrapper {
      background-color: #e42f1a;
      display: flex;
      flex-grow: 1;
      flex-direction: column;
      align-items: center; }
      header .menu-wrapper > .wrapper > .wrapper .column {
        text-align: center;
        color: white; }
        header .menu-wrapper > .wrapper > .wrapper .column h2 {
          margin-bottom: 0; }
        header .menu-wrapper > .wrapper > .wrapper .column p {
          margin-top: 0.25em; }
        @media (min-width: 800px) {
          header .menu-wrapper > .wrapper > .wrapper .column {
            flex-grow: 1; }
            header .menu-wrapper > .wrapper > .wrapper .column:first-of-type {
              text-align: left; }
            header .menu-wrapper > .wrapper > .wrapper .column:last-of-type {
              text-align: right; } }
    header .menu-wrapper .menu {
      text-align: center; }
      header .menu-wrapper .menu ul {
        list-style: none;
        padding: 0; }
      header .menu-wrapper .menu li {
        margin: 4em 0; }
      header .menu-wrapper .menu li a {
        color: white;
        text-decoration: none;
        font-size: 2em;
        font-weight: bold; }
    header .menu-wrapper .placeholder {
      height: 75px; }
    header .menu-wrapper .header-footer {
      width: 100%;
      height: 10vw;
      background-image: url(assets/header.svg);
      background-repeat: no-repeat;
      background-size: 100%;
      margin-top: -1px; }

@media (min-width: 800px) {
  header .top-part .logo {
    padding-left: 3em; }
  header .top-part .menu-close, header .top-part .menu-toggle {
    padding-right: 3em; }
  header .menu-wrapper .menu li {
    margin: 1.5em 0; }
  header .menu-wrapper .menu li a {
    font-size: 3.8em; }
  header .menu-wrapper .row {
    width: 60%;
    padding-bottom: 1em; }
  header .menu-wrapper .header-footer + div {
    height: 25px; } }

footer {
  background-image: url(assets/footer.svg);
  background-size: 100%;
  min-height: 200px;
  width: 100%;
  padding-top: 4vw;
  display: flex;
  flex-direction: column; }
  footer > div {
    background-color: #e42f1a;
    color: white; }
  footer .column {
    text-align: center;
    color: white;
    width: 100%; }
    footer .column h2 {
      margin-bottom: 0; }
    footer .column p {
      margin-top: 0.25em; }
    @media (min-width: 800px) {
      footer .column {
        flex-grow: 1; }
        footer .column:first-of-type {
          text-align: left; }
        footer .column:last-of-type {
          text-align: right; } }
  footer .logos {
    text-align: center; }
    footer .logos .separator {
      display: none; }
    footer .logos img {
      display: block;
      margin: 2em auto;
      width: calc(100% - 4em); }
    footer .logos img:first-of-type {
      max-width: 30%; }
    footer .logos img:last-of-type {
      max-width: 590px; }
  @media (min-width: 800px) {
    footer .wrapper {
      padding-bottom: 2em; }
    footer .row, footer .logos {
      width: 60%;
      margin: 0 auto; }
    footer .row {
      padding-top: 3em; }
    footer .logos {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 2em auto; }
      footer .logos .separator {
        display: block;
        flex-grow: 1;
        position: relative;
        align-self: normal;
        min-width: 20px; }
        footer .logos .separator:after {
          position: absolute;
          content: " ";
          top: 0;
          bottom: 0;
          left: 50%;
          transform: translateX(-50%);
          width: 1px;
          background-color: white; }
      footer .logos img {
        display: block;
        margin: 0; }
        footer .logos img:first-of-type {
          max-width: 10%; }
        footer .logos img:last-of-type {
          max-width: 40%; } }

/*
@include lifeforms-appear-for-form-factor(
  "mobile", 30%, 50%, 1000px
);

@include lifeforms-appear-for-form-factor(
  "desktop", 60%, 100%, 1000px
);
*/
@keyframes wobble-A {
  0% {
    transform: rotate(15deg); }
  15% {
    transform: rotate(15deg); }
  30% {
    transform: rotate(45deg); }
  40% {
    transform: rotate(40deg); }
  50% {
    transform: rotate(40deg); }
  65% {
    transform: rotate(0deg); }
  75% {
    transform: rotate(0deg); }
  90% {
    transform: rotate(25deg); }
  100% {
    transform: rotate(15deg); } }

@keyframes wobble-B {
  0% {
    transform: rotate(-30deg); }
  10% {
    transform: rotate(12deg); }
  20% {
    transform: rotate(-8deg); }
  25% {
    transform: rotate(-10deg); }
  30% {
    transform: rotate(-7deg); }
  40% {
    transform: rotate(-7deg); }
  45% {
    transform: rotate(-32deg); }
  50% {
    transform: rotate(-28deg); }
  60% {
    transform: rotate(-38deg); }
  70% {
    transform: rotate(-20deg); }
  80% {
    transform: rotate(-5deg); }
  90% {
    transform: rotate -10deg; }
  100% {
    transform: rotate(-30deg); } }

@keyframes page1-title-desktop {
  0% {
    opacity: 1; }
  50% {
    opacity: 0; }
  100% {
    opacity: 0; } }

@keyframes page1-title-mobile {
  0% {
    opacity: 1; }
  25% {
    opacity: 0; }
  100% {
    opacity: 0; } }

.page-1 {
  padding-top: 40vh; }
  .page-1 h2 {
    color: #e42f1a;
    text-align: center;
    font-size: 2em; }
  .page-1 h2.alt-title {
    color: #191919;
    text-align: left;
    font-size: 1.5em;
    margin-bottom: 0; }
    .page-1 h2.alt-title + p {
      margin-top: 0; }
  .page-1 .h2-placeholder {
    height: 80px; }
  .page-1 .h2-fixed {
    margin-top: -80px;
    position: fixed;
    width: 100%;
    animation-name: page1-title-mobile;
    animation-timeline: scroll(root); }
  .page-1 .ameba-background {
    position: relative;
    z-index: -2;
    width: 100%;
    pointer-events: none;
    margin: 0 auto; }
  .page-1 .sfw-logo {
    width: 150px; }
  .page-1 section {
    text-align: center; }
  .page-1 section:not(:first-of-type) {
    margin: 0 15%; }
  .page-1 p {
    text-align: left;
    letter-spacing: 0.5px; }
  .page-1 img {
    margin: 0 auto; }
  .page-1 .btn {
    display: block;
    width: 217px;
    font-size: 0.9em;
    margin-bottom: 90px; }
  .page-1 .btn-group {
    text-align: center; }
    .page-1 .btn-group .btn {
      padding-top: 12px; }
      .page-1 .btn-group .btn:not(:last-of-type) {
        margin-bottom: 10px; }
  @media (min-width: 800px) {
    .page-1 {
      padding-top: 15vh; }
      .page-1 h2 {
        font-size: 4em; }
      .page-1 h2.alt-title {
        font-size: 2em;
        line-height: 1em;
        margin-bottom: 0.5em; }
      .page-1 .h2-fixed {
        animation-name: page1-title-desktop; }
      .page-1 .ameba-background {
        width: 62%; }
      .page-1 .btn {
        font-size: 1em;
        margin-bottom: 55px; } }
  .page-1 .scroll-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    /*
      @include sprite("hongos/3", 358px, 696px);
    .hongos-1 {
      @include sprite("hongos/1", 530px, 771px); 
      @include sprite-right-position(0, 600px);
    }
    .hongos-2 {
      @include sprite("hongos/2", 493px, 710px);
      @include sprite-right-position(20%, -150px);
    }
    .hongos-4 {
      @include sprite("hongos/4", 628px, 1365px);
      @include sprite-left-position(0, 300px);
    }
*/ }
    .page-1 .scroll-animation > * {
      position: absolute;
      display: block;
      height: 10000px;
      animation-name: lifeforms-appear-left;
      animation-timeline: scroll(root); }
      .page-1 .scroll-animation > *:before {
        display: block;
        position: absolute;
        content: " ";
        background-size: contain;
        background-repeat: no-repeat;
        animation-iteration-count: infinite !important; }
    @media (max-width: 799px) {
      .page-1 .scroll-animation .bacteria-1 {
        width: 150px;
        height: 149px;
        left: -75px;
        top: -25px;
        animation-name: lifeforms-appear-left-mobile;
        animation-name: lifeforms-appear-upper-left-mobile; }
        .page-1 .scroll-animation .bacteria-1:before {
          background-image: url(assets/page1/animation/bacteria/1.webp);
          width: 150px;
          height: 149px;
          transform-origin: 75px 74.5px; }
        .page-1 .scroll-animation .bacteria-1:before {
          animation: 10s ease-out forwards wobble-A; }
        .page-1 .scroll-animation .bacteria-1:before {
          margin-left: -25%; }
      .page-1 .scroll-animation .hongos-1 {
        display: none;
        width: 81px;
        height: 69.3px;
        right: 15vw;
        top: 5vh;
        animation-name: lifeforms-appear-right-mobile;
        animation-name: lifeforms-appear-upper-right-mobile; }
        .page-1 .scroll-animation .hongos-1:before {
          background-image: url(assets/page1/animation/hongos/5.webp);
          width: 81px;
          height: 69.3px;
          transform-origin: 40.5px 34.65px; }
        .page-1 .scroll-animation .hongos-1:before {
          transform: scaleX(-1) rotate(200deg); }
      .page-1 .scroll-animation .ameba-1 {
        width: 100px;
        height: 100px;
        top: 6vh;
        right: -50px;
        animation-name: lifeforms-appear-upper-right-mobile; }
      .page-1 .scroll-animation .hongos-2 {
        width: 81px;
        height: 69.3px;
        right: 0vw;
        top: 35vh;
        animation-name: lifeforms-appear-right-mobile;
        animation-name: lifeforms-appear-right-mobile; }
        .page-1 .scroll-animation .hongos-2:before {
          background-image: url(assets/page1/animation/hongos/5.webp);
          width: 81px;
          height: 69.3px;
          transform-origin: 40.5px 34.65px; }
        .page-1 .scroll-animation .hongos-2:before {
          transform: rotate(310deg);
          margin-left: 50%; }
      .page-1 .scroll-animation .bacteria-2 {
        width: 150px;
        height: 149px;
        right: 0vw;
        top: 50vh;
        animation-name: lifeforms-appear-right-mobile; }
        .page-1 .scroll-animation .bacteria-2:before {
          background-image: url(assets/page1/animation/bacteria/2.webp);
          width: 150px;
          height: 149px;
          transform-origin: 75px 74.5px; }
        .page-1 .scroll-animation .bacteria-2:before {
          margin-left: 50%; }
        .page-1 .scroll-animation .bacteria-2:before {
          animation: 10s ease-out forwards wobble-B; }
      .page-1 .scroll-animation .hongos-3 {
        display: none; }
      .page-1 .scroll-animation .hongos-4 {
        width: 53.7px;
        height: 104.4px;
        bottom: 15vh;
        right: -30px;
        animation-name: lifeforms-appear-bottom-mobile; }
        .page-1 .scroll-animation .hongos-4:before {
          background-image: url(assets/page1/animation/hongos/3.webp);
          width: 53.7px;
          height: 104.4px;
          transform-origin: 26.85px 52.2px; }
        .page-1 .scroll-animation .hongos-4:before {
          transform: scaleX(-1) rotate(-45deg); }
      .page-1 .scroll-animation .bacteria-3 {
        width: 150px;
        height: 149px;
        right: calc(-90px + 5vw);
        bottom: -50px;
        animation-name: lifeforms-appear-bottom-mobile; }
        .page-1 .scroll-animation .bacteria-3:before {
          background-image: url(assets/page1/animation/bacteria/3.webp);
          width: 150px;
          height: 149px;
          transform-origin: 75px 74.5px; }
        .page-1 .scroll-animation .bacteria-3:before {
          animation: 10s ease-out forwards wobble-A; }
      .page-1 .scroll-animation .ameba-2 {
        width: 100px;
        height: 100px;
        left: -50px;
        bottom: 12vh;
        animation-name: lifeforms-appear-bottom-left-mobile; }
      .page-1 .scroll-animation .hongos-5 {
        width: 94.2px;
        height: 204.75px;
        left: 0;
        bottom: 34vh;
        animation-name: lifeforms-appear-bottom-left-mobile; }
        .page-1 .scroll-animation .hongos-5:before {
          background-image: url(assets/page1/animation/hongos/4.webp);
          width: 94.2px;
          height: 204.75px;
          transform-origin: 47.1px 102.375px; }
        .page-1 .scroll-animation .hongos-5:before {
          transform: rotate(200deg);
          margin-left: -50%; }
      .page-1 .scroll-animation .ameba-3 {
        width: 100px;
        height: 100px;
        left: -75px;
        top: 12vh;
        animation-name: lifeforms-appear-upper-left-mobile; } }
    @media (min-width: 800px) {
      .page-1 .scroll-animation .bacteria-1 {
        width: 300px;
        height: 298px;
        left: -150px;
        top: -50px;
        animation-name: lifeforms-appear-left-desktop;
        animation-name: lifeforms-appear-upper-left-desktop; }
        .page-1 .scroll-animation .bacteria-1:before {
          background-image: url(assets/page1/animation/bacteria/1.webp);
          width: 300px;
          height: 298px;
          transform-origin: 150px 149px; }
        .page-1 .scroll-animation .bacteria-1:before {
          animation: 10s ease-out forwards wobble-A; }
      .page-1 .scroll-animation .hongos-1 {
        display: none;
        width: 189px;
        height: 161.7px;
        right: 30vw;
        top: 5vh;
        animation-name: lifeforms-appear-right-desktop;
        animation-name: lifeforms-appear-upper-right-desktop; }
        .page-1 .scroll-animation .hongos-1:before {
          background-image: url(assets/page1/animation/hongos/5.webp);
          width: 189px;
          height: 161.7px;
          transform-origin: 94.5px 80.85px; }
        .page-1 .scroll-animation .hongos-1:before {
          transform: scaleX(-1) rotate(200deg); }
      .page-1 .scroll-animation .ameba-1 {
        width: 200px;
        height: 200px;
        top: -5vh;
        right: 0;
        animation-name: lifeforms-appear-upper-right-desktop; }
      .page-1 .scroll-animation .hongos-2 {
        width: 189px;
        height: 161.7px;
        right: 0vw;
        top: 10vh;
        animation-name: lifeforms-appear-right-desktop;
        animation-name: lifeforms-appear-right-desktop; }
        .page-1 .scroll-animation .hongos-2:before {
          background-image: url(assets/page1/animation/hongos/5.webp);
          width: 189px;
          height: 161.7px;
          transform-origin: 94.5px 80.85px; }
        .page-1 .scroll-animation .hongos-2:before {
          transform: rotate(310deg); }
      .page-1 .scroll-animation .bacteria-2 {
        width: 300px;
        height: 298px;
        right: -5vw;
        top: 25vh;
        animation-name: lifeforms-appear-right-desktop; }
        .page-1 .scroll-animation .bacteria-2:before {
          background-image: url(assets/page1/animation/bacteria/2.webp);
          width: 300px;
          height: 298px;
          transform-origin: 150px 149px; }
        .page-1 .scroll-animation .bacteria-2:before {
          animation: 10s ease-out forwards wobble-B; }
      .page-1 .scroll-animation .hongos-3 {
        width: 185.5px;
        height: 269.85px;
        right: -1vw;
        bottom: 26vh;
        animation-name: lifeforms-appear-bottom-right-desktop; }
        .page-1 .scroll-animation .hongos-3:before {
          background-image: url(assets/page1/animation/hongos/1.webp);
          width: 185.5px;
          height: 269.85px;
          transform-origin: 92.75px 134.925px; }
        .page-1 .scroll-animation .hongos-3:before {
          transform: rotate(-45deg); }
      .page-1 .scroll-animation .hongos-4 {
        display: none;
        width: 125.3px;
        height: 243.6px;
        bottom: 24vh;
        right: 30vw;
        animation-name: lifeforms-appear-bottom-desktop; }
        .page-1 .scroll-animation .hongos-4:before {
          background-image: url(assets/page1/animation/hongos/3.webp);
          width: 125.3px;
          height: 243.6px;
          transform-origin: 62.65px 121.8px; }
        .page-1 .scroll-animation .hongos-4:before {
          transform: scaleX(-1) rotate(-45deg); }
      .page-1 .scroll-animation .bacteria-3 {
        width: 300px;
        height: 298px;
        right: calc(-100px + 5vw);
        bottom: 3vh;
        animation-name: lifeforms-appear-bottom-desktop; }
        .page-1 .scroll-animation .bacteria-3:before {
          background-image: url(assets/page1/animation/bacteria/3.webp);
          width: 300px;
          height: 298px;
          transform-origin: 150px 149px; }
        .page-1 .scroll-animation .bacteria-3:before {
          animation: 10s ease-out forwards wobble-A; }
      .page-1 .scroll-animation .ameba-2 {
        width: 200px;
        height: 200px;
        left: 0vw;
        bottom: 10vh;
        animation-name: lifeforms-appear-bottom-left-desktop; }
      .page-1 .scroll-animation .hongos-5 {
        width: 219.8px;
        height: 477.75px;
        left: calc(-219.8px + 10vw);
        bottom: 20vh;
        animation-name: lifeforms-appear-bottom-left-desktop; }
        .page-1 .scroll-animation .hongos-5:before {
          background-image: url(assets/page1/animation/hongos/4.webp);
          width: 219.8px;
          height: 477.75px;
          transform-origin: 109.9px 238.875px; }
        .page-1 .scroll-animation .hongos-5:before {
          transform: rotate(200deg); }
      .page-1 .scroll-animation .ameba-3 {
        width: 200px;
        height: 200px;
        left: calc(-150px + 10vw);
        top: 20vh;
        animation-name: lifeforms-appear-upper-left-desktop; } }

html[lang="en_US"] .page-1 .btn-group .btn-2 {
  width: 209px;
  padding-top: 10px; }

@keyframes wheel-1to2 {
  0% {
    transform: rotate(-60deg) scale(0.7); }
  100% {
    transform: scale(1); } }

@keyframes wheel-2to3 {
  0% {
    transform: scale(1); }
  100% {
    transform: rotate(60deg) scale(0.7); } }

@keyframes wheel-3to4 {
  0% {
    transform: rotate(60deg) scale(0.7); }
  100% {
    transform: rotate(120deg) scale(0.7); } }

@keyframes wheel-4to5 {
  0% {
    transform: rotate(120deg) scale(0.7); }
  100% {
    transform: rotate(180deg) scale(0.7); } }

@keyframes wheel-5to1 {
  0% {
    transform: rotate(180deg) scale(0.7); }
  100% {
    transform: rotate(300deg) scale(0.7); } }

@keyframes wheel-1to5 {
  0% {
    transform: rotate(300deg) scale(0.7); }
  100% {
    transform: rotate(180deg) scale(0.7); } }

@keyframes wheel-5to4 {
  0% {
    transform: rotate(180deg) scale(0.7); }
  100% {
    transform: rotate(120deg) scale(0.7); } }

@keyframes wheel-4to3 {
  0% {
    transform: rotate(120deg) scale(0.7); }
  100% {
    transform: rotate(60deg) scale(0.7); } }

@keyframes wheel-3to2 {
  0% {
    transform: rotate(60deg) scale(0.7); }
  100% {
    transform: scale(1); } }

@keyframes wheel-2to1 {
  0% {
    transform: scale(1); }
  100% {
    transform: rotate(-60deg) scale(0.7); } }

@keyframes wheel-1to2-content {
  0% {
    transform: rotate(60deg); }
  100% {
    transform: scale(1); } }

@keyframes wheel-2to3-content {
  0% {
    transform: scale(1); }
  100% {
    transform: rotate(-60deg); } }

@keyframes wheel-3to4-content {
  0% {
    transform: rotate(-60deg); }
  100% {
    transform: rotate(-120deg); } }

@keyframes wheel-4to5-content {
  0% {
    transform: rotate(-120deg); }
  100% {
    transform: rotate(-180deg); } }

@keyframes wheel-5to1-content {
  0% {
    transform: rotate(-180deg); }
  100% {
    transform: rotate(-300deg); } }

@keyframes wheel-1to5-content {
  0% {
    transform: rotate(-300deg); }
  100% {
    transform: rotate(-180deg); } }

@keyframes wheel-6to5-content {
  0% {
    transform: rotate(-240deg); }
  100% {
    transform: rotate(-180deg); } }

@keyframes wheel-5to4-content {
  0% {
    transform: rotate(-180deg); }
  100% {
    transform: rotate(-120deg); } }

@keyframes wheel-4to3-content {
  0% {
    transform: rotate(-120deg); }
  100% {
    transform: rotate(-60deg); } }

@keyframes wheel-3to2-content {
  0% {
    transform: rotate(-60deg); }
  100% {
    transform: none; } }

@keyframes wheel-2to1-content {
  0% {
    transform: none; }
  100% {
    transform: rotate(60deg); } }

.page-2 .slider .slide, .page-2 .slider .wrapper {
  animation-duration: 500ms;
  animation-timing-function: linear;
  animation-delay: 0;
  animation-fill-mode: forwards;
  animation-play-state: running; }

.page-2 .slider .slide[data-state="1to2"] {
  animation-name: wheel-1to2; }
  .page-2 .slider .slide[data-state="1to2"] .wrapper {
    animation-name: wheel-1to2-content; }

.page-2 .slider .slide[data-state="2to3"] {
  animation-name: wheel-2to3; }
  .page-2 .slider .slide[data-state="2to3"] .wrapper {
    animation-name: wheel-2to3-content; }

.page-2 .slider .slide[data-state="3to4"] {
  display: none;
  animation-name: wheel-3to4; }
  .page-2 .slider .slide[data-state="3to4"] .wrapper {
    animation-name: wheel-3to4-content; }

.page-2 .slider .slide[data-state="4to5"] {
  animation-name: wheel-4to5; }
  .page-2 .slider .slide[data-state="4to5"] .wrapper {
    animation-name: wheel-4to5-content; }

.page-2 .slider .slide[data-state="5to1"] {
  animation-name: wheel-5to1; }
  .page-2 .slider .slide[data-state="5to1"] .wrapper {
    animation-name: wheel-5to1-content; }

.page-2 .slider .slide[data-state="2to1"] {
  animation-name: wheel-2to1; }
  .page-2 .slider .slide[data-state="2to1"] .wrapper {
    animation-name: wheel-2to1-content; }

.page-2 .slider .slide[data-state="3to2"] {
  animation-name: wheel-3to2; }
  .page-2 .slider .slide[data-state="3to2"] .wrapper {
    animation-name: wheel-3to2-content; }

.page-2 .slider .slide[data-state="4to3"] {
  animation-name: wheel-4to3; }
  .page-2 .slider .slide[data-state="4to3"] .wrapper {
    animation-name: wheel-4to3-content; }

.page-2 .slider .slide[data-state="5to4"] {
  animation-name: wheel-5to4; }
  .page-2 .slider .slide[data-state="5to4"] .wrapper {
    animation-name: wheel-5to4-content; }

.page-2 .slider .slide[data-state="1to5"] {
  animation-name: wheel-1to5; }
  .page-2 .slider .slide[data-state="1to5"] .wrapper {
    animation-name: wheel-1to5-content; }

.slider .controls .previous-slide {
  display: none; }

.page-2 .slider {
  height: 30vw;
  margin: 30vw auto; }
  .page-2 .slider .controls button {
    height: 25px;
    width: 25px; }
  .page-2 .slider .slide > .wrapper {
    height: 25vw;
    max-width: calc(100% - 25px - 10px);
    margin-right: 35px; }
    .page-2 .slider .slide > .wrapper > .text {
      font-size: 1em;
      padding-left: 1em; }

.page-2 .controls {
  position: absolute;
  right: 7.5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 99; }
  .page-2 .controls button {
    border: 0;
    padding: 0;
    margin: 5px;
    background-color: transparent;
    background-image: url(assets/page3/next-slide.webp);
    background-size: cover; }
    .page-2 .controls button.previous-slide {
      transform: scaleY(-1); }

.page-2 .slider {
  position: relative;
  z-index: 0;
  top: 50%;
  transform: translateY(-50%); }
  .page-2 .slider > h2 {
    position: relative;
    color: #e42f1a;
    top: -110%;
    text-align: center;
    font-size: 3vh; }
  .page-2 .slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: -150px 50%;
    margin-left: 90px;
    margin-right: 15vw;
    transition: opacity 150ms ease-in-out;
    opacity: 0; }
    .page-2 .slider .slide[data-index="1"], .page-2 .slider .slide[data-index="3"] {
      opacity: 0.4; }
    .page-2 .slider .slide[data-index="2"], .page-2 .slider .slide:not([data-state]) {
      opacity: 1; }
    .page-2 .slider .slide .wrapper {
      transition: transform 1000ms ease-in-out;
      transform-origin: 0 50%;
      display: flex;
      align-items: center; }
    .page-2 .slider .slide .text {
      display: inline-block;
      font-weight: bold;
      color: #e42f1a;
      transition: all 1000ms ease-in-out; }
      .page-2 .slider .slide .text .subtext {
        font-size: 0.7em;
        font-weight: normal;
        color: #191919; }
    .page-2 .slider .slide img {
      height: 80%; }
    .page-2 .slider .slide:nth-child(3) img {
      height: 50%; }

@media (max-width: 380px) {
  .page-2 .slider > h2 {
    top: -150%; }
  .page-2 .slider > .controls {
    right: 3.5%; }
  .page-2 .slider, .page-2 .slide {
    margin-left: 25px; }
    .page-2 .slider:nth-child(5) img, .page-2 .slide:nth-child(5) img {
      margin-left: -65px; }
    .page-2 .slider:nth-child(4) img, .page-2 .slide:nth-child(4) img {
      margin-left: -40px; }
    .page-2 .slider:nth-child(3) img, .page-2 .slide:nth-child(3) img {
      margin-left: -50px;
      height: 40%; } }

@media (min-width: 450px) {
  .page-2 .slider .controls {
    right: 15%; } }

@media (min-width: 550px) and (max-width: 799px) {
  .page-2 .slider {
    height: 25vw;
    margin: 25vw auto; }
    .page-2 .slider .controls button {
      height: 35px;
      width: 35px; }
    .page-2 .slider .slide > .wrapper {
      height: 25vw;
      max-width: calc(100% - 35px - 10px);
      margin-right: 45px; }
      .page-2 .slider .slide > .wrapper > .text {
        font-size: 1.2em;
        padding-left: 1.2em; }
  .page-2 .slider .slide {
    transform-origin: -190px 50%;
    margin-left: 150px; }
    .page-2 .slider .slide:nth-child(3) img {
      margin-left: -50px; } }

@media (min-width: 800px) {
  .page-2 .slider {
    height: 200px;
    margin: 200px auto; }
    .page-2 .slider .controls button {
      height: 50px;
      width: 50px; }
    .page-2 .slider .slide > .wrapper {
      height: 200px;
      max-width: calc(100% - 50px - 10px);
      margin-right: 60px; }
      .page-2 .slider .slide > .wrapper > .text {
        font-size: 2em;
        padding-left: 2em; }
  .page-2 > div {
    max-width: 800px; }
  .page-2 .slider > h2 {
    top: -130%; }
  .page-2 .slider .controls {
    right: 0; }
  .page-2 .slider .slide {
    transform-origin: -300px 50%;
    margin-right: 0; }
    .page-2 .slider .slide .text .subtext {
      font-size: 0.5em; }
    .page-2 .slider .slide img {
      height: 100%; }
    .page-2 .slider .slide:nth-child(3) img {
      height: 80%; } }

.page-2 {
  text-align: center; }
  .page-2 .highlight {
    font-weight: bold;
    color: #e42f1a; }
  .page-2 video.placeholder {
    visibility: hidden; }
  .page-2 .scrollable-cards-placeholder {
    height: calc(400vh + 300px); }
  .page-2 .scrollable-cards {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw; }
    .page-2 .scrollable-cards .dots {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      transition: opacity 200ms ease-in-out; }
      .page-2 .scrollable-cards .dots .dot {
        display: inline-block;
        padding: 0 5px;
        width: 25px;
        cursor: pointer;
        transform: scale(0.8);
        opacity: 0.6;
        transition: transform 200ms ease-in-out; }
        .page-2 .scrollable-cards .dots .dot.active {
          transform: scale(1);
          opacity: 1; }
  .page-2 .card {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 2em; }
    .page-2 .card .card-body {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      align-items: center;
      justify-content: center; }
      .page-2 .card .card-body .object {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%; }
      .page-2 .card .card-body picture, .page-2 .card .card-body video, .page-2 .card .card-body img, .page-2 .card .card-body .video-wrapper {
        display: block;
        max-width: 100%;
        width: 100%;
        pointer-events: none; }
  .page-2 .card-1 .object > h2 {
    position: absolute;
    color: #e42f1a;
    width: 100%;
    text-align: center;
    top: 0;
    z-index: -1;
    margin-top: 0.2em; }
  .page-2 .card-1 .object > picture {
    opacity: 1; }
  .page-2 .card-2 .object .pc {
    position: absolute;
    height: 1px;
    width: 100%;
    overflow: visible; }
  .page-2 .card-2 .object p {
    position: relative; }
  .page-2 .card-2 .object > video:not(.placeholder), .page-2 .card-2 .object > .video-wrapper:not(.placeholder) {
    position: absolute; }
  .page-2 .card-3 .btn {
    min-width: 170px;
    transform: translateX(-5px);
    padding-top: 6px; }
  .page-2 .card-4 .btn {
    padding: 5px 25px 25px; }
    .page-2 .card-4 .btn[data-lang="es"] {
      padding: 12px 15px 25px; }
  .page-2 > .placeholder {
    height: 100vh;
    width: 100vw; }
  .page-2.footer {
    height: 80vh;
    opacity: 0;
    overflow: hidden; }
  .page-2 section:not(.scrollable-cards) {
    margin: 0 auto; }

.video-wrapper {
  position: relative; }
  .video-wrapper > video {
    position: relative;
    z-index: 1; }
  .video-wrapper:before, .video-wrapper:after {
    content: "";
    display: block;
    position: absolute;
    z-index: 2; }
  .video-wrapper:before {
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background-color: #ede6e2; }
  .video-wrapper:after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: #ede6e2; }

@media (min-width: 800px) {
  .page-2 .scrollable-cards .dots {
    display: flex;
    flex-direction: column;
    bottom: auto;
    left: auto;
    right: 10%;
    top: 50%;
    transform: translateY(-50%); }
    .page-2 .scrollable-cards .dots .dot {
      padding: 5px 0; }
  .page-2 .card {
    left: 29.5%;
    right: 29.5%; }
  .page-2.footer {
    width: 800px;
    margin: 0 auto;
    overflow: visible; } }

@media (min-width: 480px) {
  .page-2 .card-1 .object > h2 {
    font-size: 2em; } }

@media (min-width: 800px) {
  .page-2 .card-1 .object > h2 {
    font-size: 1.5em; } }

@media (min-width: 1000px) {
  .page-2 .card-1 .object > h2 {
    font-size: 1.5em; } }

@media (min-width: 1120px) {
  .page-2 .card-1 .object > h2 {
    font-size: 1.8em; } }

@media (min-width: 1280px) {
  .page-2 .card-1 .object > h2 {
    font-size: 2em; } }

@media (min-width: 1310px) {
  .page-2 .card-1 .object > h2 {
    font-size: 2.2em; } }

@media (min-width: 1450px) {
  .page-2 .card-1 .object > h2 {
    font-size: 2.8em; } }

@media (min-width: 1600px) {
  .page-2 .card-1 .object > h2 {
    font-size: 3.3em; } }

@media (min-width: 1800px) {
  .page-2 .card-1 .object > h2 {
    font-size: 3.5em; } }

@media (min-width: 350px) {
  .page-2 .card-4 .btn {
    padding: 20px 25px 25px; }
    .page-2 .card-4 .btn[data-lang="es"] {
      padding: 15px 25px 25px; } }

.page-3 .boxes > a {
  position: relative;
  display: block;
  flex-direction: column;
  justify-content: center;
  border: 2px solid #e42f1a;
  border-radius: 15px;
  color: #e42f1a;
  margin-bottom: 10px;
  text-decoration: none;
  text-align: left;
  font-weight: bold;
  overflow: hidden;
  transition: all 900ms ease-in-out; }
  .page-3 .boxes > a > .wrapper > span {
    display: block;
    padding: 5px 15px;
    padding-right: 40px;
    font-size: 1.6em; }
  .page-3 .boxes > a > .wrapper > .content {
    transition: height 500ms ease-in-out;
    color: #191919;
    font-size: 20px; }
    .page-3 .boxes > a > .wrapper > .content > p {
      padding: 5px 15px;
      margin: 0;
      font-weight: normal;
      flex-grow: 1;
      display: flex;
      justify-content: center;
      align-items: center; }
  .page-3 .boxes > a:after {
    content: "+";
    position: absolute;
    top: -8px;
    right: 0;
    padding: 0 5px;
    font-size: 2em;
    font-weight: 600;
    transition: transform 500ms ease-in-out; }
  .page-3 .boxes > a:hover:not(.active) {
    background-color: #e42f1a;
    color: white; }
  .page-3 .boxes > a.active {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px; }
    .page-3 .boxes > a.active > .wrapper > .content {
      display: flex;
      flex-flow: column; }
    .page-3 .boxes > a.active:after {
      transform: rotate(45deg) rotate3d(0, 1, 0, 180deg); }

.picture {
  background-position: center;
  background-size: cover; }
  .picture.agricultores-picture {
    background-image: url(assets/page3/boxes/agricultores.webp); }
  .picture.restauradores-picture {
    background-image: url(assets/page3/boxes/restauradores.webp); }
  .picture.procesadores-picture {
    background-image: url(assets/page3/boxes/procesadores.webp); }
  .picture.ayuntamientos-picture {
    background-image: url(assets/page3/boxes/ayuntamientos.webp); }

.page-3 .boxes > a {
  height: 90px; }
  .page-3 .boxes > a > .wrapper > span {
    display: flex;
    align-items: center;
    height: 80px; }
  .page-3 .boxes > a > .wrapper > .content > p {
    padding: 25px 15px; }
  .page-3 .boxes > a > .wrapper > .content > .picture {
    height: 400px; }
  .page-3 .boxes > a.active {
    height: 520px; }

@media (min-width: 800px) {
  .page-3 .boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; }
    .page-3 .boxes > a {
      vertical-align: top;
      margin: 4px;
      height: 70px; }
      .page-3 .boxes > a > .wrapper > span {
        height: 60px; }
      .page-3 .boxes > a > .wrapper > .content > p {
        padding: 5px 15px;
        height: 195px; }
      .page-3 .boxes > a > .wrapper > .content > .picture {
        height: 400px; }
      .page-3 .boxes > a.active {
        height: 540px; }
      .page-3 .boxes > a:nth-of-type(1) {
        width: calc(37% - 8px); }
      .page-3 .boxes > a:nth-of-type(2) {
        width: calc(61% - 8px); }
      .page-3 .boxes > a:nth-of-type(3) {
        width: calc(53% - 8px); }
      .page-3 .boxes > a:nth-of-type(4) {
        width: calc(45% - 8px); }
  .page-3 > section:last-of-type {
    text-align: center; }
    .page-3 > section:last-of-type img {
      width: 46%; } }

.page-3 h2, .page-3 h3 {
  color: #e42f1a;
  text-align: center; }

.page-3 h2 {
  font-size: 2em; }

.page-3 h3 {
  font-weight: normal; }
  .page-3 h3 .highlight {
    font-weight: bold; }

.page-3 section {
  margin: 0 7.5%; }
  .page-3 section img {
    max-width: 100%; }

.page-3 section:first-of-type {
  padding-top: 30vh; }

.page-3 section:last-of-type {
  padding-bottom: 20vh; }

@media (min-width: 450px) {
  .page-3 > section {
    margin: 0 15%; } }

@media (min-width: 800px) {
  .page-3 h2 {
    font-size: 4em;
    margin-bottom: 20px; }
  .page-3 h3 {
    font-size: 2em; }
  .page-3 > section {
    max-width: 800px;
    margin: 0 auto; }
  .page-3 > section:last-of-type {
    text-align: center; }
    .page-3 > section:last-of-type img {
      width: 46%; } }

body {
  font-family: "Quicksand", Arial; }
  body > .splashscreen {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    pointer-events: none;
    background-color: #e42f1a; }
    body > .splashscreen.active {
      background-color: transparent; }

.object {
  position: relative; }
  .object:before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: black; }
  .object:after {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background-color: black; }
