@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,600');
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html, body
{
    height: 90%;
    width: 98%;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 300;
    background: ivory;
}
.flip-card-3D-wrapper {
  /*width: 70%;*/
  /*height: 90%;*/
  aspect-ratio : 0.714 / 1;
  /*width: 522px;*/
  height: 95%;
  position: relative;
  -o-perspective: 900px;
  -webkit-perspective: 900px;
  -ms-perspective: 900px;
  perspective: 900px;
  margin: 30px auto 30px auto;
}

@media screen and (max-width: 995px){
	.flip-card-3D-wrapper{
    margin: 60px auto 30px auto;
		width: 80%;
    aspect-ratio : 0.714 / 1;
		height: unset;
	}

}




#flip-card {
  width: 100%;
  height: 100%;
  text-align: center;
  margin: 0px auto;
  position: absolute;
  -o-transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  -o-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  cursor:pointer;
}
#flip-card img{
	width:100%;
	height:100%;	
}

#rotate-icon{
	margin:auto;
	width:100px;
	cursor:pointer;
}

.do-flip {
  -o-transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}
#flip-card-btn-turn-to-back, #flip-card-btn-turn-to-front {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background: white;
  cursor: pointer;
  visibility: hidden;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: .7em;
  padding: 0;
  color: grey;
  border: 1px solid grey;
}
#flip-card .flip-card-front, #flip-card .flip-card-back{
  width: 100%;
  height: 100%;
  position: absolute;
  -o-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 2;
  -webkit-box-shadow: 5px 6px 32px 2px rgba(133,133,133,0.71);
  -moz-box-shadow: 5px 6px 32px 2px rgba(133,133,133,0.71);
  box-shadow: 5px 6px 32px 2px rgba(133,133,133,0.71);
}
#flip-card .flip-card-front {
    background: white;
    border:1px solid grey;
}
#flip-card .flip-card-back {
    background: white;
    border: 1px solid grey;
    -o-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
#flip-card .flip-card-front p, #flip-card .flip-card-back p {
  color: grey;
  display: block;
  position: absolute;
  top: 40%;
  width: 100%;
}



/*-------------------------*/
.gotosite{
  text-align:center; 
  font-size:25px;
  color:beige;
  text-decoration: none;

}
.gotosite a:active, .gotosite a:visited, .gotosite a:link{
  color:black;
  text-decoration: none;;
  -webkit-animation:changecolor 8s 1;
  animation:changecolor 8s 1;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}


.gotosite a:hover{
  color:black;
  text-decoration: underline;
}

@keyframes changecolor {
  0% {color:#FFFFFF;}
  50% {color:#D7A36D;}
  100%{color:black;}
}