
.slider{
  
}

.mySlides {
    display: none;
    height:100%;
    position: relative;
}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
    height: 100vh;
    width: 100%;
    /* height: 400px; */
    /* margin: auto; */
    /* margin: 0; */
    overflow: hidden;
    position: relative;
    
    z-index: 2;
}


.mySlides-img{
    position: absolute;
    height:100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

   
}
.my-slide__img--br{
  background-color: rgb(10 10 10 / 90%);
  height: 100%;
  opacity: 0.7;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 8px 15px;
  margin: -22px 20px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
  display: none;
  transition: all linear 0.3s;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.2);
    text-decoration: none;
    color: var(--white-color);
}

/* Caption text */
.slider-content__first{
  position: absolute;
  top: 50%;
  left: 50%;
  /* right: 50%; */
  /* transform: translateX(-50%); */
  transform: translate(-50%,-50%);
}

.slider-content__first-line{
  display: flex;
  justify-content: center;
  /* text-align: center; */
  align-items: center;
}


.slider-content__first-line--img{

}

.slider-content__first-line-content{
  margin: 0;
  padding: 20px 24px;
  color: var(--white-color);
  font-size: 1.6rem;
  text-transform: uppercase;
  animation: fadeIn linear 0.5s 0.5s;
  animation-fill-mode: backwards;
  text-align: center;
}


.slider-content__second-line{
  text-align: center;
}

.slider-content__second-line-content{
  font-size: 4.9rem;
  color: var(--white-color);
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  animation: zoom linear 0.5s 0.5s;
  animation-fill-mode: backwards;
}
@keyframes zoom{
  from{
    transform:scale(1.5,1.5);
    opacity: 0;
  }
  to{
    opacity: 1;
    transform:scale(1);
  }
}
.slider-content__second-lines{
  text-align: center;
}
.slider-content__second-line-porto{
    font-size: 14.4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    letter-spacing: -35px;
    opacity: 0.7;
    animation:  translateX linear 0.5s;
    position: relative;
    left:0;
    animation-fill-mode:backwards;
}
@keyframes translateX{
  from{
    opacity: 0;
    left:-20px;
  }
  to{
    opacity: 0.7;
    left:0;
  }
}


.slider-content__second-line-img{
  position: relative;
  top: -10px;
  left: -45px;
  animation: left linear 0.5s 0.5s;
  animation-fill-mode: backwards;
  
}
@keyframes left{
  from{
    left:-35px;
    opacity: 0;
  }
  to{
    left:-45px;
    opacity: 1;
  }
}

.slider-content__third-line{
  text-align: center;
}

.slider-content__third-line-content{
  font-size: 1.6rem;
  color: #beb8b8;
  margin: 10px 0 24px;
  animation: fadeIn linear 0.5s 0.5s;
  animation-fill-mode: backwards;
}

.slider-content__fourth-line{
  text-align: center;
}

.slider-content__fourth-line-link{
    padding: 16px 48px;
    color: white;
    background-color: var(--primary-color);
    border-radius: 35px;
    margin-top: 0px;
    display: inline-block;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 700;
    animation: tranSlateY linear 1s 0.5s;
    animation-fill-mode: backwards;
}
.slider-content__fourth-line-link:hover{
  text-decoration: none;
  color:white;
  background-color: #00a1f2;;
}
 @keyframes tranSlateY{
   from{
     transform: translateY(50px);
     opacity: 0;
   }
   to{
     transform: translateY(0);
     opacity: 1;
   }
 }

/* Number text (1/3 etc) */


/* The dots/bullets/indicators */
.container-dot{
 
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: 20px; 
  display: none;
  transition: all linear 0.3s;
}
.dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 5px 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
 
}
.slideshow-container:hover .prev{
  display: block;
}
.slideshow-container:hover .next{
  display: block;
}
.slideshow-container:hover .container-dot{
  display: inline-block;
}

.actives, .dot:hover {
  background-color: var(--primary-color);
}

/* Fading animation */
.fades {
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: 0.5s;
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-timing-function: linear;
}

@keyframes fadeIn {
  from {opacity: 0;
   

  } 
  to {opacity: 1;
    
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 739px) {
  .slider-content__second-line-porto{
    font-size: 6.4rem;
    letter-spacing: -17px;
  }
}
/* cho tablet */
@media only screen and (min-width: 739px) and (max-width: 1023px){
   .slider-content__second-line-porto{
    font-size: 11.4rem;
    letter-spacing: -27px;
  }
}