html{
    max-width: 100vw;
    max-height: 100vh;
}

body{
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 100vw;
    max-height: 100vh;
    background-color: white;
}

header{
    background-color: rgb(88, 129, 87);
    width: 100vw;
    height: 10vh;
    z-index: 2;
    border-radius: 0 0 42px 42px;
    transition: 0.15s;
    /*box-shadow: 0px 5px 20px 2px rgba(0, 0, 0, 0.1);*/
}

#hamburger{
    position: absolute;
    left: 8vw;
    top: 2.4vh;
    z-index: 5;
}

#hamburger div{
    background-color: white;
    height: 1.2vh;
    width: 10vw;
    border-radius: 20px;
    margin-bottom: 0.8vh;
    transition: 0.2s;
}

#modebutton{
    position: absolute;
    height: 3.2vh;
    width: 3.2vh;
    top: 2.4vh;
    right: 5.3vw;
    z-index: 7;
    border-radius: 50%;
    border: 8px solid white;
    transition: 0.2s;
}

#options{
    position: absolute;
    background-color: rgb(58, 90, 64);
    width: 100vw;
    top: 10vh;
    left: 0;
    bottom: 7.5vh;
    z-index: 6;
    transition: 0.2s;
    transform: translate(-100vw, 0);
    overflow: scroll;
}

#modulebuttons{
    display: flex;
    margin-top: 0;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.modulebutton{
    position: relative;
    margin-top: 4.05vh;
    width: 35vw;
    height: 20vh;
    background-color: rgb(58, 90, 64);
    border: 1vw solid rgb(88, 129, 87);
    /*transition: 0.2s;*/
    color: white;
    text-align: center;

    border-radius: 25%;
    width: 35vw;
    height: 35vw;
    max-width: 200px;
    max-height: 200px;
    box-sizing: border-box;
}

.active{  
    background-color: rgb(88, 129, 87);
    border: none;
    
}

.modulebutton span{
    position: absolute;
    bottom: 3vh;
    font-size: 12px;
    left: 0; 
    right: 0; 
    margin-inline: auto; 
    width: fit-content;
}

.modulebutton.active span{
    bottom: 3.5vh;
}

.modulebutton span span{
    bottom: -2vh;
    font-size: 9px;
}

.modulebutton.active span span{
    bottom: -2vh;
    font-size: 9px;
}

#prompt{
    text-align: center;
    color: black;
    font-weight: bold;
    font-size: 9.7vw;
    margin: auto;
    margin-top: 11.5vh;
    padding-left: 7.7vw;
    padding-right: 7.7vw;
    overflow-wrap: break-word;
    transition: 0s;
    transform: translate(0, -2vh);
}

#log{
    text-align: center;
    color: rgb(70, 70, 70);
    font-size: 6vw;
    margin: auto;
    margin-top: 8vh;
    padding-left: 10vw;
    padding-right: 10vw;
    line-height: 5vh;
    max-height: 36vh;
    z-index: 30;
    overflow-y: scroll;
}

#gradient{
    position: absolute;
    width: 100vw;
    background-image: linear-gradient(to bottom, rgba(255,0,0,0), 40%,white);
    bottom: 30vh;
    height: 10vh;
}

#whiteblock{
    position: absolute;
    width: 100vw;
    background-color: white;
    height: 30vh;
    z-index: 2;
    bottom: 0;
}

#button{
    position: absolute;
    background-color: rgb(88, 129, 87);
    bottom: 16.5vh;
    width: 60vw;
    height: 14vh;
    left: 20vw;
    border-radius: 25px;
    transition: 0.2s;
    box-sizing: border-box;
    z-index: 5;
}

#button p{
    margin: 0;
    text-align: center;
    color: rgb(255, 255, 255);
    line-height: 14vh;
    font-size: 45px;
    transition: 0.8s;
    font-weight: bold;
}

[mode="light"]:active{
    transition: 0s!important;
    border: 5px solid white;
}

[mode="dark"]:active{
    transition: 0s!important;
    border: 5px solid black;
}

footer{
    position: absolute;
    background-color: rgb(52, 78, 65);
    bottom: 0px;
    width: 100vw;
    height: 7.5vh;
    z-index: 2;
}

#signature{
    position: absolute;
    bottom: 0;
    right: 3vw;
    color: rgb(218, 215, 205);
    text-align: right;
    font-size: 1.5vh;
}

/* module icons */
.fa-regular{
    color:rgb(88, 129, 87);
    display: block;
    font-size: 7vh;
}

.modulebutton.active span .fa-regular{
    color: rgb(58, 90, 64);
}

.fa-solid{
    color:rgb(88, 129, 87);
    display: block;
    font-size: 7vh;
}

.modulebutton.active span .fa-solid{
    color: rgb(58, 90, 64);
}

.fa-brands{
    color:rgb(88, 129, 87);
    display: block;
    font-size: 7vh;
}

.modulebutton.active span .fa-brands{
    color: rgb(58, 90, 64);
}


[mode="funky"] {
    animation: changeColor 10s infinite!important;
}

@keyframes changeColor {
    0% {
        background-color: #ca3134;
    }
    16% {
        background-color: #d99210;
    }
    32% {
        background-color: #ccc617;
    }
    48% {
        background-color: #609319;
    }
    64% {
        background-color: #375ead;
    }
    81% {
        background-color: #53419c;
    }
    100% {
        background-color: #734497;
    }
}