@font-face {
    font-family: 'pokemon';
    src: url('../font/pokesolid.ttf');
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

a {
    text-decoration: none;
    font-family: sans-serif;
    color: #365eab;
}

body {
    overflow-x: hidden;
    width: 100vw;
    height: 100vh;
    background: #feca1b;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

header{
    width: 100vw;
    height: 100vh;
    color: #365eab;
}

header h1 {
    position: relative;
    font-family: 'pokemon';
    
    font-size: 3.5rem;
    margin-top: 15px;
}

.corpo {
    box-sizing: border-box;
}

.card {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 300px;
    height: 450px;
    background: #e90013;
    transform-style: preserve-3d;
    transform: translate(-50%,-50%) perspective(2000px);
    box-shadow: inset 300px 0 50px rgba(0,0,0,.5), 0 20px 100px rgba(0,0,0,.5);
    transition: 1s;
}

.card .imgbox img {
    width: 100%;
    height: 100%;
}

.card:hover {
    transform: translate(-50%,-50%) perspective(2000px); 
    box-shadow: inset 20px 0 50px rgba(0,0,0,.5), 0 20px 100px rgba(0,0,0,.5);
}

.card:before {
    content: '';
    position: absolute;
    top:-4px;
    left: 0;
    width: 100%;
    height: 5px;
    background: #475602;
    transform-origin: bottom;
    transform: skewX(-45deg);
}

.card:after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 5px;
    height: 100%;
    background: #7ea301;
    transform-origin: left;
    transform: skewY(-45deg);
}

.card .imgbox{
    width: 100%;
    height: 100%;
    position: relative;
    transform-origin: left;
    transition: 1s;
}

.card:hover .imgbox { 
    transform: rotateY(-180deg);
}

.card .interno {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: 20px;
    z-index: -1;
}

.interno .foto img {
    width: 150px;
    height: 150px;
}

.interno {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pesquisa {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: space-around;

}

.form {
    margin-bottom: 20px;
}

#txtn {
    padding: 5px 8px;
    width: 150px;
    border: none;
    border-radius: 5px;
}

.button {
    padding: 4px 8px;
    border-radius: 5px;
    transition: 0.5s;
    background: #cccccc;
}

.button:hover {
    background: #ffffff;
}


.foto {
    background: radial-gradient(circle, rgba(85, 85, 85, 0.363) 0%, rgba(0, 0, 0, 0.979) 100%), url(../img/bgvisor.png);
    background-size: cover;
    width: 200px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.visor {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.infos {
    text-transform: capitalize;
    width: 200px;
    height: 90px;
    text-align: start;
    margin-top: 15px;
    background: radial-gradient(circle, rgba(250, 250, 250, 0.363) 0%, rgba(94, 94, 94, 0.596) 100%),  #c7ecff;
    border-radius: 10px;
    padding: 8px;
}



