*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Rockwell Nova';
    src: url('../~fonts/RockwellNova.woff2') format('woff2'),
        url('../~fonts/RockwellNova.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background-color: rgb(21, 21, 21);
}


header .logo {
    position: absolute;
    left: 50%;
    top: 20px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 30vh;
    margin: auto;

}

.menuicon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;
}

.menu {

    background-color: rgb(21, 21, 21);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
}

/*        Navigation qui prend toute la page pour pouvoir positionner la boîte "boutons"*/
nav {
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

}




/*        Boite contenant les icones*/
.boutons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 530px;
    min-width: 530px;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    margin-top: 30px;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 530px;
    height: 160px;
    min-width: 500px;
}

.icon {

    width: 120px;

}


.retour {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;

}

h2 {
    margin: 0;
    margin-top: 5px;
    font-size: 1rem;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: 200;
}

a {
    text-decoration: none;

}

p a{
    color: #fc9e20;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

p a:hover{
/*    background-color: #fc9e20;*/
    background: -webkit-gradient(linear, left top, right top, from(#fc9e20), to(#db8c23));
    background: linear-gradient(0.25turn, #fc9e20, #db8c23);
    padding: 0 2px 0 2px;
    color: #151515;
    border-radius: 2px;
}
/* contenu principal*/

.content {

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

}

.apropos {

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    height: 90vh;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 50%;
    margin-left: 50px;
    padding-top: 180px;

}

.title {

    font-family: 'Rockwell Nova', Arial, sans-serif;
    font-size: 2.3rem;
    text-align: left;
    color: #fc9e20;
}

.text {

    color: white;
    font-family: 'arial', sans-serif;
    line-height: 1.3;
    font-size: 1.05rem;
    width: 700px;
    min-width: 300px;

}

.groupe {

    width: 480px;
    margin: auto;
    border-radius: 16px;
}

.contact {

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    height: 90vh;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 50%;
    margin-left: 50px;
    padding-top: 180px;

}

form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: auto;

}

.champ {
    line-height: 1.7;
    margin-bottom: 10px;
}

input,
textarea {
    padding: 10px 20px;
    margin-top: 5px;
    width: 100%;
    font-size: 1.15rem;
    border-radius: 30px;
    border: 2px solid white;
    -webkit-transition: 0.25s ease;
    transition: 0.25s ease;
}

textarea {
    border-radius: 20px;
    min-height: 200px;
}

.submit {
    background-color: #fc9e20;
    color: #151515;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    width: 230px;
    padding: 10px 0px;
}

.submit:hover {
    background-color: #dc793e;
    cursor: pointer;
}

textarea {
    resize: vertical;
    font-family: 'Arial', sans-serif;
}

input:focus,
textarea:focus {
    border: 2px solid #fc9e20;
    outline: none;
}

input:required {
    background-image: url('../~img/icons/required.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: right;
}

textarea:required {
    background-image: url('../~img/icons/required.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: top right;
}

input:required:valid {
    background-image: url('../~img/icons/required-ok.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: right;
}

textarea:required:valid {
    background-image: url('../~img/icons/required-ok.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: top right;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1d1d1d;
}

::-webkit-scrollbar-thumb {
    background: rgb(255, 255, 255);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d1d1d1;
    border-radius: 10px;
}

@media (max-width:1150px) {

    body {

        overflow-x: hidden;
    }

    .content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-top: 50px;


    }

    .apropos {

        width: 100%;
        margin: 0;
    }

    .text {
        width: 90%;
        margin-left: 0;
    }

    .groupe {

        width: 400px;
        margin: 0;
    }

    .contact {

        width: 90%;
        margin: auto;

    }

    form{
        
        padding-bottom: 30px;
    }

}
