@font-face {
    font-family: lalezar;
    src: url(fonts/Lalezar-Regular.ttf);
}


* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1F1F1F;
}

.wrapper {
    width: 80%;
    margin: 0 auto;
}

.slide {
    width: 100%;
    min-height: 70vh;
    position: relative;
}

.slide h1 {
    font-family: lalezar;
    color: #ffffff;
}

.slide h2 {
    width: 75px;
    font-family: lalezar;
    color: #ffffff;
}

.slide h3 {
    font-family: lalezar;
    color: #1B8C41;
}

/* navigation */

header {
    width: 100%;
    min-height: 15vh;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #1F1F1F;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.445);
    transition: all 0.5s;
}

.open-scroll {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.445);
}

header .wrapper {
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    /* background-color: blue; */
}

#burger {
    width: 50px;
    margin-right: 15px;
    cursor: pointer;
    position: relative;
}

.bar {
    width: 100%;
    height: 5px;
    background-color: #1B8C41;
    margin: 8px 0;
    transition: all 0.5s;
}

.bar:nth-child(2) {
    width: 50%;
}

#burger:hover .bar:nth-child(2) {
    width: 100%;
    
}

.open .bar:nth-child(1)
{
    /* background-color: gold; */
    transform: translate(0,15px) rotate(45deg);
}

.open .bar:nth-child(2)
{
    opacity: 0;
}

.open .bar:nth-child(3)
{
    /* background-color: green; */
    transform: translate(0,-11px) rotate(-45deg)
}

.open-menu {
    right: 50% !important;
}

/* navigation */

#menu {
    margin-top: 10px;
    width: 70%;
    height: 660px;
    border-radius: 16px;
    /* background-color: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(3.9px);
    -webkit-backdrop-filter: blur(3.9px); */
    backdrop-filter: blur(10px);
    background-color: #1f1f1fbe;
    border: 1px solid rgba(255, 255, 255, 0.36);
    display: flex;
    position:fixed;
    top: 50%;
    transform: translate(50%,-50%);
    /* top: 20; */
    right: -150%;
    z-index: 99;
    transition: right 1.5s;
}

#menu nav {
    margin: auto;
}

#menu nav ul {
    list-style: none;
}

#menu nav ul li {
    margin: 15px 0;
    font-family: lalezar;
}

#menu nav ul li a {
    text-decoration: none;
    color: #1B8C41;
    font-size: 25px;
}

#menu nav ul li ul{
    margin-left: 25px;
}

/* home */

#home {
    /* background-color: purple; */
    overflow: hidden;
}

.home-image {
    min-height: 70vh;
    background-image: url(images/home_image.jpg);
    background-size: cover;
    background-position: center center;
    border-radius: 50px;
    margin-top: 15vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@keyframes opa {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#jumbotron {
    margin-left: 20px;
    color: white;
    font-family: lalezar;
}

#jumbotron h3 {
    font-size: 48px;
    /* opacity: 0; */
    animation-name: opa;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.445);
}

#jumbotron h1 {
    font-size: 128px;
    margin-bottom: 15px;
    animation-name: opa;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    animation-delay: 1s;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.445);
}

#jumbotron h1 span {
    color: #1B8C41;
}

#jumbotron a {
    padding: 5px 15px;
    width: fit-content;
    display: block;
    color: antiquewhite;
    background-color: #1B8C41;
    border-radius: 7px;
    text-decoration: none;
    font-size: 18px;
    animation-name: opa;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    animation-delay: 2.5s;
}

.home-footer {
    min-height: 15vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* background-color: green; */
}

#social-media {
    width: 74px;
    display: flex;
    justify-content: space-between;
}
/* presentation */

#presentation .droite .texte h3 {
    font-size: 50px;
}

#presentation .droite .texte p {
    font-size: 20px;
}

#presentation {
    padding-top: 17vh;
    /* width: 100%; */
    margin: 0 auto;
    font-family: lalezar;

}

#presentation .droite a {
    color:#1B8C41;
}

.info-presentation{
    display: flex;
    flex-wrap: wrap;
}

.info-presentation .gauche, .info-presentation .droite{
    width: 50%;
}

.info-presentation .gauche img{
    display: block;    
    height: 70vh;
    padding-left: 100px;
}

.info-presentation .droite .texte{
    padding-left: 30px;
    color: white;
}

.info-presentation .droite .texte h3{
    color: #1B8C41;
    margin-bottom: 10px;
}


.info-presentation .droite .texte p{
    margin-bottom: 30px;
}

.info-presentation .droite .texte p::selection{
    background-color: #144917;
    color: white;
}

.info-presentation .droite .texte p strong::selection{
    color: #1B8C41;
    background-color: white;

}

.info-presentation .droite .texte p strong {
    color: #1B8C41;
}

#slide-video {
    display: flex;
    flex-wrap: wrap;
}

#slide-video .texte3 {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 20px;
}

#bouton-video {
    margin-top: 10px;
    width: 30px;
    height: 30px;
    /* background-color: red; */
    background-image: url(images/play-circle.svg);
    background-size: cover;
    background-position: center center;
    cursor: pointer;
}

/* #decoration {
    width: 50%;
    height: 150px;
    background-color: #a13434;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
} */



#myvideo {
    width: 100%;
    height: 100vh;
    background-color: #1F1F1F;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 200;
    transition: all 1s;
}

.openvideo {
    left: 0 !important;
}

.container-video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.container-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#close-video {
    width: 50px;
    height: 50px;
    /* background-color: blue; */
    background-image: url(images/close-video.svg);
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

/* gallery */

#galerycolor h1 {
    font-family: lalezar;
    /* margin-left: 50px; */
    transform: translateY(50px);
    color: #1B8C41;      
}

#galeryblack h1 {
    font-family: lalezar;
    /* margin-left: 50px; */
    transform: translateY(50px);
    color: #1B8C41;    
}



#galerycolor{
    padding-top: 15vh;
}

#galeryblack{
    padding-top: 15vh;
}

.swiper {
    width: 80%;
    margin: 0 auto;
    height: 70vh;
  }

.swiper-slide {
    /* text-align: center;
    font-size: 18px;
    background: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #292929; */
    border-radius: 20px;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .swiper-button-prev, .swiper-button-next{
    color: #1B8C41;
  }

  .swiper-pagination-bullet-active{
    background-color: #1B8C41;
  }

  .autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
    color: #1B8C41;
  }

  .autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
  }

  .autoplay-progress svg circle{
    stroke: #1B8C41;

  }

/* contact */

#contact {
    padding-top: 17vh;
    font-family: lalezar;
    color: #363636;
}



.container {
    margin-left: auto;
    margin-right: auto;
    width: 60%;;
    border: 2px solid #808080;
    background-color: #1B8C41;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}


input[type=text], input[type=email], textarea, input[type=submit] {
    background-color: white;
    width: 50%; 
    padding: 12px;  
    border: 2px solid #b3b3b3; 
    border-radius: 10px; 
    box-sizing: border-box;
    margin-top: 6px; 
    margin-bottom: 16px; 
    resize: vertical;
    font-family: lalezar;
}

/* input[type=text]::placeholder{
    color: red;
} */

.container input[type=submit] {
    font-size: 20px;
    background-color: #b9b9b9;
    cursor: pointer;
}

  
input[type=submit]:hover {
    background-color: #144917;
    color: white;
  }
  

/* --footer-- */

#slide-video {
    display: grid;
    justify-content: space-between;
}

footer {
    text-align: center;
    color: white;
    margin: 20px;
}

footer img {
    width: 50px;
    height: 50px;
    margin-top: 10px;
}

/* pour iphone mini */

@media all and (max-width:1600px) {
    #menu {
       
        height: 500px;
       
    }
}

@media all and (max-width:1290px) {
    header {
        min-height: 10vw;
    }

    .slide {
        min-height: 0;
    }

    .swiper {
        height: 45vh;
    }

    #presentation {
        padding-top: 15vh;
    }

    #decoration {
        display: none;
    }
    
    #galerycolor, #galeryblack{
        padding-top: 19vw;
    }

    #contact {
        padding-top: 21vw;
    }

    .info-presentation .gauche, .info-presentation .droite{
        width: 100%;
    }

    .info-presentation .gauche img{
        /* width:50vh; */
        height: 70vw;
        margin: 0 auto 30px;
        transform: translateX(-50px);
    }
    .info-presentation .droite .texte{
        padding-left: 0px;
    }

   
}

@media all and (max-width: 1050px)
{
    #galery h1, #galeryblack h1{
        transform: translateY(0)!important;
    }
}

@media all and (max-width:1024px) {
    #jumbotron h1 {
        font-size: 5vw;
    }

    input[type=text], input[type=email], textarea, input[type=submit] {
        width: 100%; 
    }
}

@media all and (max-width:810px) {
    #jumbotron h1 {
        font-size: 5vw;
    }

    #menu {
        height: 500px;
    }

    input[type=text], input[type=email], textarea, input[type=submit] {
        width: 100%; 
    }
}

@media all and (max-width:500px) {

    #menu {
        height: 340px;
    }

    #logo img{
        width: 70%;
    }
    .home-image {
        width: 100%;
    }

    .home-footer {
        justify-content: center;
    }

    input[type=text], input[type=email], textarea, input[type=submit] {
        width: 100%; 
    }

    .container input[type=submit] {
        font-size: 15px;
        color: #363636;
    }
    
    .container-video {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container-video video {
        width: 100%;
        height: 40vh;
    }

    #contact .container {
        min-height: 0;
        margin: auto;
    }
    
}

@media all and (max-width:400px) {
 
    .container input[type=submit] {
        font-size: 15px;
        color: #363636;
    }
}

@media all and (max-width:375px) {
  
    .container input[type=submit] {
        font-size: 15px;
        color: #363636;
    }
}

@media all and (max-height:500px) {
    #menu {
        height: 280px;
    }

    #menu nav ul li{
        margin: 0;
    }
}

@media all and (max-height:390px) {
    #menu {
        height: 280px;
    }

    #menu nav ul li{
        margin: 0;
    }

    #menu nav ul li ul{
        display: none;
    }
}