body, html {
    margin: 0px;
    padding: 0px;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/*Header*/
header {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 50vw;
}

#toggle {
    position: absolute;
    right: 10vw;
    top: 5vw;
    text-decoration: none;
    color: white;
    display: flex;
    justify-content: space-between;
    width: 4.5vw;
}

#toggle a {
    text-decoration: none;
    color: white;
    font-size: 1vw;
}

#toggle a:hover {
    color: #ef3e42;
}

#bg-header, #bg-footer, #bg-carousel {
    position: absolute;
    width: 100%;
}

#logo_header{
    width: 4.2vw;
    position: absolute;
    left: 15%;
    margin-top: 5%;
}

#social_header {
    display: flex;
    flex-direction: column;
    position: absolute;
    margin-top: 17%;
    bottom: auto;
    left: 15.3%;  
}

#fb_header, #ig_header, #tt_header {
    margin-bottom: 70%;
    width: 2.5vw;
    height: 2.5vw;
    display: block; 
    background-size: contain;
    background-repeat: no-repeat;
}

#fb_header{
    background-image: url('../images/fb-blanc.png');
}
#ig_header{
    background-image: url('../images/ig-blanc.png');
}
#tt_header{
    background-image: url('../images/tt-blanc.png');
}


#fb_header:hover {
    background-image: url('../images/fb-couleur.png');
}
#ig_header:hover {
    background-image: url('../images/ig-couleur.png');
}
#tt_header:hover {
    background-image: url('../images/tt-couleur.png');
}

#titre_header {
    position: absolute;
    margin-top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
}

#texte_header {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 22%;
    color: white;
    font-size: 1.5vw;
    width: 40%;
    text-align: center;
}

#bouton1{
    position: absolute;
    margin-top: 30%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8vw;
    font-weight: bold;
    padding: 1% 3%;
    background-color: #ef3e42; 
    color: white; 
    text-decoration: none;
}

#bouton1:hover{
    background: white;
    color: #ef3e42; 
    text-decoration: none;
    border: 1px solid #ef3e42;
}



/*Premier block : carousel 1*/
#premier-block{
    position: relative;
    width: 100%;
    margin: 0 auto 0 auto;
    height: 42vw;
}

#Description {
    font-size : 30px;
    position: absolute;
    left: 20%;
}

#Description > h2 {
    font-size: 1.8vw;
    margin-bottom: 0px;
    width: 25vw;
}

.trait {
    display: flex;
    width: 2.3vw;
    margin: 1vw 0px;
}

.ligne, .ligne-petition, .ligne-footer {
    background-color: #ef3e42;
    height: 0.1vw;
    width: 30px;
}

.point, .point-footer {
    background-color: #ef3e42;
    height: 0.1vw;
    width: 0.1vw; 
    margin-left: 0.16vw;
}

#Description > p {
    font-size: 1vw;
    width: 25vw;
}

#ancre-Description {
    font-weight: bold;
    color: black;
    text-decoration: none;
}

#compteur_tweets {
    display: flex;
    position: relative;
    width: 15vw;
    height: 3.5vw;
    border: 0.005vw black solid;
    margin-top: 2.7vw;
}

#compteur_tweets img {
    display: flex;
    justify-content: space-between;
    width: 1.7vw;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0.5vw;
}

#compteur_tweets p {
    float: left;
    font-size: 0.8vw;
    font-weight: bold;
    font-style: italic;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0.3vw;
}

#box-tweets {
    display: flex;
    position: absolute;
    height: 100%;
    right: 0px;
    background-color: #ef3e42;
    top: 0px;
    border: 0.005vw solid #ef3e42; 
    width: 5.5vw;
}

#box-tweets span {
    margin-top: auto;
    margin-bottom: auto;
    font-weight: bolder;
    color: white;
    font-size: 1.4vw;
    margin-left: auto;
    margin-right: auto;
}

.slider-counter {
    background-color: black;
    color: white;
    font-size: 1.0vw;
    height: 4vw;
    width: 4vw;
    text-align: center;
    position: absolute;
    right: 47.5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 20.3421875vw;
}

#cover-1 {
    position: relative;
}

#container-1 {
    position: absolute;
    top: 1.5vw;
    width: 22vw;
    right: 21.5vw;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.3);
}
#nav-counter{
    position: relative;    
}

#block-rouge-prev {
    top: 16.3421875vw;
}

#block-rouge-next {
    top: 12.2421875vw;
}
.owl-next-carousel-1 span, .owl-prev-carousel-1 span {
    cursor: pointer;
    position: absolute;
    width: 2vw;
    height: 2vw;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    left: 1vw;  
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-next-carousel-1 span {
    left: 1.05vw;
}

.owl-next-carousel-1 span{
    background-image: url('../images/fleche_droite_blanche.png');
}

.owl-prev-carousel-1 span{
    background-image: url('../images/fleche_gauche_blanche.png');
}

.owl-next-carousel-1 span:hover {
    background-image: url('../images/fleche_droite_noire.png');
}

.owl-prev-carousel-1 span:hover {
    background-image: url('../images/fleche_gauche_noire.png');
}

#block-rouge-prev, #block-rouge-next {
    position: absolute;
    width: 47.5vw;
    height: 4vw;
    background-color: #ef3e42;
    right: 0px;
}

/*Deuxieme block : carousel 2*/
.hover {
    position: relative;
    text-decoration: none;
}

.texte-hover {
    position: absolute;
    color: white;
    text-align: center;
    background-color: black;
    z-index: 1;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.5s;
    top: 0px;
    font-size: 0.8vw;
}

.texte-hover h3 {
    padding: 40% 5% 0px 5%;
}

.texte-hover:hover {
    opacity: 0.85;
}

.item-2-bas, .item-2-haut {
    width: 15%;
    height: auto;
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.6);
    margin: 15px 0px;
    transition: 0.5s;
}

#bg-carousel {
    margin: 0 auto 0 auto;
    position: static;
}

#cover-2 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 60vw;
}

#container-2 {
    position: relative;
    width: 55%;
    margin-top: -47vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

#carousel-2 .owl-stage {
    width: 100vw;
}

.owl-dots {
    top: 32vw;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.owl-dots .owl-dot.active span {
    background-color: black !important;
    border: 0.14vw solid black;
}

.owl-dots .owl-dot span {
    border: 0.14vw solid white;
    background-color: rgba(0,0,0,0) !important;
}

.owl-next-carousel-2, .owl-prev-carousel-2, #prev-2, #next-2 {
    cursor: pointer;
    width: 2vw;
    height: 2vw;
    position: absolute;
}
.owl-next-carousel-2, .owl-prev-carousel-2 {
    top: 52%;
    transform: translateY(-50%);
}
#next-2:hover, #prev-2:hover {
    transform: scale(1.2);
}
.owl-next-carousel-2 {
    right: -4vw;
}

.owl-prev-carousel-2 {
    left: -4vw;
}

/*Troisième block : Signez la petition*/
#ancre-destination{
    position: relative;
    top: -120px;
}

#Petition{
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    height: 26vw;
}
#content-petition {
    position: absolute;
    margin-top: 4vw;
    left: 50%;
    transform: translateX(-50%);
    width: 37vw;
}

#logo-change {
    font-size: 1.8vw;
    font-weight: bolder;
            position: static;
        margin-right: auto;
        margin-left: auto;
    margin-top: -1vw;
}

.ligne-petition {
    width: 1.5vw;
    margin: 1.3vw auto;
}

#content-petition > h2 {
    font-size: 1.8vw;
    color: #ef3e42;
}

#content-petition > p {
    font-size: 1.2vw;
}

.bouton2{
    font-size: 0.8vw;
    padding: 1vw 3vw; 
    background-color: #ef3e42; 
    color: white; 
    text-decoration: none;
    border: 0.8px solid white;
    font-weight: bold;
}
.bouton2:hover{
    background: white;
    color: #ef3e42; 
    text-decoration: none;
    border: 1px solid #ef3e42;
}

/*Footer : A propos*/
footer{
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 42vw;
}

#bg-footer {
    bottom: 0px;
    z-index: -1;
}

#block-footer {
    display: flex;
    justify-content: space-between;
    width: 55%;
    margin: 0px 22.5vw;
    height: 18vw;
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
}

#logo_footer{
    height: 17vw;
}

#A_propos{
    color: white;
    margin-bottom: 0px;
    width: auto;
}

#A_propos > h3 {
    font-size: 1.8vw;
    margin-bottom: 0px;
}

.ligne-footer, .point-footer {
    background-color: white;
}

#A_propos > p {
    margin-top: 0.2vw;
    font-size: 1.2vw;
    width: 36vw;
}

#social_footer {
    position: absolute;
    margin-top: 1vw;
    display: flex;
    justify-content: space-between;
    width: 12vw;
    height: 2.6vw;

}

#fb_footer, #ig_footer, #tt_footer {
    width: 2.6vw;
    height: 2.6vw;
    display: block; 
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 1.3vw;
}

#fb_footer{
    background-image: url('../images/fb-blanc.png');
}
#ig_footer{
    background-image: url('../images/ig-blanc.png');
}
#tt_footer{
    background-image: url('../images/tt-blanc.png');
}

#fb_footer:hover {
    background-image: url('../images/fb-couleur.png');
}
#ig_footer:hover {
    background-image: url('../images/ig-couleur.png');
}
#tt_footer:hover {
    background-image: url('../images/tt-couleur.png');
}



@media screen and (min-width: 471px) and (max-width: 960px) {

    /*Header*/
    header {
        background-image: url('../images/bg-header.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 70vw;
        position: relative;
    }

    #toggle {
        right: 10vw;
        top: 5vw;
        width: 9.5vw;
    }

    #toggle a {
        font-size: 1.8vw;
    }

    #bg-header {
        display: none;
    }

    #logo_header {
        margin-top: 9%;
        width : 6vw;
        left: 13%;
    }

    #social_header {
        margin-top: 27%;
        left: 14.25%
    }

    #ig_header, #fb_header, #tt_header {
        width: 3.4vw;
    }
    
    #titre_header {
        margin-top: 9%;
        width: 50%;
    }
     
    #texte_header {
        margin-top: 27.5%;
        font-size: 1.8vw;
        width: 49%;
    }

    #bouton1 {
        margin-top: 38%;
        font-size: 1.3vw;
    }

    /*Block1 description */

    #premier-block {
        margin-top: -12vw;
        height: 155vw;
    }

    #cover-1 {
        height: 130vw;
    }

    #trait-1 {
        display: none;
    }

    #Description {
        width: 55vw;
        top: 5vw;
    }

    #Description > h2 {
        margin-left: auto;
        margin-right: auto;
        font-size: 2.5vw;
        width: 40vw;
    }

    #Description > p {
        margin-top: 5vw;
        margin-left: auto;
        margin-right: auto;
        font-size: 2vw;
        width: 40vw;
        text-align: left;
    }

    #compteur_tweets {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        position: relative;
        width: 40vw;
        height: 8vw;
        border: 0.005vw black solid;
        margin-top: 5vw;
    }

    #compteur_tweets img {
        display: flex;
        justify-content: space-between;
        width: 5vw;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 1.6vw;
    }

    #compteur_tweets p {
        float: left;
        font-size: 2vw;
        font-weight: bold;
        font-style: italic;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 1vw;
    }

    #box-tweets {
        display: flex;
        position: absolute;
        height: 100%;
        right: 0px;
        background-color: #ef3e42;
        top: 0px;
        border: 0.005vw solid #ef3e42; 
        width: 15vw;
    }

    #box-tweets span {
        margin-top: auto;
        margin-bottom: auto;
        font-weight: bold;
        color: white;
        font-size: 3vw;
        margin-left: auto;
        margin-right: auto;
    }

    #nav-counter {
        position: relative;
        display: flex;
        flex-direction: row;
        width: 33vw;
        height: 11vw;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 91vw;
    }

    .owl-nav {
        position: absolute;
        width: 22vw;
        height: 11vw;
        display: flex;
        left: 11vw;
    }

    #container-1 {
        position: relative;
        top: 91vw;
        width: 33vw;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.3);
    }
    
    #prev-1, #next-1 {
        width: 3.5vw;
        left: 50%;
        transform: translateX(-50%);
        top: 33%;
    }

    .owl-next-carousel-1 span, .owl-prev-carousel-1 span{
        width: 4vw;
        height: 4vw;
    }

    .owl-next-carousel-1 span {
        left: 14.5vw;
    }

    .owl-prev-carousel-1 span{
        left:3.5vw;
    }

    #block-rouge-prev, #block-rouge-next {
        position: static;
        width: 11vw;
        height: 11vw;
    }


    .slider-counter {
        position: absolute;
        font-size: 2.5vw;
        height: 11vw;
        width: 11vw;
        left: 0px;
        top: 0px;
    }
    
    /* deuxieme block : carousel principal*/

    #bg-carousel {
        display: none;
    }

    #cover-2 {
        background-image: url('../images/bg-carousel.jpg');
        background-size: cover;
        background-position: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        height: 80vw;
    }

    #container-2 {
        position: relative;
        width: 80vw;
        margin-top: -5vw;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        top: 15vw;
    }

    #carousel-2 .owl-stage {
        width: 100vw;
    }

    .texte-hover{
        font-size: 1.5vw;
    }
    .texte-hover h3{
        padding-top: 2vw;
    }

    /*Troisième block : Signez la petition*/

    #Petition {
        height: 32vw;
    }

    #logo-change {
        width: 11vw;
        position: static;
        margin-right: auto;
        margin-left: auto;
    }

    #content-petition {
        width: 50vw;
        margin-top: 0px;
    }

    #content-petition > h2 {
        font-size: 2.5vw;
    }

    #content-petition > p {
        font-size: 1.8vw;
    }

    .bouton2{
        font-size: 1.3vw;
    }


    /*Footer : A propos*/
    footer {
        background-image: url('../images/bg-footer.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 50vw;
    }

    #block-footer {
        width: 75%;
        margin-left: 15%;
    }

    #bg-footer {
        display: none;
    }

    #A_propos {
        width: 55vw;
    }

    #A_propos > h3 {
        font-size: 2.5vw;
    }

    #A_propos > p {
        font-size: 1.8vw;
        width: 55vw;
    }

    #logo_footer {
        height: 14vw;
        margin-top: auto;
        margin-bottom: auto;
        margin-right: 2vw;
    }

}

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

    /*Header*/
    header {
        background-image: url('../images/bg-header.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 80vw;
        position: relative;
    }

    #toggle {
        right: 10vw;
        top: 5vw;
        width: 9.5vw;
    }

    #toggle a {
        font-size: 1.8vw;
    }

    #bg-header {
        display: none;
    }

    #logo_header {
        margin-top: 9vw;
        width : 6vw;
        left: 13vw;
    }

    #social_header {
        margin-top: 27vw;
        width: 4.5vw;
        left: 13.5vw;
    }

    #ig_header, #fb_header, #tt_header {
        width: 4.5vw;
        height: 4.5vw;
    }
    
    #titre_header {
        margin-top: 9vw;
        width: 55vw;
    }
     
    #texte_header {
        margin-top: 29vw;
        font-size: 2.3vw;
        width: 53vw;
    }

    #bouton1 {
        margin-top: 43vw;
        font-size: 1.6vw;
    }

    /*Block1 description */

    #premier-block {
        margin-top: -12vw;
        height: 202vw;
    }

    #cover-1 {
        height: 130vw;
    }

    #trait-1 {
        display: none;
    }

    #Description {
        width: 55vw;
        top: 5vw;
        left: 50%;
        transform: translateX(-50%);
        height: 70vw;
    }

    #Description > h2 {
        margin-left: auto;
        margin-right: auto;
        font-size: 3.3vw;
        width: 60vw;
    }

    #Description > p {
        margin-top: 5vw;
        margin-left: auto;
        margin-right: auto;
        font-size: 2.5vw;
        width: 55vw;
        text-align: left;
    }

    #compteur_tweets {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        position: relative;
        width: 55vw;
        height: 9vw;
        border: 0.005vw black solid;
        margin-top: 5vw;
    }

    #compteur_tweets img {
        display: flex;
        justify-content: space-between;
        width: 6vw;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 1.6vw;
    }

    #compteur_tweets p {
        float: left;
        font-size: 2.9vw;
        font-weight: bold;
        font-style: italic;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 1vw;
    }

    #box-tweets {
        display: flex;
        position: absolute;
        height: 100%;
        right: 0px;
        background-color: #ef3e42;
        top: 0px;
        border: 0.005vw solid #ef3e42; 
        width: 20vw;
    }

    #box-tweets span {
        margin-top: auto;
        margin-bottom: auto;
        font-weight: bold;
        color: white;
        font-size: 4vw;
        margin-left: auto;
        margin-right: auto;
    }

    #nav-counter {
        position: relative;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        width: 50vw;
        height: 16.67vw;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 102vw;
    }

    .owl-nav {
        position: absolute;
        width: 33.34vw;
        height: 16.67vw;
        display: flex;
        right: 0px;
    }

    #container-1 {
        position: relative;
        top: 102vw;
        width: 50vw;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.3);
    }
    
    #prev-1, #next-1 {
        width: 3.5vw;
        left: 50%;
        transform: translateX(-50%);
        top: 33%;
    }

    .owl-next-carousel-1 span, .owl-prev-carousel-1 span{
        width: 7vw;
        height: 7vw;
    }

    .owl-next-carousel-1 span {
        left: 21vw;
    }

    .owl-prev-carousel-1 span{
        left:4.5vw;
    }

    #block-rouge-prev, #block-rouge-next {
        position: static;
        width: 16.67vw;
        height: 16.67vw;
    }


    .slider-counter {
        position: absolute;
        font-size: 4.5vw;
        height: 16.67vw;
        width: 16.67vw;
        left: 0px;
        top: 0px;
    }
    
    /* deuxieme block : carousel principal*/

    #bg-carousel {
        display: none;
    }

    #cover-2 {
        background-image: url('../images/bg-carousel.jpg');
        background-size: cover;
        background-position: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        height: 115vw;
    }

    #container-2 {
        position: relative;
        width: 70vw;
        margin-top: -5vw;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        top: 23vw;
    }

    #carousel-2 .owl-stage {
        width: 100vw;
    }

    .texte-hover {
       font-size: 2.1vw;
    }
    .owl-next-carousel-2, .owl-prev-carousel-2, #prev-2, #next-2 {
        width: 6vw;
        height: 6vw;
    }
    .owl-next-carousel-2 {
        right: -9vw;
    }

    .owl-prev-carousel-2 {
        left: -9vw;
    }

    /*Troisième block : Signez la petition*/

    #Petition {
        height: 40vw;
    }

    #logo-change {
        width: 11vw;
        font-size: 3.3vw;
        position: static;
        margin-right: auto;
        margin-left: auto;
    }

    #content-petition {
        width: 70vw;
        margin-top: 0px;
    }

    #content-petition > h2 {
        font-size: 3.3vw;
    }

    #content-petition > p {
        font-size: 2.8vw;
    }

    .bouton2{
        font-size: 1.8vw;
    }


    /*Footer : A propos*/
    footer {
        background-image: url('../images/bg-footer.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 70vw;
        margin-top: 5vw;
    }

    #block-footer {
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
    }

    #bg-footer {
        display: none;
    }

    #A_propos {
        width: 55vw;
    }

    #A_propos > h3 {
        font-size: 3.3vw;
        margin-top: 0px;
    }

    #A_propos > p {
        font-size: 2.5vw;
        width: 48vw;
    }

    #logo_footer {
        height: 20vw;
        margin-top: auto;
        margin-bottom: auto;
    }

    #social_footer{
        width: 22vw;
        height: 4.5vw;
    }

    #fb_footer, #ig_footer, #tt_footer {
        width: 4.5vw;
        height: 4.5vw;
    }
}