/* PANTALLA COMPUTADORA */
.opciones-compra{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.item-compra{
    width: 15.5%;
    height: 200px;
    margin-top: 5%;
    margin-right: 0.5%;
    padding: 1%;
    border: 2px rgb(45, 198, 236);
    border-style:groove;
    text-align: center;
}

.item-compra:hover{
    background-color: whitesmoke;
    border: 2px rgb(6, 192, 239);
    border-style:groove;
}

#estructura_completa{
    width: 100%;
    height: 400px;
}

.formulario{
    width: 60%;
    margin-left: 20%;
    display: flex;
    flex-direction: column;
}

.formulario__campos-dobles{
    margin-left: 10.5%;
}

.campos-formulario{
    width: 43.4%;
    height: 35px;
    padding: 0.5%;
    margin-right: 0.5%;
    margin-bottom: 0.7%;
}

#campo_mail{
    width: 78.5%;
    margin-left: 10.5%;
    margin-top: 1%;
    margin-bottom: 1%;
    padding: 0.5%;
}

.formulario__campos-cantidad-categoria{
    width: 100%;
    display: flex;
}

.cantidad, .espacio-categoria{
    width: 37%;
}

.cantidad{
    margin-right: 4%;
}

.campos-cantidad-categoria{
    width: 100%;
}

#total{
    width: 47.4%;
    height: 35px;
    background-color: rgba(120, 172, 250, 0.537);
    color: rgb(76, 115, 167);
    margin-top: 1.5%;
    margin-left: 26.2%;
    margin-bottom: 1.5%;
    padding: 0.4%;
    border-radius: 2%;
}

.botones_espacio{
    display: flex;
    justify-content: center;
    margin-left: 25.2%;
    padding: 1%;
    width: 50%;
}

.botones{
    width: 100%;
    background-color: rgb(128, 193, 30);
    color: white;
    border: none;
    padding: 1%;
    border-radius: 4.2%;
    margin-bottom: 2%;
    margin-right: 1.5%;
}

.datos_faltantes{
    background-color: rgb(185, 0, 0);
    color: white;
    text-align: center;
    width: 100%;
    margin-left: 36%;
    padding: 1rem;
    margin-bottom: 7%;
    position: sticky;
}

.datos_completos{
    background-color: rgb(74, 185, 0);
    color: white;
    text-align: center;
    width: 100%;
    margin-left: 40%;
    padding: 1rem;
}


/* PANTALLA TABLET */
@media screen and (max-width: 750px) {

    .item-compra{
        width: 29.2%;
        height: 180px;
        margin-top: 5%;
        margin-right: 0.5%;
        padding: 1%;
        border: 2px rgb(45, 198, 236);
        border-style:groove;
        text-align: center;
    }

    #estructura_completa{
        width: 100%;
        height: 390px;
    }

    .estructura_formulario{
        display: grid;
        width: 89%;
        margin-left: 5.5%;
        margin-top: 0.5%;
    }

    .campos-formulario{
        width: 100%;
        height: 40px;
        margin-right: 0.5%;
    }
    
    #campo_mail{
        width: 89%;
        margin-top: 1%;
        margin-left: 11%;
        margin-bottom: 1%;
        padding: 0.5%;
    }
    
    #estructura_completa{
        height: 400px;
    }

    #total{
        width: 54%;
        margin-left: 27%;
    }
    
    .botones_espacio{
        flex-direction: column;
        margin-top: -10%;
        margin-left: 26%;
        height: 200px;
        width: 55%;
    }

    .datos_faltantes{
        background-color: rgb(185, 0, 0);
        color: white;
        text-align: center;
        width: 100%;
        margin-left: 25%;
        padding: 1rem;
        margin-bottom: 7%;
        position: sticky;
    }
    
    .datos_completos{
        background-color: rgb(74, 185, 0);
        color: white;
        text-align: center;
        width: 100%;
        margin-left: 30%;
        padding: 1rem;
    }
    
     
}
/* PANTALLA CELULAR */

@media screen and (max-width: 500px) {

    #estructura_completa{
        height: 500px !important;
    }

    .item-compra{
        width: 30%;
        height: 190px;
        margin-top: 5%;
        margin-right: 0.5%;
        padding: 1%;
        border: 2px rgb(45, 198, 236);
        border-style:groove;
        text-align: center;
    }    
    
    #campo_mail{
        width: 89%;
        height: 40px;
    }
    
    .formulario__campos-cantidad-categoria{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .cantidad, .espacio-categoria{
        width: 90%;
    }

    #total{
        width: 54%;
        margin-left: 27%;
    }
    
    .botones_espacio{
        flex-direction: column;
        margin-top: -10%;
        margin-left: 26%;
        height: 200px;
        width: 55%;
    }
  
    .datos_faltantes{
        margin-left: 10%;
    }
    
    .datos_completos{
        margin-left: 25%;
    }

    .datos_faltantes{
        background-color: rgb(185, 0, 0);
        color: white;
        text-align: center;
        width: 100%;
        margin-left: 25%;
        padding: 1rem;
        font-size: 0.8rem;
        position: sticky;
    }
    
    .datos_completos{
        background-color: rgb(74, 185, 0);
        color: white;
        text-align: center;
        width: 100%;
        margin-left: 25%;
        font-size: 0.8rem;
        padding: 1rem;
    }

}




