/*quick hack to hide signin*/
a[href="Signin.html"] {
    display: none;
}

* {
    margin: 0;
    padding: 0;

    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;

    font-style: normal;

    font-variant: normal;
    text-transform: none;

    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: grayscale;

    box-sizing: border-box;

    -webkit-tap-highlight-color: transparent;
}

/* display depends on language selected */
.englishText {
    display: none;
}

.englishFooter {
    display: none;
}

.germanText {
    display: none;
}

.germanFooter {
    display: none;
}

body {
    height: 100%;
    width: 100%;
    background-color: #FFF3DC;
}

/* page layout for footer */
#page-container {
    position: relative;
    min-height: 100vh;
}

/* So that footer does not move up */
#content-wrap {
    padding-bottom: 2em;
}

/* Style the top navigation bar */
.topbar {
    margin-top: 0em;
    margin-bottom: 0em;
    vertical-align: center;
    overflow: hidden;
    width: 100%;
    height: auto;
    transition: top 0.1 sec;
    z-index: 100;
    display: flex;
}

.selector {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-right: 1em;
    padding-top: 1em;
    height: 50px;
    user-select: none;
}

.selector select:focus {
    outline: none;
    outline-width: 0;
}

/* Removes blue font color in Safari on iOS */
.selector select {
    color:inherit;
    text-decoration: none;
}

.selector select {
    /* https://dev.to/forbit/how-to-fix-glossy-selects-in-webkit-safari-3okh */

    background-color: transparent;
    border-style: none;
    user-select: none;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* cSpell: disable-next-line*/
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>') no-repeat;
    background-size: 15px;
    background-position: calc(100% - 3px) 50%;
    background-repeat: no-repeat;
    background-color: var(--input-background);
    padding-right: 20px;
}


/* Adding logo to Header*/
.logo img {
    display: inline-block;
    width: 3em;
    height: auto;
    margin-bottom: 0em;
    margin-left: 1em;
    margin-top: 0.5em;
    z-index: 100;
}

.disableSelection {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}


.main {
    width: 70%;
    height: auto;
    margin-top: 5em;
    margin-bottom: 2em;
    margin-left: 15%;
    margin-right: 15%;
}

.main h1 {
    text-align: center;
    font-size: 3em;
    font-weight: 800;
    color: black;
    margin-bottom: 2em;
}

.main p {
    font-size: 1.2em;
    color: black;
    padding: 0.25em 0em 0.25em 0em;
    font-weight: 300;
    text-align: justify;

}

.secText {
    font-size: 1.2em;
    font-weight: 300;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

div.secText>span:nth-child(2) {
    display: none;
}

div.secText>span:nth-child(4) {
    display: none;
}

div.secText>span:nth-child(6) {
    display: none;
}

div.secText>span:nth-child(8) {
    display: none;
}

div.secText>span:nth-child(9) {
    display: none;
}


/* Create three equal columns that floats next to each other */
.footer {
    background-color: transparent;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    display: block;
    justify-content: center;
}

.copyRighted {
    background-color: transparent;
    padding: 0em 0em;
    width: 100%;
    height: 1.5em;
    text-align: center;
    margin-top: 0em;
    margin-bottom: 0em;
}

.copyRighted a {
    text-decoration: none;
    font-size: 0.75em;
    font-weight: 300;
    color: rgb(255, 255, 255, 0.5);
    padding: 0.1em 0.6em;
    text-align: center;
    margin-bottom: 0em;
    color: gray;
}

.footerElements {
    background-color: transparent;
    padding: 0em 0em;
    width: 100%;
    height: 1.5em;
    text-align: center;
    margin-top: 0em;
    margin-bottom: 0em;
}

.footerElements p {
    font-size: 1em;
    color: rgba(255, 149, 0, 1);
    padding: 0.1em 0.5em;
    display: inline;
    margin-bottom: 0em;
}

.footerElements a {
    text-decoration: none;
    font-size: 0.75em;
    font-weight: 400;
    color: black;
    padding: 0.1em 0.6em;
    text-align: center;
    margin-bottom: 0em;
}


/* Tablet Styles */
@media only screen and (max-width: 699px) {
    .logo img {
        margin-left: 0.5em;
        margin-top: 0.5em;
    }

    body {
        float: none;
    }

    .main {
        width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;
    }

    .main h1 {
        font-size: 8vw;
    }

    .main h2 {
        font-size: 1.4em;
    }

    .main h3 {
        font-size: 1.1em;
    }

    .main p {
        font-size: 0.9em;
    }

    .secText {
        font-size: 0.9em;
    }

    .footer {
        width: 100%;
        display: block;
        justify-content: center;
    }

    .footerElements {
        width: 100%;
        font-size: 1em;
    }

    .copyRighted {
        width: 100%;
        text-align: center;
        font-size: 1em;
    }
}

@media only screen and (max-width: 399px) {
    .footerElements {
        font-size: 4vw;
    }

    .copyRighted {
        font-size: 4vw;
    }
}