#PageBody {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1760px;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap;
    gap: 1%;
}
.content {
    height: 400px;
    overflow-y: auto;
}
#PageBody #Right {
    flex: 0 0 50%;
}

#PageBody #Right h1 {
    text-align: center;
}

#PageBody #Left {
    flex: 0 0 49%;
}

#PageBody #Left img {
    height: auto;
}

#Rules {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-radius: 5px;
    box-shadow: var(--BoxShadow);
    flex-wrap: wrap;
    width: -webkit-fill-available;
}

section#Rules h1 {
    flex: 0 0 100%;
}

section#PageContent {
    flex: 0 0 100%;
}

section#Rules>#Right>ul {
    flex: 0 0 100%;
    padding-right: 30px;
   line-height: 30px;
    text-align: justify;
   list-style: none;
}
#AfterRules {
    display: block;
    width: 100%;
}
#AfterRules p {
   line-height: 30px;
   display: block;
   font-size: 15px;
   text-align: center;
   color: var(--Primary);
}

section#Rules>#Right>ul button p {
    font-size: 13px;
    font-weight: 600;
}

section#Rules>#Right>ul button {
    border: none;
    text-align: unset;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    gap: 5px;
}

section#Rules>#Right>ul button:after {
    content: '';
    width: 5px;
    height: 5px;
    border-right: 2px solid var(--Primary);
    border-bottom: 2px solid var(--Primary);
    transform: rotate(130deg);
    transition: .5s;
    margin-right: auto;
}
section#Rules>#Right>ul {
    list-style: none;
}
section#Rules>#Right>ul>li {
    border: 1px solid var(--Primary);
    margin: 5px 0;
    padding: 0 15px;
    border-radius: 5px;
}

section#Rules>#Right>ul>li.open button:after {
    transform: rotate(45deg);
}

@media screen and (max-width:1150px) {
    #PageBody #Right {
        flex: 0 0 100%;
    }
    #PageBody #Left {
        flex: 0 0 100%;
    }
    .content {
        height: auto;
        overflow-y: auto;
    }
}