*,
*:before,
*:after {
    box-sizing: border-box;
}

:root {
    /*--primary-color: #f0f1fa;*/
    --primary-color: #ffffbc;
    --secondary-color: #000015;
    /*--accent-color: #fbaf30;*/
    /*--color-red: #ff0018;*/
    /*--color-red: #ff142c;*/
    --color-red: #d3142c;
    --secondary-color1: #191816;
    --border-radius: 25px;
    --body-font-size: 20px;
    --padding-section: 8em 0 8em 0;
    --heading-font-family: 'nunito', sans-serif;
    --body-font-family: 'open sans', sans-serif;
    --shadow: 5px 5px 15px black;
}

/* --------------------------------------- */
/* ----------- TYPOGRAPHIE   ------------- */
/* --------------------------------------- */

@font-face {
    font-family: 'nunito';
    src: url(../../assets/fonts/nunito/nunito-variable.ttf),
        url(../../assets/fonts/nunito/nunito-variable.woff),
        url(../../assets/fonts/nunito/nunito-variable.woff2);
}

@font-face {
    font-family: 'open sans';
    src: url(../../assets/fonts/open_sans/opensans-variable.ttf),
        url(../../assets/fonts/open_sans/opensans.woff),
        url(../../assets/fonts/open_sans/opensans.woff2);
}


/* --------------------------------------- */
/* ------------- GLOBAL ------------------ */
/* --------------------------------------- */


body {
    margin: 0;
    line-height: 1.5;
    font-size: var(--body-font-size);
    font-weight: 400;
    background-color: var(--secondary-color);
    font-family: 'open sans', sans-serif;
    color: var(--primary-color);
    font-size: var(--body-font-size);
}

h1,
h2,
h3,
h4 {
    font-family: 'nunito', sans-serif;
    font-weight: 800;
}

h1 {
    font-size: 5em;
    color: var(--primary-color);
}

h2 {
    font-size: 2.82em;
    color: var(--color-primary);
}

h3 {
    font-size: 1.999em;
}


img {
    width: 100%;
    /*border-radius: var(--border-radius);*/
    display: block;
    margin: 0;
    object-fit: cover;
}


a {
    /*color: var(--primary-color);*/
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

a:active {
    color: var(--color-red);
}

.wt-img {
    width: 15em;
    border-radius: var(--border-radius);
}


.wt-displayflex {
    display: flex;
}

.wt-row {
    display: flex;
    flex-direction: row;
}

.wt-fiftyG {
    width: 50%;
}

.wt-fiftyD {
    width: 50%;
}

.wt-aligncenter {
    align-items: center;
    display: flex;
    flex-direction: column;
}



.btn {
    border-radius: 50px;
    padding: 2em 5em 2em 5em;
    text-transform: uppercase;
    background-color: var(--primary-color);
    border-color: var(--color-red);
    color: var(--color-red) !important;
    /*font-family: var(--tertiary-font);*/
    font-family: var(--body-font-family);
    font-weight: 700;
    font-size: 1em;
}

.btn-rond {
    border-radius: 20px;
    background-color: var(--color-red);
    width: 2em;
    height: 2em;
}

.wt-containercontenu {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------- */
/* --------------- HEADER ---------------- */
/* --------------------------------------- */


header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 0 1em 0;
    position: fixed;
    z-index: 100;
}

header .contenu-interne {
    width: 30%;
    display: flex;
    background-color: rgba(255, 20, 44, 0.6);
    backdrop-filter: blur(25px);
    box-shadow: 5px 5px 15px black;
    animation: fade-down 0.5s 0.4s backwards;
    padding: 1em 0 1em 0;
    border-radius: var(--border-radius);
}

header .contenu-interne nav {
    width: 100%;
}

header a {
    font-family: var(--heading-font-family);
    font-weight: 800;
}



header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}


header a {
    color: var(--secondary-color);
    font-family: var(--heading-font-family);
}


/* --------------------------------------- */
/* ----------- BUTTON   ------------- */
/* --------------------------------------- */
.btn-custom {
    border-radius: var(--border-radius);
    padding: 16px;
    cursor: pointer;
    margin: 2em 0 0 0;
    backdrop-filter: blur(25px);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    font-family: var(--primary-font);
    font-weight: 800;
    font-size: var(--body-font-size);
    color: var(--color-red);
    box-shadow: var(--shadow);
}


.btn-custom a {
    text-decoration: none;
}

.btn-custom:hover {
    color: var(--secondary-color);
    background-color: var(--color-red);
}

/* --------------------------------------------- */
/* --------------------------------------------- */
/* --------------------------------------------- */

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: var(--padding-section);
}

#infos {
    width: 50%;
    display: flex;
    flex-direction: column;
}

#formulaire {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#infos div {
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: space-evenly;
}

#reseaux .logo a {
    width: 2em;
    color: var(--primary-color);
}

#reseaux div a {
    fill: var(--primary-color);
}

#reseaux div a:hover {
    fill: var(--color-red);
}

#contact-icon,#rs-icon {
    margin: auto;
    padding: 2em 0 2em;
}

#reseaux {
    width: 50%;
}

#reseaux .container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 3em 0 3em 0;
}

#reseaux .container div {
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* --------------------------------------- */
/* ----------- FORMULAIRE   -------------- */
/* --------------------------------------- */

#formulaire {
    padding: var(--padding-section);
}

form {
    display: flex;
    width: 50%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

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


.forminput40, .forminput100 {
    display:flex;
    flex-direction: column;
}

.forminput40 {
    width: 40%;
}

.forminput100 {
    width: 100%;
}


#message {
    width: 100%;
    height: 8em;
}

input {
    background-color: var(--secondary-color);
    border-top: solid 2px var(--primary-color);
    border-left: solid 2px var(--primary-color);
    border-right: solid 2px var(--primary-color);
    border-bottom: solid 2px var(--primary-color);
    border-radius: var(--border-radius);
    height: 3em;
}




/* --------------------------------------- */
/* ----------- FOOTER   ------------- */
/* --------------------------------------- */

footer {
    align-items: center;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 20, 44, 0.6);
    backdrop-filter: blur(25px);
    border-radius: 25px 25px 0 0;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 5px -1px 15px black;
}

footer a {
    color: var(--secondary-color);
}

footer a:hover p {
    color: var(--primary-color);
}

footer p {
    color: var(--secondary-color);
}

footer>div {
    display: flex;
    justify-content: space-between;
    width: 95%;
}


footer div:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 10%;
}

footer div:nth-child(2) a {
    display: flex;
    align-items: center;
    width: 1.5em;
}

footer div:nth-child(2) a:hover svg path {
    fill: var(--primary-color);
}

footer svg {
    width: 2em;
}

footer svg path {
    stroke: var(--secondary-color);
    stroke-width: 0;
    fill: var(--secondary-color);
}

/* ---------------------------------------- */
/* ----------- MEDIA QUERIES PHONE -------- */
/* ----------------------------------------*/


@media (min-width: 300px) and (max-width: 700px) {
    /* --------------------------------------- */
    /* ------------- HEADER   ---------------- */
    header .contenu-interne {
        width: 75%;
    }

    .container {
        flex-direction: column;
        padding: 8em 0 3em 0;
    }
    /* --------------------------------------- */
    /* ------------- INFOS   ---------------- */
    #infos {
        text-align: center;
    }
    h1 {
        font-size: 2.5em;
    }

    #infos {
        width: 100%;
    }

    #infos div {
        width: 100%;
    }
    /* --------------------------------------- */
    /* ------------- FORM   ---------------- */
    #formulaire {
        width: 100%;
    }

    .forminput40 {
    width: 45%;
}

    form {
        width: 100%;
    }

    #formulaire {
        padding: 3em 0 3em 0;
    }

    .btn-custom {
        width: 100%;
    }

    /* --------------------------------------- */
    /* ------------- FOOTER   ---------------- */
    footer>div {
        flex-direction: column;
        text-align: center;
    }

    footer div:nth-child(2) {
        margin: auto;
        gap: 1em;
        width: 100%;
        justify-content: center;
    }
}


/* ---------------------------------------- */
/* ----------- MEDIA QUERIES Tablet  ------ */
/* ----------------------------------------*/

@media (min-width: 700px) and (max-width:1024px) {

            header .contenu-interne {
        width: 75%;
    }

    .container {
        flex-direction: column;
        padding: 8em 0 3em 0;
    }

    h1 {
        font-size: 2.5em;
    }

    #infos {
        width: 100%;
    }

    #infos div {
        width: 100%;
    }

    #formulaire {
        width: 100%;
    }

    .forminput40 {
    width: 45%;
}

    form {
        width: 100%;
    }

    #formulaire {
        padding: 3em 0 3em 0;
    }

    /* ---------------------------------------- */
    /* ---------------- FOOTER  --------------- */
    footer>div {
        flex-direction: row;
    }

    footer div div {
        width: 34%;
    }

    footer div:nth-child(2) {
        margin: auto;
        gap: 1em;
        justify-content: center;
    }
}