/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

#donate {
    background-color: #2d2d2d;
    color: white;
}

body {
    background-color: #1a1a1a; /* change to whatever color you want */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

#about {
  scroll-margin-top: 270px; /* height of your fixed header */
}

h2 {
    margin-bottom: 5px;
    /* Adjust the number to control spacing */
    font-size: 33px;
}

.about-text p {
    margin-bottom: 20px; /* space between paragraphs */
}

p {
    font-size: 18px;
}

.about-text {
    max-width: 800px;
    /* limits how wide the text can go */
    margin: 0 auto;
    /* centers the box horizontally */
    padding: 30px 20px;
    background-color: #545454;
    line-height: 1.6;
    word-wrap: break-word;
    color: white;
}

/* Header */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav a:hover {
    color: #d34f4f;
}

/* Hero Section */
#hero {
    background: url('banner.png') center/cover no-repeat;
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
}

#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

#hero h2,
#hero p,
#hero .btn {
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #d34f4f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.3s;
}

.btn:hover {
    background-color: #d34f4f;
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 60px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

#rules ul {
    list-style: none;
    padding-left: 0;
}

#rules li {
    padding: 10px 0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 200px) {
    header nav a {
        display: block;
        margin: 10px 0;
    }

    #hero {
        padding: 80px 20px;
    }
}

/* Logo */
#logo {
    max-height: 100px;
    display: block;
    margin: 0 auto 20px auto;
}

@media (max-width: 700px) {
    #logo {
        height: 15vw; /* or any scaling value you want */
    }
}