.slider_text
{
  position: relative;
  top: 30%;
  bottom: 50%;
  font-weight: bold;
}
h1 {
  font-size: 80px;
  color: var(--primary-color);
  transform: translateY(-600px);
  animation: 1.2s slideIn ease-in-out forwards 1s;
  z-index: 10;
  opacity: 0;
  position: relative;
}
.location
{
  transform: translateY(600px);
  animation: 1.8s slideIn ease-in-out forwards 3s;
  font-style: oblique;
  font-weight: normal;
}
.slide_text {
    font-size: 25px;
    color: var(--primary-color);
    transform: translateY(600px);
    animation: 1.8s slideIn ease-in-out forwards 5s;
    z-index: 10;
    opacity: 0;
    position: relative;
    font-weight: normal;
    
  }
  .image-box {
    /* Here's the trick */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), var(--image-url) center center;
  
    /* Here's the same styles we applied to our content-div earlier */
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .image-box1 {
    /* Here's the trick */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), var(--image-url) center center;
  
    /* Here's the same styles we applied to our content-div earlier */
    color: white;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .view_deal
  {
    background-color: #fff;
    color:#000;
    padding: 5px 15px;
    text-align: center;
    transform: translateY(600px);
    animation: 1.8s slideIn ease-in-out forwards 7s;
    width: 250px;
    border-radius: 10px;
  }
  .view_deal1
  {
    background-color: #fff;
    color:#000;
    padding: 5px 15px;
    text-align: center;
    transform: translateY(600px);
    animation: 1.8s slideIn ease-in-out forwards 15s;
    width: 250px;
    border-radius: 10px;
  }
/*
.overlay {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    opacity: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    transform: scale(.5);
    animation: .5s slideIn ease-in-out forwards, 1s skewBg ease-in-out;
}
*/
@keyframes skewBg {
  0% {
    transform: scale(.5);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes underline {
  100% {
    width: 100%;
  }
}

@keyframes slideIn {
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}