/* General Styling */
body {
    margin: 0;
    font-family: 'Uncial Antiqua', cursive;
    background-color: black;
    color: green;
    text-align: center;
}

/* Header Styling */
.header {
    position: relative;
    padding: 20px;
    background-color: green;
    color: black;
    text-align: center;
}

.header h1 {
    margin: 0;
    font-size: 32px;
}

/* Donate Button Styling */
.donate-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    z-index: 10; /* Ensures button is always on top */
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.donate-button:hover {
    transform: scale(1.1);
    background-color: #ff4d4d;
}

/* Main Content Styling */
.main-content {
    padding: 20px;
}

.links-section, .twitch-section, .donation-section {
    margin: 20px 0;
    padding: 10px;
    border: 2px solid green;
    border-radius: 10px;
    background-color: #101010;
}

/* Twitch Section Styling */
.twitch-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Flexible columns */
    gap: 20px; /* Space between items */
    justify-items: center; /* Center items horizontally */
    margin-top: 20px;
}

.twitch-container {
    text-align: center;
    width: 100%;
}

.twitch-container p {
    margin-bottom: 10px;
    font-size: 16px;
    color: white;
}

.twitch-container iframe {
    border: none;
    border-radius: 10px;
    width: 300px;
    height: 200px;
}

/* Footer Styling */
.footer {
    margin-top: 20px;
    padding: 10px;
    background-color: green;
    color: black;
}

/* Media Queries for Responsiveness */

/* General Tablets (1024px and below) */
@media (max-width: 1024px) {
    .header h1 {
        font-size: 28px; /* Reduce font size slightly */
    }

    .donate-button {
        font-size: 16px;
        padding: 8px 15px; /* Adjust size for smaller screens */
    }
}

/* Small Tablets and Large Phones (768px and below) */
@media (max-width: 768px) {
    .header h1 {
        font-size: 24px; /* Reduce header size */
    }

    .donate-button {
        top: auto; /* Remove top positioning */
        bottom: 10px; /* Move to bottom-left corner */
        left: 10px;
    }

    .header {
        padding-bottom: 60px; /* Add padding to make space for the button */
    }
}

/* Small Phones (480px and below) */
@media (max-width: 480px) {
    .header h1 {
        font-size: 20px; /* Further reduce header size */
    }

    .donate-button {
        font-size: 14px;
        padding: 6px 12px; /* Smaller button size */
    }
}
