@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    user-select: none;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

.col1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgb(17, 16, 15) 0%, rgba(122, 67, 0, 1) 80%, rgba(237, 221, 83, 1) 150%);
    background: url('back.jpg');
    background-size: 200%;
}

.col2 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
    background: linear-gradient(135deg, rgb(17, 16, 15) 0%, rgba(122, 67, 0, 1) 80%, rgba(237, 221, 83, 1) 150%);
    padding: 0 10%;
    position: relative;
}

@media screen and (orientation: landscape) and (min-width: 1201px) {
    .col2 {
        overflow: hidden;
    }

    .col2:before {
        content: '֎';
        position: absolute;
        color: rgba(255, 233, 107, 0.137);
        font-size: 60em;
        top: -600px;
        right: -300px;
        z-index: 0;
    }
}

img.logo {
    width: 800px;
    height: 800px;
}

h1,
p,
form,
.boutons {
    z-index: 5;
}

h1,
.titre {
    color: #fff;
    font-size: 2.1em;
    font-family: 'Quattrocento', sans-serif;
}

span.titre {
    color: rgb(255, 233, 107);
    background: linear-gradient(135deg, rgba(235, 178, 73, 1) 0%, rgba(255, 233, 107, 1) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #fff;
    font-family: "Josefin Slab", sans-serif;
    font-size: 1.5em;
}

/* FORMULAIRE */

form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

input#email,
input#submitbutton {
    width: 100%;
    height: 50px;
    text-align: center;
    outline: none;
    border: none;
}

input#email {
    background: #ffffff0e;
    color: #fff;
    padding: 25px;
    border-radius: 10px 10px 0 0;
    font-family: 'Josefin Slab', sans-serif;
    font-size: 1.2em;
    transition: 0.3s;
}

input#email::placeholder {
    color: #ffffff9a;
    font-weight: bolder;
    transition: 0.3s;
}

input#email:hover,
input#email:focus {
    background: #ffffff2c;
}

input#email:hover::placeholder {
    color: #ffffff69;
}

input#submitbutton {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    border-radius: 0 0 10px 10px;
    font-size: 1.1em;
    font-family: "Quattrocento", sans-serif;
    font-weight: bolder;
    transition: 0.3s;
}

input#submitbutton:hover {
    cursor: pointer;
    background: #242121;
    color: gold;
}

/* CASE A COCHER */

.acocher {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    position: relative;
    background: #ffffff0e;
    padding: 20px;
}

.acocher label {
    font-size: 0.9em;
    color: #ffffff69;
}

.acocher:before {
    content: '';
    position: absolute;
    height: 1px;
    width: 50%;
    top: -1%;
    left: 25%;
    background: #ffffff1c;
}

.acocher .consent {
    appearance: none;
    background-color: #b3b3b3;
    border-radius: 72px;
    border-style: none;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 30px;
    cursor: pointer;
}

.acocher .consent::before {
    bottom: -6px;
    content: "";
    left: -6px;
    position: absolute;
    right: -6px;
    top: -6px;
}

.acocher .consent,
.acocher .consent:after {
    transition: all 200ms ease-out;
}

.acocher .consent:after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 14px;
}

.acocher .consent:hover {
    background-color: #c9cbcd;
    transition-duration: 0s;
}

.acocher .consent:checked {
    background-color: #8fd66e;
}

.acocher .consent:checked:after {
    background-color: #fff;
    left: 13px;
}

.acocher :focus:not(.focus-visible) {
    outline: 0;
}

.acocher .consent:checked:hover {
    background-color: #66b353;
}

.acocher-link {
    text-decoration: underline;
    color: #ffffff85;
    transition: .2s;
}

.acocher-link:hover {
    color: #ffffffb9;
}

.acocher-link:active {
    color: #ffffffe8;
}

/* SOCIAL MEDIAS BUTTONS */

.sm {
    display: flex;
    gap: 25px;
}

.boutons {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.boutons a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform .4s;
}

.boutons a .fa-brands {
    color: #fff;
    font-size: 1.2em;
    position: relative;
    z-index: 2;
    transition: .3s;
}

.boutons a::after {
    content: '';
    width: 100%;
    height: 100%;
    top: -60px;
    left: -35px;
    background: #242121;
    position: absolute;
    border-radius: 50%;
    transition: .5s;
}

.boutons a:hover::after {
    top: -10px;
    left: -5px;
    width: 150%;
    height: 150%;
}

.boutons a:active::after {
    background: #dbdbdb85;
}

.boutons a:hover .fa-brands {
    color: gold;
}

.boutons a:active .fa-brands {
    color: goldenrod;
}

/* LIEN DON */

.don a.don-link {
    width: auto;
    border-radius: 25px;
    padding: 0 20px;
}

.don a.don-link:after {
    border-radius: 25px;
    top: 0px;
    left: -100%;
}

.don a.don-link:hover::after {
    top: 0px;
    left: 0px;
}

.don a.don-link p {
    font-family: 'Quattrocento', 'Inter', sans-serif;
    font-weight: bolder;
    font-size: 1.1em;
    transition: .3s;
}

.don a.don-link:hover p {
    color: gold;
}

.don a.don-link:active p {
    color: gold;
}

.fa-heart {
    padding-right: 10px;
}

/* POP UP */

.popup {
    border-radius: 5px;
    width: 80%;
    display: flex;
    flex-direction: row;
}

.popup-text {
    padding: 15px;
    background: rgba(178, 255, 178, 0.473);
    border-radius: 0 10px 10px 0;
    font-size: 0.9em;
}

.close-popup {
    background: rgba(45, 170, 45, 0.822);
    color: #ffffff80;
    height: 100%;
    border-radius: 10px 0 0 10px;
    width: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
MENTIONS LEGALES
*/

.mentions a {
    color: #ffffff57;
    text-decoration: underline;
    font-size: 0.8em;
    transition: 0.3s;
}

.mentions a:hover {
    color: #ffffffab;
}

/*
RESPONSIVE
DESIGN
*/

@media screen and (orientation: portrait),
screen and (max-width: 1200px) {

    body {
        flex-direction: column;
        background: #996D17;
    }

    .col1,
    .col2 {
        width: 100%;
    }

    .col1 {
        height: 20vh;
        justify-content: flex-start;
        z-index: 5;
        position: relative;
        background-position: 100%;
    }

    .col1:after {
        position: absolute;
        content: '';
        width: 100%;
        height: 40%;
        top: 62%;
        background-color: rgb(17, 16, 15);
        clip-path: polygon(100% 0, 0 0, 0 100%);
        transform: rotateX(180deg);
        z-index: -1;
    }

    .col2 {
        justify-content: flex-start;
        min-height: 80vh;
        background: linear-gradient(to bottom, rgb(17, 16, 15) 0%, rgba(122, 67, 0, 1) 80%, #996D17 100%);
        padding-bottom: 50px;
        gap: 1.5em;
    }

    img.logo {
        width: 200px;
        height: 200px;
    }

    h1 {
        margin-top: 20px;
    }

    .titre {
        font-size: 1.2em;
    }

    form {
        width: 100%;
    }

    .popup {
        width: 100%;
    }

    .popup-text {
        border-radius: 0 10px 10px 0;
        font-size: 0.9em;
    }

    .close-popup {
        border-radius: 10px 0 0 10px;
        width: 80px;
    }

    .acocher .consent {
        height: 27px;
        width: 42px;
    }

    .acocher .consent:after {
        height: 19px;
        top: 4px;
        width: 19px;
    }

    .acocher .consent:checked:after {
        left: 20px;
    }
}

@media screen and (orientation: portrait) {
    .boutons {
        flex-direction: column;
        gap: 2em;
    }
}

@media screen and (orientation: landscape) and (max-width: 1550px) and (min-width: 1201px) {
    .col1 {
        width: 40%;
        background-size: 250%;
    }

    .col2 {
        width: 60%;
    }
}