document {
    font-family: "Roboto Mono", monospace;
}

body {
    background-color: #18181b;
    color: white;
    font-family: "Roboto Mono", monospace;
    margin-left: 5px;
}

.header {
    font-family: "Roboto Mono", monospace;
    top: 0;
    position: sticky;
    overflow: hidden;
    background-color: black;
    padding: 4px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100; /* Higher z-index to stay on top */
}

.header a {
    font-family: "Roboto Mono", monospace;
    color: white;
    text-align: center;
    padding: 4px;
    padding-left: 6px;
    padding-right: 6px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
}

.header a.logo {
    font-size: 20px;
    font-weight: bold;
}

.header a:hover {
    background-color: lightgray;
    color: black;
}

.header a.active {
    background-color: lightgray;
    color: black;
}

.header-right {
    display: flex;
}

.image-wrapper {
    background-color: black;
    display: flex;
    justify-content: center;
    width: 100%;
}

.image-container {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    display: block;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

@media (max-width: 1000px) {
    .header-right {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: black;
    }

    .header-right.show {
        display: flex;
    }

    .header-right a {
        text-align: left;
        padding: 10px;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }
}

.beige {
    color: #d4b190;
}

a {
    background-color: black;
    color: white;
    font-family: "Roboto Mono", monospace;
}

.table {
    border-collapse: collapse; /* Remove cell spacing */
    font-size: 18px;
    font-family: "Roboto Mono", monospace;
}

th,
td {
    font-size: 18px;
    vertical-align: top;
    border: none; /* Remove cell borders */
    padding: 0px; /* Add some spacing for readability */
}

#buttonblack {
    position: sticky;
    top: 200px;
    font-family: "Roboto Mono", monospace;
    background: black;
    color: #fff;
    width: 130px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
}

#buttongray {
    position: sticky;
    top: 200px;
    font-family: "Roboto Mono", monospace;
    background: lightgray;
    color: gray;
    width: 165px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
}

p {
    font-size: 18px;
    font-family: "Roboto Mono", monospace;
}

.hidden {
    display: none;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(19, 1fr);
    grid-gap: 2px;
}

.grid-item {
    border: 1px solid black;
    padding: 2px;
    padding-bottom: 25px;
}

.void {
    border: 0px solid black;
    padding-bottom: 15px;
}

.buttonCV {
    /* position: sticky; */
    font-family: "Roboto Mono", monospace;
    background: rgb(98, 127, 255);
    color: #111;
    width: 60px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
}

.buttonspacer {
    background: transparent;
    color: transparent;
    width: 90px;
    border: 3px;
    border-radius: 3px;
    height: 16px;
    margin: 0px;
}

.buttonspacer2 {
    background: transparent;
    color: transparent;
    width: 88px;
    border: 3px;
    border-radius: 3px;
    height: 16px;
    margin: 0px;
}
.buttonblack {
    font-family: "Roboto Mono", monospace;
    background: black;
    color: #fff;
    width: 200px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
}

.buttongray {
    font-family: "Roboto Mono", monospace;
    background: lightgray;
    color: #fff;
    width: 220px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
    margin-top: 20px;
}

.buttonhome {
    font-family: "Roboto Mono", monospace;
    background: lightgreen;
    color: #000;
    width: 100px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
}

.buttonsolid {
    /* position: sticky; */
    font-family: monospace;
    background: black;
    color: #fff;
    width: 60px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
}

.buttonliquid {
    font-family: monospace;
    background: orange;
    color: #fff;
    width: 60px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
}

.buttongas {
    font-family: monospace;
    background: red;
    color: #fff;
    width: 60px;
    border: 3px;
    border-radius: 3px;
    height: 30px;
    margin: 0px;
}

p {
    font-size: 18px;
    font-family: "Roboto Mono", monospace;
}

.default-div {
    background-color: #99ccff;
    border: 2px solid black;
    padding: 25px;
    color: black;
    font-family: "Roboto Mono", monospace;
}

.grayElement {
    color: gray;
}

.special-div {
    background-color: green;
    border: 2px solid green;
    padding: 10px;
    color: white;
    font-family: "Roboto Mono", monospace;
}

voidDiv {
    border: 0px solid black;
    padding: 20px;
}

.slider-container {
    width: 1330px;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.8;
    -webkit-transition: 0.2s;
    transition: opacity 0.2s;
    border-radius: 5px; /* Rounded corners for the slider track */
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: gray; /* Green thumb */
    cursor: pointer;
    border: 4px solid black; /* White border for better visibility */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4caf50;
    cursor: pointer;
    border: 2px solid black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#temperature {
    margin-top: 10px;
    font-size: 1em;
}

.myImage {
    opacity: 0;
    transition: opacity 2s ease-in-out; /* Increased duration, refined easing */
}
