/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and general layout */
body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header section */
header {
    background-color: #661923;
    color: white;
    text-align: center;
    padding: 20px 0;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

main {
    background-image: url('vinos-de-autor.jpg');
    background-size: cover;
    background-position: left;
    padding-bottom: 1rem;
    
}

section {
    border-radius: 15px;
    z-index: 1;
    background-color: #ffffffd7;
}


/* Introduction section */
.intro {
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, #fff 50%, #ffffff34);
}

.intro p {
    font-size: 1.2rem;
    margin: 0 auto;
}

/* Event details section */
.details {
    padding: 20px;
    margin: 20px auto;
    max-width: 55%;
}

.details h2 {
    color: #661923;
    font-size: 1.8rem;
}

.details ul {
    list-style-type: none;
}

.details li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Activities section */
.activities {
    padding: 20px;
    margin: 20px auto;
    max-width: 55%;
}

.activities h2 {
    color: #661923;
    font-size: 1.8rem;
}

.activities ul {
    list-style-type: disc;
    margin-left: 20px;
}

.activities li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.activities p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Footer section */
footer {
    text-align: center;
    padding: 20px;
    background-color: #661923;
    color: white;
}

footer p {
    font-size: 1.1rem;
}
footer img{
    border-radius: 10px;
    padding: 1rem;
    background-color: #fff;
    height: 8rem;
    width: auto;
    margin-top: 2rem;

}
h2 {
    color: #661923;
}

img {
    z-index: 0;
}


@media (width <= 400px) {
    h2{
        font-size: 1.5rem;
        margin-bottom: 2dvh;
    }

    main {
        background-image: url('vinos-de-autor2.jpg');
        background-size: cover;
        background-position: center;
        padding-bottom: 1rem;
        
    }
    .intro {
        background: linear-gradient(180deg, #fff 80%, #ffffff0e);
    }

    .details{
        max-width: 80vw;
    }

    .activities{
        max-width: 80vw;
    }
}