html
{
    height: 100%;
    width: 100%;
    margin: 0;
    
}
body
{
    height: 100%;
    width: 100%;
    font-family: Verdana, sans-serif;
    font-size: 14pt;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: gray;
    background: linear-gradient(135deg, #b5bdc8 0%,#828c95 63%,#828c95 81%,#28343b 100%);
}

body[data-uidok="0"]
{
    background: silver;
}

.schullogo 
{
    display: block;
    flex-grow: 0;
}

.schullogo img
{
    width: clamp(100px, 20vw, 160px);
    height: auto;
}
.schullogo_small
{
    display: none;
}
.schullogo_small img
{
    width: clamp(50px, 15vw, 100px);
    height: auto;
}

@media screen and (max-width: 500px)
{
    body
    {
        font-size: 12pt;
    }
    .schullogo 
    {
        display: none;
    }
    .schullogo_small
    {
        display: block;
    }
}
@media screen and (max-width: 350px)
{
    .schullogo_small
    {
        display: none;
    }
    .schullogo
    {
        display: none;
    }
}

footer
{
    font:inherit;
    flex: 1;
    flex-grow: 0;
    flex-basis: auto;
    background: #d7d7c1;
    padding: 0.5vh 1vh;
    font-size: 85%;
    display: flex;
    flex-direction: row;
    gap: 15px;
    border-top: 1px solid gray;
    margin-top: 2vh;
}
footer > div
{
    flex: 1;
    flex-grow: 0;
    flex-basis: auto;
    
}

.header
{
    flex: 1;
    flex-grow: 0;
    padding: 0.5vh 0.5vw;
    background: #a9c308;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 7px ridge #d7d7c1;
}

.header .title > div
{
    flex: 1;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    
}
.header .schulname
{
    flex: 1;
    font-size: clamp(12pt, 3cqh, 18pt);
    color: #1e3876;
    font-weight: bold;
}
.header .subtitle
{
    flex: 1;
    color: #005c95;
    font-size: clamp(11pt, 2.5cqh, 15pt);
}


.maincontainer
{
    flex: 1;
    flex-basis: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 2px solid dimgray;
    border-right: 2px solid dimgray;
}


@media screen and (min-width: 900px)
{
    .maincontainer
    {
        min-width: 800px;
    }
}
@media screen and (max-width: 1000px)
{
    .maincontainer
    {
        border: none;
    }
}


.titlemaincontainer
{
    flex: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    gap: 1vw;
}
.pageicon
{
    flex: 1;
    flex-grow: 0;
}
.pageicon img
{
    height: clamp(30px, 10vh, 60px);
    width: auto;
    aspect-ratio: 1/1;
}
.pagetitle
{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.pagetitle > div
{
    flex: 1;
    flex-grow: 0;
}
.titlelogocontainer
{
    flex: 1;
    flex-grow: 0;
}




@media screen and (max-width: 500px)
{
    header .schulname
    {
        font-size: clamp(10pt, 2.5cqh, 16pt);
    }
    header .subtitle
    {
        font-size: clamp(10pt, 2cqh, 14pt)
    }
    .pageicon img
    {
        height: clamp(20px, 7vh, 45px);
    }

}

.devmodeinfo
{
    cursor: pointer;
    background: red;
    color: white;
    text-transform: uppercase;
    padding: 0.25vh 0.5vw;
    letter-spacing: 1px;
    border-radius: 5px;
    border: 1px solid black;
}
.devmodeinfo[data-visible="0"]
{
    display: none;
}