/* Estilos generales */
body {
    background-image: url('img/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 3em;
}

header {
    width: 100%;
    text-align: center;
    background-color: transparent;
    color: #fff;
}

header img {
    text-align: center;
    margin-left: 5px;
    max-width: 30%;
    height: auto;
}

nav {
    flex-direction: row;
    padding-bottom: 0;
    padding-right: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    background-color: rgb(31, 31, 31);
    padding: 10px;
    margin-left: 5px;
    margin-right: 5px;
    color: #ffffff;
    font-weight: bold;
}

main {
    padding: 0;
    display: contents;
}


section {
    margin: 0px;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.116);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.116);
}

footer {
     position: fixed;
     bottom: 0;
     display: flex;
     flex-direction: row;
     justify-content: center;
     align-items: center;
     text-align: center;
     width:100%;
     height:50px;
     background-color: transparent;
}

p {
    color: #ffffff;
    font-weight: bold;
}

    /* Cambiar el color del enlace sin visitar (estado por defecto) */
    a {
        color: white; /* Cambia el color a tu preferencia */
    }

    /* Cambiar el color del enlace al pasar el mouse sobre él */
    a:hover {
        color: rgb(0, 20, 133); /* Cambia el color a tu preferencia */
    }
   
    /* Cambiar el color del enlace visitado */
    a:visited {
        color: white; /* Cambia el color a tu preferencia */
    }

/* Estilos responsivos */
@media screen and (min-width: 1025px) {
    main {
        flex-direction: column;
    }

    header {
        text-align: left;
        width: 100%;
        background-color: transparent;
        color: #fff;
    }

    header img {
        text-align: 50px;
        margin-left: 100px;
        max-width: 30%;
        height: auto;
        }
    
        nav {
            flex-direction: column;
            padding-bottom: 0;
            padding-right: 20px;
            align-items: right;
            text-align: right;
            background-color: rgb(31, 31, 31);
            padding: 10px;
            margin-left: 100px;
            margin-right: 100px;
            color: #ffffff;
            font-weight: bold;
        }


    section {
        border: 0;
        margin: 0px;
        padding: 20px;
        border-radius: 5px;
        background-color: rgba(0, 0, 0, 0.144);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.137);
        margin-left: 80px;
        margin-right: 80px;
    }

    footer {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: center;
        width:100%;
        height:50px;
        background-color:transparent;
   }
}
