:root {
  ---nexa: 'Nexa', sans-serif;
  ---gilroy: 'Gilroy-Medium', sans-serif;
  ---lemon: 'Lemon Milk', sans-serif;
  ---main-color: #1E75BC;
  --main-font-size: 45px;
  --font-size: 18px;
}

.home {
  max-width: 1300px;
  margin: 0 auto;
  height: 107vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slick-initialized .slick-slide {
  display: inline-flex;
}

.slider {
  width: 100%;
  margin: 50px auto;
}

/* CSS */
.slider .slide {
  opacity: 0;
}


.slick-slide {
  display: flex;
  text-align: center;
  color: #fff;
  font-size: 20px;
}

/* Customize Slick Arrows */
.slick-prev:before,
.slick-next:before {
  color: black;
  display: none;
}

.slide {
  display: flex;
  flex-direction: row;
}

.slide .right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide .content_img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  /* Ensure the container height is not limiting the image */
}


.slide .content_img img {
  width: auto;
  height: 550px;
  max-height: none;
  object-fit: cover;
}


.slide .right h1 {
  font-size: var(--main-font-size);
  font-family: var(---nexa);
  color: var(---main-color);
  text-align: start;
}

.slide .right p {
  font-size: var(--font-size);
  font-family: var(---gilroy);
  font-weight: normal;
  /* margin-top: 40px; */
  margin-right: 40px;
  text-align: justify;
  color: black;
}


/* Smaller Screen */
@media (max-width: 479px) {

  .home {
    height: 85vh;
  }

  .slider {
    width: 89%;
  }

  .slide {
    height: auto;
    /* border: 3px solid red; */
    /* padding: 20px; */
    flex-direction: column-reverse;
    overflow: hidden;
    gap: 30px;
  }

  .slick-track {
    /* border: 3px solid red; */
    display: flex;
    overflow: hidden;
  }

  .slide .right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
  }

  .slide .content_img img {
    flex: none;
    /* width: 100%; */
    height: 350px;
  }


  .slide .right h1 {
    font-size: 30px;
    text-align: center;
  }

  .slide .right p {
    font-size: var(--font-size);
    margin-right: 0;
  }
}

/* Medium Screen */
@media (min-width: 480px) and (max-width: 767px) {
  .slide {
    flex-direction: column-reverse;
    /* border: 2px solid red; */
    padding: 20px;
  }

  .slide .right {
    width: 100%;
    /* border: 3px solid green; */
    justify-content: center;
    align-items: center;
  }

  .slide .content_img {
    /* border: 3px solid rebeccapurple; */
    flex: 1;
    width: 100%;
  }

  .slide .content_img img {
    overflow: hidden;
  }

  .slide .right h1 {
    font-size: 22px;
  }

  .slide .right p {
    font-size: 15px;
    /* margin-right: 30px; */
    text-align: center;
  }
}


/* Smaller Laptop and Tablet */
@media (min-width: 768px) and (max-width: 1440) {
  .home {
    /* border: 3px solid red; */
    padding: 20px;
    height: auto;
  }

  .slide .right h1 {
    font-size: 32px;
  }

  .slide .right p {
    font-size: 18px;
    margin-right: 30px;
  }

  .slide .content_img {
    border: 3px solid green;
    width: 50%;
  }

  .slide .content_img img {
    width: 100%;
    /* border: 3px solid red; */
  }
}

/* Small Desktops/Laptops */
@media (min-width: 1024px) and (max-width: 1280px) {
  .home {
    max-width: 1140px;
  }

  .slide .right h1 {
    font-size: 36px;
  }

  .slide .right p {
    /* font-size: 20px; */
    margin-right: 40px;
  }

  .slide .content_img {
    width: auto;
  }

  .slide .content_img img {
    height: 450px;
  }
}