* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after {
  box-sizing: border-box;
}


body {
  background-color: #dfdbdb;
  font-family: 'karla', sans-serif;
  font-weight: 400;
  height: 100%;
  width: 100%;

}

.results {
	color: black;
	position: inherit;

}

header {
	background-color: #363535;
	color: #dfdbdb;
	position: fixed; /* fixed */
	z-index: 999;
	width: 100%;
	text-align: center;
	height: 10vh;
	top: 0;

}

header h1 a {
	text-decoration: none;
	color: inherit;
}
.logo {
	height: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.logo a {
	padding-right: 1rem;
}


/*header img {
	position: absolute !important;
  top: 0 !important;
  left: 0 !important;
	margin-left: 1em;
}*/

.hamburger-btn {
	position: absolute;
	z-index: 999;
	display: inline-block;
	cursor: pointer;
	top: 0;
	left: 0;
	margin-left: 1em;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;

}

.line1, .line2, .line3 {
	width: 35px;
	height: 5px;
	background-color: #dfdbdb;
	margin: 3px 0;
	transition: 0.3s;
}


.change .line1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .line2 {opacity: 0;}

.change .line3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

nav {
	position: absolute;
	text-align: left;
	top: 100%;
	left: 0;
	background: #363535;
	width: 100%;
		/*transform: scale(0,1);*/
	transition: transform 400ms ease-in-out;
	transform-origin: top;
}

.nav-bar  {
	display: none;
}

.nav-bar .visible  {
	display: block;

}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

nav li {
	margin-bottom: 1em;
	margin-left: 1em;
}

nav a {
	color: #dfdbdb;
	text-decoration: none;
	font-size: 1.2rem;
	text-transform: uppercase;
}

nav a:active {
	-webkit-tap-highlight-color: transparent;
}

main {
	margin-top: 10vh;
	margin-bottom: 5vh;
}


/* Left column */
.leftcolumn {   
  float: center;
  width: 100%;
  display: grid;
  /*grid-template-columns: 1fr 2fr 1fr;*/
}

/* Article image */
.articleimg {
  /*background-color: #dfdbdb;*/
  width: 100%;
  /*padding: 1rem;*/
  /*color: black;*/
  display: flex;
  justify-content: center;
}

/* Add a card effect for articles */
.card {
   background-color: #dfdbdb ;
   padding: 1rem;
   margin-top: 1rem;
   /*grid-column: 2 / 3;*/
   color: #363535;
   display:flex;
   flex-direction: column;	
   justify-content: space-between;
   border: 1px solid #ccc;
    border-radius: 5px;
    /*padding: 4px; */
    box-shadow: 0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23);
    width: 100%;
}

.card , h5, p {
	margin-top: 0.5rem;
}

.card a {
	text-decoration: none;
	color: inherit;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

code {
	background-color: rgba(0, 0, 0, .05);
	border-radius: 3px;
	padding: 2px 4px
}

hr {
	border: 0;
	border-top: 1px solid hsla(0, 0%, 50%, .33);
	margin: 2em 0
}

pre>code {
	background-color: rgba(0, 0, 0, .05);
	display: block;
	padding: .5em;
	-webkit-text-size-adjust: none;
	overflow-x: auto;
	white-space: pre
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em
}
code,
pre,
samp {
	font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
	font-size: .85em
}
pre {
	margin-bottom: 10px;
}

code *,
pre *,
samp * {
	font-size: inherit
}

.article-style {
	grid-column: 2/3;
	display: grid;
	grid-row-gap: 10px;
	padding: 1rem;

}

@media screen and (min-width: 800px) {
	.hamburger-btn {
		display: none;
	}

	.nav-bar  {
		display: contents;
	}

	header {
	    background: #363535;
	    color: #dfdbdb;
	    /* position: fixed; */
	    z-index: 999;
	    width: 100%;
	    text-align: center;
	    display: grid;
	    height: 10vh;
	    grid-template-columns: 1fr auto minmax(600px, 2fr) 1fr;
	}

	.logo {
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
	}

	nav ul {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	nav li {
    margin-bottom: 0;
    margin-left: 2em;
	}


/* Left column */
.leftcolumn {   
  float: center;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}

/* Article image */
.articleimg {
  /*background-color: #dfdbdb;*/
  width: 100%;
  /*padding: 1rem;*/
  /*color: black;*/
  display: flex;
  justify-content: center;
}

/* Add a card effect for articles */
.card {
   background-color: #dfdbdb ;
   padding: 1rem;
   margin-top: 1rem;
   grid-column: 2 / 3;
   color: #363535;
   display:flex;
   flex-direction: column;	
   justify-content: space-between;
   border: 1px solid #ccc;
    border-radius: 5px;
    padding: 4px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.19),0 6px 6px rgba(0,0,0,0.23);
    max-width: 800px;
}

.card , h5, p {
	margin-top: 0.5rem;
}

.card a {
	text-decoration: none;
	color: inherit;

}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

	/*.rightcolumn {   
    width: 100%;
    padding: 0;
  }*/
	
}