#index-container{
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    position: relative;
}
 
.main-banner-container{ 
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;  
    align-items: center;  
} 

.main-banner{  
    width: 100%; 
    background-color: rgba(0, 5, 2, 0.7);  
    color:#fff; 
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center; 
    padding: 50px 0px;
    /* gap: 30px; */
    position: relative; 
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0; 
  width: 100%;
  height: 100%;
  background-image: var(--background-image);
  z-index: -1; /* Colocar detrás del contenido */
  background-attachment: fixed;
  background-size: cover;
}

.main-banner img{
    width: 15%;
}
 
.main-banner > h3{
    font-size: 2.7rem;
    font-weight: 300;
    text-align: center;
    margin: 25px 0;
}

.main-banner > div{
    display: flex;
    gap: 50px;
}

.main-banner > div > a{
    width: 250px;
    height: 40px; 
    font-size: 1.2rem;
    border-radius: 15px; 
    /* padding: 2px 0; */
}

/* ----------------------------------- INDEX STYLING ------------------- */

#index-container h2{  
    background-color: #143453; 
    border-left-color: #fff;
    border-right-color: #fff;
    border-top: 2px solid yellow;
    border-radius: 0 0 50% 50%;
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 50px;
    z-index: 99;
}
 
.lots-grid{ 
    display: flex;
    flex-flow: row wrap; 
    width: 100%;
    padding: 0 10%;
}

.lots-grid figure{
    width: 25%;
    max-width: 250px;
    border: 1px solid #143453;
    box-shadow: 0px 0px 5px 5px #bbbbbb;
    border-radius: 10px;
    margin: 15px;
}

.lots-grid .card{
    overflow: hidden;
}
.lots-grid .card .img-container,
.lots-grid .card .img-container-no-image {
    max-height: 200px;
    display: flex;
    padding-bottom: 0;
}

.lots-grid .card .img-container img{
    height: 100%; 
}

.lots-grid .card .img-container-no-image img{
    height: 70%;
}

.lots-grid .card-body{
    padding: 0;
}
 
.lots-grid .card-body .data-cattle{
    padding: 10px;
}

.lots-grid .data-cattle .data-item{
    display: flex; 
    gap: 5px;
    font-size: 0.8rem;
}

.lots-grid .data-cattle .data-item:last-child {
    padding-top: 15px;
}

.lots-grid .data-cattle .data-item strong {
    letter-spacing: 2px;
} 

.lots-grid .data-cattle .data-item span:first-child { 
    font-size: 1.0rem;
    font-weight: 600; 
    color: #007e00;  
}

.lots-grid .data-cattle .data-item a{
    font-size: .8rem;
    margin: 0 auto;  
    
}
@media screen and (max-width: 768px) {
    .lots-grid figure {
        width: calc(50% - 50px);
    }
}

@media screen and (max-width: 425px) {
    #index-container{
        max-width: 100vw;
        min-width: 100vw; 
    }
    .main-banner-container {
        padding: 0; 
    }

    .main-banner img {
        width: 50%;
    } 

    .main-banner > div {
        display: flex;
        flex-flow: column nowrap;
    }
  
    .main-banner>h3 {
        font-size: 2rem;
    }

    .lots-grid figure {
        width: 90%;
        margin: 20px auto;
    } 

    .lots-grid .data-cattle .data-item {    
        font-size: 1rem;
    }

}

/* ---------------------COUNTDOWN TIMER STYLING ---------------------- */
#timer {
    position: sticky;
    top: 0; 
    height: 50px;
    background-color: #000;
    border-top: 2px solid yellow;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    z-index: 99;
    font-size: 1.3rem;
    gap: 25px;

}

#timer strong{ 
    color: red;
}

#timer small{
    color: yellow;
    margin: 0;
}

@media screen and (max-width :425px){
    #timer{
        flex-flow: column nowrap;
        font-size: 1rem;
        gap: 0;
    }

    #timer small{
        font-size: 0.9rem;
    }

    #timer strong, #timer small{
        padding: 0;
    }
}