* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 8px #fff;
    background: linear-gradient(to right, #100d2b, #5a189a);
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

nav {
    background-image: url(img/fondomoradou.jpg);
    background-repeat: no-repeat;
    background-position: 51%;
    background-size: auto;
    padding: 0.5rem 0;
    box-shadow: 0 6px 12px #fff;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

nav ul li a:hover {
    background-color: #220029;
    border: 2px solid #fff;
    border-radius: 3px;
    padding: 10px;
    color: rgb(206, 167, 243);
    transition: 0.5s;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url(img/morado.jpg);
    background-size: auto;
}

section {
    padding: 3rem;
    margin: 2rem auto;
    max-width: 1000px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px #fff;
}

div {
    display: flexbox;
    padding: 10px;
    background-image: url(img/fondo2.jpg);
    background-size: 100%;
    margin: 30px;
    box-shadow: 0 0px 12px #fff;
}

h2 {
    color: #fff;
    margin-bottom: 1cm;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.8rem;
    border-bottom: 3px solid #fff;
    padding-bottom: 0.5rem;
    letter-spacing: 20px;
}

h3 {
    color: #fff; 
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 0px 40px #fff;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 1.2rem;
    text-align: center;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

table th {
    background-color: #5a189a;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f4f4f4;
}

table tr:hover {
    background-color: #e0bbff;
}

table img {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0px 10px #7700ff;
}

ul {
    margin-left: 1rem;
    padding-left: 1rem;
    list-style-type: disc;
    color: #333;
    line-height: 1.8;
}

ul ul {
    margin-left: 1rem;
    list-style-type: circle;
    color: #555;
}

ul li {
    padding: 0.2rem 0;
}

dl {
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #f4f4f4;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    font-family: Arial, sans-serif;
}

dt {
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    color: #5a189a;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #e0bbff;
    border-left: 4px solid #5a189a;
    border-right: 4px solid #5a189a;
    text-transform: uppercase;
    border-radius: 5px;
}

dd {
    margin-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
    padding: 0.75rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 10px #5a189a;
    line-height: 1.8;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

dd:hover {
    background-color: #e0bbff;
    transform: scale(1.05);
    cursor: pointer;
}

img[usemap] {
    max-width: 100%;
    margin-top: 2rem;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

iframe {
    display: block;
    margin: 2rem auto;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0px 16px #fff;
    max-width: 100%;
    height: 500px;
    width: 890px;
}

p {
    color: #fff;
    text-align: center;
}

footer {
    background: linear-gradient(to right, #100d2b, #5a189a);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    font-size: 1rem;
    margin-top: auto;
    border-top: 5px solid #fff;
    box-shadow: 0 -4px 8px #fff;
}

footer a figure {
    display: inline-block;
    margin: 0 1rem;
}

footer a img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer a img:hover {
    transform: scale(1.3);
    box-shadow: 0 0px 12px #fff;
}