@font-face {
    font-family: 'LSVG5000_regular';
    src: url('../assets/fonts/LS-VG5000/LS-VG5000-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'LSVG5000_regular_italic';
    src: url('../assets/fonts/LS-VG5000/LS-VG5000-RegularShifted.woff2') format('woff2');
}

@font-face {
    font-family: 'LSVG5000_light';
    src: url('../assets/fonts/LS-VG5000/LS-VG5000-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'LSVG5000_light_italic';
    src: url('../assets/fonts/LS-VG5000/LS-VG5000-LightShifted.woff2') format('woff2');
}

@font-face {
    font-family: 'LSVG5000_bold';
    src: url('../assets/fonts/LS-VG5000/LS-VG5000-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'LSVG5000_bold_italic';
    src: url('../assets/fonts/LS-VG5000/LS-VG5000-BoldShifted.woff2') format('woff2');
}



:root {
    /*colors*/
    --custom_lime: #dfff00;
    --custom_darkGray: #303030;
    --custom_gray: #7f7f7f;
    --custom_white: #efefef;
    --custom_black: #000000;

    color-scheme: light only;
}

::-moz-selection {
    background-color: var(--custom_black);
    color: var(--custom_lime);
}

/* pour Safari et Chrome */
::selection {
    background-color: var(--custom_black);
    color: var(--custom_lime);
}

html {
    font-family: 'LSVG5000_regular';
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;
    background-color: #f3f3f3;
}

h1 {
    font-size: 3rem;
    font-family: 'LSVG5000_bold';
}

h2 {
    font-size: 2rem;
    font-family: 'LSVG5000_bold';
    text-align: center;
}

h3 {
    font-size: 1.4rem;
}

.hide {
    display: none;
}


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

    #home {
        display: grid;
        grid-template-columns: calc(100% - 500px) 500px;
        grid-template-rows: auto;
        grid-template-areas: "intro cta"
            "faq cta"
            "bar cta"
            "footer cta"
        ;
    }

    h1 {
        font-size: calc(3rem + 1.8vw);
    }

    h2 {
        font-size: calc(2rem + 1.5vw);
    }

    h3 {
        font-size: calc(1rem + 1vw);
    }

    .hide-on-desktop {
        display: none;
    }

    #footer{
        flex-direction: row;
    }

}


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

    #home {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto;
        grid-template-areas: "intro"
            "faq"
            "mobile-call"
            "cta"
            "bar"
            "footer";
    }

    .hide-on-mobile {
        display: none;
    }

    #footer{
        flex-direction: column;
    }

}

/*========================================================================================
==========================================================================================

INTRO*/

#intro {
    grid-area: intro;
}

#intro>div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#intro h1 {
    width: 100%;
    margin: 0;
    font-family: 'LSVG5000_bold';
    background-color: #dfff00;
    text-align: center;
    line-height: 1.1;
    padding: 30px 40px;
    text-transform: uppercase;
}

#intro p {
    font-size: 23px;
    line-height: 1.4;
    text-align: left;
    margin-top: 50px;
    padding: 0 20px;
}

@media only screen and (min-width: 1000px) {
    #main {
        width: calc(100% - 500px);
    }

    #intro p {
        margin: 4vh 0 0;
        max-width: 75ch;
        width: 80%;
        padding: 0;
    }

    #intro h1 {
        padding: 1.8vw 40px;
    }
}


/*========================================================================================
==========================================================================================

CTA*/


#mobile-call {
    grid-area: mobile-call;
    z-index: 7;
    width: 100%;
    position: sticky;
    background-color: var(--custom_black);
    bottom: 0;
    text-align: center;
    border-top: 5px solid var(--custom_lime);
    border-bottom: none;
    padding: 10px 0;
}

#mobile-call a {
    font-size: 2rem;
    color: var(--custom_lime);
    font-family: 'LSVG5000_regular';
    text-decoration: none;
}

#cta {
    grid-area: cta;
    z-index: 8;
    position: relative;
    color: white;
    width: 100%;
    background-color: var(--custom_black);
}

#cta>div {
    padding: 20px 15px;
}

#cta .cta-form {
    margin-inline: 0;
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-content: flex-start;
}


#cta>h2 {
    padding: 10px 20px 10px;
    margin: 0;
    font-size: 30px;
    font-family: 'LSVG5000_bold';
}

#cta .radio {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#cta .radio-label {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 5px 0;
    border: var(--custom_gray) 5px solid;
    border-radius: 4px;
}

#cta .radio-label:hover{
    cursor: pointer;
}

#cta .radio-label:hover span{
    border-color: var(--custom_white);
    color: var(--custom_lime);
}

#cta .radio-label p{
    margin: 0;
    padding: 10px;
    line-height: 1.2;
    color: #efefef;
}

#cta input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#cta input[type="radio"]+span {
    margin-bottom: 10px;
    display: block;
    font-size: 30px;
    text-align: center;
    border-bottom: var(--custom_gray) 5px solid;
    border-radius: 0px;
    user-select: none;
}

#cta input[type="radio"]+span:hover {
    border-color: var(--custom_white);
}

#cta input[type="radio"]:checked+span {
    background-color: #dfff00;
    color: var(--custom_black);
    border-color: var(--custom_white);
}

#cta .label-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 13px;
}

#cta .label-text>span {
    font-size: 1.4rem;
    padding: 6px 0;
}

#cta input {
    font-size: 25px;
    padding: 5px;
}

#cta input[type="text"] {
    border: none;
    margin: 0 20px;
}

#cta button {
    width: max-content;
    border: 7px solid var(--custom_lime);
    font-family: 'LSVG5000_bold';
    font-size: 2rem;
    margin-top: 20px;
    padding: 10px 20px;
    line-height: 1;
    height: fit-content;
}

#cta button:hover {
    border-color: var(--custom_gray);
    background-color: var(--custom_lime);
    cursor: pointer;
}
#cta .cta-notes{
    color: #a0a0a0;
}
#cta .cta-notes hr{
    width: 100%;
}
#cta .cta-notes p{
    margin: 0;
    line-height: 1;
    padding-top: 5px;
}

@media only screen and (min-width: 1000px) {
    #cta {
        width: 500px;
        max-width: 500px;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        border: 8px solid var(--custom_lime);
    }

    #cta>h2 {
        font-size: 3rem;
    }

    #cta label {
        width: 90%;
    }

    #cta span {
        padding: 3px 20px;
    }

    #cta>div {
        flex-direction: column;
        display: flex;
        flex-grow: 3;
        justify-content: space-between;
    }

    #cta .cta-notes{    /* bottom: 0; */
        flex-grow: 0;
    }

    #mobile-call {
        display: none;
    }

}

/*========================================================================================
==========================================================================================

FAQ*/


#faq {
    grid-area: faq;
    margin-bottom: 30px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#faq summary {
    font-size: 1.4rem;
    user-select: none;
}

#faq summary:hover{
    cursor: pointer;
    text-decoration: underline;
}

#faq p {
    font-size: 1.1rem;
}

#faq details {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    /* Transition sur toutes les propriétés */
}

#faq details[open] {
    height: auto;
    /* Ajuste la hauteur lorsqu'il est ouvert */
}

#faq details:not([open]) summary~* {
    max-height: 0;
    opacity: 0;
    transform: scaleY(0);
    transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

#faq details[open] summary~* {
    max-height: 100vh;
    /* Ou définis une hauteur maximale qui correspond au contenu */
    opacity: 1;
    transform: scaleY(1);    
    background: white;
    padding: 10px;
}

@media only screen and (min-width: 1000px) {
    #faq>div{
        max-width: 80%;
    }
}


/*========================================================================================
==========================================================================================

BAR*/

#bar {
    grid-area: bar;
    background-color: var(--custom_black);
    color: var(--custom_lime);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bar .messages-donations {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 25px;
    justify-content: space-evenly;
    max-width: 200ch;
    margin-bottom: 20px;
}

#bar .messages-donations>p {
    margin: 0;
    font-size: 1.3rem;
}

#bar .messages-donations>i {
    padding: 0 8px;
    font-family: 'LSVG5000_bold';
    line-height: 1;
    font-size: 1.7rem;
}

/*========================================================================================
SUCCESS & ERROR
==========================================================================================*/

#thanksBody {
    display: grid;
    grid-template-rows: auto;
    grid-template-areas: 
        "thanks"
        "info"
        "footer"
    ;
}

/*========================================================================================
==========================================================================================
THANKS*/

#thanks {
    grid-area: thanks;
}

#thanks h1 {

    margin: 0;
    font-family: 'LSVG5000_bold';
    background-color: #dfff00;
    text-align: center;
    line-height: 1.1;
    padding: 30px 40px;
    text-transform: uppercase;
}

#thanks h3 {
    font-size: 23px;
    line-height: 1.4;
    text-align: center;
    margin: 15px;
    margin-top: 40px;
}
/*========================================================================================
==========================================================================================
INFO*/
#info{
    text-align: center;
}

#commandDetails {
    text-align: left;
    
}

#info button {
    width: max-content;
    border: 7px solid var(--custom_lime);
    font-family: 'LSVG5000_bold';
    font-size: 2rem;
    margin-top: 20px;
    padding: 15px 20px;
}

#info button:hover {
    border-color: var(--custom_gray);
    background-color: var(--custom_lime);
    cursor: pointer;
}

.commandAlignement{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.commandAlignement p{
}

/*========================================================================================
==========================================================================================
FOOTER*/

#footer {
    grid-area: footer;
    background-color: var(--custom_black);
    color: var(--custom_lime);

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

#footer h2 {
    text-align: left;
}

#footer input {
    font-size: 25px;
    padding: 20px 25px;
}

#footer input[type="text"] {
    border: none;
    margin: 0 20px;
}

#footer button {
    width: max-content;
    border: 7px solid var(--custom_lime);
    font-family: 'LSVG5000_bold';
    font-size: 2rem;
    margin-top: 20px;
    padding: 15px 20px;
}

#footer button:hover {
    border-color: var(--custom_gray);
    background-color: var(--custom_lime);
    cursor: pointer;
}

#footer a{
    color: var(--custom_lime);
}




