/*

no.1 rule of programming:
IF IT WORKS, DO NOT TRY TO FIX IT!

LIKE THIS MESS
    |
    |
    |
    V

*/

#selections {
    position: relative;
    top: 15vh;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 1vmin;
    width: fit-content;
    margin-bottom: 5vmin;
}

#selections label {
    font-size: 5vmin;
    font-family: sans-serif;
    color: grey;
    border-radius: 1vmin;
    border: 0.4vmin solid black;
}

.hidden-checkbox {
    visibility: hidden;
}

#show-programming:checked~#selections #programming-label:not(:hover) {
    color: black;
}

#show-programming:not(:checked)~#selections #programming-label:hover {
    background-color: black;
    color: grey;
}

#show-programming:checked~#selections #programming-label:hover {
    background-color: black;
    color: white;
}

#show-programming:checked~.programming {
    display: block;
}

#show-blender:checked~#selections #blender-label:not(:hover) {
    color: black;
}

#show-blender:not(:checked)~#selections #blender-label:hover {
    background-color: black;
    color: grey;
}

#show-blender:checked~#selections #blender-label:hover {
    background-color: black;
    color: white;
}

#show-blender:checked~.blender {
    display: block;
}

#selections-instructions {
    position: relative;
    top: 15vh;
    text-align: center;
    font-size: 3vmin;
}






.spread {
    display: none;
    margin-bottom: 5vh;
    border-top: 1vh solid black;
    border-bottom: 1vh solid black;
}

.title {
    position: relative;
    font-size: 10vw;
    font-family: monospace;
    width: fit-content;
    text-decoration: underline;
    margin: 1vw;
}

.title a {
    display: inline-flex;
    height: 9vw;
    width: 9vw;
    background-color: rgba(0, 0, 0, 0.274);
    border-radius: 1vw;
    justify-content: center;
    align-items: center;
}

.title a img {
    height: 7vw;
    width: 7vw;
    padding: 0;
}

.small_title a {
    height: 3.6vw;
    width: 3.6vw;
    border-radius: 0.4vw;
}

.small_title a img {
    height: 2.8vw;
    width: 2.8vw;
    padding: 0;
}

.small_title {
    font-size: 4vw;
}

.title a:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.description {
    position: relative;
    font-size: 3.8vmin;
    font-family: monospace;
    width: 90%;
    text-decoration: none;
    text-align: justify;
    margin-top: 2vw;
}

.project-media {
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 90% !important;
    height: 60% !important;
    object-fit: contain;
    margin-top: 5vmin;
}

.no-buttons {
    margin-top: 0;
    top: 50%;
    transform: translate(-50%, -50%);
}

.bottom-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    height: fit-content;
    margin-top: 2vmin;
}

.docs-button {
    display: inline-block;
    background-color: cornflowerblue;
    color: white;
    font-size: 8vmin;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    height: fit-content;
    border-radius: 2vmin;
    border: 1vmin solid black;
}

.docs-button:hover {
    background-color: deepskyblue;
}

.download-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: cornflowerblue;
    border-radius: 2vmin;
    border: 1vmin solid black;
    margin-left: 2vmin;
    width: 8vmin;
    height: 8vmin;
}

.download-button:hover {
    background-color: deepskyblue;
}

.download-button img {
    width: 7.5vmin;
    height: 7.5vmin;
}

.renders-button {
    font-size: 5vmin;
}

.left {
    width: 60%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
}

.right {
    width: 40%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    overflow: visible;
}

.type-indicator {
    width: 4vmin;
    height: 4vmin;
    position: absolute;
    top: 0.5vmin;
    right: 0.5vmin;
}

@media screen and (max-aspect-ratio: 5/6) {

    /*mobile*/
    .spread {
        height: 100vmin;
    }

    .left {
        width: 100%;
        height: 40%;
        border-bottom: 1vh dashed black;
    }

    .right {
        top: 40%;
        width: 100%;
        height: 60%;
    }

    .description {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .title {
        left: 50%;
        transform: translateX(-50%);
    }

}