﻿#mainBody {
    min-height: unset;
}

#mainBody .wrapper {
    margin: 5rem auto 1rem;
}

@media (min-width: 768px) {
    #mainBody .wrapper {
        margin: 7rem auto 3rem;
    }
}

.how-to-play-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .how-to-play-container {
        width: 75vw;
        max-width: 1440px;
        margin: auto;
    }
}

.how-to-play-container .heading-page-title {
    font-family: "Vend Sans";
    color: #21272A;
    font-size: 1.5rem !important;
    font-weight: 700;
    line-height: 2rem;
    letter-spacing: 0;
    text-align: center !important;
    margin: 0 !important;
    padding: 0;
    text-shadow: none;
    margin-bottom: 1rem !important;
    text-transform: capitalize;
}

.tutorial-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tutorial-card {
    border: 1px solid #DDE1E6;
    border-radius: 0.5rem;
    overflow: hidden;
    max-height: none;
}

.tutorial-card.show {
    border-color: #6FDC8C;
    max-height: none;
}

.tutorial-card h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0;
    cursor: pointer;
    font-family: "Vend Sans", sans-serif;
    color: #21272A;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    user-select: none;
}

.tutorial-card h2 img {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.tutorial-card.show h2 img {
    transform: rotate(180deg);
}

.tutorial-text {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0 1rem;
    color: #697077;
    font-family: "Vend Sans", sans-serif;
    font-size: 0.875rem;
    line-height: 1.5rem;
    border-top: none;
}

.tutorial-card.show .tutorial-text {
    padding: 1rem;
}

.tutorial-text > ol {
    padding-inline-start: 40px;
    list-style: decimal;
}

.tutorial-text a {
    color: #8A3FFC;
    font-weight: 700;
}
