
@font-face {
    font-family: uber;
    src: url(../fonts/DancingScript-Bold.woff) format('woff');
}

/* html, body{
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    
} */

.background-container{
    position: relative;
    background-color: white;
    width: 100vw;
    min-height: 95vh;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 10%;
    margin-bottom: 200px;
}

.bottom{
    width: 100%;
    height: 25%;
    background-color: rgba(235, 235, 235);
    
    bottom: 5%;
    left: 0;
    display: flex;
}

.bottom-container{
    position: relative;
    width: 100%;
   
}

.text-left{
    
    padding: 2%;
    max-width: 350px;
   
    
    top: 10%;
    left: 10%;
}

.linie{
    position: absolute;
    top: 0;
}

.text-left .uber{
    font-size: 1.7rem;
    font-family: uber;

}

.card-container{
    width: 90%;
    height: 130%;
    
    margin-top: -5%;
    
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5%;
    margin-left: 10%;
}
.card{
 position: relative;
 height: 200px;
 max-width: 150px;  
 padding: 3%;
 border-radius: 37px;
 border: 2px solid black;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: space-between;

 
}

.card .card-text{
    height: 80%;
    
}

.card .zum-angebot{
    padding: 4% 15%;
    border: 2px solid rgb(110, 1, 1);
    border-radius: 8px;
}

.card  a{
    text-decoration: none;
    color: white;
    font-weight: normal;
    padding: 4% 15%;
    
    border: 1px solid rgb(110, 1, 1);
    border-radius: 8px;
    transition: .5s;
}


.first-link{
    background-color: rgb(110, 1, 1);
    
}

.card:last-child a{
    color: black;
}

.card:last-child a:hover{
    color: rgb(230, 230, 230);
}
.card a:hover{
    background-color: rgb(110, 1, 1);
    transition: .5s;
}

.card:first-child{
    background-color: rgba(87, 87, 87, 0.9);
    color: rgb(230, 230, 230);
}

.card:last-child{
    
    background-color: rgba(244, 244, 244, 0.9);

}

.text-left .text-inner{
    font-size: 1.1rem;
    width: 90%;
}

.top-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap-reverse;
    margin-bottom: 100px
}

.logo{
    
    width: 600px;
    top: 10%;
    right: 15%;
    
    max-width: 90%;
    height: 400px;
    
    object-fit: contain;
}

.logo img{
    max-width: 100%;

}
svg{
    max-width: 100%;
    max-height: 100%;

}

#Arm, #Pfanne, #finger{
    animation: moveupArm 2s linear infinite ;
    
    transform-origin: center;
}





#Steak{
    
    transform-box: fill-box;
    transform-origin: center;
    animation: upSteak 2s linear infinite ;
  
    animation-fill-mode: both;
}


@keyframes moveupArm {
    0%{
        transform: rotateX(0deg) rotateZ(0deg) rotateY(0deg);

    }

    15%{
        transform: rotateX(20deg) rotateZ(-20deg) 
    }

    40%{
        transform: rotateX(20deg) rotateZ(-20deg) 
    }


    50%{
        transform: rotateX(20deg) rotateZ(-20deg) ;

    }

    60%{
        transform: rotateX(20deg) rotateZ(-20deg) ;

    }
    
   

    100%{
        transform: rotateX(0deg) rotateZ(0deg) rotateY(0deg);

    }

}



@keyframes movePan{
    from{
        transform: rotateX(0deg);
    }
    to{
        transform: rotateX(20deg);
    }

}

@keyframes upSteak {
    0%{
        transform: translateY(0) translateX(0) rotateZ(0deg) ;

    }


    20%{
        transform: translateY(0) translateX(0) rotateZ(0deg) ;

    }
    
    40%{
        transform: translateY(-80px) translateX(40px) rotateZ(-180deg) ;
    }
    

    60%{
        transform: translateY(0px) translateX(10px) rotateZ(-180deg) ;
    }
    

    100%{
        transform: translateY(-0px) translateX(0px) rotateZ(-180deg) ;

    }



}


@media screen and (max-width: 450px){
    .card-container{
        width: 100%;
        margin-left: 0;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
        height: auto;

    }
    .card{
        width: 80%;
        max-width: none;

    }
    .bottom{
        height: auto;
    }
    .card .card-text{
        text-align: center;
    }
}