body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #f5f5f5;
    padding: 10px;
}

/* ----------   MENU  START   ---------- */
.menu-container {
    display: flex;
    flex-direction: column; /* Makes the menu vertical */
    align-items: center;
    padding: 10px;
    background-color: white;

}

nav#menu {
    display: flex;
    flex-direction: column; /* Stack links vertically */
    gap: 15px; /* Space between each menu item */
}

nav#menu a {
    color: white;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
}

#menu {
    width: 250;
    height: 100%;
    position: fixed;
    top: 0;
    right: -250px; /* Positions it off-screen */
    background-color: rgba(0,0,0,0.5);
    overflow-x: hidden;
    transition: 0.5s; /* Smooth transition */
    padding-top: 60px;
    z-index: 2000;
    color: black;
}

#menu.open {
    right: 0; /* Slide the menu into view */
}
#menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: black;
    display: block;
    transition: 0.3s;
}
#menu a:hover {
    color: #ddd;
}
#menuToggle { /* This controls the color on the menu */
    font-size: 40px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 3000;
    color: black;
}

.menu-icon {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 100px;
    font-size: 40px;
    color: #ffffff;
    z-index: 2000;
    /* border: 2px solid white;  Add border properties */
    /* border-radius: 10%; /* Optional: Add border-radius for rounded corners */
    /* padding: 7px; /* Optional: Add padding to increase the clickable area */
}

@media screen and (max-width: 760px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    .menu-icon {
        display: block;
    }
    .menu-links {
        display: none;
    }
    footer {
        flex-direction: column; /* Stacks columns vertically */
        align-items: center; /* Centers columns horizontally */
        flex-wrap: wrap; /* Ensures elements wrap if necessary */
    }
    .footer-column {
        margin-bottom: 20px; /* Adds spacing between stacked columns */
        width: 100%; /* Ensures full width for each column */
        text-align: center; /* Centers the content inside each column */
    }

    form {
        position: relative;
        width:80%;
        text-align: left;
    }
    form div {
        margin-bottom: 15px; /* Adds space between fields */
    }

    label {
        display: block;
        width: 10%;
        position: relative;
        left: 35%;
        text-align: right;
        margin-right: 30px;

    }

    input[type=text] {
        display: block;
        position: relative;
        left: 30%;
        background-color: #9AE5F8;
    }

    input[type=email] {
        display: block;
        position: relative;
        left: 30%;
        background-color: #9AE5F8;
    }

    input[type=message] {
        display: block;
        position: relative;
        left: 30%;
        row-span: 3;
        background-color: #9AE5F8;
    }

    textarea {
        display: block;
        position: relative;
        left: 30%;
        background-color: #9AE5F8;
    }


    input[type=submit] {
        display: block;
        position: relative;
        left: 30%;
        background-color: #9AE5F8;
    }
    input[type="submit"]:hover {
        background-color: green; /* Hover effect for the submit button */
    }
    .form-row {
        display: flex; /* Use flexbox for row layout */
        align-items: center; /* Align items vertically */
        margin-bottom: 15px; /* Space between rows */
    }
}
/* ----------   MENU  END   ---------- */

.banner-image-container {
    text-align: center;
    margin: 20px 0;
    width: 100%; /* Ensures the container takes up the full width of the screen */
    height: auto; /* Maintains the aspect ratio based on width */
    overflow: hidden; /* Prevents the image from overflowing the container */
}

.banner-image {
    width: 100%; /* The image will stretch to cover the width of the container */
    height: auto; /* The height will adjust proportionally based on the width */
    object-fit: cover; /* Ensures the image covers the container without distortion */
}

main {
    padding: 20px;
}

.articles {
    display: grid;
    gap: 20px;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Adds spacing between columns */
    /* grid-template-columns: repeat(4, 1fr);
    gap: 20px; */
    background-color: black;
    color: #fff;
    padding: 20px;
}

.footer-column {
    text-align: left;
    flex: 1; /* Ensures equal width for each column */
    min-width: 200px; /* Ensures columns don’t shrink below this width */
}

.footer-column ul {
    list-style-type: none; /* Removes bullet points */
    padding: 0; /* Removes default padding from the list */
    margin: 0; /* Removes default margin from the list */
}

.footer-column a {
    color: white; /* White text for the links */
    text-decoration: none; /* Removes the underline */
    transition: color 0.3s ease; /* Smooth transition effect */
}

.footer-column a:hover {
    color: green; /* Changes text color to green on hover */
}