* {
    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: 50%;
    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: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url(img/morado.jpg);
}

section {
    display: block;
    padding: 10px;
    background-image: url(img/fondo2.jpg);
    background-size: 100%;
    margin: 30px;
}

div {
    display: block;
    padding: 10px;
    background-color: #1f0033;
    background-size: 100%;
    margin: 50px;
    box-shadow: 0 0px 17px #fff;
}


fieldset {
    border: #fff solid 2px;
}

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;
}