/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    overflow: hidden;
}

/* custom BSD !element
 * stays pinned to the upper left hand side of the page
 * whit text with black boarer
 */


bsd {
    position: fixed;
    top: 0;
    right: 0;
    background-color: white;
    color: black;
    padding: 0px;
    margin-bottom: 0;
    z-index: 1000; /* Ensure it stays above most elements */
    font-size: 8pt;
    box-shadow: 0px 1px 10px 10px white;
}


/* Header */
.header {
    background: url('banner.c.webp') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    text-align: center;
    padding: 20px;
    animation: fadeIn 1s forwards;

}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: overlayEnter 1s ease-in-out forwards;
}


.header .overlay {
    position: relative;
    z-index: 1;
    padding: 20px;
    background: #0000008f;
    width: 110%;
    margin: -20px;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: fadeInSlideUp 1.5s ease-out forwards;
    animation-delay: 1s;
    opacity: 0;
}

.header p {
    opacity: 0;
    font-size: 1.5rem;
    animation: fadeInSlideUp 1.5s ease-out 0.8s forwards;
}

.donate-btn {
    opacity: 0;
    display: inline-block;
    padding: 12px 24px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    margin-top: 20px;
    animation: fadeInSlideUp 1.5s ease-out 1.1s forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes overlayEnter {
    0% { opacity: 0; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInSlideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Sections */
.about, .why-support, .donation-usage {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: box-shadow 0.3s, opacity 0.6s, transform 0.6s;
    animation: fadeInSlideUp 0.6s ease-out forwards;
    animation-delay: 1.5s;
}

.about:nth-of-type(2) {
    animation-delay: 1.8s;
}

.about:nth-of-type(3) {
    animation-delay: 2.1s;
}

.about h2, .why-support h2, .donation-usage h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.donation-usage ul {
    list-style: disc inside;
    padding: 10px;
}

/* Footer */
.footer {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    margin-top: 20px;
}

.footer a {
    color: #fff;
    transition: color 0.3s;
}

.footer a:hover {
    color: #00b8ff;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes overlayEnter {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
