* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    height: 100vh;
}

#open_menu {
    position: fixed;
    top: 20px;
    left: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    z-index: 9999;
    cursor: pointer;
    color: white;
}


.controls-bottom,.controls-lateral  {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 9999;
    cursor: pointer;
}


.controls_rolagem {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 9999;
    cursor: pointer;
}

.controls-zoom {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    cursor: pointer;
}


.controls-side {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    cursor: pointer;
}

.controls-leftside {
    position: fixed;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    cursor: pointer;
}

#ocultar,
#mostrar {
    position: fixed;
    left: 15px;
    bottom: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    cursor: pointer;
    color: white;
}

.btn {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 20px;
    user-select: none;
    text-align: center;
}

.btn:active {
    background: rgba(0, 0, 0, 0.9);
}

.model-btn {
    display: block;
    width: 220px;
    padding: 10px;
    margin: 6px 0;
    background: #838383;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.model-btn:hover {
    background: #333;
}

.model-btn.active {
    background: #05db0c;
    color: white;
    font-weight: bold;
}

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px;
    border: 6px solid #032e8b;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 9999;
}

.esconder {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
