/*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: 30px 0 80px 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;
}



/*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*/{
    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{
   background-image: url("../images/page_de_garde.jpg");
   background-repeat: no-repeat;
   background-attachment: scroll;
   background-position: top  right;
   background-size:cover;
   width: 100%;
   max-height: 1400px; 
   padding-top: 10%;
   padding-bottom:5%;
   /*padding-left: 40%;*/
   margin: 0;
   color: var(--main-color2);

}


.about-subheading{
    font-size: 2.5rem;
    font-style: italic;
    line-height: 1.5rem;
    font-family: "Libre Baskerville", serif;
    margin-bottom: 25px;
    text-align: right;
    padding-right: 1%;
    color: var(--main-color1);
    /*text-shadow: var(--main-color1) 1px 1px;*/
}

.logo_infos{
    line-height: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    top: 43%;
    left: -1%;
    color: var(--main-color1);
}



.about-subheading h3{
    text-align: center;
}

@keyframes sparkle {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
  }

.confirmation{
    width: 60%;
    background-color: var(--main-color2);
    margin-left: 20%;
    box-shadow: 0 0 15px rgba(209, 182, 102, 0.8), 0 0 30px rgba(209, 182, 102, 0.6), 0 0 45px rgba(209, 182, 102, 0.4);
    border-radius: 10%;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 2%;
}


.confirmation::before{
    z-index: -1;
    background: linear-gradient(45deg, var(--main-color1), transparent 20%, var(--main-color1) 40%, transparent 60%, var(--main-color1) 80%);
    background-size: 200% 200%;
    border-radius: 15px; /* Correspond à l'arrondi de la bordure */
    animation: sparkle 3s infinite linear;
    opacity: 0.8;
}

.confirmation h1{
    text-align: center;
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    color: var(--main-color4);
    margin-top: 3%;
    margin-bottom: 5%;
}

.confirmation label{
    font-size: 2rem;
    color: #d1b666;
}

.confirmation .suggestions{
    border: 1px solid #ccc;
    background-color: var(--main-color2);
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    color: var(--main-color3);
    width: 20%;
    z-index: 10;
}
.confirmation .suggestions .suggestion-item {
    padding: 8px;
    cursor: pointer;
}
.confirmation .suggestions .suggestion-item:hover {
    color: var(--main-color3);
}

.help-inline{
    color: red;
}

#success{
    color: green;
}

#error{
    color: red;
}

.progress-container {
    width: 100%;
    background: #f3f3f3;
    border: 1px solid #ddd;
    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    width: 0;
    height: 20px;
    background: #4caf50;
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    transition: width 0.3s ease;
}

#uploadStatus {
    margin-top: 20px;
    font-size: 14px;
}


/*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: var(--main-color1) 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);
        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;
    }

    .logo_infos{
        text-align: right;
        padding-right: 10%;
    }

    /*ABOUT*/
    #about{
        padding-top: 20%;

    }
    .about-subheading h1, .about-subheading h3{
        font-size: 1.4rem;
    }
    .about-subheading h3{
        width: 50%;
        position: relative;
        right: -50%;
    }

    .confirmation{
        width: 80%;
        background-color: var(--main-color2);
        margin-left: 10%;
        box-shadow: 0 0 15px rgba(209, 182, 102, 0.8), 0 0 30px rgba(209, 182, 102, 0.6), 0 0 45px rgba(209, 182, 102, 0.4);
        border-radius: 10%;
        padding-left: 5%;
        padding-right: 5%;
        padding-bottom: 2%;
    }

    .confirmation h1{
        text-align: center;
        font-family: "Great Vibes", cursive;
        font-weight: 400;
        font-style: normal;
        font-size: 2.5rem;
        color: var(--main-color4);
        margin-top: 3%;
        margin-bottom: 5%;
    }

    .confirmation label{
        font-size: 1.5rem;
        color: #d1b666;
    }

    .confirmation .suggestions{
        border: 1px solid #ccc;
        background-color: var(--main-color2);
        max-height: 200px;
        overflow-y: auto;
        position: absolute;
        color: var(--main-color3);
        width: 40%;
        z-index: 10;
    }

    /*INFORMATION*/

    #information .container .row:first-of-type{
        border-bottom: 1px solid var(--main-color4);
        margin-bottom: 3%;
    }

    /*RESERVATION*/

    #reservation .horizontal-line{
        display: none;
    }

    #reservation button{
        width: 50%;
        position: relative;
        left: 27%;
    }

    .countdown{
        margin-top: 10% !important;
    }

    /*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;
    }

    .confirmation .suggestions{
        border: 1px solid #ccc;
        background-color: var(--main-color2);
        max-height: 200px;
        overflow-y: auto;
        position: absolute;
        color: var(--main-color3);
        width: 70%;
        z-index: 10;
    }
    .confirmation .suggestions .suggestion-item {
        padding: 8px;
        cursor: pointer;
    }
    /*INFORMATION*/

    #information .row .photo{
        padding-top: 12%;
    }
    #information .row .photo:first-of-type{
        padding-top: 17%;
    }

    /*#reservation .horizontal-line{
        display: none;
    }*/


    /*RESERVATION*/
    #reservation button{
        position: relative;
        height: 100%;
    }

    .countdown{
        margin-top: 5% !important;
    }
}