/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* end of css reset */


body {
  background-image: url(images/backgroundgreen.png);
}

.container {
    display: grid;
    grid-template-areas: 
        "image1 image2 image3"
        "image4 image5 image6"
        "image7 image8 image9"
        "image10 image11 image12";
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  padding-left: 60px;
  padding-top: 30px;
  padding-bottom: 10px;
  padding-right: 30px;
}

figure {
  transition: transform 1s;
  padding-right: 7px;
  padding-bottom: 7px;
}

figure:hover {
  transform: scale(1.03);
}

.image1,.image2,.image3,.image4,.image5,.image6,.image7,.image8,.image9,.image10,.image11,.image12{
  width:400px;
  height: 300px;
}

.footer {
  color: rgb(64, 151, 83);
}

.whitebox {
  background-color: rgba(255,255,255,0.4);
  padding-bottom: 100px;
}

.name {
  font-family: "Playwrite NO", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: bold;
  padding-bottom: 2px;
  color: rgb(16, 86, 16);
  padding-top: 5px;
}

.description{
  font-family: "Playwrite NZ", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: large;
  line-height: 30px;
  color: rgb(42, 117, 71);
}


/* nav bar */

.topmenu {
	display:block;
    margin: 0 auto;
	justify-content: space-around;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #59f399;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: x-large;
      font-family: "Playwrite NO", cursive;
  font-optical-sizing: auto;
  font-style: normal;
}

ul li a:hover {
  background-color: #4cd681;
}

ul {
  display: flex;
  gap: 260px;
  justify-content: center;
}

/* end of nav bar */

/* google font */

.playwrite-no-font {
  font-family: "Playwrite NO", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  color: rgb(22, 125, 22);
}

.playwrite-nz-font {
  font-family: "Playwrite NZ", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: large;
  line-height: 30px;
  color: rgb(33, 98, 58);
}

.fancyleft {
  width: 670px;
  height: 100px;
  float: left;
}

.fancyright{
  width: 670px;
  height: 100px;
  float: left;
}

h1 {
  font-size: xx-large;
  padding-top: 10px;
  color: rgb(22, 125, 22);
  font-weight: bold;
  text-align: center;
  padding-bottom: 8px;
}

hr {
  color: rgb(194, 239, 196);
  border-width:1px;
  border-style: dashed;
}

p {
  font-size: large;
}

.typeofgame {
  font-family: "Playwrite NZ", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: large;
  line-height: 30px;
  color: rgb(81, 143, 105);
  font-size: medium;
  text-align: center;
}

.arrowleft {
  width: 70px;
  float: left;
  padding-top: 20px;
  padding-left: 15px;
}

.arrowright {
  width: 70px;
  float: left;
  padding-top: 20px;
}

.border {
  width: 1521px;
  height: 50px;
}

.backtotop {
  font-family: "Playwrite NO", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: bold;
  padding-bottom: 2px;
  color: rgb(16, 86, 16);
  padding-left: 150px;
}

video {
  float: right;
  width: 500px;
  height: 260px;
  padding-right: 45px;
  padding-top: 5px;
  padding-bottom: 7px;
}

video[poster] {
  object-fit: cover;
}

.maingameplay {
  padding-right: 560px;
  padding-left: 50px;
  font-family: "Playwrite NZ", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: large;
  line-height: 30px;
  color: rgb(37, 124, 70);
}

.banner {
  width: 100%;
}







/* ------------------------------------------------------------ media queries ------------------------------------------------------------- */





@media screen and (max-width: 640px) {

  .banner {
  display: inline;
  margin: auto;
  width: 100%;
  }

  .border {
    width: 100%;
    height: 20px;
  }

  .fancyleft {
  width: 260px;
  height: 50px;
  float: left;
}

.fancyright{
  width: 260px;
  height: 50px;
  float: left;
}


.arrowleft {
  width: 40px;
  float: left;
  padding-top: 20px;
  padding-left: 15px;
}

.arrowright {
  width: 40px;
  float: left;
  padding-top: 20px;
}

.footer {
  
  font-size: x-small;
}

/* nav bar */

.topmenu {
	display:block;
    margin: 0 auto;
	justify-content: space-around;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 10px 8px;
  text-decoration: none;
  font-size: medium;
    font-family: "Playwrite NO", cursive;
  font-optical-sizing: auto;
  font-style: normal;
}

ul {
  display: flex;
  gap: 60px;
  justify-content: center;
}


/* end of nav bar */



.playwrite-nz-font {
  font-family: "Playwrite NZ", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: large;
  line-height: 15px;
  padding-left: 30px;
  font-size: x-small;
}

.whitebox {
  background-color: rgba(255,255,255,0.4);
  padding-bottom: 60px;
}


/* figure stuff */

.description {
  font-size: small;
}

.container {
    display: grid;
    grid-template-areas: 
        "image1"
        "image2"
        "image3"
        "image4"
        "image5"
        "image6"
        "image7"
        "image8"
        "image9"
        "image10"
        "image11"
        "image12";
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
  gap: 6px;
  padding-left: 100px;
  padding-top: 10px;
  padding-bottom: 5px;
  padding-right: 100px;
}

.typeofgame {
  font-size: smaller;
}

/* main gameplay section (at top) */

video {
  width: 500px;
  height: 260px;
  padding-top: 10px;
  float: center;
  padding-right: 70px;
  padding-bottom: 30px;
}

/* the text hated me so i made it invisible */
.maingameplay {
  display: none;
}



}