/* CRÉALO TU MISMO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

body {
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.460), rgba(0, 0, 0, 0.460)), url(../IMG/background\ crealo\ tu\ mismo.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.centrar {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

h1 {
    text-align: center;
    width: 100%;
    padding: 40px 0;
    font-size: 3em;

}

form {
    width: 100%;
}

h3 {
    text-align: center;
    margin-bottom: 30px;

}

.opciones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-content: space-between;
}

.opciones input {
    display: none;
}

.caja {
    max-width: 200px;
    height: 60px;
    background: white;
    border-radius: 7px;
    transition: .3s;

}

.caja label {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.opciones label:hover {
    background-color: rgb(228, 218, 175);
}

.opciones label p {
    color: black;
    font-weight: bold;
}

.opciones label img {
    width: 30%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

.opciones input:checked~label {
    background-color: rgb(228, 218, 175);
}

hr {
    margin: 20px 0;
}

#titulo_opcion {
    text-align: center;
    padding: 20px 0;
    font-size: 3em;
}

#opciones_seleccion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

#opciones_seleccion div {
    max-width: 200px;
    margin: auto;
    padding: 10px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.534);
    cursor: pointer;
    border-radius: 10px;
}

#opciones_seleccion div img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1;
}

#opciones_seleccion div p {
    padding: 10px 0;
    font-size: 17px;
}

#contenedor_dinamico {
    background: rgba(0, 0, 0, 0.61);
    margin-top: 30px;
}

#h3 {
    padding-top: 20px;
    font-size: 2em;
}

#mostrar {
    display: grid;
    padding: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

#mostrar img {
    width: 100%;
    margin: auto;
    max-width: 300px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 7px;
}

.aside_tamano {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.aside_tamano h4 {
    margin-bottom: 10px;
    font-size: 20px;
    text-align: center;
}

.aside_tamano button {
    width: 100%;
    max-width: 300px;
    margin: auto;
    padding: 10px 0px;
    border: none;
    background-color: rgb(244, 238, 238);
    border-radius: 7px;
    font-size: 20px;
    cursor: pointer;
}

#div_tamano {
    display: flex;
    gap: 20px;
}

.div2 {
    max-width: 250px;
    text-align: center;
    background-color: rgba(107, 101, 101, 0.507);
    border-radius: 7px;
    padding: 3px;
    cursor: pointer;

}

.div2:hover {
    background-color: rgba(250, 235, 215, 0.411);
}

.div2 img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.div2 span {
    font-size: 18px;
    color: rgb(239, 127, 8);
}

.div2 :first-child {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 6px;
}

.div2 p:nth-of-type(2) {
    font-size: 12px;
}

#opciones_seleccion div:nth-of-type(1) {
    background-color: rgb(228, 218, 175);
    color: black;
}

#mensaje {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 6px;
}

.div_mensaje {
    width: 90px;
    padding: 6px;
    cursor: pointer;
    text-align: center;
    border-radius: 3px;
}

.div_mensaje:hover {
    background-color: rgba(250, 235, 215, 0.411);
}