* {
    padding: 0;
    margin: 0;
}

html, body{
    height: 100%;
}

body{
    font-family: Arial;
}

header{
    background: linear-gradient(#0e6dfcbd, #012ec5bd, #020329cb);
    padding: 10px 40px;
    font-size: 1.2em;
    margin-bottom: 50px;
    font-family: Calibri;
}

header > h1{
    padding-left: 1em;
    font-size: 2.2em;
    text-shadow: 1px 1px 3px #000;
    color: #e9e9e9;
}

header > h1 > span{
    font-size: 0.95em;
    margin-left: 0.5em;
}

a{
    font-size: 0.9em;
    text-decoration: none;
    color: #ffffffc4;
}
a:hover{
    text-decoration: underline;
}

a:nth-child(1){
    font-size: 1em;
    color: #ffffff;
}


main{
    margin: auto;
    width: 760px;
    text-align: center;
}

figure{
    height: 150px;
    width: 150px;
    display: inline-block;
    margin: 0 7.5px 15px 7.5px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease;
    perspective: 600;
    position: relative;
    cursor: pointer;
}
figure:hover{
    box-shadow: #00000065 0px 3px 10px 3px;
    transition: transform 0.3s ease;
    transform: scale(1.01);
}
figure:active {
    box-shadow: none;
}

.card:active {
    transform: rotateY(180deg);
}

.card{
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: all 0.7s ease-in-out;
    width: 100%;
}

img {
    width: 100%;
    height: 100%;
    display: block;
    backface-visibility: hidden;
    position: absolute;
    z-index: 2;
}

figcaption{
    height: 116px;
    color:rgb(0, 132, 255);
    background-color: #e9ffff;
    text-align: center;
    margin: auto;
    padding-top: 30px;
    border-radius: 10px;
    border: 2px dashed #5c5c5c;
    transform: rotateY(180deg)
}

footer{
    background-color: #000;
    color: #fff;
    margin-top: 50px;
    padding: 20px;
    padding-left: 50px;
}

/* @keyframes sombrinha{
    0%{
        box-shadow: #00000063 0px 3px 10px 3px;
    }
    50%{
        box-shadow: #0000009f 0px 3px 10px 3px;
        transform: scale(1.01);
    }
    100%{
        box-shadow: #000000c4 0px 3px 10px 3px;
        transform: scale(1.01);
    }
} */