.opciones {
    margin-top: 2%;
    margin-right: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 310px 50px;
}

.card {
    perspective: 800px;
}

.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 {
    height: auto;
    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: 410px;
    padding-top: 30px;

    padding-bottom: 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;

}

.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: 40px;
}

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

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

.card-option:hover {
    color: #ffffff !important;
    background-color: #5589C7;
}

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

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

.icon-options {
    color: #868686;
}

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

@media only screen and (max-width: 1400px) {
    .card {
        transform: scale(0.9);
    }

    .opciones {
        grid-template-columns: repeat(3, 1fr);
        gap: 310px 50px;
        margin-left: 50px;
    }

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

}

@media only screen and (max-width: 1100px) {
    .opciones {
        grid-template-columns: repeat(2, 1fr);
        gap: 310px 50px;
        margin-left: 1px;
    }


}


@media only screen and (max-width: 700px) {
    .opciones {
        grid-template-columns: repeat(1, 1fr);
        gap: 310px;
        margin-left: -6px;
        margin-right: 0;
        margin-bottom: 50px;
    }
}
