body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #fff;
}

nav {
    background-color: #fff;
    overflow: hidden;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1em;
    margin-top: 0.5em;
}

nav ul li {
    display: inline;
}

nav ul li a {
    display: inline-block;
    color: #004d00; /* Verde oscuro */
    text-decoration: none;
    padding: 14px 16px;
    text-transform: uppercase;
    font-family: 'Rubik', sans-serif;
}

.hero-image {
    background-image: url("centro_jardineria2.png");
    background-size: cover;
    width: 100%;
    display: flex;
    height: 85vh;
    display: block; /* Asegura que la imagen no tenga espacio adicional alrededor */
}


.titlepages {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10%;
    height:100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.titlepages h1 {
    font-size: 5em;
    display: flex;
    margin:0.2em;
    font-family: 'Roboto', sans-serif;
}

.contact-button {
    background-color: rgb(247, 246, 231); 
    border: none;
    color: #004d00; 
    padding: 10px 25px; 
    cursor: pointer;
    font-weight: 600;
    border-radius: 15px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
}

.contact-button:hover {
    background-color: #004d00; 
    color: rgb(247, 246, 231); 
}

.titlepages p {
    display: flex;
    justify-content: center;
}

.gallery, .gallery-2, .contacte {
    margin:5em 10em;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
     margin-top: -50px;
}

.gallery-item {
    /*flex: calc(20% - 20px); */
    margin: 15px;
    text-align: center;
    width: 12em;
    height: auto;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

.gallery-item h3 {
    margin: 10px 0;
}

.gallery-item p {
    color: #555;
}

.row {
    display: flex;
    margin: 0 -15px;
    height:25%;
    margin:3em;
  }
  
  .column {
    flex: 50%;
    padding: 0 15px;

  }

  .row .left img {
        max-width: 25em; /* Ancho de la imagen */
        height: auto; /* Altura de la imagen */
        border-radius: 50%; /* Hace que la imagen sea circular */
        overflow: hidden; /* Oculta cualquier contenido que se desborde */
  }

  .row .left {
    display: flex;
    justify-content: center;
  }

  .row .right {
    justify-content: center;
    flex-direction: column;
    display: flex;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animated-section {
    animation-name: fadeIn;
    animation-duration: 4s; /* Duración de 2 segundos */
    animation-fill-mode: both; /* Mantiene el estado final después de completar la animación */
}

@keyframes fadeIn2 {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0; /* Inicia invisible */
    transform: translateY(20px); /* Inicia ligeramente desplazado */
}

.start-animation {
    animation-name: fadeIn2;
    animation-duration: 1s;
    animation-fill-mode: forwards; /* Mantiene el estado final de la animación */
}

.row .left-c img {
    max-width: 25em; /* Ancho de la imagen */
    height: auto; /* Altura de la imagen */
    overflow: hidden; /* Oculta cualquier contenido que se desborde */
}

#contacte {
    display: flex;
    flex-direction: column;
}

#contacte .row {
    display: flex;
    justify-content: space-between; /* Asegura espacio entre columnas */
    text-align: center; /* Alineación horizontal */
    align-items: stretch;
}

#contacte .column {
    flex: 1; /* Hace que todas las columnas tengan la misma proporción */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(173, 118, 0, 0.101);
    margin: 10px;
}

.fa-envelope, .fa-phone, .fa-house {
    font-size: 30px; /* Aumenta el tamaño del icono */
    color: #004d00; /* Cambia el color a blanco */
}

.green {
    color: #004d00; /* Cambia el color a blanco */
}


.map {
    background-image: url("mapa.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    display: flex;
    height: 20em;
    display: block;
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    .gallery, .gallery-2, .contacte {
        margin: 1em;
    }
    .nav ul li {
        display: block;
    }
    /* Otros ajustes para móviles */
}
