@font-face {
    font-family: Comfortaa;
    src: url("Comfortaa-Regular.ttf")
}

* {
    box-sizing: border-box;
    font-family: Comfortaa;
    scroll-behavior: smooth;
    /* transition: all 1s; */
}

/* HTML BODY */
html,
body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
    position: relative;
    /* overflow: hidden; */
}

.mobile-show{
    display: none;
}

/* MAIN */
main {
    position: relative;
    display: flex;
    flex-direction: column;
    /* overflow: auto; */
}

/* COOKIE BANNER */
.cookie-banner{
    display: none;
    position: fixed;
    top: 50%;
    width: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    padding: 12px;
    z-index: 1;
    box-shadow: 0px 0px 15px -3px rgba(0,0,0,0.9);
    min-width: 360px;
}
.cookie-btns{
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.cookie-btns button{
    padding: 10px;
    border:none;
    width: 100%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btns button:hover{
    outline: 1px solid black;
}

/* TOP HEADER */

.header-top {
    width: 100%;
    min-height: 70px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #518cc5;
}

.header-top-content {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 10px;
}

.header-top-content * {
    font-size: 20px;
}
.header-top-content a,#contact a{
    color: white;
    text-decoration: none;
}

/* HEADER */
header {
    display: flex;
    background-color: black;
    width: 100%;
    min-height: 120px;
    align-items: center;
    background-color: rgb(56, 62, 66);
    transition: all 0.2s;
}

.header-content {
    padding: 0px 5%;
    padding-right: 10%;
}

.header-left-content {
    flex: 1;
}

.header-right-content {
    flex: 0;
}

.header-brand {
    color: white;
    font-size: 30px;
}

/* ASIDE */
.aside-toggleBtn {
    border: none;
    background-color: transparent;
    color: white;
    transform: rotate(90deg);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* LOADING SCREEN */
.loading-screen{
    position: fixed;
    background-color: #284976;
    width: 100%;
    height: 100%;
    z-index: 111;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s;
    flex-direction: column;
    animation: popInBottom 0.3s;
}

.loading-screen-btn{
    background-color: rgb(56, 62, 66);
    display: none;
}

.loading-screen.success .loading-screen-btn{
    display: inline-block;
}

.loading-screen.failed .loading-screen-btn{
    display: inline-block;
}

.loading-screen.success{
    background-color: #003e1f;
}

.loading-screen.failed{
    background-color: #ef233c;
}

.loading-screen-msg{
    color: white;
    font-size: 25px;
}

.loading-screen.success .lds-facebook{
    display: none;
}

.loading-screen.failed .lds-facebook{
    display: none;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #fff;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  }
  .lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
  }
  .lds-facebook div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
  }
  .lds-facebook div:nth-child(3) {
    left: 56px;
    animation-delay: 0;
  }
  @keyframes lds-facebook {
    0% {
      top: 8px;
      height: 64px;
    }
    50%, 100% {
      top: 24px;
      height: 32px;
    }
  }
  

/* SECTION */
section {
    display: flex;
    background-color: white;
    width: 100%;
    min-height: 900px;
    max-height: 1080px;
    /* height: 100vh; */
    /* min-height: 500px; */
    align-items: center;
    animation: slideInTop 1s infinite ease-in-out;
}

.section-small {
    min-height: auto;
}

.section-small .section-content {
    padding-top: 0px;
    padding-bottom: 0px;
}

section:first-child {
    /* margin-top: 110px; */
    padding-bottom: 110px;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

.section-title {
    padding: 12px;
    border-radius: 12px;
    background-color: #284976;
    color: white;
    width: 150px;
    text-align: center;
}

.section-content {
    display: flex;
    padding: 50px 10%;
    width: 100%;
    height: 100%;
    align-items: center;
}

.section-content-column {
    flex-direction: column;
    padding: 50px 0px !important;
}

.section-content-start {
    justify-content: flex-start;
}

.section-content-top {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
    padding: 0px 10%;
}

.section-content-bottom {
    display: flex;
    flex-direction: column;
    /* flex: 1; */
    width: 100%;
    height: 100%;
}

.section-content-left {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.section-content-right {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.section-content-full {
    flex: 3;
}

/* IMAGE */
.icon {
    width: 20px;
    height: auto;
}

.logo-img {
    width: 300px;
    height: auto;
}

.content-image {
    height: 500px;
    border: 5px solid white;
    margin: auto;
}

.formular-img {
    background-color: white;
}

/* TEXT */
.title {
    /* font-size: 3vw; */
    margin-left: 0px;
    margin: 5px;
    margin-top: 40px;
    line-height: 140%;
    font-size: 55px;
    margin-left: 0px;
}

.under-title {
    font-size: 13px;
    margin-bottom: 24px;
}

.info-text-small {
    font-size: 12px;
}

/* BUTTONS */
.btn-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.btn {
    border: none;
    padding: 12px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    transition: all 1s;
}

.btn:hover {
    background-color: white;
    color: black;
    outline: 1px solid black;
}

.btn-primary {
    background-color: #284976;
    min-width: 130px;
}

.btn-secondary {
    background-color: #518cc5;
    min-width: 230px;
}

/* SLIDER */
.slider-wrapper {
    position: relative;
    display: flex;
    width: 50vw;
    height: 60vh;
}

.slider-image {
    /* animation: fadeIn 0.2s; */
    height: 100%;
    margin: auto;
}

.slider-btn {
    border: none;
    background-color: rgb(56, 62, 66);
    color: white;
    position: absolute;
    top: 50%;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-btn:hover {
    background-color: rgb(30, 34, 36);
}

.slider-btn-left {
    left: 0px;
}

.slider-btn-right {
    right: 0px;
}

img[slider] {
    animation: slideInRight 1s;
}

p[slider] {
    animation: popInTop 1s;
}

/* INFO CARD */
.info-card {
    background-color: rgb(56, 62, 66);
    display: flex;
    flex-direction: column;
    width: 1200px;
    height: 100%;
    position: relative;
    color: white;
    padding: 50px;
    padding-left: 180px;
    /* padding-right: 230px; */
    /* padding-right: 180px; */
}

.info-card h3,
.info-card h4 {
    margin: 6px 0px;
}

.info-card h4 {
    font-size: 20px;
}

.info-text {
    font-size: 14px;
    line-height: 140%;
}

.image-card {
    position: absolute;
    min-height: 70%;
    width: 200px;
    top: 50%;
    left: 0px;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 5px solid #518cc5;
    border-radius: 15px;
    overflow: hidden;
    color: black;
    padding: 0px 24px;
    padding-top: 20px;
}

.image-card-image {
    min-height: fit-content;
    width: 40vw;
    border: 20px solid white;
    border-radius: 0px;
    padding: 0px;
}

.image-card img {
    width: 100%;
}

.image-card-name {
    text-align: center;
    color: #518cc5;
}

.hint-text {
    font-size: 12px;
}

.tel-text {
    color: #518cc5;
}

.center-text {
    text-align: center;
}

.logo-wrapper {
    display: flex;
    justify-content: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
}

.logo-wrapper img {
    width: 50px;
}

/* TEAM CARD */
.team-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
}

.team-card {
    display: flex;
    flex-direction: column;
    width: min-content;
    height: fit-content;
    height: 100%;
    padding-top: 10%;
    margin: auto;
    transition: all 0.5s;
    text-align: center;
}

/* .team-card:hover {
    scale: 1.1;
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
} */

.team-card img {
    width: 100%;
    
}

.team-card .img-fix {
    width: 100%;
    transform: translateY(20px);
    
}

.team-card .img-fix-large {
    width: 80%;
    transform: translateY(20px);
    
}

.img-circle-wrapper {
    margin: 0px auto;
    width: 250px;
    height: 250px;
    border-radius: 100%;
    background-color: #518cc5;
    padding: 10px;
}

.img-circle-inner {
    border-radius: 100%;
    border: 30px solid white;
    width: 100%;
    height: 100%;
    background-color: rgb(231, 231, 231);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.highlight-text-underline {
    color: #518cc5;
    text-decoration: underline;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 30px;
    font-size: 14px;
}

.highlight-text-italic {
    color: #518cc5;
    font-style: italic;
    /* font-size: 13px; */
}

.team-card-name {
    text-align: center;
    color: black;
    margin-bottom: 0px;
    margin-top: 30px;
    font-size: 14px;
}

.team-card-large .img-circle-wrapper {
    width: 300px;
    height: 300px;
}

.team-card-large {
    padding: 0px 80px;
    height: 550px;
    /* margin: auto; */
    /* height: fit-content; */
}

/* SECTION CONTENT BANNER */
.section-content-banner {
    background-color: #518cc5;
    height: 100%;
    width: 100%;
    color: white !important;
    padding: 50px 0px;
}
.section-content-banner--dark{
    background-color: rgb(56, 62, 66);
}

/* UL LI */
li {
    margin: 5px 0;
    padding-left: 24px;
}

/* SECTION FOOTER */
.section-footer {
    background-color: #518cc5;
    padding: 0px !important;
    justify-content: space-between;

}

.section-footer .section-content-left {
    background-color: rgb(56, 62, 66);
    padding: 0px 5%;
    max-width: 40%;
    display: flex;
    justify-content: space-around;
    color: white;
}

.section-footer .section-content-right {
    background-color: rgb(56, 62, 66);
    max-width: 40%;
}

.section-footer .logo-wrapper {
    width: 20%;
    background-color: white;
    margin-bottom: auto;
    margin-top: 50px;
}

.section-footer .logo {
    width: 200px;
    background-color: white;
    padding: 16px;
}

.section-footer .icon {
    width: 50px;
}

.footer-info-text {
    font-size: 25px;
    line-height: 130%;
}

.icon-label-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    width: 100%;
    display: flex;
    justify-content: center;
    color: white;
    gap: 12px;
}

.footer-links a {
    color: white;
}

/* CONTACT FORM */
.contact-form {
    position: absolute;
    top: 545px;
    left: 170px;
    display: flex;
    flex-direction: column;
    color: white;
    width: 800px;
    gap: 25px;
    transform: translate(-50%, -50%);
}

.contact-form h1 {
    margin: 0px;
    font-size: 45px;
    font-weight: normal;
}

.form-input,
.form-input-textarea {
    padding: 16px;
    border: 1px solid #cccccc;
}

.form-input-textarea {
    resize: none;
    height: 150px;
}

.contact-form .btn-primary {
    width: fit-content;
    margin: auto;
    margin-top: 15px;
}

/* FORMULAR */

.formular-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.formular-img-wrapper {
    width: min-content;
    cursor: pointer;
    transition: scale 0.2s;
}
.formular-img-wrapper:hover{
    scale: 1.1;
}

.formular-img-wrapper p {
    font-size: 12px;
}

/* MODAL */
.modal {
    position: fixed;
    display: flex;
    width: 100%;
    min-width: 800px;
    height: 100%;
    background-color: rgb(56, 62, 66);
    z-index: 10000;
    top: 0px;
    flex-direction: column;
    animation: popInBottom 0.5s;
}

.modal-content {
    background-color: white;
    width: 50%;
    min-width: 500px;
    height: 100%;
    margin: 0px auto;
    overflow-y: auto;
    /* color: white; */
    padding: 20px;
}

.modal-top {
    background-color: #518cc5;
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 10%;
    padding-right: 5%;
}

.modal-close {
    height: 30px;
    margin-left: auto;
    cursor: pointer;
    transition: all 1s;
}

.modal-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto
}

.modal-close-label {
    color: white;
}

.modal-close:hover {
    transform: rotate(180deg);
}

/*  */
.is-hidden {
    display: none;
}

/* CASAVI */
.casavi-wrapper {
    display: flex;
    flex-direction: column;
    /* max-width: fit-content; */
    width: 382px;
    /* max-width: 500px; */
}

.casavi-header {
    display: flex;
}

.casavi-content {
    display: flex;
    flex-direction: column;
}

.casavi-content-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

.casavi-content-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.casavi-content-box .img-casavi {
    width: 100%;
    /* max-width: 340px; */
    height: auto;

}
.casavi-header-text{
    font-size: 18px;
}

.mobile-show{
    display: none !important;
}

/* ANIMATIONS */
#start .section-content-left{
    animation: slideInBottom 1s;
}
/* TEXT */
.hint{
    font-style: italic;
}
/*  */
.youtube-iframe{
    /* height: 80%;
    width: 80%; */
}

/* ############ */
.content-banner {
    background-color: #f3f6fa;
    text-align: center;
    padding: 3rem 1rem;
    width: 100%;
    font-family: 'EureHausschrift', sans-serif;
    color: #284976;
  }

  .content-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }

  .content-banner p {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  .icon--cross {
    margin: 0 0.2rem;
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .content-banner h3 {
      font-size: 1.4rem;
    }

    .content-banner p {
      font-size: 1rem;
    }
  }
/* ########## */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideInBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}


@keyframes slideInLeft {
    0% {
        margin-left: 0;
        opacity: 0;
    }

    100% {
        margin-left: 100%;
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(10px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes popInTop {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes popInBottom {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes hoverImg {
    0% {
        scale: 1;
    }

    100% {
        scale: 1.2;
    }
}


@media only screen and (max-width: 1150px) {
    .section-content {
        height: 100%;
        flex-direction: column;
        align-items: center;
        padding: 25px;
        gap: 50px;
    }

    .title {
        font-size: 30px !important;
    }

    .slider-image {
        width: 100%;
        height: auto;
    }

    .team-wrapper {
        flex-wrap: wrap;
    }

    .team-card {
        margin: auto;
        min-width: 400px;
    }
    .modal{
        min-width: 100%;
    }
    .modal-content{
        min-width: 100%;
        width: 100%;
        text-wrap: wrap;
        font-size: 12px;
    }
    .youtube-iframe{
        width: 100%;
    }
    .section-content-banner{
        padding: 0px !important;
    }
    .section-content-right{
        padding-right: 0px !important;
    }
}

@media only screen and (max-width: 1740px) {
    .title{
        font-size: 40px;
    }
    .section-content{
        padding: 50px 5%;
    }

}

@media only screen and (max-width: 1920px) {
    header {
        min-height: 100px;
    }

    .header-brand {
        font-size: 20px;
    }

    .header-top {
        min-height: 50px;
    }

    .header-top-content * {
        font-size: 15px;
    }

    .logo-img {
        width: 200px;
    }
}

/* MOBILE */
@media only screen and (max-width: 1280px) {
    main{
        overflow-y: auto;
        overflow-x: hidden;
    }
    .mobile-hidden {
        display: none !important;
    }

    .header-small{
        position: relative;
        min-height: 50px;
    }
    .header-small .header-brand{
        display: none;
    }

    .header-brand{
        font-size: 15px;
    }
    #start .section-content{
        padding-top: 70px !important;
        height: 100%;
        margin-bottom: 50px;
    }
    #start .section-content-left{
        align-items: center;
    }
    #start .section-content-right{
        display: none;
    }
    #start .btn-primary{
        display: none;
    }
    #start .btn-secondary{
        margin: auto;
    }
    section {
        flex-direction: column;
        width: 100%;
        min-height: auto;
        max-height: none;
        margin-bottom: 50px;
    }

    .section-content {
        width: 100%;
        height: 100%;
        padding: 0px !important;
        /* gap: 0px !important; */
    }

    .section-content-top {
        align-items: center;
        margin: 0px !important;
    }

    .section-content-left {
        padding: 0px !important;
    }

    /* START */
    .logo-img {
        width: 50%;
        margin: auto;
    }

    .title,
    .under-title {
        text-align: center;
    }
    .under-title br{
        display: none;
    }

    section:first-child {
        min-height: auto;
        padding-bottom: 0px;
    }

    section#start .section-content-left {
        /* height: 100vh; */
        justify-content: space-between;
    }

    section#start .section-content-right {
        width: 100%;
    }

    .section-content-right .slider-wrapper {
        width: 100%;
        height: 100%;
    }

    .btn-secondary {
        min-width: fit-content;
    }

    /* INFO CARD */
    .info-card,
    .section-content-banner {
        width: 100% !important;
        padding: 30px !important;
        padding-top: 40px !important;
        border-radius: 5px;
        height: 100%;
    }
    .info-card .section-content{
        gap: 0px !important;
    }

    .info-card h3,
    .info-card h4 {
        text-align: center;
    }

    .info-card .btn-secondary {
        margin: auto;
    }

    .image-card {
        display: none;
        /* display: flex; */
        flex-direction: row;
        flex-wrap: wrap;
        top: 0px;
        left: 50%;
        min-height: auto;
        /* width: 100%; */
        /* height: 100px; */
    }

    /* TEAM CARD */
    .team-card {
        min-width: auto;
        height: auto;
        text-align: center;
    }

    .team-wrapper {
        gap: 50px;
    }

    /* section-content-banner */
    /* .section-content-banner{

    } */
    .content-image {
        height: auto;
        width: 100%;
    }

    /* CONTACT / FOOTER */
    #contact{
        margin-bottom: 0px;
    }
    .section-footer {
        flex-direction: column-reverse;
        background-color: rgb(56, 62, 66);
    }

    .section-footer .section-content-left {
        max-width: none;
        padding: 12px;
    }

    .footer-left,
    .section-footer .section-content-right {
        padding: 12px !important;
        /* padding-top: 50px !important; */
        border-radius: 5px;
        gap: 25px;
    }

    .contact-form {
        position: relative;
        top: 0px;
        left: 0px;
        width: 100%;
        transform: none;
    }

    .contact-form h1 {
        font-size: 20px;
        text-align: center;
    }

    .form-input {
        width: 100%;
    }

    .section-footer .section-content-right {
        width: 100%;
        max-width: none;
        padding: 12px;
    }

    .footer-top {
        margin-left: 0px !important;
        padding-top: 0px !important;
        justify-content: center;
    }
    .footer-info-text{
        font-size: 20px;
    }
    .mobile-show{
        display: inherit !important;
    }
    .contact-form h1{
        text-align: center;
        margin: auto;
    }
    /* CASAVI */
    .casavi-wrapper{
        padding: 12px;
    }
    .casavi-header-text{
        font-size: 15px;
    }
    #reference .section-content-inner{
        padding: 0px !important;
    }
    #reference .section-content-left{
        margin: auto !important;
    }
    /* MODAL */

}