* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body, html {
	height: 100%;
	background-color: #111111;
  }

a {
	color: #ddeaaf;
	text-decoration: underline;
}

a:hover {
  text-decoration: underline;
  color: #ffe600;
  transition: all 0.3s ease-in-out;
}

h1 {
	font-family: "Ysabeau SC", serif;  
  font-weight: 500;
  font-style: normal;
  font-size: 1.5em;
}

h1::selection {
	background-color:#4d0070;
	color: #fff;
	

}


.container {
  display: grid; 
  grid-template-columns:  200px 500px 500px 500px 1fr;
  grid-template-rows: 200px 1fr 1fr; 
  gap: 0px 0px; 
  animation: blur-effect 0.6s ease-in forwards;
  }



@keyframes blur-effect {
	0% {transform: translateY(-100%); filter: blur(10px); }
	100% {transform: translateY(0%); filter: blur(0px);}
	
}

.header {
	background-color: #222;
	color: #ffee00;
	display: flex;
	flex-direction: column;
}

.info {
	display: flex;
	align-items: center;
	justify-content: center;
	justify-items: center;	
	background-color: #222;
	color: #eee;
	font-family: sans-serif;
	text-align: center;
	padding:2em 2em;
}

.info ::selection {
	background-color:rgba(255,226,0,1);
	color: #000;

}

main {
	background-color: rgba(0, 0, 0, 0.8);
	padding: 2em 2em;
}

.math {
	grid-row: 2;
	grid-column: 2;
	background-image: url(img/math/01math.jpg);
	background-attachment: fixed;
	background-size: cover;
	background-position: center;

}


.stories {
	grid-row: 2;
	grid-column: 3;
	background-image: url(img/stories/01stories.jpg);
	background-size: cover;
	background-position: center;
}


.other {
	grid-row: 2;
	grid-column: 4;
	background-image: url(img/other/03other.jpg);
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
}

@media only screen and (max-width: 1600px) {
	.container {
  	display: grid;
	  grid-template-columns:150px 500px 500px 1fr;
	  grid-auto-flow: column;
  
  	
  }

  .header {
  	grid-row: 1;
		grid-column: 1;
		max-width: 150px;
		align-items: center;
		justify-content: center;


  }

  .math {
		grid-row: 2;
		grid-column: 2;
	

}

  .stories {
		grid-row: 2;
		grid-column: 3;
		
}

.other {
	grid-row: 3;
	grid-column: 2; 
}

@media only screen and (max-width: 830px) {
	.container {
  	display: grid;
	  grid-template-columns:100vw;
	  grid-auto-flow: column;
	}

  main {
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2em 4em;
}

  .header {
  	grid-row: 1;
		grid-column: 1;
		max-width: 100vw;
		align-items: center;
		justify-content: center;


  }

  .math {
		grid-row: 2;
		grid-column: 1;

}


  .stories {
		grid-row: 3;
		grid-column: 1;
}
		


.other {
	grid-row: 4;
	grid-column: 1; 
}

