@font-face {
	font-family: 'pictochat';
	src: url("pictochat.ttf");
}

@font-face {
	font-family: 'supermariods';
	src: url("supermariods.ttf");
}

@font-face {
	font-family: 'supermariodsfill';
	src: url("supermariodsfill.ttf");
}

@font-face {
	font-family: 'supermariodsoriginal';
	src: url("supermariodsoriginal.otf");
}

body {
	background-image: url("./tiles/grid_beige.png");
	background-repeat: repeat;
        background-attachment: fixed;
	image-rendering: optimizeQuality;
	overflow-x: hidden;
	font-family: 'pictochat';
	font-size: 22px;
}

  ::-webkit-scrollbar {
	display: none;
  }
  
  a {
	color: black;
	text-decoration: none;
  }

#border {
	margin: auto;
	width: 860px;
	height: 1340px;
	border: 11px solid black;
 	border-image: url("./graphics/border-green.png") 5 round;
 	border-image-outset: 5px;
}

#content {
  position: relative;
  width: 840px;
  height: 1300px; 
  margin: auto;
  margin-top: 10px;
}

a {
  text-decoration: underline;
}


#banner {
	background-image: url("./graphics/applebanner1fade3.png");
	background-size: 990px;
	background-position: 45% 70%;
	width: 840px;
	height: 200px;
	position: absolute;
	margin-left: 0px;
}

#titleoutline {
  font-family: 'supermariods';
  font-size: 48.5px;
  position: absolute;
  margin-top: 73;
  color: #F5FFE6;
  margin-left: 15.5px;
  z-index: 2;
}

#titlefill {
  font-family: 'supermariodsfill';
  font-size: 45px;
  position: absolute;
  margin-top: 75;
  color: #a2b084;
  margin-left: 15px;
}

#rightbg {
  position: absolute;
  border: 1px solid black;
  background-image: url("./tiles/stripedred4.png");
  width: 180px;
  height: 1080px;
  display: inline-flex;
  flex-direction: column;
  overflow: visible;
  align-items: center;
  z-index: 1;
  border-radius: 5px;
  overflow-x: hidden; 
  margin-top: 150px;
  margin-left: 660px;
}

.navbutton {
  background-color: #FFF7E8;
  border: solid 2px #A07432;
  border-top-color: white;
  border-left-color: white;
  border-radius: 5px;
  font-family: pictochat;
  text-align: center;
  color: black;
  font-weight: 100;
  cursor: pointer;
  font-size: 25px;
  width: 160px;
  height: 30px;
  margin-top: 4px;
  margin-bottom: 3px;
}

.navbutton:hover {
  background-color: #95BAFF;
  transform: translate(2px, 5%);
  border-top-color: #3A5FA5;
  border-left-color: #3A5FAF;
  border-right-color: white;
  border-bottom-color: white;
}

.heading {
  color: white;
  font-size: 30px;
  font-family: 'supermariodsoriginal';
  line-height: 1.20;
  text-align: center;
  border: 2px solid black;
  border-radius: 5px;
  background-image: url("./tiles/stripedgreen3.png");
  border-left-color: #c1d188;
  border-top-color: #c1d188;
  margin: 10px;
  margin-left: 0px;
  margin-bottom: 15px;
}

.heading2 {
  margin-top: -6px;
  color: #FFF7E8;
  font-size: 30px;
  font-family: 'supermariodsoriginal';
  line-height: 1.05;
  text-align: center;
  padding-bottom: 10px;
}

.subheading {
  background-color: #cedbaf;
  border-radius: 5px;
  font-family: pictochat;
  text-align: center;
  color: black;
  font-size: 22px;
  padding: 4px;
}

#domsiecard {
  position: absolute;
  background-color: #c1d188;
  border: 1px solid black;
  border-radius: 5px;
  width: 645px;
  height: 400px;
  margin-top: 150px;
}

#hungrycaterpillar {
  position: absolute;
  width: 220px;
  height: 220px;
  margin-left: 20px;
  margin-top: 20px;
}

#basicinfo {
  position: absolute;
  width: 220px;
  margin-left: 20px;
  margin-top: 250px;
  font-size: 32px;
  color: #5d6343;
  text-align: center;
  line-height: 1.05;
}

#domsieinfo {
  position: absolute;
  background-color: #f4f4e4;
  border: 1px solid black;
  border-radius: 5px;
  width: 360px;
  height: 360px;
  margin-left: 260px;
  margin-top: 12px;
  padding-left: 10px;
  line-height: 1.05;
}

#marqueebox {
  position: absolute;
  overflow: hidden;
  margin-top: 560px;
  width: 645;
  height: 60px;
  white-space: nowrap;
  border: 1px solid black;
  border-radius: 5px;
  background-color: white;
}

.marqueecontent {
  margin-bottom: 2px;
  height: 60px;
  display: inline-block;
  animation: 20s marquee infinite linear;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: marquee;
    animation-timeline: auto;
    animation-range-start: normal;
    animation-range-end: normal;
 }

.marqueebox img{
  height: 100%;
}

@keyframes marquee {
from {
    transform: translateX(0);
}
to {
    transform: translateX(-100%);
}
}

@-webkit-keyframes marquee {
from {
    transform: translateX(0);
}

to {
    transform: translateX(-100%);
}
}

#interestsbg {
  position: absolute;
  background-image: url("./tiles/stripedbeigegreen2.png");
  background-repeat: repeat;
  border: 1px solid black;
  border-radius: 5px;
  width: 645px;
  height: 385px;
  margin-top: 630px;
}

#interests {
  position: absolute;
  z-index: 5;
  background-color: #f4f4e4;
  border: 1px solid black;
  border-radius: 5px;
  width: 600px;
  height: 340px;
  padding: 10px;
  margin-left: 12px;
  margin-top: 12px;
  line-height: 1.05;
}

#quizresults {
  position: absolute;
  background-color: #f4f4e4;
  border: 1px solid black;
  border-radius: 5px;
  width: 400px;
  height: 250px;
  padding: 10px;
  margin-top: 1025px;
  overflow-y: scroll;
}
