@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 6.5vh;
    color: rgb(255, 100, 0);
    padding-top: 0.5vh;
    text-shadow: 0 0 20px black;
}
.soleil{
     height: 7vh;
 }
 
 .soleil img{
     display: block;
     height: 100%;
     width: 100%;
 }
 
 h2 {
     font-family: 'Montserrat', sans-serif;
     font-size: 3.5vh;
     padding: 0.5vh;
     color: rgb(255,100,0);
     text-shadow: 0 0 20px black;
 }

body{
    background: url(./Photos/Sunset.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    overflow: hidden;  
}

.carrousel{
    position: relative;
    width: 47.1vw;
    height: 31.7vw;  
    margin: auto;
    padding-top: 1vh;
}

#prev{
    position: absolute;
    cursor: pointer;
    color: white;
    border: none;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
    border-radius: 10px 10px 10px 10px;
    background: rgba(0, 0, 0,.2);
    transition: 0.5s;
    width: 2vw;
    height: 7vh;
    font-size: 3vh;
}

#next{
    position:absolute;
    cursor: pointer;
    color: white;
    border: none;
    top: 50%;
    left: 105.7%;
    transform: translateY(-50%);
    border-radius: 10px 10px 10px 10px;
    background: rgba(0, 0, 0,.2);
    transition: 0.5s;
    width: 2vw;
    height: 7vh;
    font-size: 3vh;
}

#prev:hover{
    background: rgba(0, 0, 0,.4);
}

#next:hover{
    background: rgba(0, 0, 0,.4);
}

#bouton {
    position: absolute;
    cursor: pointer;
    background-color: rgb(228, 185, 112);
    border-radius: 4px;
    font-size: 0.7vw;
    width: 13.7%;
    height: 1.9vh;
    color: blue;
    bottom: 7.6%;
    left: 101.5%;
}

#bouton :link {
    text-decoration: none;
}

.cercle{
    position: absolute;
    height: 5.7%;
    width: 4%;
    border-radius: 50%;
    background-color: blue;
    bottom: 0.7%;
    left: 0;
}
#compteur {
    position:absolute;
    font-size: 0.70vw;
    font-weight: bold;
    color: yellow;
    bottom: 2.2%;
    left: 0.3%;
    transition: 0.8s;
    z-index: +2;
}

#legende {
    position: absolute;
    font-size: 0.82vw;
    font-weight: bold;
    color: blue;
    text-shadow: 0 0 40px black;
    bottom: 2.1%;
    left: 6%;
    transition: 0.8s;
}

.carrousel li{
    list-style: none;
}

.slide{
   position: absolute;
   width: 47.1vw;
   height: 29.3vw; 
   opacity: 0;
   transition: 0.5s ease-in-out;
}
.slide.active{
    opacity: 1;
}

.slide img{
    display: block;
     height: 100%;
     width: 100%;
     overflow: hidden;
     object-fit: cover;
 }

footer {
    position: absolute;
    margin-left: 0.7vw;
    height: 1.5vw;
    width: 30vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space space-between;
    bottom: 1vh;
}

#symbole {
    font-family: 'Raleway', sans-serif;
    color: rgb(254, 20, 0);
    font-size: 0.71vw;
    padding-top: 1%;
    padding-left: 1.2%;
}

#lien1 { 
    margin-top: 1%;
    padding-left: 5%;
    font-size: 0.80vw;
    color: blue;
    cursor: pointer;
}

@media screen and (max-width: 1100px){
    header{
     padding: 15px;
    }
 
    .carrousel{
        width:95vw;
        height: 59vw;  
        margin: auto;
        padding-top: 50px ;
    }
   
    #prev{
        top: 74vw;
        left: 35vw;
        width: 4vw;
        height: 4vh;
        font-size: 2vh;
    }
 
    #next{  
        top: 74vw;
        left: 56.5vw;
        width: 4vw;
        height: 4vh;
        font-size: 2vh;
    }
 
    .cercle{
        height: 9.5%;
        width: 6.5%;
        top: 71vw;
        left: 47%;
    }
 
    #compteur {
        font-size: 2.2vw;
        top: 72.8vw;
        left: 47.6%;
    }
     
    #legende {
        font-size: 2.4vw;
        top: 83vw;
        left:1vw ;
     }
 
    #bouton {
        font-size: 1.8vw;
        width: 15vw;
        height: 1.9vh;
        top: 100vw;
        left:80vw;
    }

    .slide{
        width:95vw;
        height: 59vw; 
        padding: left 25px;
    }

    footer {
        margin-left: 1.5vw;
        height: 2vw;
        width: 60vw;
        bottom: 2vh;
    }
 
    #symbole {
        font-size: 2vw;
        padding-top: 1%;
        padding-left: 1.2%;
    }
     
    #lien1 { 
        margin-top: -3.6%;
        padding-left: 30%;
        font-size: 2vw;
    }
    
 }