* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Real Madrid Color Theme*/ 

/* Body */
body {
    font-family: "PT Serif", serif;
    background: linear-gradient(#ffffff, #e8e3e3);
    color: black;
    line-height: 1.6;
    text-align: center;
    padding: 15px;
}

/* Header */
header {
    text-align: center;
    background: linear-gradient(#0a0a3c, #1a237e);
    color: white;
    padding: 10px;
    border-bottom: 6px solid #d4af37;
    border-radius: 12px;
}

header h1 {
    font-size: 30pt;
    letter-spacing: 4px;
}

header span {
    font-weight: 600;
    color: #d4af37;
    font-size: 20pt;
}

header img {
    margin-top: 20px;
    border-radius: 40px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.4);
    width: 200px;
    border: 3px solid #d4af37;
}

/* Navigation */
nav {
    background-color: #0a0a3c;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    margin-top: 20px;
}

nav p {
    display: inline-block;
    margin: 10px 25px;
}

nav a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    transition: all 0.5s;
}

nav a:hover {
    background-color: #d4af37;
    color: #0a0a3c;
    border-radius: 10px;
}

/* Main Sections */
main {
    padding: 20px;
    margin: auto;
    text-align: left;
}

section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

section h2, section h3 {
    color: #111;
    border-left: 5px solid #d4af37;
    padding-left: 15px;
    margin-bottom: 15px;
}

section p {
    font-size: 12pt;
    color: #333;
}

/* Gallery */
.images {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 20px 0;
}

figure {
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 4px rgba(0,0,0,0.2);
}

figure img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

figcaption {
    color: black;
    margin-top: 8px;
}

/* Footer */
footer {
    background-color: #0a0a3c;
    color: white;
    text-align: center;
    padding: 10px 15px;
    border-top: 6px solid #d4af37;
    border-radius: 12px;
}

footer a {
    color: #d4af37;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

footer p {
    margin: 8px 0;
}


@media screen and (min-width: 768px) and (max-width: 1020px) {

    .images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    figure {
        width: 45%;
    }
}


@media screen and (min-width: 1020px) {

    body {
        padding: 40px;
    }

    main {
        max-width: 1200px;
        margin: auto;
    }

    header img {
        width: 250px;
    }

    .images {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    figure {
        width: 400px;
    }

    figure img {
        width: 100%;
        height: auto;
    }
}