body {
    background: #111;
    color: #fff;
    font-family: monospace;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#scrambled-text {
    font-size: 3rem;
    display: flex;
    margin-left: 5%;
    margin-bottom: 50%;
    position: relative;
}

.letter {
    position: relative;
    transition: transform 0.1s;
    pointer-events: none;
}

#controls {
    position: fixed;
    bottom: 5%;
    left: 2.5%;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    color: white;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: grey;
    transition: 0.4s;
    border-radius: 35%;
}

.toggle-switch:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 35%;
}

.switch input:checked + .toggle-switch {
    background-color: #00AA77;
}

.switch input:checked + .toggle-switch:before {
    transform: translateX(20px);
}

.label-text {
    font-size: 14px;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: repeating-linear-gradient(
      45deg,
       rgba(255, 255, 255, 0.02),
       rgba(255, 255, 255, 0.02) 1px,
        transparent 1px,
        transparent 2px
    );
}

