* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    background-image: url(../images/13859306_5386357.jpg);
    background-repeat: repeat-y;
    background-position: center;
    background-size: cover;
    position: relative;
}

h1 {
    font-family: audiowide;
    font-size: 7vw;
    text-align: center;
    position: relative;
    margin: auto;
    padding-top: 5%;
    cursor: default;
}

p.header {
    font-family: audiowide;
    font-size: 3vw;
    text-align: center;
    position: relative;
    margin: auto;
    cursor: default;
}

.container {
    position: relative;
    margin: 1%;
    display: flex;
    justify-content: center;
}

.container .card {
    position: relative;
    cursor: pointer;
    margin: 1vw;
}

.container .card .face{
    width: 40vw;
    height: 200px;
    transition: 0.5s;
}

.container .card .face.face1 {
    position: relative;
    background: rgb(16, 52, 109);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: translateY(100px);
}

.container .card:hover .face.face1 {
    background: #ff0057;
    transform: translateY(0);
}

.container .card .face.face1 .content {
    opacity: 0.5;
    transition: 0.5s;
}

.container .card:hover .face.face1 .content {
    opacity: 1;
}

.container .card .face.face1 .content h3{
    /* margin: 10px 0 0; */
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.5em;
    font-family: Silkscreen;
}

.container .card .face.face2 {
    position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(-100px);
}

.container .card:hover .face.face2 {
    transform: translateY(0);
}

.container .card .face.face2 .content p{
    margin: 0.7em;
    padding: 0;
    text-align: center;
}

.container .card .face.face2 .content a{
    margin: 15px 0 0;
    display: inline-block;
    text-decoration: none;
    font-weight: 900;
    color: rgb(40, 39, 39);
    padding: 5px;
    border: 2px solid rgb(40, 39, 39);
}

.container .card .face.face2 .content a:hover {
    background: rgb(40, 39, 39);
    color: #fff;
}

@media(max-width: 700px){
    .container{
        font-size: 0.75em;
    }
}