/* Estilos específicos para salas Converge basados en page3.css */
fieldset {
    border: 5px solid brown;
    padding: 50px;
    position: relative;
    margin: 20px;
}

legend {
    position: relative;
    padding-inline: 20px;
    background-color: white;
    left: -22px;
    top: -120px;
    width: max-content;
}

legend img {
    width: 350px;
    height: 150px;
}

.mainSection {
    padding: 60px 10px;
    height: 100%;
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.content__button {
    display: flex;
    align-items: center;
    background-color: #de203a;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 500px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.content__button:hover {
    background-color: #c01e39;
    color: white;
}

.content__button img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 650px;
    margin-inline: 15px;
}

.content__carousel {
    position: relative;
    padding: 0;
    margin: 0;
    width: 56%;
    height: 100%;
    text-align: center;
    overflow: hidden;
    user-select: none;
    border: 1px solid black;
}

.content__textboxRight {
    display: flex;
    flex-direction: column;
    width: 36%;
    height: 100%;
    z-index: 50;
    padding-left: 20px;
}

.content__textbox-ContentBox {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content__textbox-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #de203a;
}

.content__bigText {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.content__bottomText p {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Carrusel de imágenes */
.carousel-item img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

/* Estilos para las tarjetas de información */
.card-header.ubicacion {
    background-color: #6c757d; 
    color: white;
}

.card-header.equipamiento {
    background-color: #495057; 
    color: white;
}

.mainSection__title-h2 {
    color: #EB002A;
    font-size: 40px;
    margin: 0;
    padding: 0;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .content {
        flex-direction: column;
        height: auto;
    }

    .content__carousel {
        width: 100%;
        height: 400px;
    }

    .content__textboxRight {
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
    }

    fieldset {
        padding: 20px;
    }

    legend img {
        width: 250px;
        height: 100px;
    }
}

@media screen and (max-width: 767px) {
    .mainSection__title-h2 {
        font-size: 2rem;
    }

    legend img {
        width: 200px;
        height: 80px;
    }

    .content__carousel {
        height: 300px;
    }
}
