/*Tag Styles Anfang*/
:root {
    font-family: hvkFont;
    --normalHeight: 24px;
    --doubleHeight: 6vh;
    --logoMaxHeight: 50px;
    --normalFontSize: 1em;
    --headerFontSize: 1.2em;
    --topNoScript: 40%;
    --transitionVar: all 1s;

    /*LightTheme*/
    --backgroundColorLight: rgba(255, 255, 255, 1.0);
    --backgroundColorLightOpacity: rgba(255, 255, 255, 0.9);
    --colorPrimaryLight: rgba(61, 63, 145, 1.0);
    --textColorLight: rgba(0, 0, 0, 1.0);
    --colorPrimaryDarkTransparent: rgba(149, 54, 131, 0.05);
    --colorSecondaryLight: rgba(121, 120, 165, 1.0);
    --colorSecondaryLightTransparent: rgba(121, 120, 165, 0.07);

    /*DarkTheme*/
    --backgroundColorDark: rgba(0, 0, 0, 1.0);
    --backgroundColorDarkOpacity: rgba(0, 0, 0, 0.7);
    --colorPrimaryDark: rgba(149, 54, 131, 1.0);
    --textColorDark: rgba(255, 255, 255, 1.0);
    --externalSourceDark: url("pictures/sonstiges/hyperlink_hover.png");
    --externalSourceDarkHover: url();
}

@media (prefers-color-scheme: dark) {
    :root {
        --textColorLight: var(--textColorDark);
        --backgroundColorLight: var(--backgroundColorDark);
        --backgroundColorLightOpacity: var(--backgroundColorDarkOpacity);
        --colorPrimaryLight: var(--colorPrimaryDark);
        --colorPrimaryLight: var(--colorPrimaryDark);
    }

    .externalSource::after {
        background: var(--externalSourceDark);
        background-size: 25px;
        background-repeat: no-repeat;
    }

    .externalSource:hover {
        background: var(--externalSourceDarkHover);
    }
}

@font-face {
    /*Implementierung der Projekt-Schriftart*/
    font-family: hvkFont;
    src: url(Roboto_Condensed/RobotoCondensed-Light.ttf);
}

body {
    margin: auto;
    background-color: var(--backgroundColorLight);
}

html {
    scroll-behavior: smooth;
    text-align: left;
}

div {
    line-height: 1.7;
    height: max-content;
    font-size: var(--normalFontSize);
    transition: width 1s, margin 1s, box-shadow 1s;
    color: var(--textColorLight);
}

footer {
    background-color: var(--backgroundColorLight);
    height: max-content;
    margin-top: 50px;
    text-align: center;
    padding-top: 50px;
    border-top-style: solid;
    border-color: var(--colorPrimaryLight);
    border-width: 2px;
    box-shadow: 0 0 2px var(--colorSecondaryLight);
}

noscript {
    width: 100%;
}

noscript>div,
#aufbau {
    position: sticky;
    top: var(--topNoScript);
    background-color: var(--backgroundColorLight);
    min-height: fit-content;
    height: 25vh;
    z-index: 98;
    width: 50%;
    left: 25%;
    left: -webkit-calc(25%);
    left: -moz-calc(25%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
    font-size: var(--headerFontSize);
    animation-name: animationNoScript;
    animation-duration: 1.5s;
    border-radius: 20px;
    border-bottom: 2px solid var(--colorPrimaryLight);
    box-shadow: 0 0 7px var(--colorSecondaryLight);
}

h1 {
    text-overflow: ellipsis;
}

h2 {
    /*Ereignisüberschrift & -datum*/
    font-size: var(--headerFontSize);
    font-weight: bolder;
    line-height: 1;
}

h3 {
    text-decoration: underline;
}

hr {
    border: 0.5px solid var(--colorPrimaryLight);
    text-align: left;
    position: relative;
    top: -10px;
}

/*Tag Styles
Ende----------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------*/


/*Style des Navigationsmenüs Anfang*/
nav {
    /*Menü-Container*/
    overflow: hidden;
    background-color: var(--backgroundColorLightOpacity);
    height: var(--normalHeight);
    position: fixed;
    top: 0px;
    min-height: 24.7px;
    border-bottom: 5px solid var(--colorPrimaryLight);
    display: flex;
    justify-content: center;

    z-index: 99;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(4px);
    /*padding: 50px 10px;*/
    margin-top: 5;
    width: 100%;
    z-index: 99;
    align-items: center;
    font-size: var(--headerFontSize);
    box-shadow: 0 0 7px var(--colorSecondaryLight);
    transition: var(--transitionVar);
    visibility: visible;
}

nav li {
    /*Menüpunkte*/
    display: flex;
    justify-content: center;
    list-style: none;
    padding-top: 100px;
    display: inline;
    margin: auto;
    transition: var(--transitionVar);
}

/*Style der Anker im Menü
Anfang*/
nav a {
    transition: var(--transitionVar);
    text-decoration: none;
    color: var(--textColorLight);
    padding: 10px;
    height: max-content;
    display: flex;
    align-items: center;
    border: 0px solid black;
    border-radius: 15px;
}

nav a:hover {
    transition: var(--transitionVar);
    background-color: var(--colorPrimaryLight);
    color: var(--textColorDark);
}

nav a:active {
    color: var(--textColorLight);
    transition: var(--transitionVar);
}

.logo {
    /*Container fürs AppLogo*/
    transition-property: all 0.6s;
    line-height: 1;
    margin-right: 10px;
    height: var(--logoMaxHeight);
}

#titleMobileMenue,
.mobileMenu,
#schullogoKompakt {
    /*Ansichten für Mobilgeräte werden ausgeblendet*/
    display: none;
}

/*Style des Navigationsmenüs 
Ende----------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------*/


/*Bildergalerie Anfang*/

.imageScreenshotiPhone {
    animation-name: blurAnimation;
    animation-duration: 1.5s;
    display: inline;
    display: block;
    height: 350px;
    width: 195px;
    margin: auto;
}

.imageScreenshotiPad {
    height: 650px;
    display: block;
    margin-top: -100px;
    margin-left: auto;
    margin-right: auto;

}

.fgalerie {
    /* Container für Bildergalerie */
    position: relative;
    margin: 20px;
    float: right;
    width: 250px;
    height: 400px;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.prev,
.next,
.prev1,
.next1 {
    /*Navigationselemente für nächstes bzw. vorheriges Bild*/
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 10px;
    margin-top: -22px;
    color: var(--colorPrimaryLight);
    font-weight: bold;
    font-size: 18px;
    transition: var(--transitionVar);
    border-radius: 15px;
}

.next,
.next1 {
    /*rechtes Navigationselement (Positionierung)*/
    right: 0;
}

.prev:hover,
.next:hover,
.prev1:hover,
.next1:hover {
    background-color: var(--colorPrimaryLight);
    color: white;
}

.description {
    /*Untertitel*/
    color: var(--textColorLight);
    font-size: var(0.8em);
    padding: 5px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: var(--textColorLight);
    padding: 8px 12px;
    position: absolute;
    top: 95%;
    width: 40px;
    left: calc(50%-20px);
    left: -webkit-calc(50% - 20px);
    left: -moz-calc(50% - 20px);
}


/*Bildergalerie 
Ende----------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------*/


/*Sonstiges Anfang*/
.headline {
    /*Überschrift des aktuellen Menüpunkts*/
    z-index: -1;
    position: fixed;
    top: 57%;
    margin-left: 4.5vw;
    font-size: max(1.5vw, 22px);
    background-color: transparent;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    width: 50px;
}

.headline::first-letter {
    /*erste Buchstaben der Überschrift des Menüpunkts*/
    color: var(--colorPrimaryLight);
    font-weight: bolder;
    font-size: 200%;
}

.pulletPoint>li {
    /*Aufzählungszeichen*/
    list-style-type: square;
}

.externalSource {
    /*externe Links*/
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 15px;
    padding: 3px 10px;
    text-decoration: none;
    background-color: var(--colorPrimaryLight);
    color: white;
    transition: var(--transitionVar);
    white-space: nowrap;
}

.externalSource:hover {
    /*externe Links*/
    border: 1px solid var(--colorPrimaryLight);
    background-color: var(--backgroundColorLight);
    color: var(--textColorLight);
}

.box {
    /*Box*/
    transition: var(--transitionVar);
    background-color: var(--colorPrimaryLight);
    color: var(--textColorDark);
    text-decoration: none;
    padding: 10px;
    border: 2px solid var(--colorPrimaryLight);
    border-radius: 15px;
    margin: 1%;
}

.box:hover {
    /*Box*/
    transition: var(--transitionVar);
    border: 2px solid var(--colorPrimaryLight);
    background-color: var(--backgroundColorLight);
    color: var(--colorPrimaryLight);
}

.box>span {
    /*Box*/
    display: inline-block;
    width: 135px;
}

.downloadAppStore {
    /*Download on AppStore Banner*/
    display: inline-block;
    overflow: hidden;
    width: 135px;
    height: 41px;
    margin: 2%;
}

.downloadAppStore>img {
    /*Download on AppStore Banner*/
    width: 135px;
    height: 41px;
}

::selection {
    /*Auswahlfarben*/
    color: var(--colorPrimaryLight);
    background-color: var(--colorSecondaryLightTransparent);
}

::-moz-selection {
    /*Auswahlfarben Firefox*/
    color: var(--colorPrimaryLight);
    background-color: var(--colorSecondaryLightTransparent);
}

/*Sonstiges 
Ende----------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------*/