:root {
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #000000;
}

::selection {
    background-color: white;
    color: #1f1f1f;
}

::-moz-selection {
    background-color: white;
    color: #1f1f1f;
}

input {
border: 1px solid #ff3333;
    box-shadow: 0 0 10px red;
}
.disabled {
color: grey;
  pointer-events: none;
}
.disabled:hover {
color: grey;
}
body {
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
    scrollbar-gutter: stable;
     font-family: Tahoma, system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


a {
    color: var(--links);
}

a:hover {
    color: var(--links-hover);
}

#welcomeText {
    color: var(--highlight);
 font-family: Tahoma, system-ui, sans-serif;    font-weight: normal;
    line-height: normal;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    width: 80%;
}


.show-again {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: #1f1f1f;
    padding: 8px 14px;
    font-size: 12px;
    cursor: pointer;
}

.show-again:hover {
    background-color: #2f2f2f;
    border: 1px solid #fff;
}

.terminal-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.terminal {
    background-color: #090909;
    color: white;
    font-size: medium;
    border: 1px solid #ff3333;
    box-shadow: 0 0 10px red;
}

.terminal .content {
    padding: 0 10px 10px;
}

#show-terminal:checked ~ .terminal {
    visibility: hidden;
}

#show-terminal:checked ~ .secret {
    display: block;

}

#show-terminal {
    display: none;
}

.terminal pre {
    color: white;
    font-size: medium;
    font-family: inherit;
    margin: 0;
    padding: 0;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.terminal ::-moz-selection {
    background: #fff;
    color: #1f1f1f;
}

.terminal ::selection {
    background: #fff;
    color: #1f1f1f;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
}

.about-image-separate {
    height: auto;
    max-width: 220px;
    margin-right: 1rem;
    object-fit: cover;
}

.text-content {
    flex: 1;
    overflow-wrap: break-word;
}

.about-image-inline {
    display: none;
    position: relative;
    float: left;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    max-width: 200px;
    margin-right: 1rem;
    margin-top: 0.5rem;
    border: 1px solid #fff;
}

.about-image-inline img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    margin-bottom: -4px;
}

.about-image-topbar {
    padding: 4px 8px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-image-topbar span {
    color: #b5b5b5;
    font-size: 0.8em;
}

.about-image-topbar .close {
    position: absolute;
    display: flex;
    margin-top: 4px;
    margin-right: 4px;
}

.about-image-topbar .close:hover {
    border: 1px solid white;
    margin: 3px 3px -1px;
}

@media (max-width: 1300px) {
    .about-image-separate {
        display: none;
    }

    .about-image-inline {
        display: block;
    }

    #showImage:checked ~ .about-image-inline {
        display: none;
    }

}

.terminal ::-webkit-scrollbar {
    width: 10px;
}

.terminal ::-webkit-scrollbar-track {
    background: #1f1f1f;
}

.terminal ::-webkit-scrollbar-thumb {
    background: #fff;
}


#alternativePgpCommand {
    display: none;
}

section {
    margin-bottom: 1em;
}

.nomargin {
    margin: 0;
}

.shortServername {
    display: none;
}
.slidecontainer {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 35px; 
}

.custom-slider-range {
    -webkit-appearance: none;
    appearance: none; 
    width: 120px; 
    height: 10px;
    background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red); /* Full spectrum */
    outline: none;
    opacity: 0.8;
    transition: opacity 0.4s;
    border: 1px solid var(--highlight); 
}
.custom-slider-range:hover {
    opacity: 1; 
}
.about-image-topbar .close {
    position: absolute;
    display: flex;
    margin-top: 4px;
    margin-right: 4px;
}

.about-image-topbar .close:hover {
    border: 1px solid white;
    margin: 3px 3px -1px;
}
.custom-slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 20px;    
 background: #fff;
    border: 1px solid #000;
    cursor: pointer;
    border-radius: 0; 
}
.close-buttons {
    display: flex; 
    gap: 5px; 
    margin-left: auto; 
}

.close {
    height: 20px;
    width: 20px;
    background-color: #ff5f57;
    fill: #eff0f1;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    border-radius: 0px;
}

.close::before, .close::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: #eff0f1;
}


.custom-slider-range::-moz-range-thumb {
    width: 12px;
    height: 20px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 0;  
  cursor: pointer;
}

.topbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
    padding: 2px 2px 5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.titlebar img {
  margin-left: 1px;
  margin-right: 2px;
}
.topbar a {
    text-decoration: none;
}

.topbar a:hover {
    text-decoration: underline;
}


.clock-icon {
    margin-top: -1px;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}



.about-layout {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 0.7rem;
    margin-bottom: 0.5rem;
 font-family: Tahoma, system-ui, sans-serif;}

.tui-window {
    flex: 1;
    border: 1px solid #747f8d;
    position: relative;
    padding: 1.0rem 0.8rem 0.6rem 0.8rem;
}

.tui-fieldset-label {
    position: absolute;
    top: -0.7em;
    left: 0.8rem;
    background: #090909;
    padding: 0 0.4rem;
    color: var(--highlight);
}

.tui-master-grid {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.4rem 1.5rem;
    align-items: start;
}

.tui-separator {
    grid-column: 1 / -1;
    position: relative;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    border-top: 1px solid #444;
}

.tui-separator-label {
    position: absolute;
    top: -0.8em;
    left: 0;
    background: #090909;
    padding-right: 0.4rem;
    color: #747f8d;
    font-weight: bold;
}

.tui-pfp {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border: 1px solid var(--highlight);
    display: block;
}

.tui-label {
    color: var(--highlight);
    font-weight: bold;
    letter-spacing: 0.05em;
    padding-top: 0.1em;
    word-wrap: break-word;
}

.tui-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    color: #eee;
    line-height: 1.25;
}

.info-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.1rem;
}

.tui-desc {
    color: #ddd;
    line-height: 1.35;
    font-size: 0.95em;
}

@media (max-width: 800px) {
    .about-layout {
        flex-direction: column;
        gap: 1rem;
    }
}

.short-text { display: none; }

@media (max-width: 450px) {
    .tui-master-grid {
        /* shrink left column for mobile */
        grid-template-columns: 65px 1fr;
        gap: 0.6rem 0.8rem;
    }

    .long-text { display: none; }
    .short-text { display: inline; }

    .info-name { font-size: 1.1em; }
    .tui-desc { font-size: 0.9em; }

    .tui-separator { margin: 0.2rem 0; }
}