/* ---- ---- ---- ---- LOCAL FONTS ---- ---- ---- ---- */

@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/leaguespartan-bold.eot');
    src: url('../fonts/leaguespartan-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/leaguespartan-bold.woff2') format('woff2'),
         url('../fonts/leaguespartan-bold.woff') format('woff'),
         url('../fonts/leaguespartan-bold.ttf') format('truetype'),
         url('../fonts/leaguespartan-bold.svg#league_spartanbold') format('svg');
    font-weight: bold;
    font-style: normal;
    margin: 0;
    padding: 0;
}

@font-face {
	font-family: 'Reitam';
	src: url('../fonts/Reitam Regular.otf');
}

/* ---- ---- ---- ---- GLOBAL ---- ---- ---- ---- */

body {
	margin: 0;
	padding: 0;
	color: #333;
	font-family: 'Karla';
}

a {
	text-decoration: none;
	color: #2F80ED;
}

.container {
	width: 90%;
	margin: 0 auto;
}

#icon {
	color: #333;
	color: #9A9A9A;
	margin-bottom: 10px;
}

#icon:hover {
	transition: all .2s;
	color: #56ccf2;
}

/* ---- ---- ---- ---- HEADER ---- ---- ---- ---- */

.topbar {
	width: 100%;
	height: 4px;
	background: #56CCF2;  /* fallback for old browsers */
	background: -webkit-linear-gradient(left, #2f80ed, #56ccf2);  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to left, #2f80ed, #56ccf2); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	margin-bottom: 10px;
}

header {
	color: #9A9A9A;
	font-family: League Spartan;
	margin-bottom: 30px;
}

header h1 {
	font-family: Reitam;
	font-size: 25px;
	float: left;
	margin: 15px 0 0 0;
}

header a {
	color: #9A9A9A;
}

header h1:hover {
	color: #ffffff;
	background: -webkit-linear-gradient(left, #2f80ed, #56ccf2);
  	-webkit-background-clip: text;
 	-webkit-text-fill-color: transparent;
}

nav {
	float: right;
	margin: 20px 0px 15px 0px;
}

header::after {
	content: '';
	display: table;
	clear: both;
}

.container::after {
	content: '';
	display: table;
	clear: both;
}

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

nav li{
	display: inline-block;
	margin-left: 25px;
}

nav a {
	color: #9A9A9A;
	padding: 12px 15px 7px 16px;
	border-radius: 5px;
	transition: all .2s;
}

nav #active {
	color: #ffffff;
	/*background: -webkit-linear-gradient(top right, #2f80ed, #56ccf2);*/
	background: linear-gradient(to bottom left, #2f80ed, #56ccf2);
	/*border: 1px solid #eee;*/
}

nav a:hover {
	color: #56ccf2;
}

nav a:focus {
	color: #2f80ed;
}

nav .toggle {
	font-size: 14pt;
	color: #56ccf2;
	display: none;
}

nav .toggle:hover, nav .toggle:focus {
	color: #2f80ed;
}

.mobile-nav {
	display: none;
}

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

.mobile-nav li{
	text-align: center;
	width: 100%;
	display: block;
	padding: 0;
}

.mobile-nav a {
	width: 100%;
	display: block;
	padding: 20px 0 20px 0;
	border-radius: 5px;
}

.mobile-nav #active {
	color: #ffffff;
	background: linear-gradient(to bottom left, #2f80ed, #56ccf2);
}

.mobile-nav a:hover {
	background: #f9f9f9;
	color: #56ccf2;
}

/* ---- ---- ---- ---- SECTION ---- ---- ---- ----*/

section {
	font-family: 'Karla', sans-serif;
	color: #333;
}

section h1, section h2, section h3, section h4, section h5, section h6 {
	font-family: Rubik;
	margin-top: 0;
	color: #000;
}

.top {
	width: 90%;
	margin: 0 auto;
	margin-bottom: 40px;
}

.top::after {
	content: '';
	display: table;
	clear: both;
}

.about {
	width: 55%;
	float: left;
}

.about p {
	font-size: 14pt;
}

.about-links {
	width: 100%;
}

.pic {
	width: 300px;
	float: right;
	text-align: center;
}

.pic img {
	width: 100%;
	border-radius:4px;
	box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.15);
}

.text {
	margin-left: 40px;
	margin-bottom: 35px;
}

.text p {
	margin-bottom: 10px;
	margin-top: 0px;
}

.text ul li {
	margin-top: 0px;
	margin-bottom: 10px;
}

.top h4 {
	margin-bottom: 10px;
}

/* ---- ---- ---- ---- SECTION PROJECTS ---- ---- ---- ---- */

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

.boxes {
	width: 1130px; /*1130px for centered*/
  	margin: 0 auto;
  	display: grid;
  	grid-gap: 40px;
  	grid-template-columns: 350px 350px 350px;
  	/*transition: visibility 0s, opacity 0.5s linear;*/
  	-webkit-animation: fadeIn 2s;
    animation: fadeIn 1s;
}

.box {
	min-height: 345px;
	background: #ffffff;
	border: 1px solid #eee;
	border-radius: 8px;
	transition: all .2s;
}

.box:hover {
	transition: all .2s;
	box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.15);
}

.box img {
	width: 100%;
	border-radius: 8px 8px 0 0;
	margin-bottom: 10px;
}

.box-title {
	overflow: hidden;
}

.box-title h3 {
	float: left;
}

.box-title #icon {
	float: right;
	font-size: 1.2em;
	color: #ADADAD; /*#475055*/
}

.description h3{
	margin: 0 0 10px 0;
}

.description p{
	margin: 0;
	color: #333;
}

.description {
	width: 85%;
	margin: 0 auto;
	margin-bottom: 22px;
}

.container h3 span{
	color: #475055;
}

/* ---- ---- ---- ---- SECTION BLOG ---- ---- ---- ---- */

.articles-menu a{
	color: #9A9A9A;
	margin-right: 10px;
}

.articles-menu a:hover {
	color: #2F80ED;
}

.articles-menu #active {
	color: #2F80ED;
}

.articles {
	width: 100%;
  	/*transition: visibility 0s, opacity 0.5s linear;*/
  	-webkit-animation: fadeIn 2s;
    animation: fadeIn 1s;
}

.article {
	background: #ffffff;
	border: 1px Solid #eee;
	border-radius: 8px;
	transition: all .2s;
	margin-bottom: 20px;
	min-height: 149px;
	overflow: hidden;
}

.article:hover {
	transition: all .2s;
	box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.15);
}

.article .article-title h3 {
	margin: 0px 0px 8px 0px;
}

.article .article-title p {
	color: gray;
	margin: 0px 0px 20px 0px;
}

.article p {
	color: #333;
	margin: 0px;
}

.article-body {
	float: left;
	padding: 20px 0px 20px 20px;
	width: 75%;
}

.article img {
	float: right;
	width: 20%;
}

/* ---- ---- ---- ---- SECTION TAP ---- ---- ---- ---- */

.tap-title h1 {
	font-size: 2.5em;
	margin-bottom: 0px;
}

.tap-boxes {
	display: grid;
  	grid-gap: 10px;
  	grid-template-columns: 49% 49%;
}

.tap-box {
	/*background: gray;*/
	text-align: center;
	font-size: 5em;
	color: #ffffff;
	min-height: 165px;
	padding: 0px;
	marign: 0px;

	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center; /* align vertical */

	border-radius: 20px;
}

.tap-box a {
	text-decoration: none;
	color: #ffffff;
}

.ig-background {
	background: #F30074;
}

.ig-background:hover {
	background: #bf005c;
}

.twitter-background {
	background: #009DF6;
}

.twitter-background:hover {
	background: #0081cc;
}

.snapchat-background {
	background: #F9FF00;
}

.facebook-background {
	background: #1B68F6;
}

.linkedin-background {
	background: #1E61B5;
}

.telegram-background {
	background: #00AAE3;
}

/* ---- ---- ---- ---- FOOTER ---- ---- ---- ---- */

footer {
	font-family: League Spartan;
	color: #9A9A9A;
	text-align: center;
	margin: 30px 0 30px 0;
}

footer p{
	font-size: 0.9em;
}

footer a {
	color: #9A9A9A;
}

#twitter:hover {
	transition: all .2s;
	color: #38a1f3;
}

#instagram:hover {
	transition: all .2s;
	color: #dd2a7b;
}

#snapchat:hover {
	transition: all .2s;
	color: #fff00c;
}

/* ---- ---- ---- ---- SNAPCHAT ---- ---- ---- ---- */

.sc-back {
	width: 100%;
	min-height: 700px;
	/*background: #fffc00;*/
	background: Black;
	text-align: center;
	color: #fffc00;
	font-size: 1.5em;
}

.sc-back img{
	width: 550px;
}

/* ---- ---- ---- ---- RESPONSIVE ---- ---- ---- ---- */

@media (max-width: 1308px) {
	.boxes {
		grid-template-columns: 350px 350px;
		width: 740px;
	}
}

@media (max-width: 1098px) {
	.article .article-body {
		width: 65%;
	}
	.article img {
		width: 30%;
	}
}

@media (max-width: 830px) {
	.article .article-body {
		width: 90%;
		padding: 20px;
	}
	.article img {
		width: 0px;
	}
}

@media (max-width: 865px) {
	nav .toggle {
		display: block;
	}

	nav ul {
		display: none;
	}

	.top {
		width: 100%;
	}

	.mobile-nav {
		display: none;
	}
}

@media (max-width: 825px) {
	.boxes {
		grid-template-columns: 350px;
		width: 350px;
	}
}

@media (max-width: 780px) {

	.about {
		float: none;
		width: 100%;
	}

	.pic {
		float: none;
		width: 100%;
	}

	.sc-back img {
		width: 100%;
	}
}

@media (max-width: 400px) {
	.boxes {
		grid-template-columns: 100%;
		width: 100%;
	}
}