* {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    padding: 0px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

h1 {
    font-size: 4rem;
}
.heading {
    margin: 80px;

    & > .start {
        width: 150px;
        height: 50px;
        background-color: #363636;
        color: white;
        font-size: 18pt;
        font-weight: bold;
        margin: 40px
    }
}

.test {
    width: 100vw;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;

    & > .type {display: none;}
    & > .score {display: none;}
    & > .input {
        display: none;
        width: 100px;
        height: 20px;
        border-radius: 8px;
        border: 1px solid #363636;
        padding: 10px;
        font-size: 16pt;
        margin-bottom: 10px;
    }
    & > .see {
        font-size: 100pt;
        font-weight: lighter;
        user-select: none;
        cursor: not-allowed;
    }
}

button {
    padding: 10px 20px;
    margin: 10px;
    text-align: center;
    border-radius: 8px;
    border: none;

    &:hover {
        cursor: pointer;
        box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
    }
    &:active {
        opacity: 0.5;
        transform: translateY(2px);
    }
}

nav {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.5);

    & h3 {
        color: white;
        &:hover {
            cursor: pointer;
            text-decoration: underline;
        }
        &:active {
            transform: translateY(2px);
            opacity: 0.75;
            text-shadow: 0px 2px 2px #36363636;
        }
    }
    & ul {
        position: fixed;
        top: 50px;
        list-style: none;
        background-color: rgba(0, 0, 0, 0.25);
        padding: 10px 20px 20px 20px;

        & button {width: 100px;}
    }
}
.colors-btn {padding-right: 35px;}
.colors {
    z-index: 999;
    right: 0px;
    position: fixed;
    & ul {
        overflow-y: scroll;
        height: 90vh;
        scrollbar-width: thin;
        scrollbar-color: #363636 transparent;
    }
}
.menu-btn {padding-left: 35px;}
.menu {
    z-index: 999;
    left: -160px;
    position: fixed;

    & ul {height: 100vh;}
    & button {
        color: white;
        padding: 10px 0px;
    }
    & .mute-sfx {
        background-color: rgba(0, 129, 0, 0.5);
        width: 80px;
        height: 30px;
        font-size: 12px;
        line-height: 11px;
    }
}
.pink {background-color: pink;}
.crimson {background-color: crimson; color: white;}
.red {background-color: red; color: white;}
.brown {background-color: chocolate; color: white;}
.orange {background-color: orange;}
.yellow {background-color: yellow;}
.lime {background-color: lime; color: black;}
.green {background-color: green; color: white;}
.forest {background-color: rgb(0, 60, 0); color: white;}
.cyan {background-color: rgb(0, 255, 255); color: black;}
.dark-grey {background-color: darkslategray; color: white;}
.blue {background-color: blue; color: white;}
.navy {background-color: navy; color: white;}
.purple {background-color: purple; color: white;}
.black {background-color: black; color: white;}
.grey {background-color: darkgray; color: white;}
.white {background-color: white;}

.normal {background-color: #363636;}
.blur {background-color: teal;}
.size {background-color: darkgreen;}
.contrast {background-color: darkslateblue;}
.custom {background-color: darkred;}
.astigmatism {background-color: goldenrod;}
.contrast-bg {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

.controls {display: none;}
.slider-grid {
    display: grid;
    grid-template-columns: auto 150px 50px;
    gap: 10px;
    align-items: center;

    & label {text-align: right;}
    & input[type="range"] {width: 100%;}
    & span {text-align: left;}
}

.astigmatism-view {
    display: none;
    width: 100vw;
    height: 80vh;
    padding: 70px 0px;

    & p {padding: 0px 20px;}
    & .clock-area {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    & .line-container {
        height: 300px;
        width: 16px;
        display: flex;
        position: absolute;
        top: 35vh;
    }
    & .line {
        height:50vh;
        background-color: black;
        width: 2px;
        margin: 2px;
    }
    & .b-deg {transform: rotate(30deg);}
    & .c-deg {transform: rotate(60deg);}
    & .d-deg {transform: rotate(90deg);}
    & .e-deg {transform: rotate(120deg);}
    & .f-deg {transform: rotate(150deg);}
}
