
main {
    font-family: 'Quicksand', sans-serif;
    display: flex;
    justify-content: space-between;
    
    height: calc(100vh - 95px);
    overflow-y: hidden;
}

/* ---------------------------------------- Menu Modelo 2D------------------------------------------------------------ */
.menuMobile {
    background: var(--brown);
    padding: 20px 20px;
    text-align: center;
    display: none;
}
.menuMobile button,#closeMenu {
    background: none;
    border: none;
}
.menuMobile img {
    width: 40px;
}
.menu-modelo2d {
    background: var(--brown);
    width: fit-content;
    text-align: center;
    padding-inline: 45px;
    
}
#divCloseMenu {
    text-align: left;
    display: none;
}
#closeMenu img {
    width: 20px;
}
.menu-modelo2d > button {
    font-family: 'Quicksand', sans-serif;
    width: 150px;
    padding-block: 33px;
    background: none;
    border: 3px solid var(--button);
    border-radius: 10px;
    color: #fff;
    margin-bottom: 40px;
}
.menu-modelo2d > button.active {
    background: var(--button);
}
.sistemas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    overflow-y: auto;
}
.overflow-y_sistemas {
    height: 23rem;
    overflow-y: auto;
}
 ::-webkit-scrollbar {
    width: 10px;
}

 ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.6);
}

 ::-webkit-scrollbar-thumb {
    background: var(--buttonHover);
}

.sistemas button {
    text-align: left;
    display: flex;
    align-items: center;
    font-family: 'Quicksand', sans-serif;
    height: 40px;
    color: #fff;
    background: var(--brown);
    border: none;
}
.sistemas button.active{
    background: var(--button);
}



/* ---------------------------------------- Modelo 2D ---------------------------------------------------- */

.modelo2d {
    text-align: center;
}
.modelo2d img {
    height: calc(100vh - (95px + 70px ));
    max-width: 400px;
    transform-origin: center center;
    object-fit: 1;
}
.box {
    overflow: hidden;
}
/* ---------------------------------------- Controle Modelo 2D ------------------------------------------ */
.modelo2d-control {
    text-align: end;
    margin-top: 60px;
    margin-right: 50px;
}
.control {
    background: var(--button);
    border-radius: 10px;
    padding: 30px 30px;
    text-align: left;
}
/* ---------------------------------------- Popup  ---------------------------------------------------- */
.popupAbout {
    background: #fff;
    margin: 10% 40%;
    width: 300px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    box-shadow: 4px 5px 4px 0px rgba(0, 0, 0, 0.30);
    border: none;
    padding-bottom: 10px;
    overflow: hidden;
}
.popupAbout img {
    width: 100%;
}
.popupAbout.active {
    display: block;
}
.popupAbout::backdrop {
    background: rgba(0, 0, 0, 0.60);
}
.popupAbout button {
    padding: 15px 25px;
    background: var(--button);
    border: none;
    border-radius: 25px;
    max-width: 215px;
    box-shadow: 4px 5px 4px 0px rgba(0, 0, 0, 0.30);
}
.popupAbout button:hover {
    background: var(--buttonHover);
}
#closePopupAbout {
    color: #fff;
    box-shadow: 0px;
    padding: 20px;
    border-radius: 50%;
    position: absolute;
    top: -9px;
    right: -9px;
    background: var(--red-quiz);
}
.popupAbout button a {
    text-decoration: none;
    color: #000;
}




@media (min-width:1200px){
    .overflow-y_sistemas {
        height: 29rem;
    }
}
@media (max-width:1000px){
    .menuMobile {
        display: flex;
    }
    #divCloseMenu {
        display: block;
    }
    .menu-modelo2d {
        display: none;
    }
    .menuMobile.disabled {
        display: none;
    }
    .menu-modelo2d.active {
        display: block;
    }
    .modelo2d h1 {
        font-size: 1.5rem;
    }
    .modelo2d h2 {
        font-size: 1rem;
    }
    .modelo2d img {
        width: 100%;
    }
    .modelo2d-control {
        text-align: end;
        margin-top: 30px;
        margin-right: 20px;
    }
    .control {
        padding: 20px 20px;
    }
    .menu-modelo2d > button {
        width: 100px;
        padding-block: 33px;
        color: #fff;
        margin-bottom: 40px;
    }
    
}
@media (max-width:500px){
    .popupAbout {
        margin: 20% 10%;
    }
    .modelo2d img {
        transform-origin: center center;
        object-fit: 1;
        height: 100%;
        width: 100%;
    }
}