﻿.content {
    background: #f5f5f5;
}

.div-titulo {
    background-color: #07354f;
    width: 100%;
    height: 20vh;
    text-align: center;
    align-content: center;
}

    .div-titulo h1 {
        color: white;
        font-size: 2.2em;
        font-weight: bold;
    }

.div-contenido {
    width: 70%;
    height: auto;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 5%;
}

.card-contenedor {
    width: 45%;
    height: 500px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    margin-bottom: 5%;
}

.card-imagen {
    width: 100%;
    height: 50%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

    .card-imagen img {
        position: relative;
        z-index: 0;
        width: 100%;
        height: 100%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-top: 1px solid #b4b4b4;
        border-left: 1px solid #b4b4b4;
        border-right: 1px solid #b4b4b4;
        object-fit: cover;
    }

.titulo-imagen {
    position: relative;
    z-index: 1;
    font-size: 1.3em;
    font-weight: bold;
    color: white;
    padding-left: 5%;
    top: -3.5em;
    text-shadow: 0.2em 0.1em 0.3em #333;
    /*-webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #b4b4b4;*/
}

.card-informacion {
    width: 100%;
    height: 50%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.opciones {
    border: 2px solid #b4b4b4;
    width: 100%;
    height: 25%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    flex-grow: 1;
}

.option {
    border-left: 2px solid #b4b4b4;
    border-right: 2px solid #b4b4b4;
    width: 100%;
    text-align: center;
    align-content: center;
}

    .option.elegido {
        background-color: #b4b4b4;
        font-weight: bold;
        color: black;
    }

.informacion {
    border-left: 2px solid #b4b4b4;
    border-right: 2px solid #b4b4b4;
    width: 100%;
    height: 60%;
    align-content: center;
}

    .informacion p {
        width: 90%;
        margin: auto;
        font-size: 1em;
    }

.enlace {
    width: 100%;
    height: 20%;
    align-content: center;
    cursor: pointer;
    border: 2px solid #b4b4b4;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.a-enlace {
    color: #07354f;
    font-weight: 500;
    text-decoration: none;
    padding-left: 5%;
}

    .a-enlace img {
        padding-left: 2%;
    }

.boton-movil {
    display: none;
}

.boton-desktop {
    display: block;
}

.boton-whatsapp {
    position: fixed;
    z-index: 100;
    margin-top: 3%;
    margin-bottom: auto;
    right: 0;
    background-color: #26d366;
    text-align: left;
    color: white;
    width: auto;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

.a-whatsapp {
    text-decoration: none;
    color: white;
}


@media (max-width: 600px) {
    .div-titulo h1 {
        font-size: 2em;
    }

    .div-contenido {
        width: 90%;
        flex-direction: column;
    }

    .informacion p {
        font-size: 0.8em;
    }

    .card-contenedor {
        width: 100%;
    }

    .boton-movil {
        display: block;
    }

    .boton-desktop {
        display: none;
    }
}

@media (min-width: 600px) and (max-width: 800px) {
    .div-contenido {
        width: 90%;
        flex-direction: column;
    }

    .card-contenedor {
        width: 100%;
    }
}

@media (min-width: 800px) and (max-width: 1250px) {
    .div-contenido {
        width: 90%;
    }

    .informacion p {
        font-size: 0.8em;
    }
}
