/*
Theme Name: Sitz App
Author: Jonas Manser / Rolf Fleischmann
Description: Sitz App theme
Version: 1.0
Tags: sitzapp
*/

:root {
  --clr-light: #f5f7fc;
  --clr-dark: #2f2f2f;
  --clr-blue: #7face3;
  --clr-bluehover: #6199dd;
  --clr-magenta: #ff00ff;
  --ease: cubic-bezier(0.645, 0.045, 0.355, 1);
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  font-family: "Roboto", sans-serif;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

.preload * {
  -webkit-transition: none !important;
  transition: none !important;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

img[data-sizes="auto"] {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: underline;
}

a:visited {
  color: inherit;
}

.lazy-fade {
  opacity: 0;
}

.lazy-fade.lazyloaded {
  opacity: 1;
  -webkit-transition: opacity 0.75s linear;
  transition: opacity 0.75s linear;
}

.mobile-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  overflow-x: hidden;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100%;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

main {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.stripped-button {
  background-color: inherit;
  color: inherit;
  border: none;
  padding: 0px;
  margin: 0px;
}

.stripped-button:focus {
  outline: none;
}

/* .lang-item, */
.hover {
  color: inherit;
  -webkit-transition: color 0.15s var(--ease);
  transition: color 0.15s var(--ease);
  cursor: pointer;
}

/* .lang-item:hover, */
.hover:hover {
  color: var(--clr-magenta);
  -webkit-transition: color 0.15s var(--ease);
  transition: color 0.15s var(--ease);
}

/* sections */
.section-inner {
  width: 83.33%;
  margin: 0 auto;
}

/* modals */
.modal {
  z-index: 31;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-transition: -webkit-transform 0.6s var(--ease);
  transition: -webkit-transform 0.6s var(--ease);
  transition: transform 0.6s var(--ease);
  transition: transform 0.6s var(--ease), -webkit-transform 0.6s var(--ease);
  background-color: var(--clr-light);
  color: var(--clr-dark);
}

.modal.mobile-modal {
  z-index: 20;
}

.modal.open {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  -webkit-transition: -webkit-transform 0.8s var(--ease);
  transition: -webkit-transform 0.8s var(--ease);
  transition: transform 0.8s var(--ease);
  transition: transform 0.8s var(--ease), -webkit-transform 0.8s var(--ease);
}

.modal-inner {
  width: 88%;
  margin: 0 auto;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background-color: inherit;
  cursor: pointer;
  color: inherit;
  width: auto;
  height: auto;
  -webkit-tap-highlight-color: transparent;
}

button.close-modal:focus {
  outline: none !important;
}

.close-modal svg {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: center center;
  transform-origin: center center;
}

.close-modal:hover svg {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

body.mobile .close-modal:hover svg {
  -webkit-transform: none;
  transform: none;
}

/* header */
header {
  position: absolute;
  top: 3rem;
  left: 0px;
  width: 100%;
  padding: 0px 8.33%;
}

.header-logo {
  max-width: 80%;
}

.nav-desktop ul li {
  margin-right: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav-desktop ul li a {
  text-decoration: none;
}

.nav-desktop ul li:last-child {
  margin-right: 0rem;
}

.mobile-language li a {
  text-decoration: none;
}

/* wysiwyg styles */
.wysiwyg-styles strong {
  font-weight: bold;
}

.wysiwyg-styles ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.wysiwyg-styles li {
  margin-bottom: 0.25rem;
}

.wysiwyg-initiative li {
  margin-bottom: 1rem;
}

.wysiwyg-styles p {
  padding-bottom: 1rem;
}

.wysiwyg-styles p > img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  max-width: 500px;
}

.wysiwyg-styles a {
  text-decoration: none;
  color: var(--clr-blue);
  -webkit-transition: color 0.3s linear;
  transition: color 0.3s linear;
}

.wysiwyg-styles a:hover {
  color: var(--clr-bluehover);
  -webkit-transition: color 0.3s linear;
  transition: color 0.3s linear;
}

.wysiwyg-styles h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* tooltips */

.tooltip-content {
  opacity: 0;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  -webkit-transform: translateX(-10px);
  transform: translateX(-10px);
  visibility: hidden;
}

.tooltip-content.show {
  opacity: 1;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}

/* hero */
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.hero-titel {
  margin-left: 0%;
  font-size: min(max(52px, 5vw), 140px);
  -webkit-transform: translateX(-100px);
  transform: translateX(-100px);
  opacity: 0;
  line-height: 0.9;
}

.hero-untertitel {
  opacity: 0;
  -webkit-transform: translateY(100px);
  transform: translateY(100px);
  margin-top: 3rem;
}

.hero-text {
  margin-left: 0%;
  margin-top: 4rem;
  margin-bottom: 4rem;
  max-width: 550px;
  position: relative;
  top: 0px;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  opacity: 0;
}

.hero-image {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  opacity: 0;
  position: absolute;
  top: 20%;
  left: 25%;
  max-width: 90%;
}

.hero-image.animate {
  -webkit-animation: updown ease-in-out 5s infinite;
  animation: updown ease-in-out 5s infinite;
}

.hero-stoerer {
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
  opacity: 0;
  position: absolute;
  bottom: 0;
  right: 0;
}

/* intermission */
.intermission {
  height: 100vh;
  max-height: 400px;
}

.mood-image {
  z-index: -1;
}

/* uiux */
.screen1 {
  top: 175px;
  left: 60%;
}

.screen2 {
  top: 400px;
  left: 65%;
}

body.mobile .screen1 .tooltip-content,
body.mobile .screen2 .tooltip-content {
  -webkit-transform: translateX(-55%);
  transform: translateX(-55%);
}

body.mobile .screen1 .tooltip-content.show,
body.mobile .screen2 .tooltip-content.show {
  -webkit-transform: translateX(-60%);
  transform: translateX(-60%);
}

.screen3 {
  top: 350px;
  left: 40%;
}

body.mobile .screen3 .tooltip-content {
  -webkit-transform: translateX(-35%);
  transform: translateX(-35%);
}

body.mobile .screen3 .tooltip-content.show {
  -webkit-transform: translateX(-40%);
  transform: translateX(-40%);
}

.screen-img {
  max-height: 700px;
}

/* admin */
.admin-screenshot {
  z-index: 1;
  max-width: 1780px;
  max-height: 85vh;
}

.admin1 {
  top: 25%;
  left: 20%;
}

.admin2 {
  top: 45%;
  left: 55%;
}

body.mobile .admin1 .tooltip-content {
  -webkit-transform: translateX(-20%);
  transform: translateX(-20%);
}

body.mobile .admin1 .tooltip-content.show {
  -webkit-transform: translateX(-12.5%);
  transform: translateX(-12.5%);
}

body.mobile .admin2 .tooltip-content {
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

body.mobile .admin2 .tooltip-content.show {
  -webkit-transform: translateX(-55%);
  transform: translateX(-55%);
}

/* references section */
.quote-container .quote {
  padding-bottom: 6rem;
}

.quote-container .quote:last-child {
  padding-bottom: 0rem;
}

@media screen and (min-width: 420px) {
  .hero-image {
    top: 0%;
    left: 30%;
  }
}

@media screen and (min-width: 580px) {
  .hero-image {
    top: -10%;
    left: 30%;
  }
}

@media screen and (min-width: 640px) {
  .intermission {
    max-height: 600px;
  }

  .hero-titel {
    font-size: min(max(62px, 10vw), 140px);
  }

  .hero-untertitel {
    margin-left: 10%;
  }

  .hero-image {
    top: -10%;
    left: 50%;
  }
}

@media screen and (min-width: 1024px) {
  .intermission {
    max-height: unset;
  }

  .hero-image {
    left: 35%;
  }
}

@media screen and (min-width: 1280px) {
  .hero-titel {
    margin-left: 18%;
  }

  .hero-untertitel {
    opacity: 0;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    margin-top: 4rem;
    margin-left: 0%;
  }

  .hero-text {
    margin-left: 25%;
    top: -25px;
  }

  .hero-image {
    max-width: 70%;
    left: 60%;
  }

  .modal-inner {
    width: 66%;
  }

  .close-modal {
    top: 2rem;
    right: 2rem;
  }
}

@media screen and (min-width: 1440px) {
  .hero-text {
    top: -100px;
  }

  .hero-image {
    top: -20%;
    left: 47.5%;
  }
}

@-webkit-keyframes updown {
  0% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@keyframes updown {
  0% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}
