
/* fonts */
@import url(https://fonts.googleapis.com/css?family=Poiret+One);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);


html, 
body {
  background-color: color(srgb 0.8661 0.8662 0.8663);
  border:0;
  padding: 0;
  margin:0;
  top:0;
  left: 0;
  font-family: 'Open Sans', sans-serif;
}

.container {
  perspective: 2500px;
  z-index: 2;
  position: relative;
}

.card {
  background: white;
  text-align:center;
  height: 230px;
  width: 50%;
  margin: 3em auto;
  border-radius: .5em;
  box-shadow: 4px 4px 10px 1px #ccc;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  backface-visibility: hidden;
  transition: transform .4s cubic-bezier(.63,-0.32,.4,1.39);
}

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

.initials {
  display: inline-block;
  font-family: 'Poiret One';
  font-size: 2em;
  color: #666;
  font-weight: 500;
  text-align: center;
  margin:10px 0;
  padding: 0;
  text-shadow: 1px 1px 4px #ddd;
}

.desc {
  font-weight: 300;
  position: relative;
  width: 100%;
  text-align: center;
}

.contact {
  text-align: center; 
  font-weight: 300;
  position: relative; 
  margin: 2em 0 1em 0;
}

.card-front{
  background: url(img/mount.png) center center #fff;
  background-size: cover;
  color: white;
  font-family: 'Poiret One';
  font-size: 1.2em;
text-shadow: 1px 1px 4px #333;
}
h1{
  margin-top: 1.6em;
}

.links {
  text-align: center;
  border-top: 1px dotted #dfdfdf;
  margin: 0 auto;
}
.links a{
   display: inline-block;
   vertical-align: middle;
   width:49px;
   height:47px;
   line-height: 0; 
   font-size: 0;
   color: transparent;
   margin: 10px;
}
a.instagram{
background: url(img/inst0.png) no-repeat;
}
a.instagram:hover{
background: url(img/inst1.png) no-repeat;
}
a.linkedin{
background: url(img/link0.png) no-repeat;
}
a.linkedin:hover{
background: url(img/link1.png) no-repeat;
}
a.github{
background: url(img/git0.png) no-repeat;
}
a.github:hover{
background: url(img/git1.png) no-repeat;
}
a.email{
background: url(img/em0.png) no-repeat;
}
a.email:hover{
background: url(img/em1.png) no-repeat;
}


#click_me {
  color: #999;
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 1em;
  animation: fade 6s infinite ease-in-out;
  font-weight:normal;
  z-index: 2;
}

.mount {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 0;
  margin: 0
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  
  50% {
    opacity: 0;
  }
   
  100% {
    opacity: 1;
  }
}