* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Alatsi', sans-serif;
}

body {
    height: 100vh;  
    background-size: 400%;
    background-image: linear-gradient(125deg,#f6e58d,#ffbe76,#ffffff);
    animation: bganimation 15s infinite;
}

@keyframes bganimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.card {
    cursor: pointer;
    width: 340px;
    height: 480px;
}
h1 {
    font-size: 25px;
    padding: 20px;
    color: #673924;
    text-shadow: 1px 1px white;
}

.titulo-contatos {
    font-size: 30px;
    padding: 20px;
    color: #f0932b;
    text-shadow: 0px 1px #000;
}

h3 {
    color: #535c68;
}

.front, .back {
    width: 100%;
    height: 100%;
    overflow: hidden;
    backface-visibility: hidden;
    position: absolute;
    transition: transform .6s linear;
}

.front img{
    height: 250px;
    padding: 20px;
}

.front {
    transform: perspective(600px) rotateY(0deg);
    text-align: center;
}

.back {
    transform: perspective(600px) rotateY(180deg);
}

.back-content {
    color: #30336b;
    text-align: center;
    width: 100%;
}

.card:hover > .front {
    transform: perspective(600px) rotateY(-180deg);
}

.card:hover > .back {
    transform: perspective(600px) rotateY(0deg);
}

.contatos {
    padding: 5px;
    font-weight: bolder;
    width: 50%;
}

.fas, .fab {
    color: #673924;
}