
@import url("constants.css"); 

.slider-container {
    width: 100%;
    height: 72vh;
    position: relative;
    margin: 0px auto;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%; 
    height: 100%;
    display: grid;
    place-items: center;
    z-index: 0;
}

.slide {
  z-index:-1;
}

.slide:first-of-type {
  z-index:0;
}

.slide-link {
  display:block;
  width:100%;
  height:100%; 
  position:relative; 
  top:0;
  left:0; 
}

.slide-image {
  width: 100%;
  height: 100%;
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
}

.slide-image img {
  object-fit:cover;
  max-width:130%; 
  min-width:115%;
 }

.slide video {
  position: relative;
  top: -5px;
  left: 0;
  z-index: 10;
  right: 0;
  bottom: 0;
  width: 104%;
  min-width: 104%;
  height: auto; 
  min-height: 104%; 
  object-fit: cover;
}

.slide-inner {
  display:none;
}

.wrap-slide-text {
  position:absolute;
  z-index:10;
  bottom:0;
  left:0;
  width:60%;
  height:200px; 
  background: linear-gradient(90deg, rgba(148, 212, 74, 0.75) 70%, rgba(250, 222, 2, 0.75) 70%, rgba(250, 222, 2, 0.75) 90%, rgba(148, 212, 74, 0.75) 90%);
  z-index:20;
  display: flex;
  align-items: center;
}

.slide-text {
  margin-left:24%;
  font-family:var( --ff-sec);
  font-weight:700;
  font-size:60px;
  color:#fff; 
  opacity:0;
  position:relative; 
  display: block;
  width:100%;
}

.link-slide-text {
  display:block;
  width:100%;
  height:100%; 
  position:relative; 
  display: flex;
  align-items: center;
  text-decoration:none !important; 
}

.slide-claim {
  position:absolute;
  z-index:10;
  bottom:0;
  right:0;
  width:40%;
  height:100px; 
  background-color:#fff; 

  display: flex;
  padding-left:4%;
}

.slide-claim span {
  font-family:var( --ff-sec);
  font-weight:700;
  font-size:58px;
  color:var(--clr-prim);
  align-self: flex-end;
  line-height:110%; 
}

.controls {
  padding: 0px;
  display: flex;
  align-items: center;
}

#prevButton {
  position:absolute;
  z-index:20;
  left:18px;
  top:40%;
  width:54.4px;
  height:87px;
  background-image:url('../Icons/angle-left.svg');
  background-repeat:no-repeat;
  background-size:54.4px 87px;
  cursor:pointer;
}

#nextButton {
  position:absolute;
  z-index:20;
  right:18px;
  top:40%;
  width:54.4px;
  height:87px;
  background-image:url('../Icons/angle-right.svg');
  background-repeat:no-repeat;
  background-size:54.4px 87px;
  cursor:pointer;
}


/* Style Link Title
[data-title]:hover:after {
  opacity: 1;
  transition: all 0.1s ease 0.5s;
  visibility: visible;
}

[data-title]:after {
  content: attr(data-title);
  background-color: #00FF00;
  color: #111;
  font-size: 150%;
  position: absolute;
  padding: 1px 5px 2px 5px;
  top: 3em;
  left: 100%;
  white-space: nowrap;
  box-shadow: 1px 1px 3px #222222;
  opacity: 0;
  border: 1px solid #111111;
  z-index: 99999;
  visibility: hidden;
}

[data-title] {
  position: relative;
}
  */






/* Media Queries */
@media screen and (max-width: 1600px)  {
  .wrap-slide-text {
    height:160px; 
  }

  .slide-text {
    margin-left:15%;
    font-size:50px;
  }

  .slide-claim span {
    font-size: 46px;
  }
}


@media screen and (max-width: 1200px)  {
  .wrap-slide-text {
    height:120px; 
  }

  .slide-text {
      font-size:40px;
  }

  .slide-claim {
    height: 60px;
  }

  .slide-claim span {
    font-size: 36px;
  }

  html[lang="fr"] .slide-text {
    margin-left:5%;
   }
}

@media screen and (max-width: 1000px)  {
  html[lang="fr"] .slide-claim span {
    font-size: 32px;
  }
}


@media screen and (max-height: 880px) and (orientation:landscape) {
  
  .slider-container {
    height: calc(80vh - 90px);
  }
}


@media screen and (max-width: 840px) {
  
  .slider-container {
    height: auto;
    aspect-ratio:16/10.2;
  }

  .wrap-slide-text {
    height:100px; 
  }

  .slide-text {
      font-size:32px;
  }

  .slide-claim {
    height: 50px;
    width: 45%;
    z-index:50;
    padding-left: 20px;
  }

  .slide-claim span {
    font-size: 28px;
    display: block;
    width: 100%;
  }
}

@media screen and (max-width: 767.5px) {
   .slide-text {
    margin-left:5%;
  }
  html[lang="fr"] .slide-claim span {
    font-size: 28px;
  }
}


@media screen and (max-width: 640px) {
  
  .slider-container {
    height: auto;
    aspect-ratio:16/12;
  }

  .wrap-slide-text {
    height:80px; 
    width:80%;
  }

  .slide-text {
      font-size:26px;
      margin-left: 5%;
  }

  .slide-claim {
   display:none; 
  }

  .claim-mobile {
    position:relative;
    z-index:50; 
    right:0;
    top:-40px;
    width:42%;
    height:45px;
    text-align:right;
    padding-right:15px;
    background-color:#fff;
    color:#94D44A;
    margin-left: auto;
  }

  .claim-mobile span {
    font-family:var( --ff-sec);
    font-weight:700;
    font-size:23px;
    padding-top:10px; 
    display: inline-block;
  }

}


@media screen and (max-width: 580px) {

  .wrap-slide-text {
      height:68px; 
      width:74%;
  }

  .slide-text {
      font-size:23px;
  }

  .claim-mobile {
    z-index:10;
    top: 0px;
    width: 65%;
    height: 45px;
    padding-right: 0px; 
    background-color: #F2FAE8;
    color: #94D44A;
  }

  .claim-mobile span {
    font-size: 21px;
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  #prevButton {
    left: 10px;
    top: 30%;
    width: 40px;
    height: 63.99px;
    background-size: 40px 63.99px;
  }


  #nextButton {
    right: 10px;
    top: 30%;
    width: 40px;
    height: 63.99px;
    background-size: 40px 63.99px;
  }

}



