/* Reset and Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
    color: white;
    font-family: sans-serif;
}

/* Header Styling */
header a {
    text-decoration: none;
}

header {
    padding: 0 20px;
    height: 64px;
    width: 100%;
    background-color: rgb(31, 31, 31);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#brand {
    display: flex;
    align-items: center;
}

/* Policy Section Styling */
.policySection {
    margin: 5% auto;
    padding: 2%;
    max-width: 900px;
    background-color: #222;
    border-radius: 8px;
}

.policy h1 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
}

.policy h3 {
    color: white;
    margin-top: 20px;
    text-align: left;
    font-size: 1.6em;
}

.policy h4 {
    text-align: left;
    color: #ddd;
    margin: 10px 0;
    font-size: 1.4em;
}

.policy p {
    margin: 10px 0;
    text-align: left;
    font-size: 1em;
    line-height: 1.5;
}

.policy ul {
    margin: 10px 0 10px 20px;
    padding: 0;
    list-style: disc;
}

.policy ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Footer Styling */
footer {
    margin-bottom: 5%;
}

.rights {
    border-top: 1px solid grey;
    padding-top: 5%;
    font-size: 0.9em;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 0.9em;
    }

    header ul {
        flex-direction: column;
        /* Stack navigation vertically on small screens */
        align-items: flex-start;
        width: 100%;
    }

    header ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .policySection {
        margin: 10px;
        padding: 15px;
        max-width: 100%;
    }

    .policy h1 {
        font-size: 2em;
    }

    .policy h3 {
        font-size: 1.4em;
    }

    .policy h4 {
        font-size: 1.2em;
    }

    .policy p {
        font-size: 0.9em;
    }

    .rights {
        font-size: 0.8em;
    }
}

@media (min-width: 1200px) {
    .policySection {
        max-width: 1200px;
        padding: 40px;
    }

    .policy h1 {
        font-size: 3em;
    }

    .policy h3 {
        font-size: 2em;
    }

    .policy h4 {
        font-size: 1.6em;
    }

    .policy p {
        font-size: 1.2em;
    }
}