/* styles.css */
body {
    margin: 0;
    font-family: "Roboto", Sans-serif;
    overflow: hidden;
    position: relative;
}

.logo-container {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.logo {
    width: 40%;
    height: auto;
}

.tagline {
    margin-top: 10px;
    color: white;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
    margin-block-start: .5rem;
    margin-block-end: 1rem;
    box-sizing: border-box;
    padding: 0;
    line-height: 1;
    font-size: 23px;
    font-weight: 600;
    font-style: italic;
}

.container {
    display: flex;
    flex-direction: row;
    height: 100dvh;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .column {
        height: 50vh;
    }
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    animation: slide 12s infinite;
}

.slide {
    flex: 1;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Overlay personalizado */
.column .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    z-index: 1;
}
.column.left .overlay {
    background: rgba(0, 157, 57, 0.3); /* Color verde con opacidad 0.3 */
}
.column.right .overlay {
    background: rgba(48, 121, 250, 0.3); /* Color azul con opacidad 0.3 */
}

.content {
    position: relative;
    text-align: center;
}

h2 {
    margin-bottom: 30px;
    color: white;
    box-sizing: border-box;
    padding: 0;
    line-height: 1;
    font-size: 50px;
    font-weight: 600;
}

a.button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 2rem;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    margin-bottom: 1rem;
    transition: background-color 0.3s;
    text-decoration: none;
}

/* Estilo del carrusel */
.carousel {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}
.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.owl-carousel .item p {
    font-size: 37px; /* Tamaño de texto de 37px */
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

@media (max-width: 1024px) {
    .logo-container {
        top: 3%;
    }
    .logo {
        width: 95%;
    }
    h2{
        margin-bottom: 15px;
        margin-top: 0px;
        font-size: 30px;
    }
    a.button{
        font-size: 18px;
    }
    .carousel {
        bottom: 5%;
    }
    .owl-carousel .item p {
        font-size: 25px;
    }
    .tagline {
        margin-block-start: 0px;
        font-size: 16px;
    }
}