/* FONTS */
/* roboto-condensed-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: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
  }
  /* roboto-condensed-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: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot'); /* IE9 Compat Modes */
    src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') 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: 'Roboto Condensed';
}
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;
}
iframe {
    border: none;
    width:100%;
    height: 500px;
    margin: 20px 0 30px;
    animation: fadeIn 3s ease-in-out;
}
img {
    width: 100%;
}
strong {
    font-weight: 700;
}

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

h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    transition: all .2s ease-in-out;
    animation: slideIn 1s ease-in-out;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-in-out;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

a:hover {
    opacity: .4;
}


/* Header */
header {
    background-color: #333;
    padding-bottom: 10px;
}


.logo {
    max-width: 128px;
    margin: 0 auto;
    padding: 20px 0;
    display: block;
    transition: max-width .2s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

.header-container {
    width: 100%;
    background: white;
}

.header_img {
    max-height: 240px;
    max-width: 1200px;
    margin: 0 auto;
    object-fit: cover;
    transition: all .2s ease-in-out;
    display: block;
}


/* Main */
main {
    margin: 30px 0 60px;
}

main p:first-of-type {
    animation: slideIn 1s ease-in-out .2s forwards;
    opacity: 0;
    transform: translateX(-20px);
}


/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    background-color: #333;
    color: white;
    line-height: 1.8;
}
footer a {
    opacity: .6;
    cursor: pointer;
}


/* Media Queries */

/* Mobile */
@media (min-width: 460px) {
    h1 {
        font-size: 32px;
        padding-right: 10%;
    }
    .big-font {
        font-size: 20px;
    }
    h2 {
        font-size: 24px;
    }
}

/* Tablet */
@media (min-width: 768px) {
    main {
        margin: 60px 0 80px;
    }
    h1 {
        
        padding-right: 20%;
    }
    h2 {
        font-size: 28px;
    }
    .logo {
        max-width: 200px;
        padding: 30px 0;
    }
    .header_img {
        max-height: 300px;
    }
    iframe {
        height: 600px;
        margin: 40px 0 60px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    main {
        margin: 80px 0 100px;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 30px;
    }
    .header_img {
        max-height: 400px;
    }
}

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



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

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



/* 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;
    }
}