@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');
:root{
  --bleu5:#1b98cc;
  --bleu7: #286d9f;
  --white:#fff;
  --rouge:#ff0000;
}
html{
    scroll-behavior: smooth;
}
body{
    margin: 0px;
    padding: 0px;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bleu5);
    margin-left: 100px;
    margin-right: 100px;
}
nav{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bleu5);
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
}
nav .logo{
    margin-right: 10px;
}
nav .logo img{
    height: 100px;
    Width: 400px
}
nav h1{
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
}
nav .onglets{
    margin-top: 3px;
    margin-left: 200px;
}
nav .onglets a{
    text-decoration: none;
    color: var(--white);
    margin-right: 10px;
    border-bottom: 1px solid var(--white);
    padding-bottom: 5px;
}
nav .onglets a:hover{
    font-weight: bold;
    border-bottom: 2px solid var(--white);
}
header{
    margin-top: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('images/Assistencia_fond.png');
    background-size: cover;
    border-bottom: 100px solid var(--bleu5);
}
header h1{
    font-family: 'Montserrat', sans-serif;
    color:var(--bleu7);
    font-size: 60px;
    text-align: center;
    font-weight: bolder;
}
header h3{
    margin-top: -20px;
    font-family: 'Montserrat', sans-serif;
    color:var(--rouge);
    text-align: center;
    font-size: 20px;
    max-width: 1300px;
}
header h4{
    margin-top: -20px;
    font-family: 'Montserrat', sans-serif;
    color:var(--bleu7);
    text-align: center;
    font-size: 40px;
    max-width: 1300px;
}
header .Valeurs{
    display: flex;
    flex-direction: wrap;
    align-items: center;
    margin-top: -20px;
}
header .Valeurs button{
    padding: 20px;
    background-color: var(--bleu5);
    color:var(--white);
    border:none;
    margin-bottom: 30px;
    margin-right: 10px;
    outline:none;
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
}

header .Valeurs button:hover{
    background-color: #64caed;
    font-weight: bold;
    border-radius: 40px;
}

.diapo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    background: url('images/Assistencia_fond.png');
    background-size: cover;
    border-bottom: 100px solid var(--bleu5);
}
.diapo h1{
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: bolder;
    color:var(--bleu7);
    margin-left: 50px;
    max-width: 1200px;
    text-align: left;
}
.diapo h4{
    margin-top: -20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    margin-left: 50px;
    max-width: 1200px;
    color:var(--bleu7);
}
.diapo li{
    margin-top: -20px;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    max-width: 1200px;
    color:var(--bleu7);
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: -60px;
    background-color: var(--bleu5);
    color: var(--white);
    padding: 10px 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
}
footer h1{
    font-size: 40px;
    padding-bottom: 0px;
    font-weight: bold;
}
footer h3{
    font-size: 30px;
    padding-bottom: 0px;
    margin-top: -10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--white);
}
footer h4{
    font-size: 20px;
    padding-bottom: 0px;
}
footer .Contacts{
    margin-top: 0px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
footer .Contacts .Contact{
    margin-top: 0px;
}
footer .Contacts .Contact p{
    margin-top: -10px;
}
footer #contact{
    color: var(--white);
}

footer a{
    text-decoration: none;
    color: var(--white);
    padding-bottom: 5px;
    margin-top: -40px;
}
footer .QR img{
    height: 200px;
    Width: 200px
}

/* Affichege sur smartphone */
@media screen and (max-width:1400px){
    body{
        margin-left: 10px;
        margin-right:10px;
    }

    nav{
        justify-content: center;
    }
    nav .onglets {
        display: none;
    }
    header {
        border-bottom: 20px solid var(--bleu5);
    }
    header h1{
        font-size: 30px;
    }
    header h4{
        font-size: 20px;
    }
    header .Valeurs{
        display: flex;
        flex-direction: nowrap;
    }
    header .Valeurs button{
        font-size: 14px;
        padding: 10px;
        margin-bottom: 30px;
        margin-right: 10px;
    }
    .diapo {
        border-bottom: 20px solid var(--bleu5);
    }
    .diapo h1{
        margin-left: 10px;
        font-size: 20px;
        max-width: 1000px;
    }
    .diapo h4{        
        margin-left: 10px;
        font-size: 20px;
        max-width: 1000px;
    }
    .diapo li{
        font-size: 14px;
        margin-left: 10px;
        margin-right: 10px;
        max-width: 900px;
    }
    footer{
        margin-top: 0px;
        justify-content: center;
        font-size: 14px;
    }
    footer h1{
        font-size: 20px;
    }
    footer h3{
        font-size: 14px;
    }
    footer h4{
        font-size: 14px;
    }
    footer .Contacts{
        flex-wrap: nowrap;
        flex-direction: column;
        justify-content: left;
    }
    footer .QR img{
        height: 100px;
        Width: 100px
    }
}