/* Header Section */
header {
    height: 100vh; 
    width: 100%; 
    margin: 0; 
    padding: 0;
    display: flex;
    scroll-snap-type: x mandatory; 
    overflow-x: scroll;
    scrollbar-width: none;
}
.header-picture {
    flex: 0 0 100%; 
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%; 
    height: 100vh; 
    margin: 0; 
    padding: 0;
    overflow: hidden;
}
header img {
    object-fit: cover;
    object-position: center;
    height: 100%; 
    width: 100%; 
    margin: 0; 
    padding: 0;
}

/* Intro Section */
#intro-section p {
    font-family: 'Cagliostro', sans-serif;
    font-size: 18px;
    margin: 0;
}

/* Achievements Section */
#achievements-section h2 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#achievements-section h3 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#achievements-section p {
    font-family: 'Cagliostro', sans-serif;
    margin: 0px 10px 0px 10px;
}

/* School Section */
#school-section-article p {
    font-family: 'Cagliostro', sans-serif;
    font-size: 18px;
    margin: 0;
}
/* Gallery Section */
.gallery-section {
    overflow-x: auto; 
    scrollbar-width: none;
    white-space: nowrap;
}
.gallery-section img:hover {
    box-shadow: 5px 5px 5px gray, -5px -5px 5px gray;
}
/* Testimonials Section */
#testimonials-section {
    overflow-x: auto; 
    scrollbar-width: thin;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    width: 90%;
    display: flex;
    margin: 0px auto 5% auto;
    padding: 10px 0px 10px 10px;
    visibility: hidden;
}
.testimonials-section-card p:first-of-type {
    font-family: 'Cagliostro', sans-serif;
    margin: 20px 20px 0px 20px; 
    white-space: pre-line;
}
.testimonials-section-card p:last-of-type {
    font-family: 'Lusitana', serif; 
    margin: 5px 20px 20px 0px;
    text-align: end;
}

/* Sustainable Section */
#sustainable-section p:first-of-type {
    font-family: 'Cagliostro', sans-serif;
    text-align: center;
    margin: 10px;
    font-size: 18px;
}
#sustainable-section p {
    font-family: 'Cagliostro', sans-serif;
    margin: 0;
    font-size: 18px;
}

/* Achievements Section 2*/
#achievements-title {
    text-align: center;
    margin: 3%;
}

/* Plantings Section */
#plantings-section h2 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#plantings-section h3 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#plantings-image-container picture {
    flex: 0 0 100%; 
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%; 
    height: 100%; 
    margin: 0; 
    padding: 0;
    overflow: hidden;
}
#plantings-image-container img {
    object-fit: cover;
    object-position: center;
    height: 100%; 
    width: 100%; 
    margin: 0; 
    padding: 0;
}
#plantings-section p {
    font-family: 'Cagliostro', sans-serif;
    margin: 0px 10px 0px 10px;
}

/* Soil Section */
#soil-section h2 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#soil-section h3 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#soil-image-container picture {
    flex: 0 0 100%; 
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%; 
    height: 100%; 
    margin: 0; 
    padding: 0;
    overflow: hidden;
}
#soil-image-container img {
    object-fit: cover;
    object-position: center;
    height: 100%; 
    width: 100%; 
    margin: 0; 
    padding: 0;
}
#soil-section p {
    font-family: 'Cagliostro', sans-serif;
    margin: 0px 10px 0px 10px;
}

/* Water Section */
#water-section h2 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#water-section h3 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#water-image-container picture {
    flex: 0 0 100%; 
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%; 
    height: 100%; 
    margin: 0; 
    padding: 0;
    overflow: hidden;
}
#water-image-container img {
    object-fit: cover;
    object-position: center;
    height: 100%; 
    width: 100%; 
    margin: 0; 
    padding: 0;
}
#water-section p {
    font-family: 'Cagliostro', sans-serif;
    margin: 0;
    padding: 0;
}

/* Resources Section */
#resources-section h2 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#resources-section h3 {
    font-family: 'Times New Roman', Times, serif;
    margin: 5px;
    padding: 0;
}
#resources-image-container picture {
    flex: 0 0 100%; 
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: 100%; 
    height: 100%; 
    margin: 0; 
    padding: 0;
    overflow: hidden;
}
#resources-image-container img {
    object-fit: cover;
    object-position: center;
    height: 100%; 
    width: 100%; 
    margin: 0; 
    padding: 0;
}
#resources-section p {
    font-family: 'Cagliostro', sans-serif;
    margin: 0;
    padding: 0;
}

/* Small screens (Mobile) */
@media only screen and (max-width: 600px) {
    /* Header Section */
    header nav {
        position: absolute;
        top: 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: calc(100% - 20px);
        padding: 0px 10px 0px 10px;
    }
    header h2 {
        cursor: pointer;
        font-family: "Merienda", cursive;
        font-size: 30px; 
        color: white; 
    }
    #farm {
        position: absolute;
        top: 45%;
        left: 35%;
        color: white;
        font-family: 'Times New Roman', Times, serif;
        font-size: 30px;
        text-transform: uppercase;
    }

    /* Intro Section */
    #intro-section {
        width: 90%;
        margin: 0 auto 10% auto;
        text-align: center;
        visibility: hidden;
    }
    #intro-section h2 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 25px;
    }

    /* Achievements Section */
    #achievements-section {
        display: flex;
        flex-flow: row wrap;
        margin: 0px auto 10% auto; 
        width: 90%;
    }
    #achievements-section-picture {
        width: 100%; 
        height: 250px;
        order: 1;
        visibility: hidden;
    }
    #achievements-section img {
        width: 100%; 
        height: 250px;
        object-fit: cover;
        object-position: center;
    }
    #achievements-section article {
        width: 100%;
        height: fit-content;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 10px;
        margin: auto 0 auto 0;
        order: 2;
        visibility: hidden;
    }

    /* School Section */
    #school-section-article {
        width: 90%;
        margin: 0 auto 5% auto;
        text-align: center;
        visibility: hidden;
    }
    #school-section-article h2 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 25px;
    }

    /* Testimonials Section */
    #testimonials-title {
        font-family: 'Times New Roman', Times, serif;
        text-align: center;
        margin: 2%;
        font-size: 25px;
    }
    .testimonials-section-card {
        box-shadow: 5px 5px 5px lightgray, -5px -5px 5px lightgray; 
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        scroll-snap-align: start;
        scroll-margin: 10px;
        flex: 0 0 calc(100% - 20px);
        margin: 0px 10px 0px 10px;
        height: fit-content;
    }

    /* Sustainable Section */
    #sustainable-section-image {
        width: 100%;
        height: 400px;
        object-fit: fill;
        margin: 0;
        padding: 0;
        border: 0;
        visibility: hidden;
    }
    #sustainable-section article {
        width: 90%;
        margin: 0 auto 10% auto;
        visibility: hidden;
    }

    /* Plantings Section */
    #plantings-section {
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 10%;
    }
    #plantings-image-container { 
        width: 100%;
        height: 400px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #plantings-section article {
        width: 100%;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 10px;
        order: 2;
        visibility: hidden;
    }

    /* Soil Section */
    #soil-section {
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 10%;
    }
    #soil-image-container { 
        width: 100%;
        height: 400px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #soil-section article {
        width: 100%;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 10px;
        order: 2;
        visibility: hidden;
    }

    /* Water Section */
    #water-section {
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 10%;
    }
    #water-image-container { 
        width: 100%;
        height: 400px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #water-section article {
        width: 100%;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 10px;
        order: 2;
        visibility: hidden;
    }

    /* Resources Section */
    #resources-section {
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 3%;
    }
    #resources-image-container { 
        width: 100%;
        height: 400px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #resources-section article {
        width: 100%;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 10px;
        order: 2;
        visibility: hidden;
    }
}

/* Medium screens (Tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Header Section */
    header nav {
        position: absolute;
        top: 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: calc(100% - 60px);
        padding: 0px 30px 0px 30px;
    }
    header h2 {
        cursor: pointer;
        font-family: "Merienda", cursive;
        font-size: 40px; 
        color: white; 
    }
    #farm {
        position: absolute;
        top: 45%;
        left: 40%;
        color: white;
        font-size: 50px; 
        font-family: 'Times New Roman', Times, serif;
        text-transform: uppercase;
    }

    /* Intro Section */
    #intro-section {
        width: 60%;
        margin: 0 auto 7% auto;
        text-align: center;
        visibility: hidden;
    }
    #intro-section h2 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 30px;
    }

    /* Achievements Section */
    #achievements-section {
        display: flex;
        flex-flow: row wrap;
        margin: 0px auto 7% auto; 
        width: 550px;
    }
    #achievements-section-picture {
        width: 550px; 
        height: 413px;
        order: 1;
        visibility: hidden;
    }
    #achievements-section img {
        width: 550px; 
        height: 413px;
        object-fit: cover;
        object-position: center;
    }
    #achievements-section article {
        width: 100%;
        height: fit-content;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 20px;
        margin: auto 0 auto 0;
        order: 2;
        visibility: hidden;
    }

    /* School Section */
    #school-section-article {
        width: 60%;
        margin: 0 auto 5% auto;
        text-align: center;
        visibility: hidden;
    }
    #school-section-article h2 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 30px;
    }

    /* Testimonials Section */
    #testimonials-title {
        font-family: 'Times New Roman', Times, serif;
        text-align: center;
        margin: 2%;
        font-size: 30px;
    }
    .testimonials-section-card {
        box-shadow: 5px 5px 5px lightgray, -5px -5px 5px lightgray; 
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        scroll-snap-align: start;
        scroll-margin: 10px;
        flex: 0 0 calc(50% - 20px);
        margin: 0px 10px 0px 10px;
        height: fit-content;
    }

    /* Sustainable Section */
    #sustainable-section-image {
        width: 100%;
        height: 500px;
        object-fit: cover;
        object-position: center;
        margin: 0;
        padding: 0;
        border: 0;
        visibility: hidden;
    }
    #sustainable-section article {
        width: 60%;
        margin: 0 auto 7% auto;
        visibility: hidden;
    }

    /* Plantings Section */
    #plantings-section {
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 7%;
    }
    #plantings-image-container { 
        width: 100%;
        height: 450px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #plantings-section article {
        width: 100%;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 20px 15% 20px 15%;
        order: 2;
        visibility: hidden;
    }

    /* Soil Section */
    #soil-section {
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 7%;
    }
    #soil-image-container { 
        width: 100%;
        height: 450px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #soil-section article {
        width: 100%;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 20px 15% 20px 15%;
        order: 2;
        visibility: hidden;
    }

    /* Water Section */
    #water-section {
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 7%;
    }
    #water-image-container { 
        width: 100%;
        height: 450px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #water-section article {
        width: 100%;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 20px 15% 20px 15%;
        order: 2;
        visibility: hidden;
    }

    /* Resources Section */
    #resources-section {
        display: flex;
        flex-flow: row wrap;
        margin-bottom: 3%;
    }
    #resources-image-container { 
        width: 100%;
        height: 450px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #resources-section article {
        width: 100%;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 20px 15% 20px 15%;
        order: 2;
        visibility: hidden;
    }
}

/* Large screens (Desktops) */
@media only screen and (min-width: 1025px) {
    /* Header Section */
    header nav {
        position: absolute;
        top: 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: calc(100% - 60px);
        padding: 0px 30px 0px 30px;
    }
    header h2 {
        cursor: pointer;
        font-family: "Merienda", cursive;
        font-size: 40px; 
        color: white; 
    }
    #farm {
        position: absolute;
        top: 45%; 
        left: 40%;
        color: white;
        font-size: 50px; 
        font-family: 'Times New Roman', Times, serif;
        text-transform: uppercase;
    }

    /* Intro Section */
    #intro-section {
        width: 50%;
        margin: 0 auto 7% auto;
        text-align: center;
        visibility: hidden;
    }
    #intro-section h2 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 30px;
    }

    /* Achievements Section */
    #achievements-section {
        display: flex;
        flex-flow: row nowrap;
        margin: 0px auto 7% auto; 
        width: 90%;
    }
    #achievements-section-picture {
        width: 550px; 
        height: 413px;
        order: 2;
        visibility: hidden;
    }
    #achievements-section img {
        width: 550px; 
        height: 413px;
        object-fit: cover;
        object-position: center;
    }
    #achievements-section article {
        width: 50%;
        height: fit-content;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 20px;
        margin: auto 0 auto 0;
        order: 1;
        visibility: hidden;
    }

    /* School Section */
    #school-section-article {
        width: 50%;
        margin: 0 auto 5% auto;
        text-align: center;
        visibility: hidden;
    }
    #school-section-article h2 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 30px;
    }

    /* Testimonials Section */
    #testimonials-title {
        font-family: 'Times New Roman', Times, serif;
        text-align: center;
        margin: 2%;
        font-size: 30px;
    }
    .testimonials-section-card {
        box-shadow: 5px 5px 5px lightgray, -5px -5px 5px lightgray; 
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        scroll-snap-align: start;
        scroll-margin: 10px;
        flex: 0 0 calc(50% - 20px);
        margin: 0px 10px 0px 10px;
        height: fit-content;
    }
    
    /* Sustainable Section */
    #sustainable-section-image {
        width: 100%;
        height: 500px;
        object-fit: cover;
        object-position: center;
        margin: 0;
        padding: 0;
        border: 0;
        visibility: hidden;
    }
    #sustainable-section article {
        width: 50%;
        margin: 0 auto 5% auto;
        visibility: hidden;
    }

    /* Plantings Section */
    #plantings-section {
        display: flex;
        flex-flow: row nowrap;
        margin-bottom: 7%;
    }
    #plantings-image-container { 
        width: 55%;
        height: 450px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #plantings-section article {
        width: 45%;
        height: fit-content;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 20px;
        margin: auto 0 auto 0;
        order: 2;
        visibility: hidden;
    }

    /* Soil Section */
    #soil-section {
        display: flex;
        flex-flow: row nowrap;
        margin-bottom: 7%;
    }
    #soil-image-container { 
        width: 55%;
        height: 450px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 2;
        visibility: hidden;
    }
    #soil-section article {
        width: 45%;
        height: fit-content;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 20px;
        margin: auto 0 auto 0;
        order: 1;
        visibility: hidden;
    }

    /* Water Section */
    #water-section {
        display: flex;
        flex-flow: row nowrap;
        margin-bottom: 7%;
    }
    #water-image-container { 
        width: 55%;
        height: 450px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #water-section article {
        width: 45%;
        height: fit-content;
        background-color: #FFFFF3E0;
        text-align: center;
        padding: 15px;
        order: 2;
        visibility: hidden;
    }

    /* Resources Section */
    #resources-section {
        display: flex;
        flex-flow: row nowrap;
        margin-bottom: 3%;
    }
    #resources-image-container { 
        width: 55%;
        height: 455px;
        margin: 0; 
        padding: 0;
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
        order: 1;
        visibility: hidden;
    }
    #resources-section article {
        width: 45%;
        height: fit-content;
        background-color: #FFFFF3E0;
        text-align: center;
        margin: auto 0 auto 0;
        padding: 5px;
        order: 1;
        visibility: hidden;
    }
}