@font-face { font-family: PressStart; src: url('PressStart2P-vaV7.ttf');}

header {
	top: 0px;
}

header a {
	float: left;
	display: block;
	/* color: #f2f2f2; */
	color: #FBE9D1;
	text-decoration: none;

}

body {
	margin: 0;
    display: grid;
	/* font-family: PressStart, sans-serif;	 */
}



header ul,footer ul {
	list-style: none;
	margin: 0;
	display: block;
	margin-left: auto;
    margin-right: auto;
}

main ul {
	color: #FBE9D1;
}

header,footer {
	/* background-color: #333; */
	background-color: #244855;
	width: 100%;
	position:fixed;
	font-size: small;
}

main a, footer a {
	/* color: rgb(255, 251, 0); */
	color: #E64833;
}

article {
	margin-top: 5vw;
	margin-bottom: 5vw;
}

article section {
	margin-bottom: 50px;
}



section {
	display: grid;
	align-items: center;
	margin-left: 10px;
	margin-right: 10px;
	background-color: #90AEAD;
	box-shadow: 5px 5px 5px #24485552;
	/* border-radius: 5px; */
}

main {
	margin-top: 3em;
}

p {
	/* font-family: PressStart, sans-serif; */
	color: #FBE9D0;
}

h1, h2 {
	padding-left: 15px;
	color: #244855;
}

h3, details > summary {
	color: #FBE9D1;
	text-shadow: 3px 3px 3px #244855;
	/* font-family: PressStart, sans-serif;	 */
}

/* Footer from here */


footer {
	bottom: 0px;
	text-align: center;
}

/* MEDIA FROM HERE */

@media (min-width: 90em) {
	body {
			grid-template-columns: 1fr 3fr 1fr;
		}
	main {
		grid-column: 2;
	}
	h1 {
		font-size:x-large;
	}
	h2 {
		font-size:larger;
	}
	h3, details > summary {
		font-size:large;
	}
	p, main ul  {
		font-size:medium;
	}
	img {
		/* border-radius: 5px; */
		min-width: 100%;
		max-height: 300px;
		object-fit: cover;
	}
}

@media (min-width: 60em) {
	body {
    grid-template-rows: auto 1fr 100px;
	}
	section {
		display: grid;
		align-items: center;
		grid-template-columns: 1fr 1fr 1fr;
	}
	picture-right {
		text-align: right;
	}
	text-left {
		grid-column: 1 / 3;
		padding: 5%;
	}
	
	text-right {
		grid-column: 2 / 4;
		padding: 5%;
	}
	h1 {
		font-size:x-large;
	}
	h2 {
		font-size:larger;
	}
	h3, details > summary {
		font-size:large;
	}
	p, main ul {
		font-size:medium;
	}
}

@media (max-width: 60em) {
	body {
    grid-template-rows: auto 1fr 100px;
	max-width: 100%;
	}
	section {
		display: grid;
		align-items: center;
	}
	.logo {
		margin-left: auto;
		margin-right: auto;
	}
	picture-right {
		grid-column: 1 / 3;
		text-align: center;
	}
	picture-left {
		grid-column: 1 / 3;
		text-align: center;
	}
	text-left {
		grid-column: 1 / 3;
		/* padding-left: 15px; */
		/* text-align: center; */
		padding: 2%;
	}
	
	text-right {
		grid-column: 1 / 3;
		padding: 2%;

	}
	h1 {
		font-size:large;
	}
	h2 {
		font-size:medium;
	}
	h3, details > summary {
		font-size:small;
	}
	p, main ul  {
		font-size:smaller;
	}
	img {
		/* border-radius: 5px; */
		min-width: 100%;
		max-height: 100px;
		object-fit: cover;
	}
}


/* HAMBURGER MENU FROM HERE */

* {
	font-family: PressStart, sans-serif;
	box-sizing: border-box;
  }
  
  .top-nav {
	/* display: flex; */
	/* flex-direction: row; */
	/* align-items: center; */
	/* justify-content: space-between; */
	background-color: #244855;
	
	/* background: linear-gradient(to left, #f46b45, #eea849); */
	/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	/* color: #FFF; */
	height: 50px;
	/* padding: 1em; */
  }
  
  .menu {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	margin: 0;
	padding: 0;
  }
  
  .menu > li {
	margin: 0 1rem;
	overflow: hidden;
  }
  
  .menu-button-container {
	display: none;
	height: 100%;
	width: 30px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
  }
  
  #menu-toggle {
	display: none;
  }
  
  .menu-button,
  .menu-button::before,
  .menu-button::after {
	display: block;
	background-color: #fff;
	position: absolute;
	height: 4px;
	width: 30px;
	transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
	border-radius: 2px;
  }
  
  .menu-button::before {
	content: '';
	margin-top: -8px;
  }
  
  .menu-button::after {
	content: '';
	margin-top: 8px;
  }
  
  #menu-toggle:checked + .menu-button-container .menu-button::before {
	margin-top: 0px;
	transform: rotate(405deg);
  }
  
  #menu-toggle:checked + .menu-button-container .menu-button {
	background: rgba(255, 255, 255, 0);
  }
  
  #menu-toggle:checked + .menu-button-container .menu-button::after {
	margin-top: 0px;
	transform: rotate(-405deg);
  }

  /* @media (min-width: 90em) {
	.top-nav {
		;
	}
} */
  
  @media (max-width: 90em) {
  .menu-button-container {
	  display: flex;
	}
	.top-nav {
		justify-content: space-between;
		display: flex;


	}
	.menu {
	  position: absolute;
	  top: 0;
	  margin-top: 50px;
	  left: 0;
	  flex-direction: column;
	  width: 100%;
	  /* width: 60%; */
	  justify-content: center;
	  align-items: center;
	}
	#menu-toggle ~ .menu li {
	  height: 0;
	  margin: 0;
	  padding: 0;
	  border: 0;
	  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}
	#menu-toggle:checked ~ .menu li {
	  border: 1px solid #333;
	  height: 2.5em;		
	  /* max-width: 60%; */
	  padding: 0.5em;
	  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
	}
	.menu > li {
	  display: flex;
	  justify-content: center;
	  margin: 0;
	  padding: 0.5em 0;
	  width: 100%;
	  color: white;
	  background-color: #244855;
	}
	.menu > li:not(:last-child) {
	  border-bottom: 1px solid #444;
	}
  }