@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* ESTILADO NAV BOOTSTRAP */


.navbar-estilopropio{
    margin-bottom: 50px;
    background-color: white;
    border-bottom: 1px solid black;
    padding-top: 15px;

    h4{
        margin-left: 10px;
        padding: 5px;
        text-decoration: none;
        color: black;
        font-size: 20px;
        font-weight: bold;
        font-family: "roboto", sans-serif;
    }

    ul{
        justify-content: flex-end;
    }
    
}

.clima-reloj-container {
    justify-content: flex-end;
}

.clima-box {
    padding: 5px;
    color: black;
    font-size: 15px;
    font-weight: bold;
    font-family: "roboto", sans-serif;
}

.reloj-box {
    padding: 5px;
    font-family: "roboto", sans-serif;
}


/* ESTILADO NAV BOOTSTRAP */


main{
    margin: 100px 40px 0;
}

body {
    background-color: lightgrey;
    margin: 0;
    padding: 0;
}

.contenedorTotal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    grid-template-areas: 
        "contenedor-productos contenedor-tareas";
    margin: 100px auto;
}

#contenedor-productos {
    grid-area: contenedor-productos;
    max-width: 600px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

#contenedor-tareas {
    grid-area: contenedor-tareas;
    max-width: 600px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

#agrupar{
    max-width: 600px;
}

h1 {
    font-size: 40px;
    font-family: "roboto", sans-serif;
    text-align: center;
    color: grey;
    margin-bottom: 30px;
}

h3{
    font-size: 30px;
    font-family: "roboto", sans-serif;
    color: negro;
    margin-bottom: 15px;
    margin-top: 1px;
}

.grupos {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    margin: 30px;
}

#nuevoGrupo {
    padding: 8px;
    border: 1px solid lightgrey;
    border-radius: 5px;
    width: 100%;
}

.nuevoProducto {
    padding: 8px;
    border: 1px solid lightgrey;
    border-radius: 5px;
}

button {
    margin-left: 10px;
    padding: 8px 12px;
    background-color: green;
    color: white;
    border-radius: 5px;
}

button:hover {
    background-color: darkgreen;
}

#grupos {
    margin-top: 20px;
}

.grupo {
    background-color: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 1);
    margin: 30px;
    font-family: "roboto", sans-serif;
}

.grupo li{
    margin-top: 10px;
    margin-bottom: 10px;
}

.producto {
    margin-left: 15px;
    padding: 5px;
}

.productos-lista{
    margin-top: 15px;
    margin-bottom: 15px;
}

button.eliminar {
    background-color: red;
    margin-left: 10px;
}

button.eliminar:hover {
    background-color: darkred;
}


/* MEDIA QUERIES */

@media (max-width: 1200px) {

    .navbar-estilopropio {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .navbar-estilopropio h4 {
        margin-left: 50px;
        margin-bottom: 10px;
    }

    #clima-reloj-container {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 0px;
    }

    .contenedorTotal {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 150px;
        }
    
    h1 {
    font-size: 30px;
    }

    h3{
        font-size: 20px;
    }

    li{
        list-style: none;
    }

    p{
        font-size: 15px;
    }

    .grupo{
        margin: 10px;
    }

     #agrupar{
        text-align: center;
        margin: 10px;
    }

    #agrupar-tareas{
        text-align: center;
        margin: 10px;
    }

    .nuevogrupo {
        padding: 6px;
        font-size: 14px;
        width: 100%;
        margin: 10px;
    }

    #nuevoGrupo {
        padding: 6px;
        font-size: 14px;
        width: 100%;
        margin: 10px;
    }

   button {
        font-size: 14px;
        padding: 6px 10px;
        text-align: center;
    }

    .nuevoProducto {
        font-size: 13px;
        padding: 6px;
        text-align: center;
        margin: 10px;
    }
}

@media (max-width: 550px) {

    main{
        margin: 150px 40px 0;
    }


    .navbar-estilopropio {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .navbar-estilopropio h4 {
        margin-bottom: 10px;
        font-size: 15px;
    }

    #clima-reloj-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .clima-box {
    font-size: 10px;
}

    .reloj-box {
        font-size: 10px;
    }

    .contenedor-productos {
    max-width: 400px;
   }

     .contenedor-tareas {
    max-width: 400px;
   }

    h1 {
    font-size: 25px;
    }

    h3{
        font-size: 20px;
    }

    li{
        font-size: 15px;
    }

    .nuevogrupo {
        padding: 6px;
        font-size: 14px;
        width: 100%;
    }

    #nuevoGrupo {
        padding: 6px;
        font-size: 14px;
        width: 100%;
    }

   button {
        font-size: 14px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .nuevoProducto {
        font-size: 13px;
        padding: 6px;
        font-size: 10px;
    }
}


@media (max-width: 450px) {

    main{
        margin: 150px 40px 0;
    }


    .navbar-estilopropio {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .navbar-estilopropio h4 {
        margin-bottom: 10px;
        font-size: 15px;
    }

    #clima-reloj-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .clima-box {
    font-size: 10px;
    padding-left: 0px;
}

    .reloj-box {
        font-size: 10px;
    }

    .contenedor-productos {
    max-width: 300px;
   }

   .contenedor-tareas {
    max-width: 300px;
   }

    h1 {
    font-size: 20px;
    }

    h3{
        font-size: 18px;
        margin-bottom: 10px;
    }

    .grupo {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    .nuevogrupo {
        padding: 3px;
        font-size: 10px;
        width: 50%;
    }

    #nuevoGrupo {
        padding: 3px;
        font-size: 10px;
        width: 50%;
        padding-left: 5px;
    }

   button {
        font-size: 10px;
        padding: 3px;
        margin: 5px;
    }

    .nuevoProducto {
        font-size: 10px;
        padding: 3px;
        margin: 10px;
    }

    li{
        font-size: 10px;
    }
}

@media (max-width: 450px) {

    main{
        margin: 150px 40px 0;
    }


    .navbar-estilopropio {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .navbar-estilopropio h4 {
        margin-bottom: 10px;
        margin-left: 5px;
        font-size: 13px;
    }

    #clima-reloj-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .clima-box {
    font-size: 10px;
    padding-left: 0px;
}

    .reloj-box {
        font-size: 10px;
    }

    h1 {
    font-size: 18px;
    }

    h3{
        font-size: 15px;
        margin-bottom: 10px;
    }

    .grupo {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 90%;
    }

    .grupos {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 90%;
    }

    .nuevogrupo {
        padding: 3px;
        font-size: 10px;
        width: 50%;
    }

    #nuevoGrupo {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 75%;
    }

   button {
        font-size: 10px;
        padding: 3px;
        margin: 5px;
    }

    .nuevoProducto {
        font-size: 10px;
        padding: 3px;
        text-align: center;
        margin: 10px;
        width: 75%;
    }

    li{
        font-size: 10px;
        list-style: none;
    }
}



