*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root{
    --color-rosa: rgb(225, 91, 186);
    --color-rojo: rgb(247,122,38);
    --color-amarillo: rgb(248, 200, 35);
    --color-azul: rgb(3, 128, 212);
    --color-blanco: rgb(255,255,255);
    --color-negro: rgb(0,0,0);
}

.main{
    #formulario{
        position: relative;
        height: 100vh;
        
        img{
            z-index: -1;
            width: 100vw;
        }

        form{
            font-weight: bold;
            font-size: large;
            max-width: 800px;
            width:40%;
            position: absolute;
            display: flex;
            flex-direction: column;
            gap: 15px;
            padding: 5px;
            top: 110px;
            left: 50%;
            h1, h3{
                color: var(--color-azul);
                text-align: center;
            }
            label{
                color: var(--color-rosa);
            }
            input, select{
                height: 40px;
                padding-left: 10px;
            }
            input:hover, select:hover{
                outline: 1px solid var(--color-amarillo);
            }

            .contenedor-buttons{
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center ;
                gap: 10px;
                
                button, div{
                    width:45%;
                    height: 40px;
                    background-color: var(--color-rojo);
                    color: var(--color-blanco);
                    font-size: large;
                    font-weight: bold;
                    animation: transform  5ms ease-in-out;
                    border: none;
                    text-align: center;
                }

                button:hover, div:hover{
                    transform: scale(.9);
                }
                div{
                    padding-top: 8px;
                    a{
                    text-decoration: none;
                    color: var(--color-blanco);
                    text-align: center;
                    }
                }
                
            }/*fin contenedor-buttons*/
            
        }/*fin form*/

    }/*fin formulario*/

    #tabla-grupos{
        background-color: var(--color-amarillo);
        width: 100vw;
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 10%;
        img{
            width: 100%;
        }
        h3{
            color: var(--color-azul);
            text-align: left;
            padding-bottom: 15px;
            line-height: 40px;
        }/*fin h3*/

        #buscador{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-left: -10%;
            color: var(--color-rosa);
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 10px;
            label{
                text-shadow: 1px 1px 0px var(--color-negro);
            }
            select{
                height: 30px;
                padding-left: 10px;
                &:hover{
                    outline: 1px solid var(--color-amarillo);
                }
            }
        
            
            button{
                background-color: var(--color-rojo);
                color: var(--color-blanco);
                padding: 6px 10px;
                border: none;
                border-radius: 10px;
                font-weight: bold;
                animation: transform  5ms ease-in-out;
                
                &:hover{
                    transform: scale(.9);
                }
            }


        }

        .tabla{
            max-width: 1200px;
            width: 80%;
            height: 300px;
            #tabla-header{
                border-bottom: 2px solid var(--color-azul);
                background-color: var(--color-rosa);
                color: var(--color-negro);
                height: 30px;
            }/*fin tabla-header*/
            #tabla-body{
                border-bottom: 1px solid var(--color-azul);
                background-color: var(--color-blanco);
                
                td{
                    height: 35px;
                    padding-left: 10px;
                }
                .celda-acciones{
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    align-items: center;
                    padding-left: 0;
                    gap: 5px;
                    button{
                        background-color: var(--color-rojo);
                        color: var(--color-blanco);
                        padding: 4px 10px;
                        border: none;
                        border-radius: 10px;
                        font-weight: bold;
                        animation: transform  5ms ease-in-out;
                        
                        &:hover{
                            transform: scale(.9);
                        }
                    }
                    
                }/*fin celda-acciones*/
                .celda-grupo{
                    padding-left: 0;
                    text-align: center;
                }/*fin celda-grupo*/
            }/*fin tabla-body*/
            
        }/*fin tabla*/

    }/*fin tabla-grupos*/
    
}/*fin main*/

footer{
    text-align: center;
    font-size: smaller;
    font-weight: normal;
    background-color: var(--color-azul);
    color: var(--color-blanco);
    padding: 10px;
    h4{
        margin-bottom: 10px;
        text-shadow: 1px 1px 0px var(--color-rojo);
    }
    a{
        text-decoration: none;
        color:var(--color-blanco);
        cursor: pointer;
    }
    .anho{
        margin-top: 10px;
    }

}