body {
    background-image: url(https://subtlepatterns.com/patterns/tweed.png);
    background-position: center center;
    font-family: 'Open Sans', sans-serif;
}

div.business-card {
    z-index: 1;
    height: 380px;
    width: 500px;
    margin-top: 50px;
    margin-bottom: 80px;
    position: relative;
    perspective: 2000px;
}
div.business-card:hover .flipper, div.business-card.hover .flipper {
    transform: rotateY(190deg) rotateZ(90deg);
}

div.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
    transform-origin: center 160px;
}

div.front, div.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 380px;
    width: 600px;
    box-shadow: 0 0 15px rgb(0 0 0 / 25%);
}

div.front {
    z-index: 0;
    border-radius: 3%;
}
div.front figure {
    width: 100%;
    height: auto;
    display: flex;
    margin-top: 30%;
}
div.front div.name {
    position: absolute;
    bottom: 10px;
    left: 113.5px;
}
div.front div.name span {
    display: block;
    font-size: 40px;
    line-height: 50px;
}

div.front div.name span.title {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #ecf0f1;
}

div.back {
    background-color: #3E67A4;
    height: 380px;
    width: 600px;
    box-sizing: border-box;
    transform: rotateY(180deg) rotateZ(90deg);
    border-radius: 3%;
}
div.back div.container-sm {
    float: left;
    width: 40%;
    height: 100%;
    position: relative;
}
div.back div.container-lg {
    font-size: 18px;
    float: left;
    width: 100%;
    padding: 20px;
}
div.back figure {
    position: absolute;
    top: 35%;
    left: 50%;
    width: 120px;
    height: 120px;
    display: block;
    margin: -60px -60px;
}
div.back a {
    color: white;
    text-decoration: none;
    display: block;
}
div.back a:hover {
    color: #ccc;
}

.back .full-name {
    font-size: 24px !important;
    padding: 20px 0px 0px 20px;
}
.full-name svg {
    margin-right: 20px;
    margin-bottom: 10px;
    border: outset;
    border-radius:40%;
}

.text-name{
    border-bottom: 1px solid whitesmoke;
    max-width: 95%
}

@media(max-width: 800px) {
    div.business-card{
        zoom: 0.8;
    }
}

@media(max-width: 550px) {
    div.business-card{
        zoom: 0.5 !important;
    }
}

@media(max-width: 300px) {
    div.business-card{
        zoom: 0.3 !important;
    }
}

/*button*/
.button-container{
    position: absolute;
    right: 20px;
    bottom: 10px;
    width: 30%;
    height: 50px;
    margin:20px auto 20px auto;
}

.people .flipper .back .button-container{
    float: right;
    position: absolute;
    right: 20px;
    bottom: 10px;
    height: 50px;
    margin:20px auto 20px auto;
    width: auto;
}

.btn{
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    color: #004C95;
    font-family: Optima;
    font-size: 22px;
    font-weight: bold;
}
.btn-parts {
    border: outset 8px #FFD139;
    height: 100%;
    padding: 0 !important;
}

.btn-parts{
    background: #FFD139;
}

#collapseParts {
    background-color:whitesmoke;
    margin-top:60px;
    border-radius:2%
}

.people .flipper .front figure img {
    max-width: 30%;
    border: 20px;
    border-radius: 10%;
}

.people .flipper .front figure{
    margin-top: 10%;
}

.people .flipper .front {
    text-align: center;
    background: url("https://static.igem.wiki/teams/4195/wiki/web-picture/hp/back1.png");
}

.cover-name {
    font-size: 50px;
    color: #ED5D28;
    position: absolute;
    left: 20%;
    top: 40%;
    font-family: 'Optima';
    font-weight: bold;
}

.people .flipper .back {
    background: #FFB89E;
    display: flex;
}

.btn-people{
    background: url("https://static.igem.wiki/teams/4195/wiki/web-picture/hp/fish.png") no-repeat;
    width: 70px;
    height:70px;
    background-size:100% 100%!important;
    margin-bottom: 40px;
}

.card-name {
    float: right;
    width: 60%;
    font-size: 23px;
    margin: auto;
    padding-right:30px;
    color: floralwhite;
    font-family: Harding;
    text-align: left !important;
}

.card-pic{
    width: 40%;
    padding-top: 5%;
    margin: 30px;
    float: right;
}

.card-pic img {
    max-width: 100%;
    border-radius: 30px;
    border: outset;
}

.card-name svg {
    margin-bottom: 20px;
    border-radius:40%;
    border:outset lightsalmon;
}

.btn-people:hover {
    transform: rotate(30deg);
}

.collapse .row .card , .widget-box .collapse {
    background: whitesmoke;
    border-radius:20px;
}


.b-p:before{
    display: inline-block;
    content: "";
    width: 150px;
    height: 65px;
    background: url("https://static.igem.wiki/teams/4195/wiki/background/clickme.png");
    background-size: 100% 100%;
    padding-top: 20px;
}

