.centrar {
    margin-top: 1%;
    line-height: auto;
    text-align: center;
    margin-right: 50px;
}

.fondo {
    border-radius: 10px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;

}

.content {
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 70px;
    padding-right: 70px;
    font-weight: 500;
    font-size: 32px;
    color: white;
    font-family: "Serenity Medium";
}

.opciones {
    margin-top: 2%;
    margin-right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card {
    perspective: 800px;
    margin-bottom: 80px;
    margin-left: 20px;
    margin-right: 20px;
}

.card-flip {
    position: relative;
    width: 300px;
    height: 100px;
    margin: 3rem auto;
    transform-style: preserve-3d;
    transform: transform 1s;
}

.card-side {
    width: 100%;
    position: absolute;
    backface-visibility: hidden;
}

.card-front {
    max-height: 515px;
    padding-top: 30px;
    border-radius: 20px;
    background-color: #d8d8d8;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotateY(0deg);

    opacity: 3;
    filter: grayscale(100%);
    transition: all 0.2s;
}

.card-front:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    border: 2px solid #7493c9;
    background-color: white;
}

.card-back {
    height: 433px;
    padding-top: 30px;


    border-radius: 20px;
    background-color: rgb(255, 255, 255);
    max-width: 300px;

    transform: rotateY(-180deg);
    border: 2px solid #7493c9;
}

.options {
    height: 90%;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.circle {
    background-color: #d2dff0;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 80px;

}

.cardImg {
    max-width: 80%;
    height: auto;
    object-fit: cover;

}

.linea {
    width: 100%;
    text-align: center;
    color: white;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.linea-back {
    width: 100%;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.card-option {
    width: 100%;
    vertical-align: middle;
    color: #868686;
    font-family: "Serenity Light";
    font-size: 28px;
    padding: 1px;
    height: 35px;
}

.card-option:hover {
    width: 100%;

    color: #ffffff !important;
    background-color: #5589C7;
    font-family: "Serenity Light";
    font-size: 28px;
    padding: 1px;
    height: 35px;
}

.option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 10px;
}

.card-text {
    font-family: "Serenity Light";
    font-size: 32px;
}

.card-text-back {
    font-family: "Serenity Light";
    font-size: 32px;
}

.icon-options {
    color: #868686;
}


.icon-options:hover {
    color: #ffffff;
}

@media only screen and (max-width: 1400px) {
    .card {
        transform: scale(0.9);
        margin-bottom: 310px;
    }
    .opciones {
        margin-right: 1px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .card-front {
        background-color: white;
        filter: grayscale(0%);
        border: 2px solid #7493c9;
    }

}

@media only screen and (max-width: 1100px) {
    .opciones {
        margin-right: 1px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }


}


@media only screen and (max-width: 700px) {
    .centrar {
        width: 100%;
        margin-top: 7%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 0;
    }


    .fondo {
        width: 85%;
    }

    .content {
        margin-bottom: 0;
        margin-top: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
        font-weight: 500;
        font-size: 24px;
        color: white;
        font-family: "Serenity Medium";
    }

    .opciones {
        margin-right: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .card-flip {
        max-width: 250px;
        margin-bottom: 250px;
    }

    .card-front {
        
        max-width: 250px;
    }

    .card-back {
        height: 400px;
        max-width: 250px;

    }
}