/* To do: 
 * Clean up this dumpster fire code
 * Make unnecessary elements disappear
 * uh idk rule of 3
*/ 

body {
    background-color: black;
    font-family: monospace;
    color: white;
    overflow-x: hidden;
}

header {
    text-align: center;
}

a {
    color: white;
}

img {
    position: absolute;
    top: 0%;
    left: 100%;
    width: 25px;
    transform: translate(-100%, 0%);
}

.unselectable {
    user-select: none;
}

.links {
    justify-content: center;
    display: flex;
    overflow-x: wrap;
}

/* real buttons have several issues including lack of easy customization, and also when you press them they're just selected forever */
.fake_button {
    display: block;
    width: 15%;
    height: 5rem;
    border-radius: 10px;

    background-color: white;
    color: black;
    text-align: center;

    padding-top: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;

    margin: 2rem;

    transition: background-color 250ms, width 250ms, height 250ms;
}

/* I probably could've and should've done this with regular buttons */
.fake_button:hover {
    background-color: grey;
    width: 16%;
    height: 6rem;
    padding-top: 4rem;
}

#message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#timer {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
}

#hit_circle {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -25%);

    transition: left 100ms, top 100ms;
    
    background-color: white;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#hit_circle:hover {
    background-color: grey;
}

#home {
    position: fixed;
    top: 100%;
    left: 0%;
    transform: translate(0%, -100%);
    margin-left: 1rem;
    color: white;
}

/* I should probably make this into an actual key but I have no idea how. */
/* also why is this so far away from the rest of the focus mode code */
.key {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgb(200, 125, 50);
    position: absolute;
    transition: left 300ms, top 300ms;
}

#precision_circle {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 50%;
    left: 100%;
    background-color: white;
    border-radius: 50%;
    transform: translate(0%, -50%);
}

#hit_line {   
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 5px;
    height: 100px;
}

#screen_dimension_searcher {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: black;
}

#popup {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
}

#tip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%); /* I have to do this for some reason, -100% doesn't work*/
    margin: 0px;
}

/* This CSS file is a fricking dumpster fire wth 
* everything is everywhere and it's really hard to find everything */ 

#eye_timer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%); /* For some reason the top is weird and I don't know like why this works but it does */
    font-size: 5rem;
}

.text {
    display: block;
    max-width: 65ch;
    margin: 0 auto;
    text-align: center;
    font-size: large;
}

/* Focus mode section */
.selection_button {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: white;
}

#button1 {
    position: absolute;
    top: 70%;
    left: 6%;
    background-color: red;
}

#button2 {
    position: absolute;
    top: 70%;
    left: 12%;
    background-color: orange;
}

#button3 {
    position: absolute;
    top: 70%;
    left: 18%;
    background-color: yellow;
}

#button4 {
    position: absolute;
    top: 70%;
    left: 24%;
    background-color: green;
}

#button5 {
    position: absolute;
    top: 70%;
    left: 30%;
    background-color: cyan;
}

#button6 {
    position: absolute;
    top: 70%;
    left: 36%;
    background-color: blue;
}

#button7 {
    position: absolute;
    top: 70%;
    left: 42%;
    background-color: purple;
}

#button8 {
    position: absolute;
    top: 70%;
    left: 48%;
    background-color: pink;
}

#select_buttons {
    display: none;
}

#text {
    /* Not to be confused with the text class (I definitely got confused)*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
