/*******************************************************************************
HEADER
*******************************************************************************/
header{
    display: none;
}
nav.sticky{
    visibility: visible;
    opacity: 1;
}

/*******************************************************************************
GENERAL
*******************************************************************************/
body{
    background-color: white;
}
main .container-1{
    padding: 7.5rem 1rem 0;
    display: flex;
    flex-direction: row;
}
main .container-2{
    padding: 1rem 1rem 0;
}
main .container-1 section{
    padding: 0 1rem;
    width: 50%;
}
main .container-2 section{
    padding: 0 1rem;
}
main .container-1 h2{
    padding: 0.5rem 1rem;
    text-align: left;
    font-size: 2rem;
    color: white;
    background-color: #C61700;
    -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 2.5rem) 100%, 0% 100%);
            clip-path: polygon(0 0, 100% 0%, calc(100% - 2.5rem) 100%, 0% 100%);
}
main .container-2 h2{
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-size: 2rem;
}

/*******************************************************************************
COORDONNEES
*******************************************************************************/
section ul{
    margin: auto;
    list-style: none;
}
section ul li{
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1.3rem;
}
section ul li i.fa{
    width: 1.5rem;
    margin-right: 1rem;
    font-size: 1.5rem;
}
section ul li i.fa.fa-map-marker{
    color: #F64740;
}
section ul li i.fa.fa-phone{
    color: #519E27;
}
section ul li i.fa.fa-envelope{
    color: #F2AB30;
}
section ul li i.fa.fa-globe{
    color: #477998;
}
section ul li div a{
    color: blue;
    text-decoration: underline;
}
section ul li i.fa.fa-facebook-square{
    color: #3b5998;
}
.carte{
    width: 100%;
}
.carte iframe{
    width: 100%;
    height: 30rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/*******************************************************************************
FORM
*******************************************************************************/
.container-1 section:nth-of-type(2){
    border-radius: 0.2rem;
    border: 1px solid #CCCCCC;
}
form{
    display: flex;
    flex-direction: column;
}
form .form-line{
    display: flex;
    flex-direction: row;
}
form .form-group{
    width: 100%;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
}
form label{
    margin-bottom: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
}
form input:not([type="submit"]){
    height: 2rem;
    padding: 0.5rem;
    border: 1px solid #CCCCCC;
    border-radius: 0.2rem;
}
form textarea{
    height: 10rem;
    padding: 0.5rem;
    border: 1px solid #CCCCCC;
    resize: vertical;
}
form .button{
    cursor: pointer;
}
form .button i.fa{
    font-size: 1.25rem;
}

/*******************************************************************************
EQUIPE
*******************************************************************************/
.team{
    margin-top: 5rem;
    background-color: #EEEEEE;
}
.centerCards{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.cardEmployees{
    width: 15rem;
    margin: 3rem 1rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 0.2rem solid #C61700;
    align-items: center;
    background-color: white;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}
.cardEmployees img{
    border-radius: 50%;
    height: 10rem;
    width: 10rem;
    margin-top: 1.5rem;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.cardEmployees h4{
    font-size: 1.3rem;
}
.cardEmployees h5{
    margin-top: 0;
}

/*******************************************************************************
MESSAGES
*******************************************************************************/
.errors{
    display: none;
    padding: 1rem;
    border-radius: 0.4rem;
    font-family: 'Roboto', sans-serif;
    color: #B51020;
    background-color: #FF9999;
    opacity: 0;
    overflow: hidden;
}
.success{
    display: none;
    padding: 1rem;
    border-radius: 0.4rem;
    font-family: 'Roboto', sans-serif;
    color: white;
    background-color: #4c9118;
    opacity: 0;
    overflow: hidden;
}
