*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: zain;
    text-decoration: none;
    list-style: none;
    color: var(--black-color);
}

:root {
    --first-color : #93BF9A;
    --secondary-color : #B19BBF;
    --white-color : #f2f2f2;
    --yellow-color : #cbd982;
    --black-color : #2e2e2e;
    --medium-fontSize : 2rem;
}

body {
    background-color: var(--white-color);
}

/* HERO */

section.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 100%;
    height: 80vh;
    margin: auto;
    background-color: var(--first-color);
    background-image: url(../assets/imagenes/lechuga.webp);
    background-position: center;
    background-size: cover;
}

section.hero img {
    height: 80vh;
    border-radius: .5rem;
}

section.hero div.hero-content {
    font-size: var(--medium-fontSize);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

section.hero div.hero-content p {
    font-weight: 800;
    font-size: 3.2rem;
    text-align: center;
    color: var(--white-color);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.78);
    padding: .5rem 1rem;
}

section.hero div.hero-content button {
    display: flex;
    align-items: center;
    color: var(--black-color);
    background-color: var(--yellow-color);
    padding: .5rem 1rem;
    border-radius: .5rem;
    transition: .3s;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

section.hero div.hero-content button:hover {
    background-color: var(--white-color);
}

section.hero div.hero-content button:hover img{
    transform: translateX(10px);
    transition: .3s;
}

section.hero div.hero-content button img {
    height: 1.3rem;
    margin-left: .5rem;
}

/* EVENTOS */
section.events {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: auto;
    margin-top: 2rem;
}

section.events div.description {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

section.events div.description p {
    font-size: 2.5rem;
}

section.events div.description a {
    font-size: 1.5rem;
    background-color: var(--yellow-color);
    padding: .5rem 1rem;
    border-radius: .5rem;
    transition: .3s;
}

section.events div.description a:hover {
    background-color: var(--first-color);
}

section.events div.events-container {
    width: 70%;
    display: flex;
    justify-content: space-around;
}

section.events div.events-container div.event-1 {
    background: url(../assets/imagenes/plantines_2.webp);
}

section.events div.events-container div.event-2 {
    background: url(../assets/imagenes/plantines.webp);
}

section.events div.events-container div.event-3 {
    background: url(../assets/imagenes/flor_y_abeja.webp);
}

section.events div.events-container div.event {
    height: 12.5rem;
    width: 12.5rem;
    border-radius: .5rem;
    background-position: center;
    background-size: cover;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

div.event::before{
    position: absolute;
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    transition: all 0.5s;
}

div.event:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: all 0.5s;
    background-color: var(--secondary-color);
    color: var(--white-color);
}

section.events div.events-container div.event a {
    color: var(--white-color);
    font-size: 2rem;
    z-index: 5;
    visibility: hidden;
}
section.events div.events-container div.event span {
    color: var(--white-color);
    font-size: 1rem;
}

section.events div.events-container div.event:hover a {
    visibility: visible;
}
section.events div.events-container div.event a:hover {
    text-decoration: underline;
}
/* CITA */

section.quote {
    margin-top: 2rem;
    background-color: var(--first-color);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 2rem 5rem;
    height: 50vh;
}

section.quote span {
    font-size: 1.5rem;
    font-weight: 400;
}


/* MOBILE */

@media screen and (max-width: 992px) {
    html {
        font-size: 12px;
    }
    section.hero div.hero-content p {
        font-size: 3.2rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 10px;
    }

    section.hero div.hero-content p {
        font-size: 3rem;
    }

    section.hero div.hero-content button {
        font-size: 2rem;
    }
}
 
@media screen and (max-width: 600px) {

    section.hero div.hero-content button {
        font-size: 2rem;
    }

    section.events {
        flex-direction: column;
        height: 100vh;
        margin-top: 0;
    }

    section.events div.events-container {
        width: 100%;
        height: 80%;
        flex-direction: column;
    }

    section.events div.description {
        width: 100%;
    }

    section.events div.events-container div.event {
        width: 100%;
        height: 30%;
    }

    section.quote {
        margin-top: 0;
    }

}
