﻿.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: 85%;
    height: auto;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 5%;
}

.card-contenedor {
    background-color: white;
    width: 49%;
    height: 500px;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    margin-bottom: 5%
}

.card-imagen {
    width: 45%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

    .card-imagen img {
        width: 100%;
        height: 100%;
    }

.card-informacion {
    width: 55%;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.card-titulo {
    height: 15%;
    padding-left: 5%;
}

    .card-titulo p {
        padding-top: 10%;
        font-size: 1.5em;
        font-weight: bold;
        color: #07354f;
    }

.card-descripcion {
    height: 47.5%;
    padding-left: 5%;
    padding-right: 5%;
}

.descripcion-titulo {
    font-size: 0.9em;
    color: black;
    font-weight: bold;
    padding-bottom: 2%;
}

.card-descripcion P {
    font-size: 0.77em;
}

.card-objetivo {
    height: 27.5%;
    padding-left: 5%;
    padding-right: 5%;
}

.objetivo-titulo {
    font-size: 0.9em;
    color: black;
    font-weight: bold;
    padding-bottom: 2%;
}

.card-objetivo P {
    font-size: 0.8em;
}

.card-enlace {
    height: 10%;
    background-color: #07354f;
    border-bottom-right-radius: 15px;
    text-align: center;
    align-content: center;
}

.enlace-a {
    font-size: 1em;
    text-decoration: none;
    color: white;
}

    .enlace-a 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-contenido {
        width: 90%;
        flex-direction: column;
    }

    .card-contenedor {
        width: 100%;
        height: 400px;
    }

    .card-titulo {
        height: 10%;
    }

        .card-titulo p {
            font-size: 1em;
        }

    .card-descripcion {
        height: 50%;
    }

    .descripcion-titulo {
        font-size: 0.8em;
    }

    .card-descripcion p {
        font-size: 0.6em;
    }

    .card-objetivo {
        height: 26%;
    }

    .objetivo-titulo {
        font-size: 0.8em;
    }

    .card-objetivo p {
        font-size: 0.6em;
    }

    .card-enlace {
        height: 10%;
    }

    .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%;
    }

    .card-titulo {
        height: 15%;
    }

    .card-descripcion {
        height: 44.3%;
    }
}

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

    .card-titulo {
        /*height: 15%;*/
        height: 11%;
    }

        .card-titulo p {
            font-size: 1.14em;
        }

    .card-descripcion {
        /*height: 50%;*/
        height: 52%;
    }

        .card-descripcion p {
            font-size: 0.7em;
        }

    .card-objetivo {
        /*height: 25%;*/
        height: 27%;
    }

        .card-objetivo p {
            font-size: 0.7em;
        }
}
