html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

body{
 	height: 100vh;
 	min-height: 730px;
}

header{
	height: 10%;
	background: #363636;
}

header h1{
	font-size: 30px;
	color: white;
	font-family: 'Patua One', cursive;
	padding: 20px 0px 0px 27px;
}

#menu{
	float: left;
	width: 35%;
	height: 71%;
	margin:auto;
}

#articles{
	float: left;
	width: 65%;
	height: 70%;
}

.article1{
	width: 50%;
	height: 50%;
	float: left;
}

.article2{
	width: 50%;
	height: 50%;
	float: left;
}

.article3{
	width: 50%;
	height: 50%;
	float: left;
}

.article4{
	width: 50%;
	height: 50%;
	float: left;
}

button{
	padding: 8px;
	border-radius: 4px;
	margin: 0px 0px 0px 20px;
}

#articles h2,p{
	margin: 20px 70px 20px 20px;	
}

#articles h2{
	font-size: 40px;
}

.menu{
	width: 90%;
	margin: auto;
	height: 60%;
	background: #EEEEEE;
	list-style: none;
}

.menu li,a{
	text-decoration: none;
	color: black;
	padding: 26px 0px 20px 20px;
}

.navigation{
	display: none;
}

@media (max-width: 1230px) {
.article1 p{
	font-size: 12px;
}
	
.article2 p{
	font-size: 12px;
}	
	
.article3 p{
	font-size: 12px;
}	
	
.article4 p{
	font-size: 12px;
 }	
}

@media (max-width: 768px) {

#articles h2,p{
	margin: 20px 0px 20px 20px;	
	text-align:left;
}
	
#menu{
	display: none;
}
	
#articles{
	width: 95%;	
}
	
.article1{
	width: 95%;
}
	
.article2{
	width: 95%;
}
	
.article3{
	width: 95%;
}
	
.article4{
	width: 95%;
 }
}

@media (max-width: 768px) {

header h1 {
 padding: 20px 0px 0px 75px;
}

.navigation{
	display: block;
}

a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

a:hover
{
  color: tomato;
}

#menuToggle
{
  display: block;
  position: relative;
  z-index: 1; 
  -webkit-user-select: none;
  user-select: none;
  margin: -48px 0px 0px 21px;
}

}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu2
{
  position: absolute;
  width: 100%;
  margin: 21px 0 0 -50px;
  padding: 0px 0px 50px 50px;
  padding-top: 50px;
  background: #EEEEEE;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu2 li
{
  /*padding: 10px 0;*/
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}
	
}