html, body {
    height: 100%;
}

html {
    display: table;
    margin: auto;
}

/* buttons */
button {
  padding: 0;
  border: none;
  background: none;
  font-size: 20px;
}
button:hover {
  background-color: none;
}

body {
  display: table-cell;
  vertical-align: middle;
  background-color: grey;
  font-family: Tahoma;
  color: #000000;
  font-size: 15px;
  line-height: 1.2;
  width: 1600px;
  height: 900px;
  justify-content: center; /* Centers content horizontally */
  align-items: center; /* Centers content vertically */  
}

.sf, .smallfont {
	display: none;
}

#pic {
	position: absolute;
	top: -3vh;
	left: 13vh;
	background: url("/layout.webp");
	background-repeat: no-repeat;
	height: 962px;
	width: 1678px;
}

#picshop {
	position: absolute;
	top: -3vh;
	left: 13vh;
	background: url("/nav/shoplayout.webp");
	background-repeat: no-repeat;
	height: 962px;
	width: 1678px;
}

#nav {
  display: column;
	top: 70vh;
	left: 19vh;
	z-index: 2;
	width: 180px;
	height: 150px;
	font-size: 12px;
	text-align: justify;
}

#btn {
  display: column;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
	left: 18.5vh;
	top: 2.5vh;
	width: 200px;
	height: 500px;
	z-index: 2;
	text-align: center;
}
#text {
	left: 42.5vh;
	top: 2.5vh;
	width: 1340px;
	height: 855px;
	overflow: hidden;
	text-align: justify;
	z-index: 1;
}

.box {
	width: 1340px;
	height: 855px;
	overflow: auto;
	padding: 2px;
	justify-content: center;
  text-align: justify;
  align-items: center;
}

.evimg {
  width: 100%;
  object-fit: fill;
}

/* headers */

h1 {
  font-family: Tahoma;
  text-align: left;
  font-size: 30px;
}
h2 {
  font-size: 20px;
}
h3 {
  background: #FFD48A;
  text-align: center;
}
h4 {
  background: #FFE5B8;
  text-align: center;
}
h5 {
	background-color: #FFEFD1;
	color: #232323;
  margin-top: 2px;
  margin-bottom: 1px;
  font-size: 20px;
  font-style: italic;
}

/* Chat Bubble */
.bubble
{
   position: relative;
   width: 250px;
   height: 240px;
   padding-top: 5px;
   padding-bottom: 5px;
   padding-right: 10px;
   padding-left: 10px;
   color: black;
   background: #ffe5b8;
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border-radius: 10px;
   border: #ffd48a solid 4px;
}

.bubble:after
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 20px 0 20px 20px;
    border-color: transparent #ffe5b8;
    display: block;
    width: 0;
    z-index: 1;
    right: -20px;
    top: 178px;
}

.bubble:before
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 23px 0 23px 23px;
    border-color: transparent #ffd48a;
    display: block;
    width: 0;
    z-index: 0;
    right: -27px;
    top: 175px;
}

/* Shop */
.grid-container3 {
  height: 280px;
  display: flex;
  column-gap: 10px;
  justify-content: center;
  margin-left: 27px;
  margin-top: 53px;
  text-align: justify;
  align-items: center;
}
.descmid {
  display: inline-block;
  width: 600px;
  justify-content: center;
  text-align: justify;
  align-items: center;
}
.descright {
  display: inline-block;
  width: 400px;
  text-align: right;
  align-items: flex-start;
}
.descrsec {
  display: inline-block;
  width: 100%;
  height: 100px;
  text-align: justify;
}

/* Flips */
.flip-card {
  background-color: transparent;
  width: 256px;
  height: 256px;
  perspective: 1000px;
  display: inline-block;
  margin: 1px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.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;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
}
.title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: pink;
}


b {
	color: black;
}
i {
	color: black;
}
a:link, a:visited {
	color: blue;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	color: #ccffb5;
}
.item {
  width: 100px;
  height: 100px;
}
.itemrex {
  width: 125px;
  height: 125px;
}