/* import font */
@import url('https://fonts.googleapis.com/css2?family=Nata+Sans:wght@100..900&display=swap');


/* -------------------------------------------
    MAIN - rules.html
---------------------------------------------- */

* {
    background-color: black;
}

.page-title {
    font-family: "Nata Sans", sans-serif;
    font-weight: 900;
    text-align: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
}

.rules-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.rules-container h2 {
    font-family: "Nata Sans", sans-serif;
    font-weight: 800;
    color: white;
    margin-top: 2rem;
}

.rules-box {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.rule {
    font-family: "Nata Sans", sans-serif;
    font-weight: 900;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rule:last-child {
    border-bottom: none;
}

.rule-header {
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-weight: bold;
    color: white;
    transition: background-color 0.2s ease;
}

.rule-header:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.rule-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
    color: #ccc;
}

.rule-content p {
    font-family: "Nata Sans", sans-serif;
    font-weight: 400;
    margin: 0.5rem 0 1rem;
}

.rule.open .rule-content {
    padding: 0.5rem 1rem;
}
