﻿#download-now {
    background-image: url(../img/PageHeaders/App-Login.jpg);
    background-size: cover;
    background-position: center;
    height: 80vh;
    width: 100%
}

#text-download {
    text-align: left;
    padding: 5% 15%
}

    #text-download h1 {
        font-size: 5rem;
        color: #fff;
        margin-bottom: 1rem
    }

    #text-download p {
        font-size: 2rem;
        color: #fff
    }

#logosDownload {
    margin-top: 2rem
}

    #logosDownload img {
        width: 200px;
        margin-right: 20px
    }

/* Carousel */
.carousel-container {
    width: 80%;
    margin: 10vh auto;
    position: relative;
    overflow: hidden;
    border: 5px solid #317794;
    border-radius: 35px;
}

.carousel-slide {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem;
    box-sizing: border-box;
}

    .carousel-item .content {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

        .carousel-item .content p {
            width: 60%;
            margin-right: 1rem;
            font-size: 2rem;
            font-weight: 500;
        }

    .carousel-item h2 {
            font-weight: 600;
    }

.image-content {
    width: 40%;
    height: auto;
}

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

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

    .carousel-dots span {
        width: 30px;
        height: 30px;
        background-color: #6D6E71;
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .carousel-dots span.active {
            background-color: #317794;
            width: 40px;
            height: 40px;
        }

#ctaBox {
    margin: 5vh auto;
}

.mediumSpacer {
    width: 80%;
    height: fit-content;
    border-radius: 10px;
    background-image: linear-gradient(to left, #359980, #2f60a2);
    display: flex;
    flex-direction: column;
}

    .mediumSpacer h4 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

.logosDownload {
    display: flex;
    flex-direction: row;
    gap: 1vw;
    align-items: center;
    margin: 2vh auto 3vh auto;
    width: 100%;
    justify-content: center;
}

#ctaBox .logosDownload {
    width: 80%;
}

.logosDownload .downloadSVG {
    width: 100%;
    max-width: 180px;
}

/* Advantages */
.advantages {
    margin: 10vh auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    width: 80%
}

.advantages-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1vh;
    width: 45%;
}

.advantages-list-element {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1vh;
}

.advantages-icon-circle {
    background-color: #317794;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.advantages-icon {
    width: 70%;
    height: 70%;
}

.advantages-img {
    width: 45%;
    height: auto;
}

/* How it Works */
.howItWorks {
    width: 95%;
    margin: 10vh auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3vh;
    width: 90%;
}

.howItWorks-content {
    display: flex;
    align-items: stretch;
    margin: auto auto;
    justify-content: space-between;
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
    .section.mitfahrende,
    .section.fahrende {
        width: 30%;
        align-items: flex-start;
        justify-content: space-between;
    }

    .section.fahrende {
        align-items: flex-end;
    }

    .section.mockup {
        width: 35%;
        align-items: center;
        display: flex;
        justify-content: center;
    }

.title {
    background-color: #30363D;
    color: white;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    width: fit-content;
}

.points-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bullet {
    background-color: #30363D;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subBullet {
    background-color: #FFFFFF;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.text {
    text-align: left;
    flex: 1;
    font-size: 1.5rem;
}

.mockup img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Try out now */
.tryOutNow {
    width: 80%;
    margin: 10vh auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5vh;
}

.tryOutNow-content {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3vw;
}

.tryOutNow-Card {
    width: 20%;
    height: 30vw;
    perspective: 1000px;
    /*cursor: pointer;*/
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}
/*
.tryOutNow-Card:hover .card-inner {
    transform: rotateY(180deg);
}
*/

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden; /* Safari */

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 2vh;
    box-sizing: border-box;
    border-radius: 2vw;
}

.card-back {
    transform: rotateY(180deg);
    background-color: #317794;
}

.largeNumber {
    width: 30%;
}

.cardExplanation {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
}

.howItWorks-image {
    width: 80%;
    height: auto;
}

.card-back p {
    font-size: 1.2rem;
    color: #30363D;
    text-align: center;
}

.tryOutNow-Card {
    flex: 1;
}

/* Multiple (Gradient) */
/* https://github.com/NeXTs/Multiple.js */
.multiple-desktop {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.multiple-desktop-text {
    background: -webkit-linear-gradient(transparent, transparent);
    background: -o-linear-gradient(transparent, transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.multiple-mobile-wrapper {
    position: relative;
    height: 100%;
}

.multiple-mobile {
    /* old browsers */
    clip: rect(0 auto auto 0);
    clip: rect(0, auto, auto, 0);
    /* ios workaround */
    -webkit-mask-image: -webkit-linear-gradient(top, #fff 0%, #fff 100%);
    /* new browsers */
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.multiple-mobile-content {
    height: 100%;
}

.multiple-mobile:before {
    content: '';
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}


/* Questions */
.questions {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
}

    .questions img {
        width: 15vw;
    }

@media only screen and (min-width: 1300px) and (max-width: 1550px) {
    .carousel-dots span {
        width: 22.5px;
        height: 22.5px;
    }

        .carousel-dots span.active {
            width: 30px;
            height: 30px;
        }
}

@media only screen and (min-width: 1100px) and (max-width: 1300px) {
    .carousel-dots span {
        width: 18.75px;
        height: 18.75px;
    }

        .carousel-dots span.active {
            width: 25px;
            height: 25px;
        }
}

@media only screen and (max-width: 1100px) {
    .carousel-dots span {
        width: 15px;
        height: 15px;
    }

        .carousel-dots span.active {
            width: 20px;
            height: 20px;
        }
    .carousel-item h2 {
        font-size: 3rem; 

    }
}

@media only screen and (max-width: 1000px) {
    .advantages-icon-circle {
        width: 30px;
        height: 30px;
    }

    .questions {
        visibility: hidden;
    }

    .advantages {
        gap: 5vh;
    }

    .advantages-row {
        flex-direction: column;
        gap: 2.5vh;
    }

    .advantages-list {
        width: 100%;
    }

    .advantages-img {
        width: 80%;
    }

    .advantages-row:first-child .advantages-list {
        order: 2;
    }

    .advantages-row:first-child .advantages-img {
        order: 1;
    }

    .advantages-row:last-child .advantages-list {
        order: 1;
    }

    .advantages-row:last-child .advantages-img {
        order: 2;
    }
}

@media only screen and (max-width: 900px) {
    .bullet {
        display: none;
    }

    .subBullet {
        display: none;
    }

    .howItWorks-content {
        flex-direction: column;
        gap: 3vh;
    }

    .section.mitfahrende {
        width: 100%;
        align-items: center;
    }

    .section.fahrende {
        width: 100%;
        align-items: center;
    }

    .section.mockup {
        width: 100%;
        align-items: center;
    }

    .mockup img {
        width: 80%;
    }

    .tryOutNow {
        display: none;
    }
}