@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    background: #121212;
    color: #e0e0e0;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
}

canvas {
    flex-grow: 1;
    background: #000000;
}

.sidebar {
    position: relative;
    width: 300px;
    background: #1e1e1e;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    z-index: 10;
}
/* 
.sidebar-toggle {
    position: absolute;
    left: 100%;
    top: 15px;
    background: #1e1e1e;
    padding: 10px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.sidebar.collapsed {
    transform: translateX(-100%);
} */

.sidebar-content {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.sidebar-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.control-section {
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.section-header h3 {
    color: #bbbbbb;
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.section-content.active {
    max-height: 500px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #aaaaaa;
}

input[type="range"] {
    width: 100%;
    margin-top: 5px;
}

input[type="checkbox"] {
    margin-right: 10px;
}

select {
    width: 100%;
    padding: 5px;
    background: #2c2c2c;
    color: #e0e0e0;
    border: none;
    border-radius: 3px;
}

.sidebar-footer {
    margin-top: 20px;
    text-align: center;
}

#resetButton {
    background: #4a4a4a;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#resetButton:hover {
    background: #5a5a5a;
}
/* Add these styles for the auto-click button */
.auto-click-btn {
    width: 100%;
    padding: 10px;
    background: #4a4a4a;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.auto-click-btn:hover {
    background: #5a5a5a;
}

.auto-click-btn.active {
    background: #6a6a6a;
}


.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.section-content.active {
    max-height: 500px; /* Adjust this value based on your content */
    transition: max-height 0.3s ease-in;
}

.section-header i {
    transition: transform 0.3s ease;
}

.section-header i.fa-chevron-up {
    transform: rotate(180deg);
}