﻿body {
 background-image:url('images/bg_cg_trans.png');
 background-color: grey;
 text-align:center;
width: 100%;
margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
  padding-bottom: 90px;

}


.formtext {color:black;
}

/*------------------------PC  SCREEN------------------------*/

@media screen and (min-width: 750px) {
.grid-container {
	display: grid;
	grid-template-columns: 30vw 30vw 28vw;
  	gap: 10px;
	padding: auto;
	max-width: 100%;
	justify-content: center;
  }  

 
  .item1 {
  grid-column-start: 1;
  grid-column-end:4;
}

.item2 {
  grid-column-start: 1;
  grid-column-end: 4;
}

.frontimg{
  max-width: 300px;
  max-height: 450px;
  width:30vw;
  height: auto;

  }
  
  .gamepageimg{
  max-width: 300;
  max-height: auto;
  width:30vw;
  height: auto;

  }


.fphead{
    color: white;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 20px;
	text-align: center;
	background-color: black;
	opacity: 0.5;
	max-width: 300px;
	padding: 5px 5px 5px 5px; 
}

.fptext{
 color: #ffffcc;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
	padding: 5px 5px 5px 5px;
    max-width: 300px;
    background-image: linear-gradient(rgba(200, 200, 200, 0.5) 30%, transparent, grey), url('images/grass.png');
	background-position:center;
	background-repeat:repeat;
	width: auto;
	height: auto;
}


.grid-container > div {
  text-align: center;
  padding: 10px 10px 10px 10px;
  font-family:Arial, Helvetica, sans-serif;
  margin: auto;
  vertical-align:top;
  height: auto;
 
  }

.iframecontainer {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
 padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  max-width: 300px;
  }

}

/*------------------------PHONE SCREEN------------------------*/

@media screen and (max-width: 749px){

.grid-container {
width: 100%;
  grid-template-columns: 1fr;
 gap: 20px;
place-content: center;
   }
  
.item1 {
  grid-column-start: 1;
  grid-column-end:1;
}

.item2 {
  grid-column-start: 1;
  grid-column-end: 1;
}


.frontimg{
  max-width: 300px;
  max-height: 450px;
  width:80vw;
  height: auto;

  }
.fphead{
    color: white;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 18px;
	text-align: center;
	background-color: black;
	opacity: 0.5;
	width: 100%;
	padding: 5px 5px 5px 5px; 
}


.fptext{
 color: #ffffcc;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
	padding: 5px 5px 5px 5px;
    width: 100%;
    background-image: linear-gradient(rgba(200, 200, 200, 0.5) 30%, transparent, grey), url('images/grass.png');
	background-position:center;
	background-repeat:repeat;
	height: auto;

    
}

.gptext{
 color: #ffffcc;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 14px;
	text-align: center;
	padding: 5px 5px 5px 5px;
    width: 100%;
    background-image: linear-gradient(rgba(200, 200, 200, 0.5) 30%, transparent, grey), url('images/grass.png');
	background-position:center;
	background-repeat:repeat;
	height: auto;

    
}


.grid-container > div {
    width: 100vw;
     margin: auto;
    justify-content: center;
    text-align: center;


}

.iframecontainer {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
 padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  max-width: 95vw;
  text-align: center;
  }

  









}

/*----------------------responsive-----------------------*/

.responsive {
	  width: 80vw;
	  max-width: 80vw;
	  height: auto;
}
.responsivehalf {
	  width: auto;
	  max-width: 300px;
	  height: auto;
}


/*----------------------MainText_Header-----------------------*/

.mthead{
    color: black;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 32px;
	text-align: center;
		background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,255,255,1), rgba(255,0,0,0));
	opacity: 0.5;	
	padding: 5px 5px 5px 5px; 
}

.text{
    color: #ffffcc;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 18px;
	text-align: center;
	padding: 25px 25px 25px 25px; 
	width:auto;
		}
.textcaptions{

    color: #ffffcc;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 18px;
	text-align: center;
	width: 100vw;
	font-weight: bold;
	font-style: italic;
	text-align: center;
	background-color: #805500;
	
		}
/* If the screen size is 601px wide or more */
@media screen and (min-width: 601px) {
  div.text{
    font-size: 18px;}
  }
  @media screen and (min-width: 601px) {
  div.textcaptions{
    font-size: 18px;
  }
}

/* If the screen size is 600px wide or less */
@media screen and (max-width: 600px) {
  .text{
    font-size: 18px;}
  }
  @media screen and (max-width: 600px) {
  .textcaptions{
    font-size: 12px;
  }}


/*----------------------bg_styles------------------------*/
.bgtop {
	background-image:url('images/poalalogo_full.png');
	background-position:center;
	background-repeat:no-repeat;
	
}
.bgtext{
	background-image: linear-gradient(rgba(200, 200, 200, 0.5) 30%, transparent, grey), url('images/grass.png');
	background-position:center;
	background-repeat:repeat;
	width: auto;
	max-width: 300px;

	height: auto;
	text-align: center;
	
}

/*----------------------footerstyles------------------------*/

.footerbar {
	padding-top: 15px;
	padding-bottom: 5px;
    text-align: center;
    width: 100vw;
    font-size: large;
    color: gray;
    font-style: italic;
    font-family:Arial, Helvetica, sans-serif;
    background-color: black;
    position:absolute;
    bottom: 0;
    height:80px;	
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/*--------carousel-------------*/


section {
 
  padding: 10px 0;
}

.container {
  max-width: 50vw;
  margin: 0 auto;
  padding: 2px 2px;
}

.carousel {
  display: block;
  text-align: center;
  position: relative;
  margin-bottom: auto;
}
.carousel > input {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}
.carousel > input:nth-of-type(6):checked ~ .carousel__slides .carousel__slide:first-of-type {
  margin-left: -500%;
}
.carousel > input:nth-of-type(5):checked ~ .carousel__slides .carousel__slide:first-of-type {
  margin-left: -400%;
}
.carousel > input:nth-of-type(4):checked ~ .carousel__slides .carousel__slide:first-of-type {
  margin-left: -300%;
}
.carousel > input:nth-of-type(3):checked ~ .carousel__slides .carousel__slide:first-of-type {
  margin-left: -200%;
}
.carousel > input:nth-of-type(2):checked ~ .carousel__slides .carousel__slide:first-of-type {
  margin-left: -100%;
}
.carousel > input:nth-of-type(1):checked ~ .carousel__slides .carousel__slide:first-of-type {
  margin-left: 0%;
}
.carousel > input:nth-of-type(1):checked ~ .carousel__thumbnails li:nth-of-type(1) {
  box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(2):checked ~ .carousel__thumbnails li:nth-of-type(2) {
  box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(3):checked ~ .carousel__thumbnails li:nth-of-type(3) {
  box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(4):checked ~ .carousel__thumbnails li:nth-of-type(4) {
  box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(5):checked ~ .carousel__thumbnails li:nth-of-type(5) {
  box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(6):checked ~ .carousel__thumbnails li:nth-of-type(6) {
  box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}

.carousel__slides {
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  display: flex;
}

.carousel__slide {
  position: relative;
  display: block;
  flex: 1 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: all 300ms ease-out;
  vertical-align: top;
  box-sizing: border-box;
  white-space: normal;
}
.carousel__slide figure {
  display: flex;
  margin: 0;
}
}
.carousel__slide figure2 {
  display: flex;
  margin: 0;
}
.carousel__slide div {
  position: relative;
  width: 100%;
}
.carousel__slide div:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 66.6666666667%;
}
.carousel__slide div > img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 90%;
}
.carousel__slide img {
  display: block;
  flex: 1 1 auto;
  object-fit: cover;
}


.carousel__slide.scrollable {
  overflow-y: scroll;
}

.carousel__thumbnails {
  list-style: none;
  padding: 0;
  
  display: flex;
  margin: 0 10px;
}
.carousel__slides + .carousel__thumbnails {
  margin-top: auto;
}
.carousel__thumbnails li {
  flex: 1 1 auto;
  max-width: calc((100% / 9));
  margin: 0 10px;
  transition: all 300ms ease-in-out;
}
.carousel__thumbnails label {
  display: block;
  position: relative;
}
.carousel__thumbnails label:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 100%;
}
.carousel__thumbnails label > img {
  position: absolute;
  top: 0;
  left: 10;
  right: 10;
  bottom: 10;
  width: 100%;
  height: 100%;
}
.carousel__thumbnails label:hover, .carousel__thumbnails label:focus {
  cursor: pointer;
}
.carousel__thumbnails label:hover img, .carousel__thumbnails label:focus img {
  box-shadow: 1px 1px 3px 3px rgba(0, 0, 0, 0.25);
  transition: all 300ms ease-in-out;
}
.carousel__thumbnails img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  
 } 
  
  /* ------------------------10------------------------------
   */
 .button {position: relative;
  background-color: grey;
  border: none;
  font-size: 16px;
  font-weight:bold;
  color: white;
  padding: 6px;
  width: auto;
  text-align: center;
  transition-duration: 0.4s;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  border: .5px black;
  transition: opacity 300ms cubic-bezier(.694, 0, 0.335, 1),background-color 100ms cubic-bezier(.694, 0, 0.335, 1),color 100ms cubic-bezier(.694, 0, 0.335, 1);
  touch-action: manipulation;
  
}

 .button a{position: relative;
   font-size: 16px;
  font-weight:bold;
  color: white;
   transition-duration: 0.4s;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  opacity: 1;
  border: .5px black;
  transition: opacity 300ms cubic-bezier(.694, 0, 0.335, 1),background-color 100ms cubic-bezier(.694, 0, 0.335, 1),color 100ms cubic-bezier(.694, 0, 0.335, 1);
  touch-action: manipulation;
  
}

.button:after {
  content: "";
  background: #f1f1f1;
  display: block;
  position: absolute;
  padding-top: 300%;
  padding-left: 350%;
  margin-left: -20px !important;
  margin-top: -120%;
  opacity: 0;
  transition: all 0.8s;
  background-color: #FFFFFF;
}
.button:hover {
opacity: 1;
color: #00ff00;
}

.button:active:after {
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: 0s
}

.button:before {
  animation: opacityFallbackOut .5s step-end forwards;
  backface-visibility: hidden;
  background-color: #cc00cc;
  clip-path: polygon(-1% 0, 0 0, -25% 100%, -1% 100%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateZ(0);
  transition: clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1), -webkit-clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1);
  width: 100%;
}

.button:hover:before {
  animation: opacityFallbackIn 0s step-start forwards;
  clip-path: polygon(0 0, 101% 0, 101% 101%, 0 101%);
}



.button span {
  z-index: 1;
  position: relative;
}