@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');

:root{
    --back: #3a3a3a;
    --sec: #181818;
    --comp: darksalmon;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Major Mono Display', monospace;
    background-color: var(--back);
    color: var(--comp);
    font-size: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

main{
    width: 100vw;
    height: 50vh;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

footer{
    width: 100vw;
    height: 5vh;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

a{
    text-decoration: none;
    color: inherit;
}

article{
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: row;
    text-align: left;
    width: 100vw;
    height: 35vh;
}

article > section{
    width: 33.33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button{
    width: 10vw;
    height: 50%;
    font-family: inherit;
    font-size: 20px;
    background-color: var(--comp);
    border-radius: 10px;
    text-align: center;
}

.bar{
    background-color: var(--comp);
}

#mainNav{
    background-color: var(--sec);
    width: 100vw;
    height: 10vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#sortVisual{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.info{
    display: none;
}

#heapAbout, #quickAbout{
    width: 26.67%;
}

@media screen and (max-width: 1200px) {

    article{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    article>section{
        width: 100%;
        margin-bottom: 100px;
        font-size: 30px;
    }
    iframe{
        width: 90vw;
        height: 50.58vw;
        margin-bottom: 2vh;
    }

    main{height: 60vh;}
    footer{display: none;}
    
    .sudoCode>div>pre{width: 100%;}
    .about{
        width: 100% !important;
        text-align: center;
    }
}