* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background-image: url(img/background.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    color: #3e3a33;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estil para la barra de navegacio */
header {
    background-color: rgba(0, 50, 91, 0.476);
    display: flex;
    justify-content: center;
    padding: 1%;
    width: 100%;
    box-shadow: 0 5px 8px #00325b79;
}

.menu {
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    width: 100%;

}

.menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    padding: 0 20px;
}

.menu li a {
    text-decoration: none;
    color: #eed09d;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.menu li:hover {
    transform: scale(0.9);
}

/* Contenidor principal */
.main-content {
    margin-top: 50px 0;
    max-width: 1200px;
    width: 100%;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Seccio d'introduccio text fi menu */
.intro {
    margin-top: 2%;
    text-align: center;
    margin-bottom: 20px;
}

/* Flexbox */
#flex-container2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Estil .pop */
.pop {
    background-color: #b2dfdb67;
    margin: 3%;
    padding: 2%;
    border: 2px solid #c2b280;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estil para cada caixa */
.caixa {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.caixa-item img {
    width: 100%;
    border-radius: 8px;
}

/* Peu de pagina */
.footer {
    background-color: rgba(0, 50, 91, 0.476);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 10px;
}