@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --Pale-blue: hsl(225, 100%, 94%);
    --Bright-blue: hsl(245, 75%, 52%);


    --Very-pale-blue: hsl(225, 100%, 98%);
    --Desaturated-blue: hsl(224, 23%, 55%);
    --Dark-blue: hsl(223, 47%, 23%);

    --font-family: "Red Hat Display", serif;
}

@media only screen and (width <=375px) {

    .card {
        width: auto !important;
        margin: 0 20px !important;
    }

    .card .card-body {
        padding: 40px 20px !important;
    }


    .desktop-img {
        display: none !important;
    }

    .mobile-img {
        display: block !important;
    }

    .card .card-body {
        padding: 40px 20px !important;
    }

    .card-body #titulo {
        font-size: 1.3rem !important;
    }

    .card-body #descripcion {
        font-size: 1rem !important;
    }

    .card-body #contenedor .informacion #detalles .titulo-contenedor {
        font-size: 0.9rem !important;
    }

    .card-body #contenedor .informacion #detalles .contenido-contenedor {
        font-size: 0.9rem !important;
    }

    .card-body #contenedor .change a {
        font-size: 0.9rem !important;
    }

}

@media only screen and (width > 375px) and (width < 400px) {

    .card {
        width: 40vh !important;
    }

    .card .card-body {
        padding: 35px 20px !important;
    }


    .desktop-img {
        display: none !important;
    }

    .mobile-img {
        display: block !important;
    }

    .card-body #titulo {
        font-size: 1.3rem !important;
    }

    .card-body #descripcion {
        font-size: 1.12rem !important;
    }

    .card-body #contenedor .informacion #detalles .titulo-contenedor {
        font-size: 0.9rem !important;
    }

    .card-body #contenedor .informacion #detalles .contenido-contenedor {
        font-size: 0.9rem !important;
    }

    .card-body #contenedor .change a {
        font-size: 0.9rem !important;
    }
}

body {
    margin: 0;
    padding: 0;
    background: var(--Pale-blue);
    width: 100%;
    height: 100vh;
    display: grid;
    place-content: center;
    position: relative;
}

.desktop-img {
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
}

.mobile-img {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
}

.card {
    width: 50vh;
    z-index: 10;
    border-radius: 20px;
    overflow: hidden;
    background: white;
}

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

.card .card-body {
    padding: 40px 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.card-body #titulo {
    font-family: var(--font-family);
    font-weight: 900;
    color: var(--Dark-blue);
    font-size: 1.8rem;
}

.card-body #descripcion {
    margin-top: 13px;
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--Desaturated-blue);
    line-height: 1.6rem;
}

.card-body #contenedor {
    margin: 20px 0;
    background: hsl(225, 100%, 99%);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    opacity: 0.8;
}

.card-body #contenedor .informacion {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 17px;
    text-align: start;
}



.card-body #contenedor .informacion #detalles .titulo-contenedor {
    font-family: var(--font-family);
    font-weight: 900;
    color: var(--Dark-blue);
}

.card-body #contenedor .informacion #detalles .contenido-contenedor {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--Desaturated-blue);
}

.card-body #contenedor .change a {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--Bright-blue);
}

.card-body #contenedor .change a:hover {
    color: #766cf1;
}

#boton-component {
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 900;
    color: white;
    background: var(--Bright-blue);
    border: none;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(118, 108, 241, 0.6);
}

#boton-component:hover {
    background-color: #766cf1;
    box-shadow: 0 10px 20px rgba(118, 108, 241, 0.5);
}

#cancel-orden {
    margin-top: 30px;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 900;
    color: var(--Desaturated-blue);

}

#cancel-orden:hover {
    color: var(--Dark-blue);
}
