body {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1A1A1D;
    color: #C5C6C7;
}

.header {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 20px auto 0 auto;
    background-color: #0B0C10;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.header h1 {
    margin: 0;
    color: #66FCF1;
}


.container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.left-column, .right-column {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #0B0C10;
    margin: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


h2 {
    color: #66FCF1;
}

label {
    margin-bottom: 5px;
    align-self: flex-start;
}

input[type="number"], input[type="text"], input[type="range"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #1F2833;
    border: none;
    border-radius: 5px;
    color: #C5C6C7;
}

input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #66FCF1;
    cursor: pointer;
    border-radius: 50%;
}

button {
    padding: 10px 20px;
    margin: 5px 0;
    cursor: pointer;
    background-color: #45A29E;
    border: none;
    border-radius: 5px;
    color: #FFFFFF;
    font-weight: bold;
}

button:disabled {
    background-color: #555555;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #66FCF1;
}

.controls {
    width: 100%;
}

.control-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.control-item label {
    margin-left: 10px;
}


#popupContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.popup {
    position: absolute;
    background-color: #c02e42;
    color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    transform-origin: center;
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1000;
}


#animationArea {
    width: 100%;
    height: 200px;
    margin-top: 20px;
    position: relative;
    perspective: 1000px;
    background-color: #1F2833;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

#animationArea .numberDisplay {
    font-size: 100px;
    text-align: center;
    line-height: 200px;
    transform-style: preserve-3d;
    font-family: 'Rubik Mono One', sans-serif;
}


#rangeResult {
    width: 100%;
    text-align: center;
}

#rangeResult p {
    margin: 5px 0;
}


footer {
    text-align: center;
    padding: 10px;
    background-color: #0B0C10;
    color: #888888;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
    font-size: 12px;
}

@font-face {
    font-family: 'digi';
    src: url('digi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}
