* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* global */

:root {
    --primary-color: rgb(255, 206, 8);
    --primary-color-dark: rgb(230, 185, 7);
    --secondary-color: #9c08ff;
    --secondary-color-dark: #6a08ac;
    --secondary-color-light: #ae7ccf;
    --ternary-color: #39ff08;
    --ternary-color-dark: #0c8a06;
    --shade: #e9e9e9;
}


@font-face {
    font-family: 'pfeffer_mediaeval';
    src: url('fonts/pfeffermediaeval-webfont.woff2') format('woff2'),
         url('fonts/pfeffermediaeval-webfont.woff') format('woff'),
         url('fonts/pfeffermediaeval.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

body {
    background-color: white;
    line-height: 1.1;
    font-family: 'Noto Sans', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h1, h2 {
    font-weight: 900;
    line-height: 1.2;
    margin: 10px 0;
}

a {
    color: black;
    text-decoration: none;
}

a.anchor {
    display: block;
    position: relative;
    top: -150px;
    visibility: hidden;
}

img {
    height: 60px;
    width: auto;
}

p {
    line-height: 1.5em;
    margin: 15px 0px;
    padding-left: 20px;
}

ul {
    list-style-type: none;
}

.thicker {
    font-weight: 900;
}

.dialect-list {
    background-color: var(--primary-color-dark);
    padding: 0;
    margin: 0;
}

.dialect-list li {
    display: inline;
    position: relative;
    text-align: center;
    font-weight: bold;
}

.dialect-list a:hover {
    background-color: var(--primary-color);
}

.uncolor a:hover {
    background-color: #f1f1f1;
}

.dialect-list ul {
    display: none;
    position: absolute;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.dialect-list ul a:hover {
    background-color: #f1f1f1;
}

.dialect-list li:hover ul {
    background-color: var(--shade);
    display: block;
    left: 50px;
    top: 0px;
}

.examples {
    line-height: 1.5em;
    padding-left: 5%;
}

.content {
    padding-left: 50px;
}
/* utilities */

.holder {
    position: relative;
    min-height: 100vh;
}

.flex {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
}

.oldsaxon {
    font-family: 'pfeffer_mediaeval';
}

/* header */

header {
    position: sticky;
    /* hält die Kopfzeile beim scrollen sichtbar */
    top: 0;
    width: 100%;
    z-index: 1;
}

input[type=text] {
    background-color: white;
    border-radius: 5px;
    padding: 5px;
}

nav {
    padding-right: 15px;
}

nav a {
    font-size: 1em;
    font-weight: bolder;
    /* Menüpunkte trennen */
    margin: 10px 5px;
    padding: 10px;
}

.container {
    /* justify aus .flex überschreiben */
    justify-content: space-between;
    /* container durch rand einfügen mittig halten */
    margin: 0 auto;
    /* für große Bildschirme Titelleiste beschränken */
    max-width: 1500px;
    /* Inhalt vom container rand fernhalten */
    padding: 0 40px;
}

.container2 {
    /* justify aus .flex überschreiben */
    justify-content: space-between;
    /* container durch rand einfügen mittig halten */
    margin: 0 auto;
    /* für große Bildschirme Titelleiste beschränken */
    max-width: 1500px;
    /* Inhalt vom container rand fernhalten */
    padding: 0 0;
}

.hidden {
    display: none;
}

.lang-option {
    display: flex;
    width: 140px;
}

.navbar {
    background-color: black;
    height: 80px;
}

.navbar a {
    color: white;
}

.deadlink a {
    color: gray;
}

.langbut {
    height: 20px;
    padding-left: 0px;
    width: auto;
}

footer {
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 6rem;
    background-color: black;
    color: rgb(223, 219, 219);
    padding: 10px;
    text-align: center;
}

footer a {
    color: white;
}

/* searchbar */

.soeker {
    background-color: var(--primary-color);
    /* sieht komisch aus aber so landet es in der Mitte :P */
    display: flex;
    justify-content: center;
    padding: 10px;
}

.dropbtn {
    background-color: var(--primary-color-dark);
    border-radius: 5px;
    color: black;
    font-weight: bold;
    padding: 5px;
    margin: 5px;
    border: none;
    outline: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
    transition: transform 0.5s ease-in-out;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    /* background-color: #f9f9f9; */
    min-width: 100px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 5px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
/*.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
} */

.soeken {
    background-color: var(--secondary-color-dark);
    color: white;
    cursor: pointer;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
}


/* main */

.middlebox {
    align-items: unset;
    justify-content: space-between;
    /* den Platz für die Fußzeile wieder aufschlagen! */
    padding-bottom: 6rem;
}

main {
    margin: 0 auto;
    padding: 30px;
    width: 100%;
}

aside {
    border-left: solid var(--primary-color);
    font-size: 90%;
    padding: 20px;
    margin: 0;
    width: 400px;
    text-align: center;
}

blockquote {
    align-content: center;
    font-size: x-large;
    font-weight: 900;
    height: auto;
    line-height: 1.6;
    margin-top: 8%;
    max-width: 800px;
    text-indent: 5%;
}

.blockquote {
    margin: 0 auto;
    max-width: 700px;
}

.source {
    margin: 0px;
    text-align: right;
    font-weight: 900;
    font-size: x-large;
}

/* Aussprache */


.uncolor {
    background-color: var(--shade);
}

select {
    font-family: 'Noto Sans', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

option {
    text-align: center;
    font-family: 'Noto Sans', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

table {
    border-collapse: collapse;
    vertical-align: top;
}

th, td {
    border: 1px solid;
    line-height: 1.2;
    padding: 5px;
    text-align: center;
}

.conjugatie th, .conjugatie td {
    border: none;
    font-weight: bold;
}

/* Wörterbuch */


.lemma {
    color: rgb(34, 34, 34);
    font-size: 1.5em;
    font-weight: 900;
    /* margin-bottom: 5px; */
}

.etymologij {
    background-color: rgb(235, 235, 235);
    color: var(--secondary-color);
    font-family: 'Noto Sans', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1em;
    line-height: 1.6;
    padding: 4px;
}

.meanings {
    padding-left: 20px;
}

li {
    font-size: 1em;
    font-weight: bolder;
    margin: 10px 0;
}

#os {
    color: inherit;
}

#uetspraak {
    align-items: flex-start;
}

/* Tablets and under */

@media(max-width: 1100px) {

    #uetspraak {
        align-items: center;
        flex-direction: column;
    }
    
}


@media(max-width: 900px) {

    aside {
        display: none;
    }

    .navbar {
        height: 130px
    }

    #menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
}


@media(max-height: 430px) {

    header {
        position: inherit;
    }

}

/* Mobile */

@media(max-width: 700px) {
    
    header {
        position: inherit;
    }

    .navbar {
        height: 200px
    }
    
    .banner {
        flex-direction: column;
        padding: 0;
    }
    
    .langbut {
        display: none;
    }

    .hidden {
        display: unset;
        height: 20px;
        width: auto;
    }
    
    .watermark {
        margin-right: 30px;
    }
}

@media(max-width: 430px) {
    .soeker {
        flex-direction: column;
    }

    .desk {
        display: none;
    }

    table {
        width: 50%;
    }
}

/*

    aside {
        width: 100%;
    }

    .middlebox .flex {
        flex-direction: column;
    }

    .showcase .container {
        padding: 0;
    }

    .center {
    }

    #menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding-left: 20px;
    }

    #soeker input{
        width: 150px;
    }

    #top {
        justify-content: space-evenly;
        width: 100%;
    }

    .middlebox .flex {
        flex-direction: column;
    }

    .showcase .container {
        padding: 0;
    }

    #uetspraak {
        align-items: center;
        justify-content: space-between;
        }

    #watermark {
        padding: 10px;

p {
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 10px 0;
}

section {
    margin: auto;
}

select {
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
    padding: 5px;
    text-align: center;
}


/*
.comb {
    font-size: 1.5em;
}

.trans {
    margin-top: 0;
}

.quote {
    align-content: center;
    font-size: x-large;
    font-weight: 900;
    height: auto;
    margin-top: 10%;
    text-indent: 5%;
}

#langbut {
    height: 20px;
    padding-left: 20px;
    width: auto;
}

#langbut2 {
    display: none;
    height: 20px;
    padding-left: 20px;
    width: auto;
}


#uetspraak {
    display: grid;
    grid-template-columns: 2fr 1fr;
}