body { margin:0; padding: 0}

body{
    width: 100%;
    background-color: #f7d2d2;
}

h5 {
    color: #861111;
    font-size: 3vw;
    text-align: center;
}

#mail{
    text-decoration: none;
    color: white;
}

#mail:hover{
    color: #ee2d2d;
}

:root {
    --color-primary: #ac3636;
    --color-primary-dark: #005472;
    --color-primary-dark-2: #004159;

    --color-white: #eee;
    --color-black: #0f0f0f;
}

.navbar{
    display: flex;
    padding: 20px 0%;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(rgb(236, 38, 38), rgb(248, 86, 86));
    position: relative;
}
.image{
    position: relative;
    float: right;
    min-width: 5%;
    width: 7%;
    height: 6vw;
    margin-right: 4%;
}
.logo{
    color: rgb(22, 22, 22);
    font-size: 4vw;
    font-family: Jazz LET, fantasy;
    float: left;
    text-align: center;
}
.toggle-button{
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.toggle-button .bar{
    width: 35px;
    height: 4px;
    border-radius: 5px;
    background-color: #fff;
    margin: 3px 0px;
}
.nav-links{
    list-style: none;
    display: flex;
    padding: 20px 50px;
}
.nav-links li{
    margin-right: 25px;
}
.nav-links li a{
    padding: 0 10px;
    text-decoration: none; 
    font-size: 1vw;
    text-transform: capitalize;
    color: #eee;
    border-radius: 4vw;
    background-color: #ac3636;
    border: 0.2vw solid transparent;
}
.nav-links li a:hover{
    color: #f8d5e2;
    border: 0.2vw solid #ac3636;
    background-color: #991010;
}
.sous{
    display: none;
    position: absolute;
    z-index: 10;
    margin-top: 0.15%;
}
.sous.active{
    display: block;
}

.sous li{
    margin-top: 6%;
    text-align: left;
}
.sous a{
    border-bottom: none;
}

.sous a:hover{
    border-bottom: none;
    background-color: RGBa(200,200,200,0.1);
}

.deroulant > a::after{
    content:"▼";
    font-size: 0.8vw;
}
@media screen and (max-width: 768px){
    .toggle-button{
        display: flex;
        padding: 20px 25px;
    }
    .nav-links{
        display: none;
        flex-direction: column;
        position: absolute;
        width: 100%;
        background-color: rgb(248, 86, 86);
        padding: 25px;
        top: 100%;
        left: 0;
    }
    .nav-links li{
        padding: 12px 0px;
    }
    .nav-links.active{
        display: block;
    }
    .logo{
        display: none;
    }
    .image{
        width: 40vw;
    }
    .sous.active{
        display: flex;
        position: relative;
    }
}
@media screen and (max-width: 1024px){
    .toggle-button{
        display: flex;
        padding: 20px 25px;
    }
    .nav-links{
        display: none;
        flex-direction: column;
        position: absolute;
        width: 100%;
        background-color: rgb(248, 86, 86);
        padding: 25px;
        top: 100%;
        left: 0;
        z-index: 2;
    }
    .nav-links li{
        padding: 12px 0px;
        margin-left: 5vw;
    }
    .nav-links li a{
        font-size: 2vw;
    }
    .deroulant > a::after{
        font-size: 1.5vw;
    }
    .nav-links.active{
        display: block;
    }
    .logo{
        display: none;
    }
    .image{
        width: 10vw;
        height: 10vw;
        margin-bottom: 1%;
        margin-top: 1%;
    }
    .sous.active{
        display: flex;
        position: relative;
    }
}


.slide-container{
    position: relative;
    align-items: center;
    width: 96%;
    margin-left: 2%;
    height: 650px;
    border: 3px solid #ede6d6;
    box-shadow: 0 0 8px 2px rgba(0,0,0,0.2);
}
.slide-container .slides{
    width: 100%;
    height: calc(100% - 40px);
    position: relative;
    overflow: hidden;
}
.slide-container .slides img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}
.slide-container .slides img:not(.active){
    top: 0;
    left: -100%;
}
span.next, span.prev{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px;
    color: #eee;
    font-size: 24px;
    font-weight: bold;
    transition: 0.5s;
    border-radius: 3px;
    user-select: none;
    cursor: pointer;
    z-index: 1;
}
span.next{
    right: 20px;
}
span.prev{
    left: 20px;
}
span.next:hover, span.prev:hover{
    background-color: #ede6d6;
    opacity: 0.8;
    color: #222;
} 
.dotsContainer{
    position: absolute;
    bottom: 5px;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
}
.dotsContainer .dot{
    width: 15px;
    height: 15px;
    margin: 0px 2px;
    border: 3px solid #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
}
.dotsContainer .active{
    background-color: #555;
}

@keyframes next1{
    from{
        left: 0%
    }
    to{
        left: -100%;
    }
}
@keyframes next2{
    from{
        left: 100%
    }
    to{
        left: 0%;
    }
}

@keyframes prev1{
    from{
        left: 0%
    }
    to{
        left: 100%;
    }
}
@keyframes prev2{
    from{
        left: -100%
    }
    to{
        left: 0%;
    }
}


footer{
    background: rgb(32, 32, 32);
    padding-top: 4%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2vw;
    color: white;
    margin-top: 5%;
    }
    .container{
        min-width: 58%;
        margin: auto;
        display: flex;
        justify-content: center;
    }
    .footer-content{
        width: 40.3%;
    }
    .imgI {
        width: 4vw;
        float: left;
    }
    h3{
        font-size: 1.6vw;
        margin-bottom: 4%;
        text-align: center;
    }
    .footer-content p{
        width: 73%;
        margin-left: 25%;
        padding: 3%;
    }
    .footer-content ul{
        text-align: center;
    }

    .footer-content a {
        text-decoration: none;
        color: white;
    }

    .footer-content a:hover {
        color: #ee2d2d;

    }

    .imgF {
        width: 13%;
        height: 39%;
        margin-left: 44%;
        border-radius: 4px;
        -webkit-transform: scale(1);
	    transform: scale(1);
	    -webkit-transition: .3s ease-in-out;
	    transition: .3s ease-in-out;
    }

    .imgF:hover {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    .bottom-bar{
        background: black;
        color: #ffffff;
        text-align: center;
        padding: 1% 0;
        margin-top: 1%;
    }
    .bottom-bar p{
        color: #5a5858;
        margin: 0;
        font-size: 1.5vw;
        padding: 1%;
    }
