:root {
    --blue: #232d4b; /* official uva */
    --orange: #e57200; /* official uva */
    --teal: #00b7c3; /* from the checkboxes default */
}

@font-face {
    font-family: Tilt Warp;
    src: url("tiltwarp.ttf") format("truetype");
}

#buttons {
    /* fills the whole screen and stays there */
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10% 15% 10% 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#tapMeOff {
    background-color: var(--orange);
    border-color: var(--orange); 
}

#playPrev {
    grid-area: playPrev;
    background-color: var(--blue);
    border-color: var(--blue);
}

#setting {
    grid-area: settings;
    background-color: var(--blue);
    border-color: var(--blue);
}

#buttonGrid {
    display: grid;
    grid-gap: 20px; /* gap between play previous and settings */
    margin-top: 20px; /* gap between spencer and play previous or tap me off and play previous */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "playPrev playPrev settings";
}

button {
    font-family: "Tilt Warp", "Trebuchet MS";
    font-size: 30px;
    height: 100px;
    color: white;
    border: solid;
    border-width: 5px;
    border-radius: 75px;
    transition:
        transform 0.35s,
        background-color 0.35s,
        color 0.35s;
    transition-timing-function: ease-in-out;
    text-align: center;
}

button:hover {
    transform: scale(1.05) translateY(-10px);
    cursor: cell;
}

input {
    transform: scale(2);
    accent-color: var(--teal);
}

audio {
    visibility: hidden;
}

img {
    visibility: hidden;
    position: absolute;
    z-index: 2;
    max-width: 80%;
    max-height: 80%;
    border: solid;
    border-color: white;
    border-radius: 20px;
    left: 50%;
}

.center {
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--blue);
}

#spencerImg {
    position: relative !important;
    margin-top: 20px;
    transform: translate(-50%, 0);
    z-index: 1;
    border: none !important;
    display: none;
    object-fit: contain;
}

label,
a {
    width: 200px;
    margin-top: 10px;
    font-family: "Tilt Warp", "Trebuchet MS";
}

input {
    width: min-content;
    margin-right: 20px;
}

#settings {
    display: grid;
    justify-content: center;
    background-color: white;
    border: solid;
    border-color: white;
    border-radius: 20px;
    position: absolute;
    padding: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    visibility: hidden;
}

#settingText {
    display: inline;
}

#settingIcon {
    display: none;
}

#dimmer {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
    visibility: hidden;
}

a {
    cursor: pointer;
    color: var(--teal);
}

/* this has to be LAST */
/* i unfortunately found this out via chatgpt :((((((( */
@media only screen and (max-width: 800px) {

    #buttonGrid {
        grid-gap: 10px; /* gap between play previous and settings */
        margin-top: 10px; /* gap between spencer and play previous or tap me off and previous */
        grid-template-columns: 1fr;
        grid-template-areas:
            "playPrev"
            "settings";
    }
}
