* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
/*   background-color: #82D0E9; */
  font-size: 1em;
  background-color: darkgray;
}


/**********REUSE BASE BASIC CLASSES**********/

/* .grid-test {
  margin-top: 1em;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1em;
} */


.flex-wrap {
  margin-top: 1em;
  display: flex;
  justify-content: space-between;
/*   align-items: start; */
  flex-wrap: wrap;
}

section {
  border-top: 1px solid transparent;
  padding: 1em;
  min-height: 100vh;
  border-bottom: 1px dashed gray;
}

section:nth-child(odd) {
  background-color: #82D0E9;
}

section:nth-child(even) {
 background-color: #1b7694;
}

h2 {
  font-size: 2em;
  width: 95%;
  border-bottom: 1px solid black;
  margin-top: 0.5em;
}

a:link,
a:visited {
  text-decoration: none;
  transition: all 0.1s;
}

/*****HEADER AREA*******/

header {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.5em;
  align-items: center;
  justify-content: space-between;
  padding: 0.55em;
  background-color: darkgray;
  width: 100%;
  z-index: 1000;

  position: fixed;
  top: 0;
  left: 0;
  border-bottom: 2px solid black;
}

.header-expand-btn {
  display: none;
  font-size: 1.2em;
  color: #17637d;
  position: fixed;
  top: 0;
  width: 25em;
  left: 50%;
  transform: translateX(-50%);
  background-color: darkgray;
  border: 1px solid black;
  border-top: none;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  text-align: center;
  cursor: pointer;
  padding: 1em;
  z-index: 980;
}

.links-group {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.links-group a {
  margin: 0 0.3em
}

header a:link,
header a:visited {
  color: #17637d;
}

header a:hover {
  color: #3b3b3b;
}

.play-game-btn {
  color: #333 !important;
  border: 1px solid blue;
  font-size: 1em;
  padding: 0.5em;
  background-color: orange;
  text-align: center;
  cursor: pointer;
}


/***************************/
/***************************/
/***************************/

.landing-page {
  padding-top: 5.6em;
}

h1 {
  font-size: 2.6em;
  margin-bottom: 1.5em;
  text-align: center;
}

video {
  border: 1px solid black;
  max-height: 90%;
  max-width: 90%;
}

.video-area {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
/*   background-color: #1b7694; */
  padding: 1em;
/*   border-radius: 20px; */
  width: 100%;
}

.about-text {
/*   flex-grow: 1; */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  font-size: 1.8em;
  color: #ddd;
  margin-top: 0.4em;
  width: 25em;
}

.about-text p {
  margin: 1em 0;
}

.about-img {
/*   border: 1px solid black; */
  flex-grow: 1;
  max-width: 30em;
}

.about-img img {
  width: 90%;
}

.game-gallery-section {
/*   background-color: #82D0E9; */
  display: flex;
  flex-direction: column;
}

.gallery-area {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
/*   background-color: pink; */
}

.photo-holder {
  margin-top: 2em;
  position: relative;
  width: 80%;
/*   margin-left: 10%; */
  display: flex;
/*   justify-content: center; */
  flex-direction: column;
  align-items: center;
  background-color: gray;
}

.img-holder {
  height: 80%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.img-holder img {
  max-height: 98%;
  max-width: 98%;
  border: 1px solid black;
  transition: opacity 0.5s;
}

/* .img-holder img */

.btn-holder {
/*   position: absolute; */
  display: flex;
  justify-content: space-around;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.3em;
  background-color: darkgray;
}

.btn-holder button {
  width: 6em;
  padding: 0.3em;
  background-color: #7a7af8;
  border: 1px solid #6e6ee0;
  border-radius: 10px;
  transition: 0.1s;
  cursor: pointer;
  font-size: 1.5em;
  color: #ddd;
}

.btn-holder button:hover {
  color: #fff;
}

.btn-holder button:active {
  transform: scale(0.9);
}



/*****CREATOR PAGE***********************/

.creators-page {
  display: flex;
  flex-direction: column;
}


.creators-area {
  margin-top: 1em;
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 1em;
}

.cards-box {
   display: flex;
  justify-content: space-around;
  width: 100%;
  flex-wrap: wrap;
  gap: 1em;
}

.creator-card {
  font-size: 1.5em;
  background-color: #aaa;
  border-radius: 20px;
  padding: 0.4em;
  width: 25em;
}

.creator-card p {
  margin-top: 0.8em;
}

.creator-card > div {
  display: flex;
  align-items: center;
  font-size: 1.2em;
/*   padding: 0.3em; */
  border-bottom: 1px solid black;
}

.creator-card img {
  width: 3em;
  height: 3em;
  border-radius: 100vh;
  border: 1px solid darkblue;
  margin: 0 .5em .3em 0;
}


/**GAME DEVELOPMENT AREA******************/

.game-dev-page {
  position: relative;
  display: flex;
  flex-direction: column;
  color: #ccc;
}

.game-dev-page h2 {
  border-color: #ddd;
  margin-bottom: 1em;
}

.game-dev-page > * {
  z-index: 70;
}

.code-backdrop {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(6px);
  background-image: url(images/code.png);
  background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
  background-attachment: fixed;
}

.game-dev-area {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  color: #ccc;
}

.game-dev-area p {
  max-width: 40em;
}


/****PLAY GAME AREA*****/

.play-game-area {
  display: flex;
  min-height: unset;
  justify-content: center;
  padding: 2em;
  background-color: #054459;
}

.play-game-area a {
  padding: 1em;
  font-size: 1.5em;
  border-radius: 50px;
  width: 80%;
}

.play-game-area a:hover {
  color: #111 !important;
}

.unmute-video-screen {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #444d;
  color: #ddd;
  font-size: 2.2em;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/******FOOTER******************/

footer {
  background-color: #222;
  color: #aaa;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.5em;
}

footer > * {
  margin: 0.25em 0;
}

footer a:link,
footer a:visited {
  color: #bbb;
}

footer a:hover {
  color: #eee;
}


/*****MEDIA QUERRIES*********/


@media only screen and (max-width: 925px) {
  .photo-holder {
    width: 95%;
  }
  header {
    justify-content: center;
  }
  .play-game-btn {
    margin-top: 0.6em;
    width: 90%;
    border-radius: 50px;
  }
  .landing-page {
    padding-top: 10em;
  }
}

@media only screen and (max-width: 500px) {
  .photo-holder {
    width: 100%;
  }
  section {
    padding: 0.8em;
  }
}
