/* @NOTE: shader for when hovered over a button? like the rainbow one I made */
html {
  height : fit-content;
}
body {
  margin : 0;
  background: rgb(26, 24, 29);
}

header h1 {
  color: rgb(215, 205, 180);
  text-align: center;
}

/*
body {
  background: rgb(26, 24, 29);
  padding :0;
  margin : 0;
  position : relative;
  width: 100%;
  height : 100vh;

  display: flex;
  flex-direction: column;
}
*/

#site-container {
    display:inline;
    width: 100vh;
    height : 100vh;
}

/* To overide the ugly default hyperlink coloring that this element implicitly inherits*/
a {
    color : inherit;
}

#grid-region {
  flex : 1;

  display : grid;
  place-items : center;
}

/* PORTFOLIO */
/* @TODO: figure out how to use css grids and remove masonry */
.grid {
    width : 80%;
}

.grid-item {
		min-height : 100px;
    width : 292px;

    text-align: center;
    font-size: 22px;
    margin-top: 10px;
    font-weight: bold;

    transition: 0.3s;

    box-shadow : 10px 10px 30px rgba(0,0,0,0.5);
}

.grid-item:hover {
    cursor: pointer;
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
  /*
    width: 100%;
    height: 100%; 

    position: fixed;
  position: absolute ; 
    object-fit: cover;

  padding-top: 100px; 

  overflow: hidden; 
  padding : 10%;
   */

  overflow: auto; /* Enable scroll if needed */

  left: 0;
  top: 0;

  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    padding-top : 30px;
    margin: auto;
    width: auto;
    height :  90vh;
    display: block;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
#close-button {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#close-button:hover,
#close-button:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 50px;

  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Slide in 
li:nth-child(2) a {
  overflow: hidden;
}

li:nth-child(2) a::after {
  opacity 1;
  transform: translate3d(-100%, 0, 0);
}

li:nth-child(2) a:hover::after,
li:nth-child(2) a:focus::after{
  transform: translate3d(0, 0, 0);
}


/* === PROJECT NAVIGATION === */
.projects {
    background-size : cover;
}
.projects ul {
    list-style : none;
    padding : 0;
    margin : 0;
}
.projects ul li {
    display : inline;
}

/* === VIDEO === */
.hero-media {
    width: 100%;
    height: 100%; 
    overflow: hidden;
}

.hero-media video {
    z-index: -1;

    width: 100%;
    height: 100%; 

    object-fit: cover;
    position: absolute;
}

.button-container h1 {
    font-size : 100pt;
}

.button-container h2 {
    font-size : 40pt;
    margin-bottom : 10px;
}

/* @TODO: animate the text dropping downfrom the top to the current position set here */
.button-container {
    position:absolute; 
    min-height : 100%;
    width : 100%;
    display : block;

    align-items : center;
    text-align : center;

    background-color : rgba(0, 0, 0, 0.5);

    opacity : 0.0;
    transition : ease-out 0.5s;
}

.button-container:hover {
    opacity : 1.0;
}

.buy-game {
    width : 300px;
    height : 100px;
    border : none;
    color : white;
    background-color : rgb(255, 0, 68);

    border-radius : 4px;
    box-shadow : inset 0 0 0 0 rgb(255, 255, 0);
    transition : ease-out 0.3s;

    font-size : 40pt;
    outline : none;

    text-decoration : none;
}

.buy-game:hover {
    color : black;
    cursor : pointer;

    box-shadow : inset 300px 0 0 0 rgb(255, 255, 0);
}

/*@NOTE: may wanna break this out into it's own css file */
/* STORE */
.grid-layout {
    position : absolute;
    top : 10%;

    align-items : center;
}

.grid-product {
    align-items : center;
    text-align : center;

    width : 291px;
    height : fit-content;

    display : inline-block;
    margin : 10px;
    padding-top : 20px;
    /*
    width : fit-content;
    width : 291px;
    height : 440px;
    */
}

.grid-product:hover {
    cursor : pointer;

}

/*@TODO: figure out how this will respect the ascpect ratio of wide items*/
.thumbnail {
    height : 440px;
    width : 100%;
}

/* STORE PAGE */
.product-info-container {
    display : flex;
    flex-direction : row;
    width : fit-content;
    height : fit-content;
}

.product-images {
    width : 100px;
    height : fit-content;

    display : block;
}

/*@NOTE: doesnt work
.product-image:hover {
    cursor:zoom;
}
*/

.product-images img {
    width : 100px;
    height : auto;
}

.product-options-container{
    display : flex;
    flex-direction : column;
    width : fit-content;
    height : fit-content;

    align-items : center;
    text-align : center;
}

.product-options-container h1 {
    font-size : 40pt;
    margin-bottom : 10px;
}

.product-options-container h2 {
    margin-top : 0;
    margin-bottom: 100px;
    font-size : 20pt;
}


.sizing-options {
    display : inline;
    width : 400px;
    height : fit-content;
    padding : 0;

    list-style : none;
}

.sizing-options li {
    display : inline;
}

.buying-options {
    display : block;
    width : 400px;
    height : fit-content;
    padding : 0;

    list-style : none;

}

.buying-options button {
    width : 300px;
    height : 100px;
    border : none;
    color : white;
    background-color : rgb(255, 0, 68);

    border-radius : 4px;
    box-shadow : inset 0 0 0 0 rgb(255, 255, 0);
    transition : ease-out 0.3s;

    font-size : 40pt;
    outline : none;
}

.buying-options button:hover {
    cursor : pointer;
}

/* Contact Page */
#form-submit-container {
	width : 80%;
	height : 100vh;

	display : grid;
	place-items : center;
}

#form-submit-container form {
	width : 90%;
	max-width : 800px;
}

.input-group {
	margin-bottom : 30px;
	position: relative;
}

.input-group select {
	width : 100%;
	padding : 10px;
	outline : 0;

	font-size : 15px;

	background-color : #454545;
	color : white;
}

.input-group input, .input-group textarea {

	width : 100%;
	padding : 10px;
	outline : 0;

	font-family : sans-serif;
	font-size : 15px;

	background-color : #454545;
	color : white;
}

.input-group label {
	left : 0;
	top : -30px;
	height: 100%;
	position: absolute;
	font-size : 14px;
	padding : 10px;
	color : white;
	cursor : text;
  font-weight: bold;

	transition: 0.2s;
}

#form-submit-container button {
	padding: 10px 0;
	outline: none;

	background-color : #454545;
	border: 1px solid #fff;
	width: 100%;
	cursor: pointer;

  color: #f1f1f1;
  font-size: 20px;
  font-weight: bold;

  transition: 0.3s;
}

#form-submit-container button:hover,
#form-submit-container button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
	background-color : white;
}
