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

body{
	font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
	color:wheat;
}

header{
	width:100%;
	padding:40px;
	color:#5D8A44;
	text-align: center;
	background: url(imatges/gif_head.gif);
	
}

nav ul{
	list-style: none;
	background:#224716
}

nav ul li{
	display: inline-block;
	padding: 20px;
	transition: all ease-in-out 250ms;
}

ul li a{
	
	color: white;
	text-decoration: none;
}
nav ul li:hover{
	background:#7ABD72;
	
}
/* HEADER */
.header {
    width: 100%;
    padding: 20px 40px;
    background: #ffffff;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.header .nav a:hover {
    color: #00c3ff;
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background: #f2f2f2;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn {
    padding: 12px 25px;
    background: #ffffff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #00c3ff;
}


.container {
    width: 90%;
    max-width: 900px;
    text-align: center;
}

/* Estilos de las cajas de información */
.info-box {
    background-color:#79aa74;
    width: 100%;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    line-height: 1.8;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Efecto hover para destacar la caja */
.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Encabezados de las cajas */
.info-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8em;
}

/* Párrafos dentro de las cajas */
.info-box p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Título principal */
h1 {
    margin-bottom: 50px;
    font-size: 2.8em;
    color: #ffffff;
}

/* Adaptación para móviles */
@media (max-width: 600px) {
    .info-box {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2.2em;
    }

    .info-box h2 {
        font-size: 1.5em;
    }

    .info-box p {
        font-size: 1em;
    }
}