header {
    display: flex;
    justify-content: space-between;
    border-bottom: #3E7742 solid 2px;
    margin-bottom: 1%;

}




img {

    max-width: 100%;
    height: auto;

}

picture {
    width: 100%;
    height: auto;
    object-fit: contain;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0.2;
}

picture {
    display: block;
    align-content: center;
}

main h1 {
    text-align: center;
    margin-bottom: 20px;

    font-size: 24px;

    color: #4c7a53;

}

.section-receipt {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;

}


.section-receipt {
    display: flex;
    align-items: center;
    flex-direction: column;

    flex-wrap: wrap;

}


.section-receipt > picture {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;



}



/* footer */
footer {
    color: white;
    background-color: #3E7742;
    display: flex;
    justify-content: space-between;
    align-items: center;





}



footer > h2 {
    font-size: 0.8rem;
}

/* footer > * {
    flex: 1 1 1;
} */

#footer {
    border-top: #3E7742 solid 2px;

}

/* buttons */
#myBtn {
    font-size: 2em;
    padding: 1em;
    border: black solid 2px;
    border-radius: 50%;

}

.section-1 {
    display: flex;
    justify-items: space-between;
    border-bottom: #3E7742 solid 2px;
    gap: 2%;

}



.section-1 p {
    font-size: 80%;
    flex: 1;
    object-fit: contain;

}

.section-1 > * {
    flex: 0 0 49%;
    margin: 1%;

}




.section-2 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin: 2%;

}

.section-2 > nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;

}

nav > * {
    flex: 0 0 48%;
}

.about-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;

}

.about-section > * {
    flex: auto;
}

.about-section p {
    font-size: 1.5rem;
    flex: 1;

}

#myBtn {
    font-size: 1rem;
}






@media screen and (min-width:250px) {



    /* dropdown menu */

    .dropdown {
        position: relative;
    }

    .dropbtn {
        border: none;
        background: none;
        cursor: pointer;
    }

    .dropdown-content {
        display: none;
        position: relative;
        min-width: 200px;
        background-color: #3E7742;
        right: 0;


    }

    .dropdown-content a {
        padding: 12px 16px;
        text-decoration: none;
        font-size: 2em;
        display: block;
        color: white;
    }

    .dropdown-content a:hover {
        background-color: #3E7742;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .icon, .icon-menu {
        width: 8rem;
        height: 6rem;
    }



    button {
        border: 0;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        min-width: 200px;
        background-color: #3E7742;

    }

    form {
        max-width: 80%;
        margin: 20px auto;
        border-top: 2px solid #4c7a53;
        padding-top: 20px;
    }

    form table {
        width: 100%;
        border-collapse: collapse;
    }

    form td {
        padding: 8px 5px;
        vertical-align: middle;
    }

    form label {
        display: block;
        font-weight: 500;
        margin-bottom: 2rem;
    }

    form input[type="text"],
    form input[type="email"],
    form select,
    form textarea {
        width: 100%;
        padding: 10px 15px;
        border-radius: 12px;
        border: none;
        background-color: #b5cbb3;
        /* soft green */
        color: #333;
        font-size: 2rem;
        margin-top: 5px;
        outline: none;
    }

    form textarea {
        height: 180px;
        resize: none;
    }

    form input[type="submit"],
    form input[type="reset"] {
        background-color: #b5cbb3;
        border: none;
        border-radius: 12px;
        padding: 10px 20px;
        margin-right: 10px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s ease;
    }

    form input[type="submit"]:hover,
    form input[type="reset"]:hover {
        background-color: #a0b79e;
    }








}

@media screen and (min-width: 1024px) {
    .section-1 {
        display: flex;
        justify-items: space-between;
        border-bottom: #3E7742 solid 2px;
        gap: 2%;

    }

    .section-1 p {
        font-size: 4rem;
        flex: 1;
        object-fit: contain;

    }

    .section-1 > * {
        flex: 0 0 48%;
        margin: 1%;

    }




    .section-2 {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        margin: 1%;
        border-bottom: #3E7742 solid 5px;

    }

    .section-2 > nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.25rem;
        flex-wrap: wrap;

    }

    nav > * {
        flex: 0 0 24.5%;
    }

    .about-section > picture {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 65%;

    }





    .about-section p {
        font-size: 1.5rem;
        flex: 1;

    }

    .icon, .icon-menu {
        width: 100%;
        height: auto;
    }

    .dropdown-content {
        display: flex !important;
        /* show menu horizontally */
        position: static;
        /* remove absolute positioning */
        background-color: transparent;
        /* remove green background */
        gap: 2rem;
        /* spacing between menu items */
    }

    .dropdown-content a {
        color: #3E7742;
        /* text color for desktop */
        font-size: 2rem;
        padding: 0;
    }

    .dropdown:hover .dropdown-content {
        display: flex;
        /* keep menu visible on hover */
    }

    .dropbtn {
        display: none;
        /* hide the button itself */
    }

    nav {
        display: flex;
        align-items: center;
        gap: 2rem;
        /* spacing between links */
    }

    form {
        max-width: 95%;



        border-top: 2px solid #4c7a53;
        padding-top: 30px;
    }

    /* Table layout stays fluid */
    form table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 20px 12px;
        /* more breathing room on desktop */
    }

    form td {
        padding: 0;
        vertical-align: top;
    }

    form label {
        display: block;
        font-weight: 600;
        margin-bottom: 12rem;
        font-size: 1.5rem;
    }

    form input[type="text"],
    form input[type="email"],
    form select,
    form textarea {
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
        border: none;
        background-color: #b5cbb3;
        color: #333;
        font-size: 3rem;
        outline: none;
    }

    form textarea {
        height: 200px;
        resize: vertical;
    }

    form input[type="submit"],
    form input[type="reset"] {
        background-color: #b5cbb3;
        border: none;
        border-radius: 12px;
        padding: 12px 26px;
        margin-right: 12px;
        cursor: pointer;
        font-size: 2rem;
        transition: background-color 0.3s ease;
    }

    form input[type="submit"]:hover,
    form input[type="reset"]:hover {
        background-color: #a0b79e;

    }

    p {
        font-size: 2rem;
    }




}