body {
    font-family: 'JetBrains Mono';
}

input,
textarea,
select {
    font-family: inherit;
}

svg {
    display: block;
    margin: auto;
}

.toggle-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 24px;
    margin-left: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:checked+.slider:before {
    transform: translateX(36px);
}

.input-group {
    display: block;
    flex-direction: column;
    width: 100%;
}

.input-group input {
    width: 50px;
}

.input-container {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin: 20px auto;
    width: 85%;
    max-width: 600px;
    background-color: #f9f9f9;
}

.columnleft {
    width: 50%;
    padding: 5px;
}

.columnright {
    align-items: right;
    width: 45%;
    padding: 5px;
}

.row {
    display: flex;
    justify-content: center;
    margin: 0 -5px;
}

input[type="range"] {
    width: 10px;
}

.coord {
    float: right;
    margin-right: 5px;
}


/* Responsive behavior */

@media (max-width: 600px) {
    .row {
        flex-direction: column;
        justify-content: center;
    }
    .columnleft {
        margin-left: auto;
        margin-right: auto;
        width: 60%;
    }
    .columnright {
        margin-left: auto;
        margin-right: auto;
        width: 55%;
    }
}