* {
    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: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url(img/morado.jpg);
    background-size: auto;
}

div {
    display: block;
    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;
}

ul {
    margin-left: 2rem;
    margin-top: 1rem;
    font-size: 1.1rem;
    list-style-type: none;
}

ul ul {
    list-style-type: square;
}

ul ul ul {
    list-style-type: circle;
}

li {
    margin-bottom: 1.5rem;
}

.temas {
    margin-bottom: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #220029;
    box-shadow: 0 0px 20px #fff;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px #fff;
}

.imagenes {
    display: flex;
}

.imgs {
    width: 0px;
    flex-grow: 1;
}

footer {
    background: linear-gradient(to right, #100d2b, #5a189a);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-top: auto;
    box-shadow: 0 -4px 8px #fff;
}