@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

*
{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

.main
{
    position:relative;
    min-height:100vh;
    background: radial-gradient(#f0483a, #d10a20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding:30px 100px;
}

header
{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding:30px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.logo
{
    max-width: 90px;
}

.logo_a
{
    transition: 0.25s;
}

.logo_a:hover
{
    transform: scale(1.1);
}

.navigation
{
    display: flex;
}

.navigation li
{
    list-style: none;
}

.navigation li a 
{
    position: relative;
    color:#fff;
    text-decoration: none;
    margin-left:40px;
    border:2px solid white;
    padding:5px 35px;
    border-radius: 10px;
    font-weight: bold;
    font-size:1.5em;
    transition:0.25s
}

.navigation li a:hover 
{
    background-color: white;
    color:red;
}

.content
{
    position: relative;
    width:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
}

.content .text
{
    width:100%;
    max-width: 600px;
}

.content .text h1
{
    color:#fff;
    font-size: 4.5em;
    font-weight: 300;
}

.content .text h1 span
{
    font-weight: 700;
}

.content .text p
{
    color:#fff;
    font-size: 1.1em;
    line-height: 1.1em;
    font-weight: 400;
    margin: 20px 0;
}


.content_login
{
    position: relative;
    width:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.content_login h1
{
    font-size: 4em;
    color:#fff
}

.content_login .alert
{
    min-width:600px;
    padding:25px;
    text-align: center;
    background: #fff;
    margin:25px 0;
    font-size: 1.5em;
}

.content_login .alert-danger
{
    color:red;
    background: rgb(253, 206, 206);
}

.content_login .alert-success
{
    color:green;
    background: rgb(179, 255, 172);
}

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

.content_login .form-group
{
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin:20px;
}

.content_login label
{
    font-size: 1.2em;
    color:#fff
}

.content_login input
{
    min-width:600px;
    height:50px;
    font-size: 1.2em;
    padding:10px;
}

.btn, button
{
    position: relative;
    display: inline-block;
    padding:20px 50px;
    background: #fff;
    color:#333;
    font: 1.1em;
    font-weight: bold;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.25s;
    margin-top: 50px;
}

button{
    font-size:2em;
}

.btn:hover, button:hover
{
    letter-spacing: 2px;
}

.slider
{
    position: relative;
}

.slider .slides
{
    display: none;
}

.slider .slides.active
{
    display: block;
}

.slider .slides img
{
    width:100%;
    max-width: 800px;
}

footer
{
    position: absolute;
    bottom:0;
    width:100%;
    display: flex;
    align-items: flex-end;
    padding:30px 100px;
    justify-content: space-between;
}

.createur a
{
    color:#fff;
    transition: 0.25s;
    text-decoration: none;
    display: inline-block;
}

.createur:hover a
{
    transform: translateY(-5px);
}

.prevNext
{
    position: relative;
    user-select:none;
}

.prevNext p
{
    position: relative;
    color:#fff;
    text-align: end;
    margin-bottom:15px;
}

.prevNext p::before
{
    content: "";
    position: absolute;
    top:50%;
    left: -65px;
    transform: translateY(-50%);
    width:50px;
    height: 2px;
    background: #fff;
}

.prevNext span
{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border:2px solid #fff;
    cursor: pointer;
    font-size: 2em;
    color:#fff
}

.prevNext span:nth-child(2)
{
    margin-right:20px;
}

.prev, .next
{
    transition: 0.25s;
}

.prev:hover, .next:hover
{
    background-color: white;
    color:red;
}


/****** CONTACT ****/

.titre_contact
{
    font-size: 2em;
    margin:45px 0;
    text-align: center;
    text-decoration: underline;
}

.partelephone
{ 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    text-align: center;
    margin-bottom:25px;
    text-shadow: black 2px 2px 5px;
}

.ou
{
    text-align: center;
    font-size: 1.5em;
    margin-bottom:25px;
}

.content_contact
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width:100%;
    color:white;
}


.formulaire_contact
{
    position:relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color:black;
    align-items: center;
}

.formulaire_titre
{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2em;
    margin-bottom:25px;
}

.formulaire_titre img, .partelephone img
{
    margin-right: 20px;
}

.form_general
{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width:calc(100% + 40px);
}

.ligne_f
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.ligne_f fieldset, .ligne_rue fieldset
{
    border:5px solid #e0e0e0;
    padding-top:10px;
    background: white;
    border-radius: 8px;
    margin-bottom: 3px;
    padding: 0;
    text-align: left;
}

.ligne_f:focus-within fieldset, .ligne_rue:focus-within fieldset
{
    border:5px solid rgb(72, 72, 72);
}

.ligne_f label {
    font-weight: bold;
    cursor: pointer;
    background: #fff;
    padding: 0 17px;
    border: 1px solid #dadadada;
    border-radius: 3px;
    font-size: 20px;
    margin-left: 11px;
    display: inline-block;
    width: 166px;
    text-align: center;
}

.ligne_f input, .ligne_rue input
{
    width: 33vw;
    height: 40px;
    border-radius: 7px;
    border: 0px solid white;
    line-height: 40px;
    font-weight: bolder;
    color: rgb(113, 1, 1);
    font-size: 22px;
    padding-left: 10px;
}

.ligne_f input:focus, .ligne_rue input:focus
{
    outline: none;
}

.formulaire_droite textarea
{
    min-width: 40vw;
    max-width: 40vw;
    min-height: 340px;
    border-radius: 3px;
    padding: 8px;
    border: 0px;
    margin: 0;
    margin-left: 0px;
    margin-bottom: -6px;
    font-weight: bolder;
    color: black;
    font-size: 22px;
}

.formulaire_droite textarea:focus
{
    outline:none;
}

.ligne_rue 
{
    display: flex;
    flex-direction: column;
}

.ligne_rue fieldset input
{
    width:335px
}

.btn_envoyer_formulaire
{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    font-size:35px;
    width:340px;
    height:50px;
    border-radius: 5px;
    margin-top: 20px;
    color:black;
}

.btn_envoyer_formulaire img
{
    width:32px;
    height:32px;
    margin-right:15px;
}

.btn_envoyer_formulaire:hover
{
    cursor: pointer;
    background: #ffffff;
    color: black;
    letter-spacing: 0.2em;
}

.champ_obligatoire
{
    margin:10px 0 0px 0;
    color:white;
}

.rgpd
{
    font-size: 0.8em;
    font-style: italic;
    margin-top:12px;
}

.errors
{
    background-color: #fdd8d8;
    padding: 0 10px;
    font-size: 22px;
    color:rgb(163, 0, 0);
    font-weight: bold;
    margin:20px 0;
}

.success
{
    background-color: #fdd8d8;
    padding: 0 10px;
    font-size: 22px;
    color:rgb(163, 0, 0);
    font-weight: bold;
    margin:20px 0;
    background-color: #d6fbd4;
    color:rgb(14, 163, 0);
}

.success p
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px;
    justify-content: center;
}

.success p img
{
    margin-right:20px;
}

.errors p
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 2px solid #ff9f9f;
    padding: 5px;
    /*justify-content: center;*/
}

.errors p img
{
    margin-right:20px;
}

.errors p:last-child
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: none;
    padding: 5px;
    /*justify-content: center;*/
}

.errors p:last-child img
{
    margin-right:20px;
}

.errors span
{
    text-decoration: underline;
    padding:0 5px;
    text-transform: uppercase 
}

.input_errors
{
    border:2px solid red!important;
    color:rgb(163, 0, 0);
}

.input_errors::placeholder 
{
    color:rgb(163, 0, 0);
}

.input_errors:focus::placeholder, .input_errors:focus
{
    color:black;
}

/*** FIN CONTACT ****/

@media(max-width:991px)
{
    .main
    {
        padding:40px;
    }

    header
    {
        padding: 20px 40px;
    }

    .logo
    {
        max-width:70px;
    }

    .content
    {
        flex-direction: column;
        margin: 120px 0 40px;
    }    

    .content .text
    {
        max-width: 100%;
    }

    .content .text h1
    {
        font-size:3em;
    }

    .content_login h1
    {
        font-size: 2em;
    }

    .content_login input
    {
        min-width: auto;
    }

    .content_login .alert{
        min-width: auto;
    }

    .slider
    {
        margin-top:40px;
    }

    .slider .slides img
    {
        position: relative;
        max-width: 420px;
    }

    footer
    {
        position: relative;
        padding:0
    }

    footer .createur
    {
        font-size: 0.8em;
    }

    .navigation
    {
        display: none;
    }

    .navigation.active
    {
        position: fixed;
        top:0;
        left:0;
        width: 100%;
        height:100%;
        background: #d10a20;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column; 
    }

    .navigation li a 
    {
        font-size:1.5em;
        margin:10px 0;
        display: inline-block;
    }

    .toggle
    {
        position: relative;
        width:32px;
        height:40px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100000;
        cursor: pointer;
    }

    .toggle.active
    {
        position: fixed;
        right: 40px;
    }

    .toggle::before
    {
        content:'';
        position: absolute;
        width: 100%;
        height:2px;
        background: #fff;
        transform: translateY(-10px);
        box-shadow: 0 10px 0 #fff;
        transition: 0.25s;
    }

    .toggle.active::before
    {
        transform: translateY(0px) rotate(45deg);
        box-shadow: 0 0 0 #fff;
    }

    .toggle::after
    {
        content:'';
        position: absolute;
        width: 100%;
        height:2px;
        background: #fff;
        transform: translateY(10px);
        transition: 0.25s;
    }

    .toggle.active::after
    {
        transform: translateY(0px) rotate(-45deg);
        box-shadow: 0 0 0 #fff;
    }
    /**CONTACT **/

    .form_general
    {
        flex-direction: column;
    }

    .ligne_f input, .ligne_rue input
    {
        width: 80vw;
    }

    .formulaire_droite textarea
    {
        min-width: 80vw;
    }

    .titre_contact
    {
        margin-top:75px;
        font-size:1.5em;
    }

    .partelephone
    {
        font-size:1.5em;
    }

    .partelephone img, .formulaire_titre img
    {
        width:10vw;
    }

    .formulaire_titre
    {
        font-size: 1em;
    }
}

@media (max-width:480px)
{
    header,
    .main
    {
        padding:20px;
    }

    .toggle.active
    {
        right:20px;
    }

    .content .text h1
    {
        font-size: 3em;
    }

    .btn
    {
        padding: 15px 30px;
    }

    footer
    {
        flex-direction: column-reverse;
        align-items: center;
    }

    .createur
    {
        margin-top: 40px;
    }
}


/*CONTACT MEDIA ERRORS
 **/

@media only screen and (min-width: 1100px)
{
    .errors
    {
        background-color: #ffecec;
        width:75vw;
        padding: 0 10px;
        font-size: 22px;
        color:rgb(163, 0, 0);
        font-weight: bold;
        margin:20px 0;
        padding:20px;
        border-radius: 3px;
    }

    .errors p
    {
        padding:3px;
    }

    .errors span
    {
        text-decoration: underline;
        padding:0 5px;
        text-transform: uppercase 
    }

    .success
    {
        background-color: #ffecec;
        width:75vw;
        padding: 0 10px;
        font-size: 22px;
        color:rgb(163, 0, 0);
        font-weight: bold;
        margin:20px 0;
        padding:20px;
        border-radius: 3px;
        background-color: #d6fbd4;
        color:rgb(14, 163, 0);
        padding:20px;
    }

    .success p, .errors p, .errors p:last-child
    {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border:none;
    }

    .success p img, .errors p img, .errors p:last-child img
    {
        margin-right:20px;
    }

    .input_errors
    {
        border:2px solid red!important;
        color:rgb(163, 0, 0)!important;
    }

    .input_errors::placeholder 
    {
        color:rgb(163, 0, 0)!important;
    }

    .input_errors:focus::placeholder, .input_errors:focus
    {
        color:black!important;
    }

}