/* Donasjoner.css - Updated for 1440px: more top padding, smaller image, smaller h2 */
/* Consistent scaling across all sizes */

.content {
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    max-width: 1200px;
    padding-top: 15%;                    /* Increased from 12% for better spacing on large screens */
    text-align: left;
    box-sizing: border-box;
}

/* Main title */
h1 {
    font-size: 58px;
    margin: 0 0 60px 0;
    text-align: center;
}

/* Section headings - reduced base size */
h2 {
    margin-top: 50px;
    margin-bottom: 40px;
    font-size: 32px;                     /* Reduced from 36px */
    text-align: center;
}

h3 {
    margin: 60px 0 20px 0;
    font-size: 28px;
    text-align: center;
}

/* Donation list */
.donation-list {
    max-width: 700px;
    margin: 0 auto 80px;
    padding-left: 40px;
    line-height: 2.0;
    font-size: 24px;
    list-style: disc;
    color: #ffcc66;
}

.donation-list li {
    margin-bottom: 20px;
}

/* Image - further reduced size */
.donation-pictures {
    text-align: center;
    margin: 80px auto 100px;
    max-width: 600px;                    /* Reduced from 700px */
}

.donation-pictures img {
    width: 100%;
    max-width: 500px;                    /* Further reduced max size */
    height: auto;
    border: 4px solid #ff9900;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.4);
}

/* ==================== MEDIA QUERIES ==================== */

@media (max-width: 425.9px) {
    .content {
        padding-top: 39%;
        width: 85%;
    }

    h1 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    h2 {
        font-size: 24px;                 /* Scaled down */
        margin-top: 40px;
        margin-bottom: 30px;
    }

    h3 {
        font-size: 20px;
    }

    .donation-list {
        padding-left: 30px;
        font-size: 18px;
        line-height: 1.8;
    }

    .donation-pictures {
        margin: 60px auto 80px;
        max-width: 95%;
    }

    .donation-pictures img {
        max-width: 100%;
    }
}

@media only screen and (min-width: 426px) and (max-width: 768px) {
    .content {
        padding-top: 28%;
        width: 80%;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    .donation-list {
        font-size: 20px;
    }

    .donation-pictures {
        max-width: 70%;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1023px) {
    .content {
        padding-top: 18%;
        width: 80%;
    }

    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 30px;
    }

    .donation-pictures {
        max-width: 65%;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1440px) {
    .content {
        padding-top: 20%;                /* Matches your current good look at 1440px */
        width: 80%;
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 32px;
    }

    .donation-pictures {
        max-width: 60%;                  /* Smaller image in this range */
    }
}

@media only screen and (min-width: 1441px) {
    .content {
        padding-top: 12%;
    }

    h1 {
        font-size: 58px;
    }

    h2 {
        font-size: 32px;
    }
}