
/* arsenal-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: 'Arsenal';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/arsenal-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

main .animation-container {
    opacity: 0;
}
body, html {
    margin: 0;
    padding: 0;
    font-family: "Arsenal", sans-serif;
    height: 100%;

}

header {
    background: #fff;
}

#myModal {
    z-index: 2222222222;
}

#myModal p {
    text-align: center;
    font-size: clamp(17px, 5vw, 30px) !important;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0px 20px 0px;
}

#myModal img {
    max-width: 1000px;
    padding-bottom: 50px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

img.logo-raiffeisenbank {
    max-width: 400px!important;
    margin: 0 auto;
    display: block;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 60px;
    font-weight: bold;
    margin-top: -30px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

header, footer {

    color: #fff;
    text-align: center;
    padding: 15px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.25);
    padding-left: 0px;

}

header {
    top: 0;
    height: 50px;
}

footer {
    bottom: 0;
    background: white;
}

main {
    padding-top: 80px;
    padding-bottom: 60px;
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
}

.home.container {
    //height: calc( 100vh - 220px );**/
    align-items: center;
    min-height: 700px;
    
    margin-top: 50px;
    margin-bottom: 50px;
}

.info-text a {
    color: black;
    text-decoration: underline;
}

.info-text {
    font-size: 16px;
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.menu-icon {
    font-size: 14px;
    padding: 10px;
    cursor: pointer;
}


.container {
    display: flex;
    justify-content: center;  /* Center horizontally */
    flex-flow: column;
    /*height: 100vh;            /* Adjust this value as needed */
}

.content {
    font-size: 21px;
}
    
.h2-wrapper {
    position: relative;
    z-index: 10;
    display: inline-block;  /* This ensures the wrapper fits the width of the h2 */
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;  /* This ensures clicks pass through the overlay */
}

.center-div {
    /**padding: 40px;**/
    text-align: center;
}

.content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.center-div img {
   width: 100%;
}

h2 {
    font-family: "hoss-sharp", sans-serif;
    font-weight: 900;
    font-style: normal;
    line-height: 0.75;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 0px;
    font-size: clamp(100px, 8vw, 200px);
}

h3 {
    color: #000;
    text-align: center;
    font-family: "hoss-sharp", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: 30px; /* 62.5% */  
}

.menu-icon img.active {
    display: none;
}

.menu-icon.active img {
    display: none;
}

.menu-icon.active img.active {
    display: block;
        margin-bottom: 5px;
}


video::-webkit-media-controls-panel,
video::-webkit-media-controls-panel-container {
    display: none !important;
    opacity: 0 !important;
}

video:focus {
    outline: none;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.video-container {
    margin-top: -80px;
    min-height: 220px;
} 

.video-container video {
    max-width: 100%;
    z-index: -10;
        mix-blend-mode: darken;
}

/* Styles for Home selection */
.home-selected, .home-selected header, .home-selected footer, .home-selected main {
    background-color: #ffffff;
}

/* Styles for Search selection */
.learn-selected, .learn-selected header, .learn-selected footer, .learn-selected main {
    background-color: #5BE569;
}

/* Styles for Favorites selection */
.lehre-selected, .lehre-selected header, .lehre-selected footer, .lehre-selected main {
    background-color: #7D90FF;
}

/* Styles for Profile selection */
.profile-selected, .profile-selected header, .profile-selected footer, .profile-selected main {
    background-color: #FFFFFF;
}

#match-container h2 {
    margin-top: 40px;
}

.footer-banner-container {
    background: white;
    padding: 25px;
    text-align: center;
}

.profile-selected .center-div {
    height: 120px;
}

.social {
    margin: 40px 0px;
}

a {
    text-decoration: none;
    padding: 5px;
}  

img.footer-banner {
    width: 100%;
    max-width: 800px;
    padding: 20px 0px;
    display: block;
    margin: 0 auto;
}


/** Cards **/ 


.tinder *, .tinder *:before, .tinder *:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.tinder {
    width: 100vw;
    height: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
    margin-bottom: 100px;
}

.loaded.tinder {
  opacity: 1;
}

.tinder--status {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  z-index: 2;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.tinder--status i {
  font-size: 100px;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.2s ease-in-out;
  position: absolute;
  width: 100px;
  margin-left: -50px;
}

.tinder_love .fa-heart {
  opacity: 0.7;
  transform: scale(1);
}

.tinder_nope .fa-remove {
  opacity: 0.7;
  transform: scale(1);
}

.tinder--cards {
  flex-grow: 1;
  padding-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  /*align-items: flex-end;*/
  z-index: 1;
}

#match-container p {
    font-size: 24px;
}


div#match-container {
    min-height: 900px;
}

.tinder--card {
  display: inline-block;
  width: 90vw;
  max-width: 450px;
  background: #FFFFFF;
  padding-bottom: 40px;
  border-radius: 40px;
  overflow: hidden;
  position: absolute;
  will-change: transform;
  transition: all 0.6s ease-in-out;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
  height: 660px;
  box-shadow: 8px 0px 12px 0px rgba(0, 0, 0, 0.25);
}

.moving.tinder--card {
  transition: none;
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

.tinder--card img {
    max-width: 380px;
    pointer-events: none;
    margin-top: -10px;
    transform: translateY(-25px);
    margin-bottom: -25px;
}

header img.logo {
    width: 75px;
}

#match-container p {
    font-size: 24px;
}

button.scrollDown {
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 50px;
}

.home button.scrollDown {
    margin-bottom: 0px;
}

.tinder--card h3 {
    margin: 32px auto;
    font-size: 34px;
    padding: 0px;
    pointer-events: none;
    line-height: 40px;
    height: 80px;
    width: 90vw;
    hyphens: auto;
    word-wrap: break-word;
    max-width:  380px;
}

.no-match {
    font-size: 24px;
}

body.learn-selected .content, .lehre-selected .content {
    margin-top: 50px;
}

.tinder--card p {
    margin-top: 0;
    font-size: 26px;
    padding: 10px 40px;
    pointer-events: none;
    transform: translateY(-30px);
    height: 125px;
}

.tinder--buttons {
  flex: 0 0 100px;
  text-align: center;
  max-width: 300px;
  margin: 20px auto;
  cursor: pointer;
}

.menu-icon div {
    color: black;
}

footer {
    padding: 5px;
}

.menu-icon img {
    height: 28px;
    width: 100%;
}

.tinder--buttons button {
    border-radius: 50%;
    line-height: 60px;
    width: 60px;
    border: 0;
    background: #F0E200;
    display: inline-flex;
    height: 60px;
    margin: 0px 8px;
    align-items: center;
    justify-content: center;
}

.profile-selected .center-div {
    height: calc(100vh - 300px - 160px);
    justify-content: center;
    display: flex;
    align-items: center;
    flex-flow: column;
}

.social svg {
    transform: scale(1.5);
    padding: 15px;
}

.profile-selected .container {
    display: flex;
    justify-content: flex-end;
    flex-flow: column;
    height: 300px;
}

.tinder--buttons button:focus {
  outline: 0;
}

button.nope {
    float: left;
}

button.love {
    float: right;
}

.tinder-container .tinder--buttons {
    display:none;
}

.tinder--buttons i {
  font-size: 32px;
  vertical-align: middle;
}

.fa-heart {
  color: red;
}

.fa-remove {
  color: black;
}


.rotateIn {
  -webkit-animation-name: rotateIn;
  animation-name: rotateIn;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes rotateIn {
    0% {
          -webkit-transform-origin: center;
          transform-origin: center;
          -webkit-transform: rotate3d(0, 0, 1, -100deg);
          transform: rotate3d(0, 0, 1, -100deg);
          opacity: 0;
      }
    100% {
      -webkit-transform-origin: center;
      transform-origin: center;
      -webkit-transform: none;
      transform: rotate(10deg);
      opacity: 1;
  }
  }
  @keyframes rotateIn {
  0% {
      -webkit-transform-origin: center;
      transform-origin: center;
      -webkit-transform: rotate3d(0, 0, 1, -100deg);
      transform: rotate3d(0, 0, 1, -100deg);
      opacity: 0;
  }
  100% {
      -webkit-transform-origin: center;
      transform-origin: center;
      -webkit-transform: none;
      transform: rotate(10deg);
      opacity: 1;
  }
} 

.tinder-container.rotateIn {
    pointer-events: none;
}

main {
    transition: opacity 1s ease, transform 1s ease;
}

#match-container .tinder--card {
    margin-left: -150px;
    transform: scale(0.8);
    margin-top: -60px;
    z-index: 100;
    max-height: 600px;
}

#match {
    z-index: 0;
}

.tinder-container {
    z-index: 10;
}

.match-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: relative;
    top: 550px;
    cursor: pointer;
    font-family: "hoss-sharp", sans-serif;
}

.match-buttons a {
    border-radius: 32px;
    background: #F0E200;
    display: flex;
    height: 44px;
    padding: 6px 12px;
    align-items: center;
    gap: 12px;
    width: 200px;
    text-align: center;
    justify-content: center;
}

body.profile-selected {
    font-size: 24px;
}

main.moving {
    touch-action: none;
}

button.scrollDown svg {
    border-radius: 40%;
}

body.profile-selected a {
    color: black;
}

.home.container h2 {
    margin-top: 0px;
}

button#enable {
    background: #F0E200;
    border: none;
    padding: 13px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    color: black;
    font-weight:bold;
}

.info-text.wall {
    border: 1px solid gray;
    font-size: 18px;
    margin: 15px auto;
    border-radius: 40px;
    padding: 30px 20px 10px 20px;
}

.info-text.enabled, .info-text.sub {
    display: none;
}

.info-text.enabled.activated, .info-text.sub.activated {
    display: block;
}


.social-feed-wrapper {
    width: 100%;
    max-width: 750px;
    margin: 30px auto;
    display: block;
}

a.crt-logo.crt-tag {
    bottom: 0px!important;
    font-size: 14px!important;
}


div#social-wall {
    margin-bottom: 50px;
}



@keyframes pulseAnimation {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

@media only screen and (max-width: 750px) {

    .social-feed-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }

}

@media only screen and (max-width: 600px) {
    .tinder {
        zoom: 0.60;
        margin: 10px auto;
    }

    .home.container {
        margin-top: 20px;
        margin-bottom: 0px;
    }


    img.logo-raiffeisenbank {
        max-width: 200px!important;
    }

    .home.container {
        min-height: unset;
    }

    div#match-container {
        zoom: 0.6;
    }

    video#myVideo {
        max-width: 250px;
        margin-bottom: -30px;
    }

    .content {
        padding: 0px 10px;
    }

    .content {
        font-size: 16px;
    }

    .profile-selected .center-div {
        margin-top: 10px;
        height: 260px;
    }

    .social {
        margin: 10px 0px;
    }

    body.profile-selected .contact, body.profile-selected .social {
        font-size: 18px;
    }

    .match-buttons a {
        width: 250px;
        font-size: 24px;
    }


}