#video-slider{
  margin-top:-5%;
 }
#contslib{
  width: 50%;
  margin: 0 auto;
  text-align: center;
  background: rgba(0, 0, 0, .0);
}
#h1b{
  margin:0 auto;
  display:block;
  font-weight: bold;
  color:#88a73b;
  font-size: 1em;
  text-shadow: 0 0 5px #fff;
}
#pb{
  margin:0 auto;
  display:block;
  font-weight: bold;
  color:#22272d;
  font-size: 1em;
}
 
.slide-btn {
  width: 70%;
    display: inline-block;
    margin-top: 1em;
    padding: 0.75em 1.5em;
    font-family: Helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
    background-color: #88a73b;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.slide-btn:hover {
    background-color: #6d882e;
    transform: translateY(-3px);
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.text-column {
margin-left: 10%;
  }
.text-column h1 {
    color: #88a73b;
    font-family: Helvetica, sans-serif;
    font-size: 1.5em;
    margin: 0 0 0.5em 0;
    line-height: 0em;
}
.text-column p {
    color: #22272d;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    font-size:0.9em;
    margin: 0;
    line-height: 1em;
}
.splide__slide {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}
.slide-content {
    align-items: center;
    background: rgba(0, 0, 0, .1);
    color: #fff;
    display: flex;
    height: 100%;
    justify-content: space-between;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-top: 5rem;
    position: relative;
    z-index: 2;
    width: 105%;
    margin-left: -20px;
}
}
.text-column {
    flex: 1;
    padding: 1rem;
}
.image-column {
    flex: 1;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}
.image-column img {
    max-width: 70%;
    margin-top: 10%;
    height: auto;
    border-radius: 10px;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards, float 4s ease-in-out infinite;
    animation-delay: 0.5s, 2s; /* Fade in primero, luego flotar */
}
@media (max-width: 768px) {
  .slide-btn {
    width: 85%;
    font-size: 0.8em;
    }
  #contslib{
  width: 100%;
}
  #h1b{
  font-size: 1em;
}
#pb{
  font-size:1em;
}
  #BTNB{
  width: 80%;
  }
  
  .splide.is-initialized, .splide.is-rendered {
        height: 580px;
        margin-left: -20PX;
}
    .slide-content {
        flex-direction: column;
        text-align: center;
        height: 50vh;
    }
    .text-column, .image-column {
        width: 100%;
        padding: 1rem 0;
    }
    .text-column h1 {
        font-size: 0.5em;
    }
    .text-column p {
        font-size: 1em;
    }
    .image-column img {
        max-width: 100%;
    }
    .slide-btn {
        font-size: 0.5em;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
*/