html, body {
    background-color: #0B0B0B;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
    width: 100%;
    height: 100%;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 100px 0 100px;
}

form, .output, .instructions {
    border: 2px solid #D32F2F;
    background-color: #1C1C1C;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 48%;
    margin: 5px;
    box-sizing: border-box;
}

.instructions {
    border: 2px solid #D32F2F;
    background-color: #1C1C1C;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 80%;
    margin: 5px;
    box-sizing: border-box;
}

.instructionBody {
    display: flex;
    justify-content: center;
}

.stop {
    float: right;
}

input, textarea, select {
    background-color: #0B0B0B;
    color: #FFFFFF;
    border: 1px solid #B0BEC5;
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
}

.range {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #0B0B0B;
    outline: none;
    transition: opacity .2s;
    margin: 5px;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #D32F2F;
    cursor: pointer;
}

.range::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #D32F2F;
    cursor: pointer;
}

.table {
    width: 100%;
}

.tableRecord {
    float: left;
    width: 49%;
}

.checkbox-container input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #1C1C1C;
    border: 2px solid #B0BEC5;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.checkbox-container input[type="checkbox"] {
    background: #D32F2F;
    border: 2px solid #D32F2F;
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container label {
    display: inline-block;
    vertical-align: middle;
    color: #FFFFFF;
}

input::placeholder, textarea::placeholder {
    color: #B0BEC5;
}

#submit, button {
    background-color: #D32F2F;
    color: #FFFFFF;
    border: none;
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button, #submit {
    background-color: #B71C1C;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    border: 6px solid #D32F2F;
    border-radius: 100px 50px 100px 50px;
    height: 120px;
    width: 120px;
    margin: 5px;
}

#title {
    font-size: 40pt;
}

.stop {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}

.range-container {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}
.range-label {
    margin: 0 10px;
}

.description {
    font-weight: bold;
}

.numberField {
    width: 30%;
}

.instructionRows {
    display: flex;
    flex-direction: row;
}

.instructionRow{
    margin: 10px;
}

.currentPage {
    background-color: #D32F2F;
    color: #FFFFFF;
    padding: 7px 15px 7px 15px;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
}

.link {
    color: #D32F2F;
    padding: 7px 15px 7px 15px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.menu {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: stretch;
        margin: 10px;
    }

    form, .output {
        width: 100%;
    }

    #title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .header {
        flex-direction: column;
    }

    .numberField {
        width: 100%;
    }

    .instructionRows {
        display: flex;
        flex-direction: column;
    }
}