
.raster{
    width: 100%;
    height: 100vh;
    overflow: auto;
    text-align: center;
    padding: 0;
    margin: 0;
    background: url(./img/bar.jpg);
    background-size:auto;
    background-repeat: no-repeat;
    background-position: center;
    overflow-y: auto;

    /* background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%); */
    /* display: grid;
    grid-template-columns: 20% auto 20%;
    grid-row: 1fr; */
   
}

@keyframes openCard {
    0% {transform: scale(0);}
    /* 50% {transform: scale(0.5);} */
    100% {transform: scale(1);}
}

.einladungs-content{
    height: auto;
    display: flex;
    flex-direction: column;
    /* grid-template-rows: 30% 40% 20% 10%; */
    animation: openCard 2s ease-in-out;
    margin-left: 3rem;
    margin-right: 3rem;
    margin-bottom: 3rem;
}


.header-container{
    width: 100%;
    display: flex;
    justify-content: center;
    /* display: grid;
    grid-template-columns: 30% auto 0%; */
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.header{
    background-color: rgb(0,0,0, 0.5);
    border-radius: .5rem;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-top: 1rem;
}

.header svg path{
    fill:transparent;
    stroke:#fff;
    stroke-width: 0.8;
    stroke-dasharray: 450;
    stroke-dashoffset: 450;
    animation: textAnimation 4s ease-in-out infinite alternate;
    animation-delay: 2s;
}

/* forwards */

@keyframes textAnimation {
    0%{
        stroke-dashoffset: 450;   
    }
    80%{
        fill: transparent;
        stroke:white;
    }
    100%{
        stroke-dashoffset: 0;
        fill: #fff;
        stroke:white;
    }
}


.beschreibung{
    width: 100%;
    display: block;
    font-family: Wedding, Helvetica, Arial, sans-serif;
    text-align: center;
    font-size: 1.5rem;
    padding: 1rem;
    padding-bottom: 2rem;
    color: white;
    background-color: rgb(0,0,0, 0.5);
    border-radius: .5rem;
}


.informationen{
    font-family: Wedding, Helvetica, Arial, sans-serif;
    font-size:x-large;
    padding-top: 1rem;
    
    display: flex;
    flex-direction: row;
    justify-content:center;
    gap: 0.5rem;

}


.icon{
    width: 35px;
    height: 35px;
    padding-right: 0.5rem;
    color: white;
}

.date-uhrzeit{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.uhrzeit{
    align-items: baseline;
    color: white;
    background-color: rgb(0,0,0, 0.5);
    border-radius: .5rem;
    padding: 1rem;
    border:1px solid white;
}

.date{
    align-items: baseline;
    color: white;
    background-color: rgb(0,0,0, 0.5);
    border-radius: .5rem;
    padding: 1rem;
    border:1px solid white;
}

.ort{
    align-items: center;
    color: white;
    background-color: rgb(0,0,0, 0.5);
    border-radius: .5rem;
    border:1px solid white;
    padding: 0.5rem;
    padding-top: 1rem;
}

.adresse{
    font-family: Wedding, Helvetica, Arial, sans-serif;
    font-size:medium;
}

.img-container{
    width: 100%;
    text-align: center;
}

.animation-delay-1000{
    animation-delay: 1s;
}

.animation-delay-2000{
    animation-delay: 2s;
}

.img-champus-left{
    width:4rem;
    height: 4rem;
    transform: rotate(20deg);
    /* animation: perspect 4s infinite linear; */
}

.img-champus-right{
    width:4rem;
    height: 4rem;
    transform: rotate(-20deg);
    /* animation: perspect 4s infinite linear; */
}


a{
    color: white;
    text-decoration: none;
}

@keyframes perspect {
    0% {transform:perspective(300px) rotateY(0deg)}
    25% {transform:perspective(300px) rotateY(90deg)}
    50% {transform:perspective(300px) rotateY(180deg)}
    75% {transform:perspective(300px) rotateY(270deg)}
    100% {transform:perspective(300px) rotateY(360deg)}
 }


@keyframes ballon {
    0% {
        top:100%;
    }
    100% {
        top:0;
    }
}


@keyframes car {
    0% {
      left:20%;
    }
    100% { 
      left: calc(80% - 75px);
  }
}




@media (min-width: 320px) and (max-width: 600px) {
  
    /* CSS */
    .informationen{
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .beschreibung{
        /* width: 100%; */
        padding: 0;
    }

    .header-container{
        display: flex;
        flex-direction: column;
    }

    .header{
        background-color: rgb(0,0,0, 0.5);
        border-radius: .5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1rem;
    }

    .einladungs-content{
        margin-left: 1rem;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }

  }