body {
    background-color: rgb(230, 230, 230);
}

.grupo {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 56px;
}

h2{
    text-align: center;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.15;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-style: italic;
    color: rgb(32, 36, 102);
    text-shadow: 1px 2px rgba(0,0,0,.18);
    margin: clamp(26px, 5vw, 48px) 18px 8px;
}

.btn{
    background-color:rgb(16, 36, 211);
    color: rgb(255, 255, 255);
    padding: 0;
    font-size: 18px;
    font-family:Arial, Helvetica, sans-serif;
    font-weight:bold;
    border-radius: 999px;
    margin: 12px 0 0;
    overflow: hidden;
    transition: 0.5s ease;
}

button.btn:hover{
    background-color:rgb(16, 36, 211);
    transform: translateY(-2px);
    color: rgb(255, 255, 255);
    font-weight: bold;
}

.cotiza {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 24px;
    color: #fff;
}

.card{
    text-align: center;
    background: #fff;
    border: 1px solid rgba(32, 36, 102, .12);
    align-items: center;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(10, 18, 58, .11);
    padding: 18px;
    height: 100%;
    overflow: hidden;
    
}
.card-img-top{
    border: 6px solid rgb(32, 36, 102);
    width: min(330px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    
}

.parrafo{
    font-size: clamp(22px, 3.2vw, 34px);
    line-height: 1.12;
    margin:0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(32, 36, 102);
}


.botond, .botoni{
    width: clamp(52px, 8vw, 76px);
    height: clamp(52px, 8vw, 76px);
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
}

.flecha{
    border-radius: 50%;
    padding:15px;
    background-color: white;
    color: rgb(16, 36, 211);
    box-shadow: 0px 0px 3px rgb(83, 83, 83);
}

.vermas{
    background-color: rgba(255, 166, 0, 0.952);
    font-family:Arial, Helvetica, sans-serif;
    font-weight:lighter;
    font-size: clamp(16px, 2.4vw, 24px);
    padding: 8px 14px;
    border-radius: 30px;
    cursor: pointer;
    
}

.card-img-overlay{
    display: flex;
    align-items: center;
    justify-content: center;
    inset: 18px;
    margin: 0 auto;
    width: min(330px, calc(100% - 36px));
    aspect-ratio: 1 / 1;
    height: auto;
}

.card-img-overlay:hover{
    margin: 0 auto;
    width: min(330px, calc(100% - 36px));
    height: auto;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: clamp(13px, 1.55vw, 16px);
    background-color: rgba(0, 0, 0, 0.479);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.932);
    font-weight: lighter;
    .vermas{
        display: none;
    }
    .contenido{
        display: block;
    }
}

.contenido{
    text-align:justify;
    display: none;
    margin: 0;
    max-height: 100%;
    overflow: auto;
  
}

.row {
    row-gap: 24px;
}

@media screen and (max-width: 767px) {
    .grupo {
        width: min(430px, calc(100% - 28px));
        margin-bottom: 88px;
    }

    .card {
        padding: 14px;
    }

    .botond, .botoni {
        top: auto;
        bottom: -74px;
        transform: none;
        width: 54px;
        height: 54px;
    }

    .botoni {
        left: calc(50% - 70px);
    }

    .botond {
        right: calc(50% - 70px);
    }

    .flecha {
        padding: 10px;
    }
}

