* {
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
}

.site-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    width: auto;
    align-items: stretch;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 9999;
}

nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 10px;
}

.ico {
    width: 7vh;
    height: 7vh;
    margin-bottom: 35px;
}

.page-title {
    margin: auto;
}

.mute-button {
    height: 12vh;
    width: 12vh;
}

.mute-button:active {
    background-image: radial-gradient(circle, #c01414 30%, white 70%)
}

.clearspace {
    display: flex;
    flex-direction: row;
    width: auto;
    height: 100%;
    align-items: stretch;
    justify-content: left;
}

.clearspace-click {
    width: 15vw;
}

.body-container {
    display: flex;
    width: 80%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-section {
    margin: auto;
    display: flex;
    width: 70vw;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Arial, sans-serif;
    margin-bottom: 25vh;
}

.intro-section {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 60vw;
    margin: auto;
    /*margin-top: 4vh;*/
    justify-content: center;
    align-items: center;
    font-size: 2.3vb;
}

.control-list {
    display: flex;
    flex-direction: column;
    margin-left: -22vw;
    font-size: 2.2vb;
}

.button-row {
    display: flex;
    justify-content: center;
    margin-bottom: 1vh;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.group-keys {
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: 2.5vh;
    font-weight: lighter;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1vh;
    margin-right: 20px;
}

.bit-button {
    width: 1.8vw;
    height: 1.8vw;
    border-radius: 50%;
    margin: .75vh;
    border: none;
    transition: background-color 0.3s;
    outline: none;
}

.bit-button.on {
    background-color: #4CAF50;
    /* Green */
}

.bit-button.off {
    background-color: #f44336;
    /* Red */
}

.display-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: 20px;
}

#hex-output {
    font-size: 6.4vh;
    font-weight: bold;
}

/*@media (max-width: 768px)
    and (width: 390px) 
    and (height: 844px) {

    .intro-section, .control-list {
        width: 100%; 
        margin-left: 0;
    }
    .header, nav, .display-row {
        flex-direction: column;
    }
    .button-group {
        flex-direction: column;
        align-items: center;
    }
}*/

@media screen and (orientation: portrait) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .body-container {
        align-items: stretch;
    }

    .bit-button {
        width: 4.8vw;
        height: 4.8vw;
        margin: .75vw;
    }

    .button-row {
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .intro-section {
        font-size: 2.2vb;
        margin: 3.5vw;
        width: 70vw;
    }

    .control-list {
        font-size: 2.2vb;
        margin-left: 10vw;
    }
}

@media screen and (orientation: landscape) {
    body {
        overflow-y: hidden;
    }

}
