
*{
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
}

body{
    font-family: "Montserrat", sans-serif;
}

/*NAVBAR*/
.navbar{
    background-color: #1E1A36 !important;
    height: 5rem;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-brand img{
    width: 65%;
}

.navbar-brand img{
    max-width: 17rem;
}

.navbar ul li a:hover{
    color: rgb(145, 83, 184);
}

/*Centro todo el contenido*/
main{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


/*footer*/
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #DBDBDB;
    padding: 0rem 1rem;
   /* min-height: 20%; si hay algun error descomentar*/
    width: 100% !important;

}

footer{
    font-size: 0.8rem;
    height: 5rem;
}

footer img{
    max-width: 5rem;
}


html, body {
    height: 100%;
    margin: 0;
}





.container-layout{
    display: grid;
    grid-template-columns: 1fr; /* 1 columna */
    grid-template-rows: auto 1fr auto; /* Altura dinámica para header y footer, y fracción para el main */
    grid-template-areas: 
    "header header header"
    "main main main"
    "footer footer footer";
    min-height: 100vh;
}

.row-header{
    grid-area: header;
}

.row-main{
    grid-area: main;
    min-height: 70vh
}

.row-footer{
    grid-area: footer;
}

/*USAR SIEMPRE PARA LOS ERRORES*/
.message-error{
    color: rgb(208, 6, 6);
}

