/****************************************************************************/
/****************************************************************************/
/*ELEMENTS'STYLE*************************************************************/
/****************************************************************************/
/****************************************************************************/


/******/
/*MAIN*/
/******/

main {
    padding: 0;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
}

/**************/
/*PRESENTATION*/
/**************/

#presentation {
    display: flex;
    height: 100svh;
    padding: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    gap: 2.5rem;
}

#headlines {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    flex: 1 0 0;
    max-width: 50%;
}

#headlines :nth-child(1) {
    opacity: 0;
    animation: reveilBottomUp 1s 0s ease-out forwards;
}

#headlines :nth-child(2) {
    opacity: 0;
    animation: reveilBottomUp 1s .2s ease-out forwards;
    max-width: 26rem;
}

#headlines :nth-child(3) {
    opacity: 0;
    animation: reveilBottomUp 1s .4s ease-out forwards;
}

.callToAction_btn {
    display: flex;
    height: 2.5rem;
    padding: 0 1rem;
    justify-content: center;
    align-items: center;
    border-radius: 2.5rem;
    background: var(--Koi-Lighterer, #FFECDA);
    border: none;
    color: #FF8450;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    cursor: pointer;
}


#first_logo {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    flex: 1 0 0;
    align-self: stretch;
}

#first_logo img {
    width: auto;
    align-self: stretch;
    aspect-ratio: 785.00/502.20;
    max-height: 100%;
    max-height: -moz-available;
    max-height: -webkit-fill-available;
    /*animation*/
    opacity: 0;
    animation: slideRightLeft 1s ease-out .4s forwards;
}

/***********/
/*Separator*/
/***********/

#separator {
    display: flex;
    padding: 75px 80px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 75px;
    align-self: stretch;
}

.line {
    height: 0.08rem;
    background-color: var(--white);
    width: 100%;
}

/*******/
/*CARDS*/
/*******/

#cards {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card {
    display: flex;
    padding: 2.5rem;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.card>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.card:nth-child(even)>div {
    display: flex;
    flex-direction: row-reverse;
}

.card>div>img {
    display: flex;
    width: 60%;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    border-radius: 0.33rem;
}

.cardTextContainer {
    display: flex;
    width: 100%;
    width: fit-content;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.cardTextContainer p,
.cardTextContainer h3 {
    max-width: 26rem;
    width: fit-content;
}

/***********/
/*FINAL CTA*/
/***********/

#final_cta {
    display: flex;
    padding: 2.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    align-self: stretch;
}

#final_cta>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    align-self: stretch;
}

#final_cta img {
    max-height: 80svh;
    max-width: 100%;
}

#final_cta h3 {
    text-align: center;
}


/********/
/*FOOTER*/
/********/

footer {
    display: flex;
    padding: 0 2.5rem 1.5rem 2.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    align-self: stretch;
    margin-top: 2.5rem;
}

footer>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    align-self: stretch;
}

#footer_info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    flex-direction: row;
}


/************/
/*EMAIL FORM*/
/************/

#dialog {
    /*max-width: 70svh;*/
    border-radius: 1rem;
    background: var(--color2);
    box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.25);
    border: none;
    padding: 1rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
}

::backdrop {
    background: black;
    opacity: 0.25;
}

#email_form *,
#close_dialog,
button {
    /*h5*/
    color: var(--color1);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
}

#dialog_close_container {
    width: calc(100% - 2rem);
    display: flex;
    justify-content: flex-end;
    position: absolute;
}

#close_dialog {
    height: 1.5rem;
    fill: var(--color1)
}

#close_dialog:hover {
    cursor: pointer;
}

#dialog_header {
    display: flex;
    flex-direction: column;
    gap: 3.5svh;
    margin: 0.5rem 0 2rem 0;
}

#dialog_logo {
    height: 6rem;
}

#dialog_title {
    color: black;
    text-align: center;
}

#email_form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

#email_form ::placeholder {
    color: var(--color1);
    opacity: 0.5;
}

#form_inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;

}

#email_form input,
textarea {
    border: none;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}

input:focus-visible {
    outline-color: var(--color1);
}

#email_form input[type="text"],
#email_form input[type="email"],
#email_form input[type="submit"] {
    height: 2rem;
    background-color: var(--white);
    color: black;
}

#email_form input[type="text"],
#email_form input[type="email"],
#email_form textarea {
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    background: var(--white);
    color: black;
}

#email_form textarea {
    resize: none;
}

#email_form input[type="submit"] {
    border-radius: 1rem;
    background: var(--color1);
    color: var(--white);
    margin: 1rem 0;
    width: fit-content;
    padding: 0 1.5rem;
    font-weight: 600;
}

#email_form input[type="submit"]:hover {
    cursor: pointer;
}

#form_agree {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
}

#email_form #form_agree label {
    font-size: 0.75rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/****************************************************************************/
/****************************************************************************/
/*MEDIA QUERIES**************************************************************/
/****************************************************************************/
/****************************************************************************/



@media (hover: hover) {
    .callToAction_btn:hover {
        opacity: 1;
        background: var(--white);
    }
}

@media (max-aspect-ratio: 20/10) {

    html,
    body {
        /*background-color: blue;*/
    }

    .card>div>img {
        width: 50%;
    }

}

@media (max-aspect-ratio: 18.5/10) {

    html,
    body {
        /*background-color: green;*/
        font-size: 18px;
        /* 2.2svh */
    }

    .cardTextContainer p {
        font-size: 1.2rem;
    }

    #first_logo img {
        height: 54svh;
        align-self: end;
    }
}

@media (max-aspect-ratio: 16/10) {

    html,
    body {
        /*background-color: red;*/
    }

    #headlines {
        max-width: 100%;
    }

    #first_logo img {
        height: 40svh;
        align-self: end;
    }
}

@media (max-aspect-ratio: 13/10) {

    html,
    body {
        /*background-color: pink*/
    }

    #presentation {
        flex-direction: column;
    }

    #presentation,
    .card {
        padding: 1rem;
    }

    .card>div {
        flex-direction: column;
    }

    .card:nth-child(even)>div {
        display: flex;
        flex-direction: column;
    }

    .cardTextContainer {
        align-items: center;
    }

    .cardTextContainer h3 {
        font-size: 2.25rem;
        max-width: 40rem;
        text-align: center;
    }

    .cardTextContainer p {
        font-size: 1.5rem;
        /*line-height: normal;*/
        max-width: 40rem;
        text-align: center;
    }

    .card>div>img {
        width: 100%;
    }

}

@media (max-aspect-ratio: 9/10) {

    html,
    body {
        /*background-color: yellowgreen;*/
    }

    .cardTextContainer h3 {
        /*font-size: 1.5rem;*/
    }

    .cardTextContainer p {
        /*font-size: 1rem;*/
    }

}

@media (max-aspect-ratio: 8/10) {

    html,
    body {
        /*background-color: magenta;*/
        /*font-size: 3svw;*/
    }



}

@media (max-aspect-ratio: 7/10) {

    html,
    body {
        /*background-color: blue;*/
        /*font-size: 3svw;*/
    }

    .cardTextContainer h3 {
        font-size: 1.5rem;
        font-weight: 600;
       
    }

    .cardTextContainer p {
        /*font-size: 1rem;*/
    }

    #first_logo {
        width: fill-available;
    }

    #first_logo img {
        height: auto;

        /*height: 100%;*/
        /*height: -moz-available;*/
        /*height: -webkit-fill-available;*/
        align-self: stretch;
    }

    #final_cta img {
        width: 100%;
        width: -moz-available;
        width: -webkit-fill-available;
    }

}

@media (max-height: 780px) and (max-aspect-ratio: 13/10) {

    #first_logo img {
        height: 25svh;
        align-self: initial;
    }

    #headlines {
        max-width: 100%;
    }
}

@media (max-width: 400px) and (max-height: 700px) {
    #first_logo img {
        height: 10svh;
        align-self: initial;
    }

    #headlines {
        gap: 2rem;
    }


}

@media (max-height: 500px) {
    #presentation {
        height: auto;
    }
}