/*GENERAL*/
:root{
    --main-color1: #d1b666;
    --main-color2: 	#fefefe;
    --main-color3: #970c10;
    --main-color4 : #c60800;
}

*,*::before,*::after{
    box-sizing: border-box;
}

body{
    font-family: 'Lato', sans-serif;
    margin: 0;
    font-size:1rem ;
    font-weight: 400;
    line-height: 1.5;
    color:var(--main-color1);
    background-color: var(--main-color2);
    -webkit-text-size-adjust: 100%;
    display: block;
}

h1,h2,h3,h4,h5,h6{
    font-weight: bold;
}

section{
    padding: 15px 0 15px 0;
    margin-bottom: 20px;
}

section .heading{
    text-align: center;
    padding-bottom: 40px;
}



section .heading h2{
    text-align: center;
    text-transform: uppercase;
}

ul{
    list-style: none;
}


.countdown{
    text-align: center;
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    color: var(--main-color4);
}

/*NAVIGATION*/
.navbar{
    /*background-color: var(--main-color1);*/
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    height: 10%;
}

.navbar-nav{
    margin: 0;
    padding-left: 35%;
    text-align: center;
    font-size: 0.7rem;
}

.navbar-shrink{
    background-color: var(--main-color2)!important;
    opacity: 0.8;
}

.nav-link{
    color: black !important;/* pour outrepasser les param par défaut bootstrap*/
    margin: 5px 5px;
    text-align: center;
    display: inline-block;
    font-size: 0.8rem;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
}


.nav-link.active/*on definit un elt avec plusieurs classes, .nav-link:hover*/{
    background-color: var(--main-color2) !important;
    color: var(--main-color1) !important;
}

.nav-link:hover{
    background-color: var(--main-color2) !important;
    color: var(--main-color4) !important;
}

.navbar-brand{
    width: 400px;
}

.navbar-collapse {
    width: 600px !important;
    align-items: center;
}

.navbar-brand img{
    object-fit: contain;
}

#navigation #titre{
text-align: center;
font-family: "Libre Baskerville", serif;
font-weight: 800;
font-style: italic;
color: var(--main-color1);
text-shadow: #FDEE00 1px 1px;
}

#navigation #logo{
width:15%;
height: 15%;
}

#navigation h1{
    font-size: 3rem;
    padding-top: 10px;
}

#navigation .container-fluid a{
    margin-left: 5%;
}

/*ABOUT*/
#about{
    margin-top: 8%;
    color: var(--main-color1);
    padding-bottom: 4%;
}

#about img{
    border: 5px solid var(--main-color4); /* Bordure rouge de 5px */
    box-shadow: 0 0 20px var(--main-color4), 0 0 30px var(--main-color4), 0 0 40px var(--main-color4); /* Effet lumineux autour de la bordure */
    border-radius: 10px;
}





/*Déclaration*/


#declaration .phrase{
    font-size: 3rem;
    font-style: italic;
    line-height: 3rem;
    font-family: "Libre Baskerville", serif;
    text-shadow: var(--main-color1) 1px 1px;
    padding-bottom: 3%;
}

#phrase_1{
    padding-right: 15%;
    padding-left: 3%;
}

#phrase_2{
    padding-right: 3%;
    padding-left: 15%;
    text-align: right;
    padding-bottom: 0.1% !important;
}

#declaration .phrase .nom{
    font-size: 2.5rem;
    font-style: italic;
    font-family: "Great Vibes", cursive;
    text-shadow: none;
}





/*STORY*/

#story #res{
    margin-bottom: 6%;
}

#story #res img{
    border: 5px solid var(--main-color4);  /*Bordure rouge de 5px */
    box-shadow: 0 0 20px var(--main-color4), 0 0 30px var(--main-color4), 0 0 40px var(--main-color4); /* Effet lumineux autour de la bordure */
    border-radius: 10px;
}


#story #res #resume{
    padding-left: 9%;
    padding-top: 1%;
}

#story #res #resume p{
    font-size: 1.5rem;
    font-style: italic;
    font-family: "Libre Baskerville", serif;
}



#story #carouselExampleFade{
    margin-bottom: 5%;
}

#story #carouselExampleFade .legende_annee{
    margin-bottom: 5%;
    text-align: center;
}

#story #carouselExampleFade img{
    border-radius: 10px;
    border: 1px solid var(--main-color4);
    box-shadow: 0 0 20px var(--main-color4), 0 0 30px var(--main-color4), 0 0 40px var(--main-color4);
    border-radius: 10px;
}

/*FOOTER*/
footer{
    background-color: var(--main-color3);
    padding-top: 2%;
    margin-bottom: 0px;
}

footer img{
    width: 100%;
}

footer p{
    text-align: center;
    z-index: 2;
}

footer a{
    color: var(--main-color1);
    text-decoration: underline;
}

footer a:hover{
    font-size: 1.5rem;
    background-color: var(--main-color2);
    color: var(--main-color1);
    text-decoration: none;
    text-shadow: #FDEE00 1px 1px;
    padding: auto;
}

footer .mail:hover{
    font-size: 1rem;
}

footer #auteur{
    position: relative;
    right: -9%;
    font-size: 1.5rem;
    margin: 0px;
    padding-bottom: 1%;
    font-style: italic;
}

footer #auteur #hashtag{
    position: relative;
    right: -15%;
    font-style: normal;
}

@media (max-width: 768px){
/*NAVIGATION*/
    .navbar{
        padding-top: .3rem;
        padding-bottom: .8rem;
    }

    #navigation #titre{
        text-align: left;
        font-family: "Libre Baskerville", serif;
        font-weight: 800;
        font-style: italic;
        color: var(--main-color1);
        text-shadow: #FDEE00 1px 1px;
        font-size: 1.6rem;
        }
    
    .navbar-brand{
        width: 50%!important;
    }
    
    #navigation button{
        color: var(--main-color1) !important;
        border: 3px solid var(--main-color2) !important;
        border-radius: .25rem;
        background-color: var(--main-color1); ;
    }

    .navbar-toggler-icon{
        background-color: var(--main-color1); ;
    }

    .navbar-nav{
        text-align: right !important;
        
    }

    .navbar-nav .nav-item{
        width: 70%;
        position: relative !important;
        right: -30%;
        background-color: rgba(255, 255, 255, .85) !important;

    }

    .navbar-nav .nav-link {
        border-bottom: 1px solid var(--main-color1);
        opacity: 1.1;
    }

    /*DECLARATION*/
    #declaration .phrase p {
        font-size: 1.6rem;
    }

    /*STORY*/

    #story #res #resume{
        margin-top: 5%;
        padding-left: 2%;
    }

    #story #res #resume p {
        font-size: 1.2rem;
        text-align: justify;
    }



    /*FOOTER*/
    footer img{
        width: 20%;
        position: relative;
        left: 40%;
    }

    footer #auteur{
        position: relative;
        right: 9%;
        font-size: 1.4rem;
    }
}

@media (max-width: 576px){
    footer #auteur{
        position: relative;
        right: 9%;
        font-size: 1.4rem;
    }
}

@media (max-width: 992px){
    /*NAVIGATION*/
    .navbar{
        padding-top: .3rem;
        padding-bottom: .8rem;
    }

    #navigation #titre{
        text-align: left;
        font-family: "Libre Baskerville", serif;
        font-weight: 800;
        font-style: italic;
        color: var(--main-color1);
        text-shadow: #FDEE00 1px 1px;
        font-size: 1.6rem;
        }
    
    .navbar-brand{
        width: 50%!important;
    }
    
    #navigation button{
        color: var(--main-color1) !important;
        border: 3px solid var(--main-color2) !important;
        border-radius: .25rem;
        background-color: var(--main-color1); 
    }

    .navbar-toggler-icon{
        background-color: var(--main-color1);
    }

    .navbar-nav{
        text-align: right !important;
        
    }

    .navbar-nav .nav-item{
        width: 70%;
        position: relative !important;
        right: -30%;
        background-color: rgba(255, 255, 255, .85) !important;

    }

    .navbar-nav .nav-link {
        border-bottom: 1px solid var(--main-color1);
        opacity: 1.1;
    }

     /*DECLARATION*/
     #declaration .phrase p {
        font-size: 1.9rem;
    }

    /*STORY*/

    #story #res #resume{
        padding-top: 0%;
        padding-left: 5%;
    }

    #story #res #resume p {
        font-size: 0.86rem;
        text-align: justify;
    }
}