body, html {
    overflow-x: hidden !important;
}

@media screen and (max-width: 768px) {

    /*Card Personagens Principal*/
    .container {
        display: block !important;
    }
    .container img {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    .container .collapse .ms-auto {
        margin-left: 0 !important;
    }
    .container p#paragraph-heading{
        margin-bottom: 4rem !important;
    }
    p#teste {
        display: none;
    }
    p#hidden-text {
        display: block !important;
    }
    /*FIM do Card Personagens Principal*/

    .container p#p-teste{
        font-size: calc(1.275rem + .3vw)!important;
    }

    /*Subtítulos dos Personagens*/
    section #persons-sub-card * {
        color: black !important;
    }

    #navbarPersonContent{
        display: flex !important;
        flex-direction: column !important;
    }
    .col-md-3{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #z-img-responsive {
        display: none;
    }

    #persons-sub-card {
        display: flex;
        flex-direction: column !important;
        margin-bottom: 15vh !important;
    }

    .legends-hidden {
        display: inline-block !important;
    }

    .legends-visible {
        display: none !important;
    }

    #persons-sub-card h1 {
        font-size: calc(1.325rem + .9vw)!important
    }

    .box-card {
        clear: both !important;
        left: 0 !important;
    }

    .box-card p {
        text-align: center !important;
    }
}


@media (min-width: 768.1px) and (max-width: 991px) {
    /*Card Personagens Principal*/
    .container {
        display: block !important;
    }
    .container img {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    .container .collapse .ms-auto {
        margin-left: 0 !important;
    }
    .col-md-3 {
        flex: 0 0 auto !important;
        width: 100% !important;
        padding-bottom: 10vh !important; /*T, R, B, L*/
    }

    .col-md-7 {
        clear: both !important;
        order: unset !important;
        width: 100vw !important;
        margin-left: 0 !important;
    }
}

@media (min-width: 1366px) {
    #title-heading {
        font-size: calc(1.475rem + 1.5vw) !important;
    }

    section#section-event:after {
        content: "";
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: 0;
        background: url('../img/frame-cian.png');
        /* border-right: 5px solid black; */
        width: 25vw;
        height: 100%;
    }

}

@media (min-width: 768.1px) and (max-width: 1566px) {
    #persons-sub-card {
        margin-bottom: 40vh !important;
    }
}

/*IPAD-MINI AND IPAD-AIR PRESET*/
/* @media screen and (max-height: 1369px) {
    .col-md-3 {
        flex: 0 0 auto !important;
        width: 100% !important;
        padding-bottom: 10vh !important;
    }

    .col-md-7 {
        clear: both !important;
        order: unset !important;
        width: 100vw !important;
        margin-left: 0 !important;
    }

    #persons-sub-card {
        margin-bottom: 20vh !important;
    }
    
    #z-img-responsive {
        clear: both !important;
        right: 0 !important;
    }
} */