body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    padding: 0;
}

h2, p{
    margin: 0;
} 

h1{
    margin: 0 0 10px;
    font-family: "Notable", sans-serif;
    font-weight: 400;
}
svg{
    width: 30%;
    min-width: 130px;
}

.company-name{
    font-size: 20px;
    margin: 0;
    font-family: "Megrim", system-ui;
    font-weight: 600;
}

.business-card{
    position: relative;
    perspective: 1000px;
    max-width: 400px;
    width: 30%;
    min-width: 310px;
    height: 200px;
}

main {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-front{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #308f41;
}

.card-back{
    background-color: #0b3814;
    color: #e2e2d4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
    transform: rotateY(180deg);
}

h2{
    font-size: 20px;
    text-align: center;
    margin-top: 50px;
}

address{
    align-self: flex-end;
    text-align: end;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

a{
    color: #818181;
    font-size: 14px;
    text-decoration: none;
}

a:hover{
    color: #b1b1b1;
}

a:active{
    color: #e7e7e7;
}

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