@font-face {
    font-family: 'iconfont';
    src: url('iconfont.woff2') format('woff2'),
        url('iconfont.woff') format('woff');
}

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

html,
body {
    overflow: hidden;
    background-color: #000;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}
/*  */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html,
body {
    height: 100%;
    background: linear-gradient(135deg, #1f3a93, #34495e);
    color: #ecf0f1;
    overflow: hidden;
}

/* Main Container */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Main Content */
main {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
}

canvas {
    width: 70%;
    height: 500px;
    border: 2px solid #fff;
    border-radius: 10px;
    background-color: black;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.control-panel {
    width: 25%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.control-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.control-panel label {
    display: block;
    margin: 10px 0 5px;
    font-size: 1rem;
    color: #bdc3c7;
}

.control-panel input[type="range"] {
    width: 100%;
    margin-bottom: 15px;
}

.control-panel button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    color: #fff;
    background: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.control-panel button:hover {
    background: #2980b9;
}

/* Footer */
footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #bdc3c7;
}

footer span {
    color: #e74c3c;
}