* {
    box-sizing: border-box;
}

html {
    font-family: Tahoma, Verdana, sans-serif;
}

.header h1 {
    background-color: #30299E;
    font-family: 'Brush Script MT', cursive;
    font-size: 6em;
    color: white;
    margin: 0;
    padding: 10pt 0 10pt 20pt;
}

body {
    margin: 0;
    padding: 0;
}

/*Navigation*/
.nav {
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 1.5em;
    background-color: #EB8344;
}

.nav ul {
    margin: 0 30px 0 30px;
    padding: 0;
    list-style-type: none;
    overflow: hidden;
}

.nav li {
    float: left;
}

.nav li.recht {
    float: right;
}

.nav a {
    text-decoration: none;
    display: block;
    color: white;
    padding: 15px;
}

.nav a:hover {
    background-color: #30299E;
}

.active {
    background-color: #30299E;
}

/*Navigation Ende*/

.main {
    margin: 30pt 30pt 0 30pt;
}

.main a {
    font-size: 1.1em;
    color: #30299E;
    text-decoration: none;
}

.main a:hover {
    background-color: #30299E;
    color: white;
}

h1 {
    font-size: 2.5em;
    color: #9E4E1E;

}

h2 {
    font-size: 1.8em;
    color: #71EB5B;
}

.h2 a:hover {
    background-color: #30299E;
    color: white;
}

p {
    font-size: 1.1em;
    color: black;
}


form {
    background-color: #EB8344;
    padding: 10pt;
    width: 50%;
}

.galTabelle {
    margin: 30pt 30pt;
}

tr:nth-child(even) {
    background-color: #f6d6c4;
}

.col-25 {
    float: left;
    width: 25%;
}

.col-75 {
    float: left;
    width: 75%;
}

.footer {
    width: 100%;
    height: 40px;
    position: fixed;
    left: 0;
    bottom: 0;
    padding-top: 8pt;
    background-color: #EB8344;
    font-size: 1.1em;
    text-align: center;
    color: white;
}

div.clear {
    clear: both;

}

.bericht {
    font-size: 1.5em;
    color: white;
    background-color: #30299E;
    width: 50%;
}

.userName {
    margin: 10pt 20pt 10pt 0pt;
}

td {
    padding: 5pt;
}

/*Fotos - Modal*/
.fotos {
    margin: 0pt;
}

.kleinFoto {
    cursor: zoom-in;
}

/* Großes Foto */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #30299E;
}

/* Modal (image) */
.modal img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    display: block;
}

/* Close Button */
#close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

#close:hover {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/*Form*/
input[type=text],
[type=password],
[type=button],
select,
textarea {
    width: 100%;
    padding: 10px 15px;
    margin: 5px 0;
    box-sizing: border-box;
    font-size: 1.1em;
}

input[type=submit],
[type=button] {
    width: 100%;
    background-color: #30299E;
    color: white;
    padding: 10px 15px;
    margin: 5px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
}

input[type=submit]:hover,
input[type=button] {
    background-color: #1e186e;
}

/* Media Queries */
/*Tablet*/
@media only screen and (max-width: 900px) {

    .header h1 {
        font-size: 6em;
    }

    .nav {
        font-size: 1.4em;
    }

    h1 {
        font-size: 2em;
        padding: 0pt 0 10pt 0;
    }

    h2 {
        font-size: 1.7em;
        padding: 10pt 0 10pt 0;
    }

    p {
        font-size: 1.1em;
        padding: 0 0 10pt 0;
    }

    form {
        padding: 10pt;
        width: 70%;
    }
}

.col-25,
.col-75,
input[type=submit] {
    width: 100%;
    margin-top: 0;
}

/* Media Queries */
/*Mobil*/
@media only screen and (max-width: 600px) {

    .header h1 {
        font-size: 5em;
    }

    .nav {
        font-size: 1.3em;
    }

    .nav li,
    .nav li.recht {
        float: none;
    }

    h1 {
        font-size: 2em;
        padding: 10pt 0 10pt 0;
    }

    h2 {
        font-size: 1.5em;
        padding: 10pt 0 10pt 0;
    }

    p {
        font-size: 1.1em;
        padding: 0 0 10pt 0;
    }

    input {
        width: 100%;
    }

    .col-25,
    .col-75,
    input[type=submit] {
        width: 100%;
        margin-top: 0;
    }

    .clearfix:after {
        content: "";
        display: table;
        clear: both;
    }

    form {
        padding: 10pt;
        width: 100%;
    }

    table thead {
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        display: block;
        padding: 1pt;
    }

    table td {
        display: block;
        padding: 1pt;
    }

    table td::before {
        padding-right: 4pt;
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table td:last-child {
        border-bottom: 0;
    }

}

/*Mobil*/
@media only screen and (max-width: 400px) {
    .footer {
        height: 60px;
    }
}