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

body
{
    text-align:center;
    font-size: 1.4rem;
    background: #ddd;
    color: #222;
}

@media (prefers-color-scheme: dark)
{
    body
    {
        background: #222;
        color: #ddd;
    }
}

a:link, a:active, a:hover, a:visited
{
    color: black;
    text-decoration: none;
}

.header
{
    width: 100%;
    height: 10%;
    padding-top: 0.5rem;
}

.featureWrapper
{
    height: calc(100% - 5rem);
    width: 100%;
}

.featureList
{
    height: 100%;
    width: 100%;
}

.header>p
{
    padding: 0;
    margin: 0;
    font-weight: bold;
    overflow: hidden;
    display: inline;
    font-size: 3rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.functionWrapper
{
    padding-top: 2%;
    height:         80%;
    width:          100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.functionButton
{
    /*width: 33%;
    /*text-align: center;
    float: left;
    height: 33%;*/
    flex-basis: 33%;
    flex-grow: 0;
    flex-shrink: 0;
    height: 18rem;
    position: relative;
}

.functionSelect
{
    /*width: 75%;
    height: 90%;*/
    margin: 0 auto;
    /*color: #000000;
    background-color: #CCCCCC;
    background: -webkit-gradient(linear, 0 100%, 0 0%, from(#FFFFFF), to(#AAAAAA));*/
    font-weight: bold;
    cursor: pointer;
    display: table;

    border: var(--border-style);
    font-size: 2rem;
    border-radius: var(--border-radius);
    /*padding: 0.2rem 0.3rem 0.2rem 0.3rem;*/

    /* see .blueBackground */
    height: 10rem;
    width: 10rem;
}

#logoimage
{
    height: auto;
    width: auto;
    /* max-height: 100%; */
    max-height: calc(10% - 1rem);
    max-width: 100%;
    position: absolute;
    /* right: 0.2rem; */
    /* top: 0.2rem; */
    right: 0.25rem;
    top: 0.25rem;
}

@media only all and (orientation: portrait)
{
    .header
    {
        height: 4rem;
    }

    #logoimage
    {
        top: auto;
        bottom: 0.2rem;
        z-index: 2;
    }

    .functionButton
    {
        /*width: 50%;
        max-height: 10%;*/
    }

    .functionSelect
    {
        width: 95%;
    }

    .functionButton
    {
        /*flex-basis: 50%;*/
    }
}

.functionSelect>p
{
    padding: 0;
    margin: 0;
    /*overflow: hidden;*/
}

.functionSelect>p:nth-of-type(1)
{
    /*height: 70%;
    padding-top: 1%;*/
    font-size: 8rem;
    padding: 1rem;
}

.functionSelect>p:nth-of-type(2)
{
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: -3rem;
    /*height: 30%;*/
}

.packetSeperator
{
    padding-top: 0.2rem;
}