body
{
	background-image:url('img/background.png');
	background-size:100%;
	background-repeat:no-repeat;
	background-color:#1d5273;
	font-family: 'Open Sans', sans-serif;
	font-weight:300;
	margin:0;
}

a
{
	color:white;
	text-decoration:none;
}

a:hover
{
	color: #ccc;
}

a:visited:hover
{
	color: #ccc;
}


a:visited 
{
	color: white;
}

div.logoDiv
{
	width:100%;
}

img.logo
{
	width:50%;
	display:block; 
	margin:auto; 
	margin-top:1rem;
}

div.welcome
{
	color:white;
	text-align:center;
	font-size:1.25rem;
	width:62.5%;
	display:block;
	margin:auto;
	
	background-color: rgba(0, 0, 0, 0.5);
	border-radius:8px;
	
	text-shadow: 0 0 5px #000, 0 0 5px #000;
	
	padding:1rem;
}

.welcome p
{
	width:95%; 
	display:block; 
	margin:auto;
	margin-top:0.1rem;
}

.news-section
{
	width:100%;
	background-color: rgba(0, 0, 0, 0.5);
	margin:0;
	padding:0;
	margin-top:1rem;
}

.news-wrapper
{
	position:relative;
	display:flex;
	align-items:center;
	width:65%;
	margin:auto;
}

.news-container
{
	display:flex;
	overflow-x:auto;
	scroll-behavior: smooth;
	gap:10px;
	
	scroll-snap-type: x mandatory;
	scrollbar-width:none;
}

.news-container::-webkit-scrollbar
{
	display:none;
}

.news-card
{
	flex: 0 0 calc(33.333% - 30px);
	scroll-snap-align:start;
	
	color:white;
	
	padding:10px;
	min-width:250px;
}

.news-border
{
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 10px;
	padding:10px;
}

p.news-date
{
	text-align:center;
	font-size:1rem;
	margin:auto;
	margin-top:0.5rem;
	margin-bottom:0.1rem;
}

img.news-image
{
	width:100%;
}

.btn
{	
	background:none;
	border:none;
}

.arrowLeft img
{
	width:32px;
	margin:0;
	margin-right:8px;
	margin-bottom:32px;
	
	transition:0.2s;
}

.arrowLeft img:hover
{
	width:40px;
	margin-right:0;
}


.arrowRight img
{
	width:32px;
	margin:0;
	margin-left:8px;
	margin-bottom:32px;
	
	transition:0.2s;
}

.arrowRight img:hover
{

	width:40px;
	margin-left:0;
}


div.gridHeader
{
	display:block;
	margin:auto;
	font-size:2.5rem;
	color:white;
	text-align:center;
	text-shadow: 0 0 5px #000, 0 0 5px #000;
	margin-top:2rem;
	margin-bottom:0.5rem;
}

.meta {
  display: flex;
  justify-content: space-between; /* pushes items to edges */
  font-size: 0.9em;
  margin-top: 5px;
}

.price {
  text-align: left;
}

.release {
  text-align: right;
  opacity: 0.8; /* optional styling */
}

.bold
{
	font-weight:600;
}

.grid 
{
	color:white;
	font-size:1.25rem;
	width:65%;
	display: flex;
	flex-wrap:wrap;
	justify-content:center;
	margin:auto;
	/*grid-template-columns: repeat(3, 1fr);*/
	gap: 10px;
	
	margin-top:1rem;
}

.game-card {
	background-color: rgba(0, 0, 0, 0.8);
	padding: 10px;
	border-radius: 8px;
	text-align: center;
	width: calc(30% - 10px);
}

.game-card img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.game-card h3 
{
  font-size: 1.2rem;
  margin: 10px 0 5px;
  font-family: Arial;
  
  background-color:#13293a;
  border-radius:6px;
  padding:0.15rem;
}

.game-card p
{
	font-family: 'Open Sans', sans-serif;
	font-weight:300;
	font-size:1rem;
	margin-top:3px;
	margin-bottom:6px;
}

div.footer
{
	display:block;
	margin:auto;
	text-align:center;
	color:white;
	
	margin-top:1.5rem;
}

.video-container
{
	width: 40%; /* 64% */
	/*max-width: 900px;*/ /* optional */
	margin:auto;
	margin-top:1rem;
	margin-bottom:1rem;
	display:block;
	
	border-radius:8px;
	background-color: rgba(0, 0, 0, 0.8);
	padding:8px;
}

.video-container iframe 
{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.videoblurb
{
	color:white;
	text-align:center;
	font-size:1.25rem;
	width:40%;
	display:block;
	margin:auto;
	
	background-color: rgba(0, 0, 0, 0.5);
	border-radius:8px;
	
	text-shadow: 0 0 5px #000, 0 0 5px #000;
	
	padding:1rem;
}

.videoblurb p
{
	width:80%; 
	display:block; 
	margin:auto;
	margin-top:0.1rem;
}

/* SUBSCRIBE BUTTON */
.newsletter-form {
  display: flex;
  flex-direction:row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  width: 25%;
  background-color:rgba(0, 0, 0, 0.25);
  color:white;
}

.newsletter-form button {
  padding: 10px 16px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color:white;
  width:20%;
}

.newsletter-form button:hover {
  background-color: rgba(0, 0, 0, 0.75);
}

.form-message {
  margin-top: 10px;
  font-size: 1rem;
  color: white;
}

/* GIVE AWAY SECTION */
.gridGiveaway
{
	color:white;
	font-size:1rem;
	width:65%;
	display: flex;
	flex-wrap:wrap;
	justify-content:center;
	margin:auto;
	/*grid-template-columns: repeat(3, 1fr);*/
	gap: 10px;
	margin-top:1rem;
}

.giveaway-card-lib 
{
	background-color: rgba(0, 0, 0, 0.8);
	padding: 0px;
	padding-top:2px;
	/*border-radius: 8px;*/
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	
	text-align: center;
	width: calc(18% - 10px);
}

.giveaway-card-header
{
	background-color: rgba(0, 0, 0, 0.8);
	padding: 0px;
	padding-top:3px;
	padding-top:2px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	text-align: center;
	width: calc(18% - 10px);
}

img.giveawayLib
{
	width:98%;
}

h3.giveawayDev
{
	margin-bottom:0.5rem;
	margin-top:0.4rem;
}

/* MOBILE */

@media only screen and (min-width: 900px) 
{
	.mobileOnly
	{
		display:none;
	}
}

@media (max-width: 900px) {
  .grid 
  {
	  	width:95%;
    grid-template-columns: repeat(2, 1fr);
  }
  
    .game-card {
	width: calc(45% - 10px);
  }
  
  .gridGiveaway
	{
		width:100%;
	}
  
  .giveaway-card-lib 
  {
	  width: calc(32% - 10px);
  }
  
  .giveaway-card-header 
  {
	  width: calc(32% - 10px);
  }
  
  
  div.welcome
  {
	  width:85%;
  }
  
  img.logo
  {
	  width:85%;
  }
  
  .video-container
  {
	  width:95%;
  }
  
  .videoblurb
  {
	width:95%;
  }
  
  .news-wrapper
  {
	  width:100%;
  }
  
  .btn
  {
	  display:none;
  }
  
  .desktopOnly
  {
	  display:none;
  }
  
  .newsletter-form
  {
	  flex-direction:column;
  }
  
    .newsletter-form input {
	  width: 85%;
	}
	
	  .newsletter-form button {
	  width: 85%;
	}
}





/* MOBILE */

@media (max-width: 500px) {
  
  /*.grid {
	  width:95%;
    grid-template-columns: 1fr;
  }
  
  .game-card {
	width: calc(90% - 10px);
  }*/
  
    .grid 
  {
	  	width:95%;
    grid-template-columns: repeat(2, 1fr);
  }
  
    .game-card {
	width: calc(45% - 10px);
  }
  
    .gridGiveaway
	{
		width:100%;
	}
  
    .giveaway-card-lib 
  {
	  width: calc(48% - 10px);
  }
  
  .giveaway-card-header 
  {
	  width: calc(48% - 10px);
  }
  
   div.welcome
  {
	  width:85%;
  }
  
  img.logo
  {
	  width:85%;
  }
  
  .video-container
  {
	  width:90%;
  }
  
  .videoblurb
  {
	width:90%;
  }
  
   .news-wrapper
  {
	  width:100%;
  }
  
    .btn
  {
	  display:none;
  }
  
  .desktopOnly
  {
	  display:none;
  }
  
    .newsletter-form
  {
	  flex-direction:column;
  }
  
  .newsletter-form input {
	  width: 85%;
	}
	
		  .newsletter-form button {
	  width: 85%;
	}
}