@font-face{
    font-family: roboto;
    src: url('../police/Roboto-Medium.ttf');
}
.top-header{
    width: 100%;
    height: 10vh;
    position: fixed;
    background: #fff;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.top-header .drapeaux{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-header .drapeaux img{
    margin: 0 20px;
}
.top-header .contacts{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: roboto;
    color: #abcf47;
}
.top-header .contacts span{
    margin: 0 5px;
}
.top-header .contacts a{
   color: #abcf47;
}

.top-section{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

a{
    color: #fff;
    text-decoration: none;
}


header #burger-container{
    width: 50%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content:center;
    display: none;
    position: absolute;
    right: 0;
}

.top-section header  #burger{
    width: 30px;
    height: 3px;
    background: #abcf47;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
    transition: all .5s ease-in-out;
}
.top-section header #burger::before, .top-section header #burger::after{
    position: absolute;
    content: '';
    width: 40px;
    height: 3px;
    background: #abcf47;
    cursor: pointer;
    border-radius: 5px;
    transition: all .5s ease-in-out;
}
.top-section header #burger::before{
    width: 20px;
}
.top-section header #burger::after{
    width: 40px;
}


.top-section header #burger::before{
    transform: translateY(-10px);
}
.top-section header #burger::after{
    transform: translateY(10px);
}
#burger-container.open #burger{
    transform: translateX(-50px);
    background: transparent;
}
#burger-container.open #burger::before{
    width: 40px;
    transform: rotate(45deg) translate(35px,-35px);
}
#burger-container.open #burger::after{
    transform: rotate(-45deg) translate(35px,35px);
}
.top-section .produits2{
    width: 100%;
    height: 80vh;
    position: fixed;
    z-index: 99;
    top: 20vh;
    background: #abcf47;
    font-family: roboto;
    display: none;
    font-size: 1.3rem;
}
.produits2 ul{
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.produits2 li{
    padding: 10px;
    list-style: none;
    transition: .5s;
}
.produits2 li:hover{
    background: #7c9537;
}
.produits2 li a{
    display: block;
  
}
.produits2 li a:hover{
    color: #50B1E9;
    text-decoration: underline;
}
.top-section .menu{
    position: fixed;
    z-index: 80;
    width: 100%;
    height: 70vh;
    top: 20vh;
    left: -100%;
    background: #494949;
    display: flex;
    flex-direction: column;
    transition: .5s ease;
}
.top-section .menu a{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 10%;
    font-family: roboto;
    font-size: 1.3rem;
    position: relative;
    padding: 10px;
    transition: .5s;
}
.top-section .menu a:hover{
    background: rgba(0, 0, 0, 0.5);
}
.top-section .menu a::before{
    content: "";
    position: absolute;
    width: 80%;
    height: 2px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background: #fff;
}

.produits-container{
    position: fixed;
    width: 30%;
    height: 45vh;
    background: #abcf47;
    top: 23vh;
    left: 30%;
    transform: translateX(-30%);
    z-index: 99;
    border-radius: 5px;
    font-family: roboto;
    display: none;
}
.produits-container span{
    position: absolute;
    top: -35px;
    left: 80%;
    width: 0;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 20px solid #abcf47;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
}
.produits-container ul{
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.produits-container li{
    padding: 10px;
    list-style: none;
    transition: .5s;
}
.produits-container li:hover{
    background: #7c9537;
}
.produits-container li a{
    display: block;
}
.produits-container li a:hover{
    color: #50B1E9;
    text-decoration: underline;
}
header{
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 10%;
    top: 10vh;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
}

header #logo{
    width: 20%;
    height: 100%;
    border-bottom: 2px solid #abcf47;
    display: flex;
    align-items: center;
    justify-content: center;
}
header nav{
    width: 80%;
    height: 100%;
    font-family: roboto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 2px solid #abcf47;
}



header nav a{
    font-size: 1.2rem;
    padding: 0px;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 4px solid transparent;
    transition: .5s ease;
}
header nav a .arrow{
    margin-left: 10px;
}
header nav a.active, header nav a:hover{
    color: #abcf47;
    border-bottom: 4px solid #abcf47;
}


.slider{
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}
.slider .slide{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
    animation: slide 2s ease;
}

.slide .container{
    width: 80%;
    height: 30%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    font-family: roboto;
    
}

.slide p{
    color: #abcf47;
    font-size: 3rem;
    justify-content: left;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
    font-weight: bolder;  
}
.slide button{
    padding: 10px;

    font-size: 1.5rem;
    border: 3px solid #abcf47;
    border-radius: 5px;
    color: white;
    animation: slideText .5s ease forwards;
    animation-delay: 1.4s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}
.slide button::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 0%;
    left: 0;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    background: #abcf47;
    z-index: -1;
    transition: all .5s ease-in-out;
}
.slide button:hover::before{
    height: 180%;
    border-radius: 30% 30% 0 0;
}

.slider .slide.active{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
}
.slider .slide.active span{
    opacity: 0;
    animation: slideText .5s ease forwards;
    animation-delay: 1s;
}
.slider .slide.active p, .slider .slide.active button{
    opacity: 0;
    animation: slideText .5s ease forwards;
    animation-delay: 1s;
}


@keyframes slide{
    0%{
        transform: scale(1.1);
    }
    100%{
        transform: scale(1);
    }
}
@keyframes slideText{
    0%{
        opacity: 0;
        transform: translateX(-30px);
    }
    100%{
        opacity: 1;
        transform: translateX(0px);
    }
}



.slide:nth-child(1){
    background: url('../images/slide1.jpg');
    background-size: cover;
    background-position: center;
}
.slide:nth-child(2){
    background: url('../images/slide2.jpg');
    background-size: cover;
    background-position: center;
}
.slide:nth-child(3){
    background: url('../images/slide3.jpg');
    background-size: cover;
    background-position: center;
}
.slide:nth-child(4){
    background: url('../images/slide4.jpg');
    background-size: cover;
    background-position: center;
}



.top-section .controls .prev,
.top-section .controls .next{
    width: 100px;
    height: 100px;
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: .5s;
}
.top-section .controls .prev:hover,
.top-section .controls .next:hover{
    background: rgba(0, 0, 0, 0.5);
}
.top-section .controls .prev{
    left: 0;
}
.top-section .controls .next{
    right: 0;
}



.top-section .indicators{
    font-family: roboto;
    font-weight: bold;
    position: absolute;
    z-index: 2;
    min-width: 20%;
    height: 50px;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.indicators div{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    border: 2px solid #7c9537;
    cursor: pointer;
    box-shadow: 0px 0px 5px black;
}
.indicators div.active{
    background: #abcf47;
}