@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  html { font-family: 'Inter var', sans-serif; }
}

html {
	font-size:18px;
	box-sizing: border-box;

}

body {
    color: #333;
    text-align: left;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,.004);
    position: relative;
    text-rendering: optimizelegibility;
    padding:0;
    margin:0;
}

nav {
	background-color:#333;
	padding:1rem 0;
}

nav a {
	color: #fff;
	text-decoration: none;
}

	.mobile-menu {
		display: none;
		padding: 0 !important;
	}



h1,h2,h3 {
	margin-bottom:1.5rem;
}


h4 {
	margin-bottom:1.5rem;
 }

.card-item h4 {
	margin-bottom:0.5rem;
}

h1 a, h2 a {
	  color: #222;
    outline: none;
    transition: .2s ease;
    text-decoration: none;

}

h4 a, h5 a {
	color: #00aaff;
	font-weight: 700;
	transition: .2s ease;
}

h1 {
	font-size:56px;
	letter-spacing: -2px;
	color:#222;

}


h2 {
	font-size:40px;
	color:#222;
	letter-spacing: -1.5px;


}


h3 {
	font-size:32px;
	/** color:#e0a458; **/
	color: #333;
		letter-spacing: -1px;

}

h4 {
	font-size:24px;
	color:#222;
	letter-spacing: -1px;
}


p, ul, ol {
	margin-top:0;
	font-size:20px;
	margin-bottom:2rem;
	line-height: 1.7;
	font-family:'Inter', sans-serif;
	color:#333;
}

ol, ul, dl {
	margin-bottom:1.8rem;
}

ol li, ul li {
	line-height: 1.5;
	margin-bottom: 1rem;
}
a {
	color: #00aaff;
    outline: none;
    transition: .2s ease;
    text-decoration: underline;
    font-weight: 700;
}

a:hover {
	opacity: .75;
}

figure.kg-card.kg-image-card {
	margin:0;
}

footer {
	background-color: #222;
	display: flex;
	align-items:center;
	padding: 1rem 3rem;
	justify-content: space-between;

}


.footer-logo {
	
	color:white;
}

.footer-logo a {
		color:white;
	text-decoration: none;
}

.footer-links a {
	text-decoration: none;
	color:white;
	margin-left: 1rem;
}

.header-container {
	max-width:1040px;
	margin:auto;
	text-align: center;
	margin-top:2.5rem;
	padding:0 15px;
}



.last-update {
	font-size:16px;
}


.content-container {
	max-width: 800px;
	margin: 0 auto;
	padding:0 15px;

}

.content-container img {
	max-width:100%;
	display: block;
	margin: 0 auto;
	height:auto;
}

.recommended h4 {
	font-size:1.5rem;
	font-weight: 800;
	margin-bottom:.5rem;
	color:#00aaff;

}

.nav-container {
	max-width:1040px;
	margin:auto;
}

.nav-logo-container {
	display:inline-block;
}

.nav-links-container {
	display: inline-block;
		float:right;

}

.nav-links {
	display:flex:
}

.nav-links a {
	margin-left: .8rem;
}

.brand-logo {
	font-weight:600;
	font-size:1.2rem;
}


.author-bio {
	padding: 0.5rem 1rem;
	border: 1px solid #ccc;
	background-color: #FAFAFA;
	border-radius: 5px;
}

.author-bio h3 {
	margin-bottom: 0.5rem !important;
}

.author-bio-img {
	width:150px;
	height:150px;
	border-radius: 5rem;
	margin: auto !important;


}

/* dropdown menu for top nav */
.dropdown{
	display: inline-block;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 18px;  
  font-weight: 700;
  border: none;
  outline: none;
  color: white;
  background-color: inherit;
  font-family: inherit;
  margin-bottom: 1.2rem;
}

.dropbtn:after {
		content: '';
    border: 5px solid transparent;
    border-top: 7px solid white;
    margin-left: 4px;
    margin-bottom: 1px;
    display: inline-block;
    vertical-align: bottom;
}

.dropdown-content {
  display: none;
  min-width: 230px;
  position: absolute;
  background-color: #fff;
  border: 3px solid #eee;
  /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
  z-index: 1;
}

.dropdown-content a {
  color: #333;
  text-decoration: none;
  padding: 0.8rem 0 0.8rem 0.8rem;
  border: 2px solid #eee;
  display: block;
  width: 94%;
  margin: 0;
 
}

.dropdown-content a:hover {
  background-color: #333;
  opacity: 1;
  color: #fff;
}

.show {
  display: block;
}

.dropdown-menu a {
	background:black;
    border:none;
    outline:0;
    display:block;
    color:white;
    text-decoration:none;
    width:160px;
    padding:5px
}



/* black friday banner */
.bf-banner {
	display: block;
	background-color:#FFD700 ;
	color: #000;
	width:100vw;
	margin:0;
	padding: 10px !important;
	font-size: 16px;
	text-decoration: none;
	text-align: center;
}

/* post */

figure.kg-image-card {
	margin-bottom:2rem !important;
}

.kg-image-card figcaption {
	text-align: center;
	font-size:14px;
	color:#555;
	margin-top:0.5rem;
}


/*Card*/


.card-container {
	max-width:1200px;
	margin:3rem auto;
	display: flex;
	justify-content: space-between;
	flex-wrap:wrap;
	padding:0 1rem;
}

.card-item{
	/*display: inline-block;*/
	width:31.5%;
	/*flex-grow:0.30;*/
	/*flex: 0.33;*/
	/*margin:0 15px;*/
	margin-bottom:4rem;
}

a.card-item  {
	text-decoration: none;
}

.card-title {
	font-size:24px;
	color:#000;
	/** color:#1b9aaa;; **/
	line-height: 1.4;
}

h4.card-title {
	margin-top:0.5rem;
}



.card-excerpt {
	font-size:17px;
	color:#4b4b4e;
	line-height: 1.5;
	font-weight: 400;
	font-family: 'Inter', sans-serif;
	-webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,.004);
    position: relative;
    text-rendering: optimizelegibility;
}

.card-image {
	width:100%;
	height:auto;
}


/* About page */

.mobile-about-profile {
	display: none !important;
}

.desktop-about-profile{
	margin-left: 50px;
}




/* Full width content */

.kg-width-full {
  position: relative;
  width: 100vw !important;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}


@media only screen and (max-width: 768px) {

	/* hide all links except mobile menu  */
	.nav-links a:not(:last-child), .dropdown, .dropbtn {
		display: none;
	}

  .nav-links.responsive .mobile-menu {
    
  }

	.mobile-menu {
		font-size: 18px;
		display: inline-block;
		position: absolute;
    right: 1rem;
    /*top: 3.7rem; */
    top: 1rem;
    padding: 0;
    margin: 0;

	}

	.nav-links.responsive {
		background-color: #333;
		width: 100vw !important;
		padding-top: 1rem;
	}

	.nav-links.responsive a{
		display: block;
		padding: 0.6rem 0.8rem;
		text-align: left;
	}

	.nav-links.responsive .dropdown, .nav-links.responsive .dropbtn {
		display: block !important;
		margin-bottom: 0;
	}

	.nav-links.responsive .dropbtn {
		padding: 0.6rem 0.8rem;
	}


	.dropdown-content.show {
	  width: 100%;
	  position: static;
	  background-color: #fff;
	  border: 3px solid #eee;
	  z-index: 0;
}



  .brand-logo {
	
	font-size:1rem;
	margin-left: 1rem;
   }

  h1 {
  	font-size:40px;

  }

  h2 {
  	font-size:32px;
  }

  h3 {
  	font-size:24px;
  }

  .nav-links a {
	margin:0 0.3rem 0 0;
  }

  .card-item {
  	width:100%;
  }

  .desktop-about-profile{
		display: none !important;
	}

	.mobile-about-profile {
		display: block !important;
		margin-bottom: 1rem !important;
  }

  footer {
		padding: 1rem 1rem;
		flex-direction: column;
	}

	.footer-links {
		display: flex;
		flex-direction: column;
		align-items: center;

	}

}