*{
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    background-color: beige;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}

header {
    background: url('../img/banner.jpg');
}

header h1 {
    font-family: 'Comic Sans MS';
    font-size: 2.5em;
    font-weight: normal;
}

#titulo {
    display: inline-block;
}

#logo, header h1 {
    display: inline-block;
    margin-bottom: 0px;
    height: 140px;
}

/* Menú de navegación */
nav {
    display: inline-block;
    width: 100%;
    height: 40px;
    text-align: right;
    background-color: rgb(88, 88, 88);
}

nav ul {
    list-style-type: none;
}

nav li {
    display: inline-block;
    margin-right: 15px;
}

nav a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3em;
    color: #ebebeb;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover {
    color: #f78d14;
    border-bottom: 3px solid #9568f7;
}

/* Contenido */
img {
    height: 250px;
}

article {
    padding: 10px;
}

section {
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    float: left;
    width: 75%;
}

section h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

section p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

section span {
    font-weight: bold;
    color: #e74c3c;
}

aside {
    padding: 5px;
    font-style: italic;
    float: right;
    width: 20%;
    border: 2px solid;
}

aside h1 {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 10px;
}

aside p {
    margin: 8px 0;
}

aside a {
    color: #e74c3c;
    text-decoration: none;
}

aside a:hover {
    text-decoration: underline;
}

#alumnoperfil {
    text-align: center;
}

#alumnoperfil img {
    height: 150px;
    border-radius: 50%;
    border: 3px solid #3498db;
}

/* Footer */
footer {
    float: left;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 150px;
    box-sizing: border-box;
    border-top: 2px solid #000;
    background-color: #0665b3;
    color: white;
    text-align: center;
    padding-top: 10px;
}

footer p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        width: 100%;
        float: none;
    }
    
    aside {
        width: 100%;
        float: none;
        margin-top: 20px;
    }
    
    nav {
        text-align: center;
    }
    
    nav li {
        display: block;
        margin: 5px 0;
    }
}
