#rulesPage{
    position: relative;
    display: flex;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    background: var(--ColorThemes0);
}

#rulesPage>h1 {
    font-size: 20px;
    color: rgb(255 255 255 / 70%);
    margin: 20px;
    text-transform: math-auto;
}

#rulesPage>.text {
    max-width: 300px;
    margin: 10px;
    font-weight: 400;
    text-transform: math-auto;
    border: 2px solid var(--ColorThemes1);
    border-radius: 15px;
    padding: 10px;
    border-style: dotted;
}
#rulesPage>.text>p {
    max-width: 300px;
    font-size: 16px;
    color: rgb(255 255 255 / 70%);
    margin: 10px;
    font-weight: 400;
    text-transform: math-auto;
}
#rulesPage>.text>p>span {
    font-size: 18px;
    color: rgb(255 255 255 / 90%);
    font-weight: 500;
}

#rulesPage > .rules{
    display: flex;
    position: relative;
    flex-direction: column;
    min-width: 300px;
    min-height: 300px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#rulesPage > .rules > svg{
    fill: var(--ColorThemes1);
    width: 340px;
    height: 340px;
    position: absolute;
    z-index: 1;
}
#rulesPage > .rules > h1{
    color: #fff;
    z-index: 2;
    font-size: 35px;
    opacity: 0.8;
}



#rulesPage > .bottons{
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    max-width: 300px;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
}
#rulesPage > .bottons > button{
    width: 100%;
    margin: 10px 0;
    height: 50px;
    border-radius: 15px;
    border: 2px solid var(--ColorThemes1);
    background-color: var(--ColorThemes0);
    color: rgb(255 255 255 / 70%);
    z-index: 999;
    cursor: pointer;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .3s ease 0s;
    border-style: solid;
}
@media (hover: hover) {
    #rulesPage > .bottons > button:hover{
        border-style: dashed;
    }
}