

@media (min-width: 1200px){
    .container {
    max-width: 1920px;
    }
}

/* ---    Card-Section    ---*/

.card{
    position: relative;
    width: 412px;
    height: 275px;
    margin: 15px;
}

.card .face{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: 2.5s;
}

.card .front{
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}

.card .front img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .front h3{
    position: absolute;
    bottom: -8px;
    width: 100%;
    height: 45px;
    font-size: 1.25em;
    line-height: 45px;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(68, 68, 68, 0.64);
    text-align: center;
}

.card .back{
    transform: perspective(600px) rotateY(180deg);
    box-shadow: 0 5px 10px #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000;
}

.card .back .link{
    position: relative;
    top: 82%;
    border-top: solid 2px #f3f3f3;
    height: 50px;
    line-height: 50px;
    z-index: 0;
}

.card .back .link a{
    padding: 10px;
    color: #f3f3f3;
    background: #830404;
    border-radius: 10px;
}

.card .back img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card:hover .front{
    transform: perspective(600px) rotateY(180deg);
}

.card:hover .back{
    transform: perspective(600px) rotateY(360deg);
}
