html{
    height: 100%;
    width: 100%;
}

header{
    float: right;
}

body{
    float:center;
    margin-top: 20px;
    margin: 0%;
    height: 100%;
    padding: 0%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image: url("images/svg/background.svg");

    margin: 0px;
}

main{
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0px;
    max-width: 900px;
    background-color: white;
}
h1{
    text-align: center;
    padding: 30px;
    margin: 0px;
    font-weight: 900;
    font-size: 3em;
    box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.5);
    font-family:sans-serif;
}

h2{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 0%;
    font-weight: 700;
    font-size: 1.8em;
    font-family:sans-serif;
    color: #aa0000;
}

nav{
    background-color: black;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

nav a {
    padding: 10px;
    margin: 0px;
    text-align: center;
    color: white;
    text-decoration: none;
    flex-grow: 1;
    font-size: 1.2em;

}

nav a:hover{
    background-color: #101010;
    color: #aa0000;
}

footer{
    width: 100%;
    float: initial;
    margin: 0px;
    background-color: black;
    color: white;
    text-align: center;
}
a, p, ul, li{
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0%;
    font-weight: 200;
    font-size: 1.2em;
    font-family:sans-serif;
}

a, p{
    text-align: justify;
}

li{
    margin-left: 20px;
    font-size: 1em;
}

.selected{
    text-align: center;
    color: #aa0000;
}

.mailto{
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    color: #575ceb;
}

.gallery{
    gap: 10px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.gallery img{
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.horizontal{
    max-width: 90%;
}

.vertical{
    max-width: 250px;
}


.application_section img{
    flex-grow: 1;
}

.spacer{
    padding: 10px;
}
.klicount_logo{
    color: #aa0000;
    height: 3em;
}
.application_section{
    display: flex;
    flex-direction: row;

}

@media screen and (max-width : 600px) {
    .application_section img{
        height: 150px;
    }
}

@media screen and (max-width : 550px) {
    .application_section img{
        height: 120px;
    }
}

@media screen and (max-width : 500px) {
    .application_section img{
        height: 100px;
    }
}

@media screen and (max-width : 900px) {
    nav{
        font-size: 2em;
    }
    body{
        margin-top: 0px;
    }
}
