/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
}

/* BACKGROUND */
body {
    background-image: url("FarmHouse.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}


/* HEADER */
#MainHead {
    display: flex;
    justify-content: center;
    padding: 15px;
}

#MainHead button {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 15px;
    cursor: pointer;
}


#MainHead button:hover {
    color: black;
}

#MainHead button.active {
    color: black;
}

/* MESSAGE BAR */
#MessageBox {
    background: limegreen;
    text-align: center;
    font-weight: bold;
    padding: 5px;
}

/* =====================
   DESKTOP BOX LAYOUT
   ===================== */

.box {
    position: absolute;
    background: white;
    width: 70%;
    height: 35%;
    display: flex;
    padding: 10px;
    gap: 20px;
}

.box img {
    width: 40%;
    object-fit: cover;
}

.box-content {
    width: 60%;
}

/* Left box (top) */
.box-left {
    top: 13%;
    left: 10px;
}

/* Right box (bottom) */
.box-right {
    top: 49%;
    right: 10px;
}

/* SOCIALS */
.socials {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.socials img {
    width: 150px;
}

/* FOOTER */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: black;
    color: white;
    text-align: center;
    padding: 10px;
}

@media (max-width: 768px) {

    body {
        background-attachment: scroll;
    }

    .box {
        position: static;
        width: 90%;
        height: auto;
        margin: 30px auto;
        flex-direction: column;
        text-align: center;
    }

    .box img,
    .box-content {
        width: 100%;
    }

    .socials {
        position: static;
        margin: 30px 0;
    }

    footer {
        position: static;
    }

    #MainHead {
        flex-wrap: wrap;
    }

    #MainHead button {
        font-size: 1.1rem;
        margin: 5px 10px;
    }
}



