/*   
Theme Name: Dinnard
Theme URI: Homepage du thème
Description: Theme du site maquette dinnard
Author: Rudjy
Author URI:machin
Version: 1.00
.
Commentaires généraux / Information de licences si applicable.
.
*/
@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Afacad Flux", sans-serif;
}

body {

    background-color: rgb(250, 250, 250);
}

a {
    color: black;
    text-decoration: none;
}

a:visited {
    color: black
}

ul {
    list-style: none;
}

.header_carousel {
    position: relative;
}

.abs {
    position: absolute;
    width: 100%;
    padding-left: 15%;
    top: 0;
    left: 0;
}

.section1 {

    height: 30vh;
}

.section2 {
    color: white;
    height: 43vh
}

.section3 {

    height: 30vh
}

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

.logo {
    width: 20%;
}

.menus_haut {
    width: 70%;
}

.section1 {
    justify-content: space-between;
}

.menus_haut>ul {
    justify-content: flex-start;
}

.img_fond {
    background-image: url('../img/dji_0323-1280x900.webp');
    background-size: cover;
    height: 80vh;
    background-position-y: 45%;
    padding-left: 15%;
}

.menu_bleu {
    background-color: #207FB7;
    height: 30px
}

.menu_bleu>li>a {
    color: white;
    font-size: 11px;
}

.menu_bleu li {
    margin-right: 20px;
    padding: 0px 5px;
}

.fond_noir {
    background-color: #383948;
    margin-left: -5px;

}

.menu_blanc {
    background-color: white;
    height: 60px;
    align-items: center;

}

.menu_blanc li {
    margin: 0px 10px;
}

.section2 a {
    color: white;
    font-size: 24px;
}

.section2 h1 {
    font-size: 60px;
}

.section2 p {
    font-size: 24px;
}

.menu_bas {
    height: 15vh;
    background-color: white;

    width: 82%;
    align-items: center;
    text-transform: uppercase;
}

.fond_bleu {
    background-color: #1696A7;
}

.menu_bas li {
    margin-right: 20px;
    padding: 25px 5px;
}

main {
    padding: 5rem 5rem 0 5rem;

}

/* .largeur_card{
    width: 30%;
    margin-left: 3%;
} */
.row {
    justify-content: space-evenly;
}

.card {
    width: 90%;
    margin: auto;
    border-radius: 0px;

}

.card img {
    border-radius: 0px;
}

.card_img {
    width: 100%;
    height: 10rem;
}

.card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.card:hover {
    box-shadow: 0px 0px 36px rgba(186, 186, 191, 0.842);
}

.contain_h {
    display: flex;
}

.text_h {
    flex-grow: 1;
}

.info {
    width: 200px;
    height: 50px;
    background-color: #1696A7;
}

.img_text {
    display: flex;
    color: #1696A7;
}

.img_text h3 {
    margin-left: 0.8em;
}

.hauteur_carousel {
    height: 80vh;
}

.bg-map {
    width: 300px;
    background-image: url(../img/map-4e60fadf67c5c3fc45e00dbc9dbdc623.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 100% 100%;
    height: 300px;

}

footer {
    background-color: #383838;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;

}
.carte{
    width: 50%;
}
footer nav{
    width: 30%;
    display: flex;
    justify-content: center;
    padding-top: 1em;
}
footer nav:last-child{
    width: 100%;
}
.logo {
    width: 120px;
    height: 100px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/logo-dinard-white-footer.svg);
    text-indent: -999px;
}
/* reseaux sociaux  */

.rs {
    display: flex;

}

.rs li {
    list-style: none;
}

.rs li a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 35px;
    text-align: center;
    background-color: #fff;
    margin: 0 10px;
    border-radius: 50%;
    overflow: hidden;
}

.rs li a .icon {
    position: relative;
    transition: .5s;
    color: #262626;
    z-index: 3;
}

.rs li a:hover .icon {
    transform: rotateY(360deg);
}
.rs li a:hover:before{
    top:0;
}
.rs li a::before{
    content: "";
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: .5s;
}

.rs li:nth-child(1) a::before {
    background-color: #3b5999;
}

.rs li:nth-child(2) a::before {
    background-color: #55acee;
}

.rs li:nth-child(3) a::before {
    background-color: #0077b5;
}
/* toto coucou ! m2tic */
.rs li:nth-child(4) a::before {
    background-color: #dd4b39;
}