/*
* This part of the CSS file contains required CSS
* for intros to function. For more detail on expected
* HTML structure see documentation on Github.
*
* Anthony P. Alicea
* http://www.anthonypalicea.com/velocityarticleintros
* https://www.github.com/anthonypalicea/velocity-articleintros
*/


/* Header is expected to be a 100% width static element with overflow hidden. */
body > header
{
    position: static;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
}

/* The introductory image container is expected to be fixed positioned and cover the viewport */
div.header-img
{
    position: fixed;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 0;
}

/* The introductory image itself covers the viewport */
div.header-img img
{
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
}

/* Content inside the header can be to your liking, but should be absolutely positioned. Here we are assuming all header content (other than the main image) is wrapped in a single <div> */
body > header > div:not(.header-img)
{
    position: relative;
    width: 80%;
    margin: 40% auto;
    z-index: 99999;
    text-align: left;
}
.header.bild_div h1 {           
    font-family: var(--schrift_dick);
    font-weight: 800;
    color: #fff;
    text-shadow: 3px 3px 4px rgba(0,0,0,0.5);
}
.header.bild_div h2 {           
    font-family: var(--schrift_dick);
    color: #fff;
    text-shadow: 3px 3px 4px rgba(0,0,0,0.5);
}

/* Content is expected to be wrapped in an <article> and is initially hidden. */
article{
    /*position: relative;
    margin-top: 400px; */  
    position:absolute;
    top: 400px;  /* 200px werden von velocity nach oben gefadet */
    left: 0px;
    opacity: 0;
    width: 100%;
}
.div_article h1,
.div_article h2,
article .text,
.to-top,
.navigation {           
    opacity: 0;
}

.div_article h1 {           
    font-family: var(--schrift_dick);
    font-weight: 600;
}
article .text {           
    hyphens: auto; 
    text-align: justify;
}

.div_article{
    padding-top: 8em;
    padding-bottom: 2em;  
}

footer{  
    opacity: 0;
}

/* Trigger Button */
button.trigger {
	position: fixed;
	bottom: 2vH;
	left: 50%;
	z-index: 5000;
	display: block;
	margin-left: -0.5em;
	padding: 0;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	color: transparent;
	font-size: 0.9em;
	cursor: pointer;
}
/* scroll down 
  https://codepen.io/nxworld/pen/OyRrGy?editors=1100
*/
.scroll_down a {
  padding-top: 70px;
}
.scroll_down a span {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 24px;
    height: 24px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes sdb05 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}
@keyframes sdb05 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}