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

#text-download {
    flex-grow: 2;
    height: 100%;
    align-items: flex-start;
    z-index: 2;
    padding-left: 15%;
}

#text-download h1 {
    text-align: left;
}


#image-download {
    flex-grow: 1;
    width: 50%;
    height: 100%;
    z-index: 2;
}

#image-download img {
        margin-top: 40vh;
        height: 100%;
}

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

.mediumSpacer .mediumText {
    font-size: 4rem;
    color: white;
}

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

.mediumSpacer a {
    margin-bottom: 2rem;
    color: white;
    font-size: 2.5rem;
}

.vertical-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.intro p {
    text-align: center;
    font-size: 2rem;
}

.container h1,
.container p,
.container a,
.container li {
    color: #30363D;
}

.container {
    padding-top: 15vh;
}

.container .textSpacer {
    height: unset;
}

.container .vertical-box {
    gap: 5vh;
}

    .container h1 {
        font-weight: normal;
        letter-spacing: .125rem;
        text-transform: uppercase;
    }

.container li {
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 1em;
    text-transform: uppercase;
}

    li span {
        display: block;
        font-size: 4.5rem;
    }

.container .emoji {
    display: none;
    padding: 1rem;
}

    .emoji span {
        font-size: 4rem;
        padding: 0 .5rem;
    }

.benefits {
    width: 100%;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 5vh;
}

.benefit {
    width: 100%;
    justify-content: space-around;
}

.reversed {
    flex-direction: row-reverse;
}

.benefitImage {
    height: 60%;
    width: 50%;
    overflow: hidden;
}

.benefit.reversed .benefitImage {
    margin-right: 0;
}

.benefitImage img {
    width: 100%;
}

.benefitImage .img_benefitsFormat {
    width: 100%;
    height: auto;
}

.benefitText {
    height: 60%;
    width: 80%;
    margin-left: 5%;
    margin-right: 1%;
    align-items: flex-start;
    text-align: left;
}

#left.benefitText {
    margin-left: 1%;
    margin-right: 5%;
}

.benefitText p {
    color: #30363D;
}

.benefitText .mediumText {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 0;
}

.ag-format-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.ag-timeline-block {
    padding-top: 5rem;
    width: 80vw;
}

.ag-timeline-block p{
    color: white;
}

.ag-timeline-block a {
    color: white;
    font-size: 1.5rem;
}

.ag-timeline_item {
    margin: 0 0 50px;
    position: relative;
}

    .ag-timeline_item:nth-child(2n) {
        text-align: right;
    }

.ag-timeline {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.ag-timeline_line {
    width: 4px;
    background-color: #30363D;
    position: absolute;
    top: 2px;
    left: 50%;
    bottom: 0;
    overflow: hidden;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.ag-timeline_line-progress {
    width: 100%;
    height: 20%;
    background-color: #317794;
}

.ag-timeline-card_box {
    padding: 0 0 20px 50%;
}

.ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
    padding: 0 50% 20px 0;
}

.ag-timeline-card_point-box {
    display: inline-block;
    margin: 0 14px 0 -26px;
}

.ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
    margin: 0 -24px 0 14px;
}

.ag-timeline-card_point {
    height: 50px;
    line-height: 50px;
    width: 50px;
    border: 3px solid #30363D;
    background-color: #1d1d1b;
    text-align: center;
    font-family: 'ESL Legend', sans-serif;
    font-size: 20px;
    color: #FFF;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.js-ag-active .ag-timeline-card_point {
    color: #1d1d1b;
    background-color: #317794;
}

.ag-timeline-card_meta-box {
    display: inline-block;
}

.ag-timeline-card_meta {
    margin: 10px 0 0;
    font-family: 'ESL Legend', sans-serif;
    font-weight: bold;
    font-size: 28px;
    color: #30363D;
}

.ag-timeline-card_item {
    display: inline-block;
    width: 45%;
    margin: -77px 0 0;
    background-color: #317794;
    opacity: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -o-box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    box-shadow: 0 0 0 0 rgba(0,0,0,.5);
    -webkit-transition: -webkit-transform .5s, opacity .5s;
    -moz-transition: -moz-transform .5s, opacity .5s;
    -o-transition: -o-transform .5s, opacity .5s;
    transition: transform .5s, opacity .5s;
    position: relative;
}

.ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item {
    -webkit-transform: translateX(-200%);
    -moz-transform: translateX(-200%);
    -ms-transform: translateX(-200%);
    -o-transform: translateX(-200%);
    transform: translateX(-200%);
}

.ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    -webkit-transform: translateX(200%);
    -moz-transform: translateX(200%);
    -ms-transform: translateX(200%);
    -o-transform: translateX(200%);
    transform: translateX(200%);
}

.js-ag-active.ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
.js-ag-active.ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.ag-timeline-card_arrow {
    height: 18px;
    width: 18px;
    margin-top: 20px;
    background-color: #317794;
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.ag-timeline_item:nth-child(2n+1) .ag-timeline-card_arrow {
    margin-left: calc(-18px / 2);
    margin-right: calc(-18px / 2);
}

.ag-timeline_item:nth-child(2n) .ag-timeline-card_arrow {
    margin-left: -10px;
    right: auto;
    left: 0;
}

.ag-timeline-card_img {
    width: 100%;
}

.ag-timeline-card_info {
    padding: 20px 30px;
}

.ag-timeline-card_title {
    display: none;
    margin: 10px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 3rem;
    color: white;
}

.ag-timeline-card_desc {
    color: white;
    font-size: 2rem;
}

.registrationCTA button {
    margin-top: 2.5%;
    color: white;
    background-color: #317794;
}

#partners {
    width: 100%;
    margin: 5vh 0 5vh 0;
}

#partners .white-spacer {
    margin-top: 0;
}

#partners .bigText {
    color: #30363D;
}

#logos {
    margin-top: 5vh;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
}

.logo {
    background-color: white;
    width: 25vw;
    height: 20vh;
    border-color: #317794;
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    margin: 4vh 5vh;
    transition: 0.5s;
}

.logo:hover {
    border-width: 5px;
}

.logo-image {
    width: 90%;
    height: 80%;
    transition: 0.5s;
}

.logo-image:hover {
    width: 100%;
    height: 90%;
}

.logo img {
    width: 40%;
}

.logo p {
    margin: 0;
    height: 20%;
    color: gray;
    text-align: center;
}

.not-visible {
    display: none;
}

#toggle-partners {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

@media only screen and (max-width: 1200px) {
    .container {
        padding-top: 5vh;
    }

    .ag-format-container {
        width: 960px;
    }
}

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

    #statement h3 {
        font-size: 4rem;
    }

    #statement p {
        font-size: 3rem;
    }

    .featureBox h3 {
        font-size: 4rem;
    }

    .featureBox h4 {
        font-size: 3rem;
    }

    #image-download {
        display: none;
    }

    #text-download {
        height: 50%;
        padding-left: 0;
        align-items: center;
    }

        #text-download h1 {
            text-align: center;
        }

    .ag-timeline_line {
        left: 30px;
    }

    .ag-timeline_item:nth-child(2n) {
        text-align: left;
    }

        .ag-timeline-card_box,
        .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
            padding: 0 0 20px;
        }

    .ag-timeline-card_meta-box {
        display: none;
    }

    .ag-timeline-card_point-box,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
        margin: 0 0 0 8px;
    }

    .ag-timeline-card_point {
        height: 40px;
        line-height: 40px;
        width: 40px;
    }

    .ag-timeline-card_item {
        width: auto;
        margin: -65px 0 0 75px
    }

    .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
    .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
        -webkit-transform: translateX(200%);
        -moz-transform: translateX(200%);
        -ms-transform: translateX(200%);
        -o-transform: translateX(200%);
        transform: translateX(200%);
    }

    .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_arrow {
        right: auto;
        left: 0;
    }

    .ag-timeline-card_title {
        display: block;
    }

    .ag-timeline-card_arrow {
        margin-top: 12px;
    }

    .ag-format-container {
        width: 750px;
    }
}

@media only screen and (max-width: 750px) {
    .ag-format-container {
        width: 96%;
    }

    .ag-timeline-card_img {
        height: auto;
        width: auto;
    }
}

@media only screen and (max-width: 650px) {
    .ag-timeline-card_info {
        padding: 10px 15px;
    }

    .ag-timeline-card_desc {
        font-size: 14px;
    }
}

@media (orientation: portrait) {
    .reasonText {
        flex-direction: column;
    }

    #reasonWhy.vertical-box {
        gap: 2vh;
    }

    .services .vertical-box {
        gap: 3vh;
    }

    .service {
        height: auto;
    }

    .services p {
        text-align: center;
    }

    .service h3 {
        text-align: center;
        font-size: 4rem;
    }

    .services .white-spacer {
        margin-bottom: 5%;
    }

    .service.horizontal-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .service.horizontal-box .bigText {
            text-align: center;
            margin-top: 5vh;
        }

    .serviceDescription {
        width: 80%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .benefits {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10vh;
        margin-top: 10%;
        height: unset;
    }


        .benefits .horizontal-box {
            flex-direction: column;
            gap: 2vh;
        }

    .benefitText {
        align-items: center;
        text-align: center;
        font-size: 2rem;
    }

    .benefitImage {
        height: 60%;
        overflow: hidden;
    }

    #partners {
        margin-top: 5vh;
    }

    #logos {
        flex-direction: column;
        flex-wrap: nowrap;
        height: auto;
    }

    .logo {
        width: 50vw;
        height: 20vh;
        margin-bottom: 5%;
    }

        .logo img {
            width: 40%;
        }
}