/* FONTS */
/* open-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-500 - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Open Sans';
font-style: normal;
font-weight: 500;
src: url('../fonts/open-sans-v34-latin-500.eot'); /* IE9 Compat Modes */
src: url('../fonts/open-sans-v34-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/open-sans-v34-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/open-sans-v34-latin-500.woff') format('woff'), /* Modern Browsers */
        url('../fonts/open-sans-v34-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/open-sans-v34-latin-500.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: url('../fonts/open-sans-v34-latin-700.eot'); /* IE9 Compat Modes */
src: url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/open-sans-v34-latin-700.woff') format('woff'), /* Modern Browsers */
        url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* RESET CSS */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.3;
    font-family: 'Open Sans';
    color: white;
    background-color: #29ABE2;
    height: 100%;
    min-height: 100vh;
}
main {
    min-height: 100vh;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
    width: 100%;
}
strong {
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
}

/* Layout */
.container {
    max-width: 1100px;
    padding: 0 16px;
    margin: 0 auto;;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    opacity: .4;
}


/* Header */

.logo {
    max-width: 280px;
    margin: auto;
    transition: max-width .2s ease-in-out;
    animation: fadeIn 1s ease-in-out;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding-bottom: 6rem;
}

.nav {
    position: absolute;
    bottom: 6%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 28px;
}

.mail {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 30px;
    fill: white;
    transition: all .2s ease-in-out;
}

@media (min-width: 768px) {
    .mail {
        width: 40px;
    }
}


/* Main */
main p:first-of-type {
    
}


/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: white;
    line-height: 1.8;
    margin-top: 6rem;
}

footer a {
    opacity: .6;
    cursor: pointer;
    padding: 1rem;
}


/* Media Queries */

/* Mobile */
@media (min-width: 460px) {
    .big-font {
        font-size: 20px;
    }
}


/* Tablet */
@media (min-width: 768px) {
    .logo {
        max-width: 800px;
        width: 50%;
    }
    .nav {
        font-size: 47px;
    }
    .mail {
        width: 60px;
        right: 50px;
        top: 30px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .header_img {
        max-height: 350px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    h1 {
        font-size: 46px;
    }
}



/* Impressum */
.impressum p {
    margin-bottom: 1rem;
}

.impressum h4 {
    margin-bottom: 1rem;
    font-size: 20px;
}



.services {
    top: 230px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    font-size: 24px;
    width: 80%;
    max-width: 1200px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
    margin-top: 2rem;
    animation: fadeIn 1s ease-in-out;
    transition: all .2s ease-in-out;
}

.services li {
    width: 100%;
    font-weight: 600;
}

.services li a {
}

.services li a:hover {
    color: #1B1464;
    opacity: 1;
}

.page_name {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 20px;
    transition: all .2s ease-in-out;
}

.main-content {
    text-align: center;
    margin: 30px 0;
    display: block;
}

.main-content a {
    color: #1B1464;
    font-weight: 600;
}

.main-content ul{
    display: block;
    margin-top: 40px;
    margin-bottom: 40px;
}

.main-content ul li{
    text-align: center;
    margin: 16px auto;
    font-weight: 600px;
    font-size: 20px;
}

@media (min-width: 768px) {
    .services {
        font-size: 40px;
        top: 300px
    }

    .page_name {
        font-size: 30px;
        top: 30px;
        left: 30px;
    }
}

@media (min-width: 1024px) {
    .services {
        font-size: 46px;
        top: 356px;
    }
}

.blue {
    color: #1B1464;
}

.headline {
    text-align: center;
    color: #1B1464;
    font-size: 24px;
    transition: all .2s ease-in-out;
    max-width: 360px;
    margin: 100px auto 0;
    animation: slideIn 1s ease-in-out .2s forwards;
    opacity: 0;
    transform: translateX(-20px);
}

h1.headline {
    animation: slideIn 1s ease-in-out .2s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .headline {
        margin-top: 132px;
        font-size: 40px;
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .headline {
        font-size: 50px;
        max-width: 800px;
    }
}


/* Animations */

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}