.home-page{

    margin: 0;
    margin-left: 75px;
    padding: 0;
    overflow-y: hidden;
  }

.slide-in-row{

  display: none;
}
@keyframes slideIn {
  from{
    transform: translateX(-100%);
    opacity: 0;
  }
  to{
    transform: translateX(20%);
    opacity: 1;
  }
}
.slide-in-content{
  width: 50%;
  background-color: rgba(239, 239, 240, 0.5);

  color: white;
  animation: slideIn 2s forwards;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  z-index: 1;
  padding-left: 50px;
  padding-right: 50px;
}
.slide-in-content h2{
 font-size: 36px;
  line-height: 50px;
  color: #000;
}
.slide-in-content p{
  margin-top: 20px;

  color: #000;
  font-weight: lighter;
  font-style: italic;
  font-size: 18px;
  line-height: 30px;
}
.slide-in-content a{
  width: 40%;
  text-align: center;
}
.slide-in-image{

  width: 50%;
  text-align: right;
  transition: transform 0.5s ease-in-out;
  animation: slideInImage 1s forwards;

}
@keyframes slideInImage {
  from{
    transform: translateX(100%);
    opacity: 0;
  }
  to{
    transform: translateX(-20%);
    opacity: 1;
  }
}
.slide-in-image img{
  width: 100%;
  height: auto;
}

.home-container{
  display: flex;
  flex-wrap: wrap;

}
.home-slideshow-container{
    position: relative;

    margin: 0;
    padding: 0;
    width: 100%;
    height: 650px;

}
.home-slide{
    display: none;
    height: 100%;
}
.home-slide img{
  width: 100%;
  height: 100%;

    object-fit: cover;
}
.home-fade{
    animation-name: fade;
    animation-duration: 2s;
}
.home-cta-button{
  flex-direction: column;
  background-color: #B01216;
  width: 60%;
  color: #fff;
  border: none;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  font-size: 16px;
}
.home-cta-button:hover{
  transform: scale(1.1);
}
.home-second-section, .home-third-section{
  width: 100%;
  display: flex;
  align-items: stretch;

  justify-content: center;
  margin: 0;
  height: 650px;

}
.home-second-section .home-left-section{
  width: 30%;
  background-color: #ede8e5;

  height: 100%;
}
.home-second-section .home-right-section{
  width: 70%;

}
.home-second-section .home-right-section img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-third-section{
  width: 100%;
  background-color: #272523;
  color: #ffffff;
}
.home-third-section .home-left-section{
  width: 70%;
}
.home-third-section .home-left-section img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-third-section .home-right-section{
  width: 30%;
}
.home-blocks-content{
  display: flex;
  flex-direction: column;
  justify-content: center;

  height: 100%;
  padding-left: 50px;
  padding-right: 50px;

}
.home-blocks-content h1,

.home-blocks-content h2{
  margin-top: 20px;
  font-size: 40px;

}
.home-blocks-content p{
  margin-bottom: 50px;
  line-height: 30px;
  font-size: 16px;
}
.home-blocks-content hr{
  width: 30%;
  height: 2px;
  background-color: #ffb055;
  margin-top: 50px;
  margin-bottom: 50px;
  border: none;
}
.home-first-section{
  display: block;
  aspect-ratio: 1844 / 853;

  margin-top: 0;
}
.home-first-section img{
  display: block;
  width: 100%;
  aspect-ratio: 1844 / 853;

}
@media screen and (max-width: 767px) {
  .home-container{
  margin-bottom: 0;
}
  .slide-in-row{

    display: none;
}
  .slide-in-content{
    margin-top: -50px;
  width: 100%;
  animation: slideInMobile 2s forwards;
  z-index: 1;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 50px
}
.slide-in-content h2{
 font-size: 28px;
  line-height:35px;
}
.slide-in-content p{
  font-size: 14px;
  line-height: 25px;
}
.slide-in-content a{
  width: 80%;
}
.slide-in-image{

  width: 100%;
  animation: slideInImageMobile 1s forwards;
}
@keyframes slideInMobile {
  from{
    transform: translateX(-100%);
    opacity: 0;
  }
  to{
    transform: translateX(0%);
    opacity: 1;
  }
}
@keyframes slideInImageMobile {
  from{
    transform: translateX(100%);
    opacity: 0;
  }
  to{
    transform: translateX(-0%);
    opacity: 1;
  }
}
  .home-page{
    margin-left: 0;
  }
.home-slideshow-container{
  height: 400px;

}
.home-second-section, .home-third-section{
height: auto;
}
  .home-second-section .home-left-section{
  width: 100%;
}
.home-second-section .home-right-section{
  clear: both;
  width: 100%;
}
.home-second-section .home-right-section img{
  object-fit: cover;
}
.home-second-section{
  flex-direction: column-reverse;
}
.home-third-section{
    flex-direction: column;
  }
.home-third-section .home-left-section{
  width: 100%;
}
.home-third-section .home-left-section img{
  object-fit: cover;
  display: block;
}
.home-third-section .home-right-section{
  width: 100%;
}
.home-blocks-content{
  padding: 30px;
  padding-bottom: 0;
  margin-bottom: -20px;
}
.home-blocks-content h1,

.home-blocks-content h2{
  margin-top: 10px;
  font-size: 30px;

}
.home-blocks-content p{
  margin-bottom: 50px;
  line-height: 30px;
  font-size: 16px;
}
.home-blocks-content hr{
  margin-top: 30px;
  margin-bottom: 30px;
}
.home-cta-button{
  width: 80%;
  padding: 15px 20px;
  margin-bottom: 60px;
  font-size: 14px;
}
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .home-page{
    margin-left: 0;
  }
  .slide-in-image{
  width: 60%;
  text-align: right;
  transition: transform 0.5s ease-in-out;
  animation: slideInImage 1s forwards;

}
.slide-in-image img{
  width: 100%;
  height: 600px;
}
.slide-in-content{
  width: 60%;
  height: 500px;
  padding-left: 50px;
  padding-right: 50px;
}
.slide-in-content h2{
 font-size: 32px;
  line-height: 50px;
}
.slide-in-content p{
  margin-top: 20px;
  font-size: 16px;
  line-height: 30px;
}
.slide-in-content a{
  width: 40%;
  text-align: center;
  font-size: 16px;
}
.home-slideshow-container{
  height: 600px;

}
.home-second-section, .home-third-section{
height: auto;
}
  .home-second-section .home-left-section{
  width: 100%;
}
.home-second-section .home-right-section{
  clear: both;
  width: 100%;
}
.home-second-section .home-right-section img{
  object-fit: cover;
}
.home-second-section{
  flex-direction: column-reverse;
}
.home-third-section{
    flex-direction: column;
  }
.home-third-section .home-left-section{
  width: 100%;
}
.home-third-section .home-left-section img{
  object-fit: cover;
  display: block;
}
.home-third-section .home-right-section{
  width: 100%;
}
.home-blocks-content h1,

.home-blocks-content h2{
  margin-top: 40px;
  font-size: 40px;

}
.home-blocks-content p{
  margin-bottom: 50px;
  line-height: 30px;
  font-size: 16px;
}
.home-blocks-content hr{
  margin-top: 30px;
  margin-bottom: 30px;
}
.home-cta-button{
  width: 50%;
  padding: 15px 20px;
  margin-bottom: 60px;
  font-size: 16px;
}
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .home-second-section .home-left-section,
  .home-third-section .home-right-section {
    width: 40%;
  }
  .home-second-section .home-right-section,
  .home-third-section .home-left-section {
    width: 60%;
  }
  .home-blocks-content {
    box-sizing: border-box;
    padding: 28px;
  }
  .home-blocks-content h2 {
    margin-top: 0;
    font-size: 32px;
    line-height: 1.15;
  }
  .home-blocks-content hr {
    width: 72px;
    margin: 28px 0;
  }
  .home-blocks-content p {
    margin-bottom: 28px;
    line-height: 1.5;
  }
  .home-cta-button {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    margin-bottom: 0;
    padding: 11px 16px;
    align-self: flex-start;
  }
}
