section.rules {
    padding: 3vw;
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-position: center;
    background-size: cover;
}

section.rules > .rules-page-container {
    padding: 2vw 4vw;
    width: 70%;
    min-height: 80%;
    border-radius: 1vw;
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.4);
    background-color: #f1f1f1;
    overflow: hidden;
    position: relative;
    gap: 1.5vw;
    justify-content: start!important;
}

section.rules > .rules-page-container figure {
    width: 9vw;
    height: 9vw;
    position: relative;
}

section.rules > .rules-page-container figure img {
    width: 100%;
}

section.rules > .rules-page-container h1 {
    margin: 1vw;
    font-size: 1.5vw;
}

section.rules > .rules-page-container p {
    font-size: 1vw;
    font-weight: 300;
    line-height: 2vw;
    text-align: justify;
}

section.rules a.return.btn {
    gap: 0.5vw;
    font-size: 0.9vw;
    position: absolute;
    top: 2vw;
    left: 3vw;
    font-weight: 500;
}

section.rules a.return.btn:hover {
    color: var(--blue2);
}

@media screen and (max-width: 450px) {
    section.rules {
        padding: 6vw 4vw;
        align-items: start!important;
    }

    section.rules > .rules-page-container {
        margin-top: 10vw;
        padding: 4vw 6vw;
        width: 100% !important;
        min-height: 80%;
        border-radius: 3vw;
        box-shadow: 0 0 3vw rgba(0, 0, 0, 0.4);
        gap: 3.5vw;
    }

    section.rules > .rules-page-container figure {
        width: 24vw;
        height: 24vw;
    }

    section.rules > .rules-page-container h1 {
        margin: 3vw;
        font-size: 4.5vw;
    }

    section.rules > .rules-page-container p {
        font-size: 3.5vw;
        line-height: 6.5vw;
    }

    section.rules a.return.btn {
        gap: 2vw;
        font-size: 3.5vw;
        top: 4vw;
        left: 5vw;
    }
}