/* General Body Styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #E5D62E, #FFD700); /* Gradient background */
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Top Section */
.top-section {
    display: flex;
    justify-content: space-between; /* Align left and right content */
    align-items: center; /* Center items vertically */
    background-color: #F5F5DC;
    padding: 10px 20px;
}

.left-content {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between logo and site name */
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover; /* Ensures the image fills the circle */
    border: 3px solid #6e0515;
}

.site-name {
    font-size: 2rem;
    color: #6e0515;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.right-content {
    text-align: right;
}

.support-link {
    text-decoration: none;
    color: white;
    background-color: #4facfe;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.support-link:hover {
    background-color: #00c6ff;
}

/* Middle Section */
.middle-section {
    flex: 1; /* Take up available space */
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: flex-end; /* Align content to the right */
    background-color: #FFFDD0;
    padding: 20px;
}

.box {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 300px;
    margin-right: 20px; /* Add spacing from the right edge */
}

/* Bottom Section */
.bottom-section {
    height: 50px;
    background-color: #F5F5DC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #333;
}

/* Responsive Adjustments */

/* Medium Screens */
@media (max-width: 768px) {
    .top-section {
        flex-direction: column; /* Stack items vertically */
        gap: 10px; /* Add spacing */
        text-align: center;
    }

    .left-content {
        justify-content: center;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .site-name {
        font-size: 1.8rem;
    }

    .right-content {
        margin-top: 10px;
    }

    .support-link {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .middle-section {
        justify-content: center; /* Center box on smaller screens */
    }
}

/* Small Screens */
@media (max-width: 480px) {
    .top-section {
        padding: 10px;
        gap: 5px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .site-name {
        font-size: 1.5rem;
    }

    .box {
        padding: 0.8rem;
    }

    .box h1,
    .box h2 {
        font-size: 1rem;
    }

    .box a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .bottom-section {
        height: 35px;
        font-size: 0.7rem;
    }
}
