/**
 * Musical Instrument Sandbox - Base Styles
 * Inspired by reference projects: dark, minimal, clean
 */

* {
    box-sizing: border-box;
}

html {
    background-color: #181818;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #181818;
    color: #eee;
    font-size: 16px;
}

h1, h2, h3, h4, h5, p {
    padding: 0;
    margin: 0;
}

a {
    color: #eee;
    text-decoration: none;
}

a:hover {
    color: #4caf50;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.full-screen {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* ========================================
   BUTTON STYLES (minimal, dark theme)
   ======================================== */

.btn {
    padding: 0.5rem 1rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #555;
}

.btn-primary {
    background-color: #4caf50;
}

.btn-primary:hover {
    background-color: #45a049;
}

/* ========================================
   WRAPPER / CONTAINER
   ======================================== */

#wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* ========================================
   INSTRUCTIONS / MODALS
   ======================================== */

.instructions-wrapper {
    z-index: 999;
    position: absolute;
    min-width: 400px;
    max-width: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 2%;
    padding: 20px 40px 15px;
    background-color: rgba(0, 0, 0, 0.8);
}

.instructions-wrapper.inactive {
    display: none;
}

.instructions-wrapper p {
    font-size: 14px;
}

/* ========================================
   CODE / MONOSPACE
   ======================================== */

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .instructions-wrapper {
        font-size: 12px;
        padding: 15px 15px 5px;
        min-width: 300px;
    }
}

