/*
Theme Name: BusinessCard
Description: The theme for virtual business card 
Author: Arturo Spatino
Author URI: https://www.linkedin.com/in/arturospatino
Version: 0.1
*/

body{
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-style: normal;
    height: 100dvh;
    flex-direction: column;
    gap: 32px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    }

.front{
    width: calc(100vw - 32px);
    max-width: 398px;
    height: 224px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    padding-bottom: 16px;
    gap: 16px;
    background-color: #207C39;
    box-shadow: inset -1px -1px 1px #53C873, inset 1px 1px 1px #53c8725e, 0px -4px 24px rgb(0,0,0,0.24);
    border-radius: 32px;
    box-sizing: border-box;
    z-index: 999;
     animation-name: front;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.back{
    width: calc(100vw - 32px);
    max-width: 398px;
    height: 224px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: #ffffff;
    box-shadow: inset -1px -1px 1px #eaeaea, inset 1px 1px 1px #eaeaeaea;
    border-radius: 32px;
    box-sizing: border-box;
    animation-name: back;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    perspective: 1000px
}

.businesscard{
    display: flex;
    flex-direction: column;
    gap: 16px;    
}

.logo img{
    width: 220px;
    height: auto;
}

.data{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
	width: 100%;
	overflow: hidden;
}

.completename {
    display: flex;
    gap: 4px;
	width: 100%;
}

.name{
    font-weight: 700;
    font-size: 22px;
    color: #ffffff;
	overflow: hidden !important;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap !important;
    width: 100%;
}

.role{
    font-weight: 300;
    font-size: 18px;
    color: #eaeaea;
}

.contacts{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 100%;
}

.contact{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 32px;
    gap: 8px;
    width: 100%;
}

.contact img{
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.contact a{
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #eaeaea;
    text-decoration: none;
}

.contact a:hover{
    text-decoration: underline;
}

.download-contact{
    text-decoration: none;
    color: #171717;
    padding: 0 40px;
    background-color: #ffffff;
    text-align: center;
    font-weight: bold;
    box-sizing: border-box;
    border-radius: 999px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out .3s;
    cursor: pointer;
}

.download-contact:hover{
    transform: scale(1.02);
    transition: ease-in-out .3s;
}

.foto{
    height: 64px;
	min-width: 64px;
    width: 64px;    
	border: solid 1px #ffffff ;
    border-radius: 999px;
    align-items: center;
    box-shadow: 0px 2px 20px #00000027;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.head{
    width: 100%;
    display: flex;
    gap: 12px;
    flex-direction: row;
	align-items: center;
	overflow: hidden;
}

@keyframes back {
    from {
    }

    to {
        transform: matrix3d(0.95, 0, 0, 0, 0, 0.9, 0, -0.00005, 0, 0, 1, 0, 0, 0, 0, 1);
    }
}

@keyframes front {
    from {
        margin-top: 0;
    }

    to {
        margin-top: -72px;
    }
}