/* theme colors 
white: #fbf2d5
orange: #fdc57b
dark blue: #394a51
blue: #7fa99b */


/* Body */
body {
	background-color: #fdc57b;
	margin:0px;
	font-family: verdana, sans-serif;
}
.introcontent{
	text-align: center;
	color: #394a51;
	width: 75%;
	margin: auto;
	padding: 20px;
}
.introcontent a {
	text-decoration-line: underline;
	color: #394a51;
	font-weight: bold;
}
.game{
	width: 960px;
	height: 600px;
	
	margin: auto;
	padding: 20px;
}
.content{
	text-align: left;
	background-color: #fbf2d5;
	color: #394a51;
	width: 75%;
	margin: auto;
	padding: 20px;
}

/* Heading */
.heading{
	background-color: #fbf2d5; 
	background-image: url(backgroundimage.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	position: relative;
	text-align: center; 
	color: #394a51;
	padding: 80px;
	font-size: 30px;
}
	
/* Top Navigation Bar */
.topnav {
	background-color: #7fa99b;
	overflow: hidden;
	margin: 0;
	padding: 0;
	position: sticky;
	top: 0;
	z-index: 999;
}
.topnav a {
	float: left;
	color: #394a51;
	padding-top: 14px;
	padding-bottom: 14px;
	text-decoration: none;
	font-size: 17px;
	font-family: Helvetica;
	width: 25%;
	text-align: center;
	font-weight: bold;
}
.topnav a:hover {
	background-color: #394a51;
	color: #fbf2d5	;
}
.topnav a.active {
	background-color: #fdc57b;
	color: #394a51;
}



/* Footer */
.footer {
	position: relative;
	text-align: center;
	background-color: #fbf2d5; 
	color: #394a51;
	padding: 20px;
	margin-top: 30px;
	font-size: 10px;
}

/* Flip Cards */
.cardscontainer {
	display: flex;
	column-gap: 50px;
	justify-content: center;
	align-items: center;
	padding: 20px;
	flex-wrap: wrap;
	row-gap: 50px;
}
.flip-card{
	width: 20vw;
	min-width: 200px;
	height: 50vh;
	max-height: 300px;
	background-color: transparent;
	perspective: 1000px;
}
.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.6s;
	transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	overflow: hidden;
}
.flip-card-front {
	background-color: #fbf2d5;
	color: #394a51;
	border-style: solid;
	border-width: 5px;
	border-radius: 25px;
	border-color: #394a51;
	text-align: center;
}
.flip-card-back {
	background-color: #fbf2d5;
	color: #394a51;
	border-style: solid;
	border-width: 5px;
	border-radius: 25px;
	border-color: #394a51;
	text-align: center;
	transform: rotateY(180deg);
	font-size: 14px;
} 
.cellimages {
	width: 70%;
	height: 50%;
	position: relative;
}

/* Tool Tips*/
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 2px dotted #7fa99b;
  color: #7fa99b;
  
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: #394a51;
  color: #fbf2d5;
  text-align: center;
  font-size: 12px;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  display: block;
}

/* Figures */
.figure{
	margin: auto;
	width: 300px;
	height: auto;
}
.figure img{
	width: 100%;
}
.figure .caption{
	font-size: 12px;
	width: 100%;
	text-align: center;
	font-style: italic;
}

/* Animations */
.animations{
	padding: 20px;
	margin: auto;
	margin-top: 10px;
	width: 75%;
	height: auto;
	background-image: url("stripes_banner.png");
	background-size: cover;
 
}
.animations div{
	width: 100%;
	height: 100px;
	margin: auto;
	padding: 10px;
	overflow: hidden;
}
.animations div img{
	width: 100%;
	height: 100%;
	position: relative;
}
.animations div .cell1{
	animation: cell 23s ease-in-out infinite;
}
.animations div .cell2{
	animation: cell 25s cubic-bezier(0.001,0.2,.01,0.1) infinite;
}
.animations div .cell3{
	animation: cell 19s ease-in-out infinite;
}
.animations div .cell4{
	animation: cell 21s cubic-bezier(0.001,0.001,.01,-0.1) infinite;
}
@keyframes cell{
	from {left: -30%;}
	to {left: 30%;}
}

/* Home Page Buttons */
.buttoncontainer{
	margin: auto;
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 20px;
}
.buttons{
	width:25%;	
}
.button{
	width: 75%;
	background-color: #7fa99b;
	color: #fbf2d5;
	border-style: solid;
	border-width: 5px;
	border-radius: 25px;
	border-color: #394a51;
	text-align: center;
	padding: 20px;
	align-items: baseline;
}
.button a{
	text-decoration: none;
}

/* Horizontal Line */
hr {
  border: 2px solid #394a51;
  border-radius: 5px;
}