@charset "UTF-8";

@font-face {
    font-family: "Marvel";
    src: url('font/Marvel.regular.ttf');
}

/* RESET */

/*J'attaque tout : étoile . ça permet de tout rest et ça enlève 80% des bugs*/

* {
    margin: 0;
    padding: 0;
}

/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

img,
table,
td,
blockquote,
code,
pre,
textarea,
input,
iframe,
object,
embed,
video {
    max-width: 100%;
}

/* conserver le ratio des images */

img {
    height: auto;
}




/* MISE EN FORME */

body {
    font-family: Arial, Helvetica, sans-serif;
    /* D'abord arial et si le navigateur du lecteur ne la pas, il prendra Helvetica et sinon la première de son navigateur san serif.*/
    background-color: #C4EEF2;
    font-size: 1em;
    text-align: justify;
    clear: both;
    width: auto;
    margin: 0;
    padding: 0;
}


header {
    line-height: 0;
}

h1 {
    font-size: 1.7em;
    margin: 0 0 0.8em 0;
}

h2 {
    font-size: 1.3em;
}

img {
    width: 100%;
}


li {
    list-style-type: none;
}


p {
    margin-bottom: 0.6em;
    line-height: 1.3em;
    text-align: justify;
}

footer {
    background-color: #FEF7FF;
    font-family: Marvel, Arial, sans-serif;
}

footer div {
    margin: 1em;
}


article {
    padding: 1em;
    text-align: justify;
    border-bottom: 0.8px dashed #900;
    width: 80%;
}

article h1 {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 50px;
}

aside {
    margin: 1em;
}

/* MENU */


nav ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    width: 50%;
}


nav ul a {
    text-decoration: none;
    transition: all .5s ease;
}

nav li {
    text-align: center;
    display: inline-block;
}

nav #menu-toggle {
    display: none;
}

nav .label-toggle {
    display: none;
}

nav .wrapper {
    align-items: center;
    display: flex;
}


spam {
    font-family: "Marvel", Arial, sans-serif;
}

 footer a {
text-decoration: none;
    }


/* CLASSE */

/* Menu */

.navBar {
    margin: auto;
    padding: auto;
    min-width: 100%;
    position: fixed;
    background-color: #FEF7FF;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.menueffet1,
.menueffet2,
.menueffet3,
.menueffet4,
nav a:visited {
    transition: 0.3s ease;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .6);
    font-family: Marvel, Arial, sans-serif;
    font-size: 20px;
    text-decoration: none;
    /* border-top: 4px solid #FEF7FF; */
    /*  border-bottom: 4px solid #FEF7FF; */
    padding: 20px 0;
    margin: 0 20px;

}

.menueffet1:hover {
    border-top: 4px solid #f0a413;
    border-bottom: 4px solid #f0a413;
    padding: 6px 0;
}

.menueffet2:hover {
    border-top: 4px solid #f54e1b;
    border-bottom: 4px solid #f54e1b;
    padding: 6px 0;
}

.menueffet3:hover {
    border-top: 4px solid #84c229;
    border-bottom: 4px solid #84c229;
    padding: 6px 0;
}

.menueffet4:hover {
    border-top: 4px solid #13479f;
    border-bottom: 4px solid #13479f;
    padding: 6px 0;
}

/* FIN MENU */


.logo {
    display: inline-block;
}

.wrapper {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-top: 1em;
    margin-bottom: 1em;
}


.col-30 {
    width: 30%;
}

.col-60 {
    width: 60%;
}

.col-30 {
    width: 30%;
}

.button {
    padding: 5px 5px;
    margin-top: 15px;
    background-color: #f54e1b;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-transition: 0.7s;
    cursor: pointer;

}

.button:hover {
    background-color: #0c3318;
    padding: 5px 20px;
}


.flex {
    display: flex;
}

.floatleft {
    float: left;
    margin-right: 10em;
    box-shadow: 1px 1px 12px #555;
}

.floatright {
    float: right;
    box-shadow: 1px 1px 12px #555;
}


.card {
    width: 30em;
    height: 25em;
    border-radius: 15px;
    padding: 1.5rem;
    background: white;
    position: relative;
    display: flex;
    align-items: flex-end;
    transition: 0.5s ease-out;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
}

.card:hover {
    transform: translateY(20px);
}

.card:hover .info {
    opacity: 1;
    transform: translateY(0px);
}

.card img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px;
}

.card .info {
    position: relative;
    z-index: 3;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.5s;
}

.card .info h1 {
    margin: 0px;
}

.card .info p {
    letter-spacing: 1px;
    font-size: 15px;
    margin-top: 8px;
}

.card .info button {
    padding: 0.6rem;
    outline: none;
    border: none;
    border-radius: 3px;
    background: white;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s ease;
}

.card .info button:hover {
    background: dodgerblue;
    color: white;
}


/* CARTE INTERACTIVE */

.carte {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin-top: 1em;
    margin-bottom: 1em;

}

.carteinteractive {
    width: 50em;
}

.text_carte,
.text_souscarte {
    padding: 0 4em 4em 4em;
    /* color:#f54e1b; */
    color: #118700;
}

.text_souscarte {
    margin-top: 2em;
    padding: 0em;
}


/* FIN CARTE */

/* Actualité du moment */

.container {
    background: url(images/actu.jpg);
    width: 80%;
    margin: 0 auto;
    padding: 7em;
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 50%;
}

/* FIN ACTUALITE */

/* FOOTER */

.bottom-section {
    background-color: #232323;
    width: 100%;
    margin: auto;
    color: #959595;
}

.bas {
    background: #232323;
    margin: 5em 0em 0em;
}


.aside {
    width: 80%;
    padding: 2em 0em 2em 0em;
    margin: 0 auto;
    display: flex;
    font-size: 16px;
    line-height: 25px;
}


.aside h3 {
    color: #fff;
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 24px;
}

.aside a {
    text-decoration: none;
    color: inherit;
    transition: color .3s linear, background .3s linear;
    padding: 0.5em;
}

.aside a:hover {
     color: #f54e1b;
}

.aside h4 {
    color: #b6a8a8;
}

.col-4 {
    padding: 1.5em;
    width: 100%;
}


.reseauxsociaux {
    margin: auto;
}

.reseauxsociaux img:hover {
    filter: hue-rotate(500deg);
}




/* ID */

#citation,
#citation1 {
    font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
    font-size: 4em;
    padding: 1em 1em;
    text-align: center;
    text-transform: uppercase;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.05em;

}

#background_video {
    min-width: 100%;
}

#actudumoment {
    display: flex;
    background: url(images/actu.jpg) center fixed;
    background-size: cover;
    width: 80%;
    margin: auto;
    height: 30em;
    font-size: 1.4em;

}

#texteactu {
    padding: 3em 3em 3em 3em;
    background-color: rgba(0, 0, 0, 0.3);
    margin: auto;
    width: 60%;
    border-radius: 5% 20% 5%;
    text-align: justify;
    color: #FEF7FF;
}

#texteactu h1 {
    text-align: center;
    font-size: 2.5em;
}


#nord {
    opacity: 0;
}

#ouest {
    opacity: 0;
}

#sud {
    opacity: 0;
}

#est {
    opacity: 0;
}

#centre {
    opacity: 0;
}

[id*='region_'] {
    cursor: pointer;
}


/* Responsive */


/* TELEPHONE */

@media screen and (max-width: 479px) {

    video {
        display: none;
    }

    footer {
        display: block !important;
    }

    footer p {
        text-align: center;
        margin: auto;
        padding: 0.5em 0em 0.5em 0em;
    }


    .logo {
        width: 80%;
    }

    .citation {
        font-size: 100%;
        padding: 0;
    }

    .col-4 {
        padding: 0.5em;
        width: 100%;
    }

    .col-4 p {
        text-align: left;
    }

    .aside {
        font-size: 100%;
        width: 100%;
        padding: 1em 0 1em 0;
        margin: 0 auto;
        display: flex;
    }

    .aside h3,
    reseauxsociaux h3 {
        font-size: 100%;
    }

    .reseauxsociauximg {
        display: block;
        width: 50%;
    }

    #actudumoment {
        border-radius: 0px;
    }
        .brochure {
        display: none;
    }
}


@media screen and (max-width: 1040px) {

    .text_carte,
    .text_souscarte {
        padding: 1em;
    }

}

/* TABLETTE */
@media screen and (min-width: 1400px) and (max-width: 2000px) {
    
    .text_carte,
.text_souscarte {
    padding: 0 1em 1em 1em;
    /* color:#f54e1b; */
    color: #118700;
    font-size : 100%;
}
    .card {
        margin : 1em;
    }
}


@media screen and (max-width: 1024px) {


    nav ul {
        display: block;
        height: 0;
        list-style-type: none;
        opacity: 0;
        text-align: center;
        max-width: 100%;
        visibility: hidden;
    }

    nav li {
        border-bottom: 2px solid #53354A;
        display: block;
        font-size: 1.5em;
        padding: 2em 0;
    }

    nav #menu-toggle:checked ~ ul {
        opacity: 1;
        height: 100%;
        visibility: visible;
        margin: auto;
    }

    nav .label-toggle {
        background: linear-gradient(to bottom, #000 0%, #000 20%, transparent 20%, transparent 40%, #000 40%, #000 60%, transparent 60%, transparent 80%, #000 80%, #000 100%);
        cursor: pointer;
        display: block;
        float: right;
        height: 3em;
        margin-top: 1em;
        width: 3em;
    }

    nav .wrapper {
        display: block;
        min-width: 100%;
        margin: 0;
    }

    footer div {
        margin: auto;
    }

    .wrapper {
        display: block;
        min-width: 100%;
    }

    .card {
        width: auto;
        margin-bottom: 3em;
    }

    .carte {
        display: none;
    }

    .navBar {
        position: relative;
        padding: 0;
    }

    .bottom-section {
        width: auto;
    }

    .meteo {
        display: none;
    }


    .brochure {
        display: none;
    }

    .bas {
        margin: 0em;
    }

    #citation {
        font-size: 2em;
        padding: 1em 0em 1em 0em;
    }

    #citation1 {
        display: none;
    }

    #actudumoment {
        min-width: 100%;
        display: flex;
        background: url(images/actu.jpg) center;
        background-size: fixed;
        margin: auto;
        height: 30em;
        font-size: 100%;
        border-radius: none;
    }

    #texteactu {
        padding: 0px 0.5em 0px 0.5em;
        margin: auto;
        width: auto;
        border-radius: 0px;
        text-align: justify;
        color: #FEF7FF;
    }

}