/**
* **************
* LANDING PAGE
* **************
*/
body {
	background-color: #fafafa;
}

.container {
	width: auto;
	margin: 0 auto;
	padding: 0 20px;
}

.main h1 {
	color: #333;
	font-size: 25px;
	text-align: center;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
	padding: 5px 0;
    background-color: #fafafa;
}

.main {
    margin-top: 8rem;
}

.nav-logo img {
    margin-top: 2px;
	margin-left: 20px;
	border-radius: 5px;
	width: 90px;
}

.nav-items {
	display: flex;
}

.nav-items li {
	display: flex;
	list-style: none;
	margin-right: 20px;
	justify-content: space-around;
}

.nav-item a {
	color: #333;
	padding: 20px;
	border-radius: 5px;
	/* background-color: #feeeb2; */
	text-decoration: none;
}

.nav-item a:hover {
	color: #000;
	/* background-color: #ffeaa0; */
}

.boxes {
	display: flex;
	flex-wrap: wrap;
	margin-top: 20px;
	align-items: center;
	justify-content: space-around;
}

.box {
	margin: 20px 10px;
	text-align: center;
	border-radius: 10px;
	background-color: #fff;
	width: calc(25% - 20px);
	box-shadow: 0 8px 16px 0px rgba(10, 14, 29, 0.04), 0px 8px 64px 0px rgba(10, 14, 29, 0.08);
}

.box a {
    text-decoration: none;
}

.box-title {
	color: #333;
	margin: 0;
	padding: 10px;
	text-transform: capitalize;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.box figure img {
	width: 100%;
    max-width: 300px;
}

.toggle {
	display: none;
}

.footer {
    display: flex;
    width: 100%;
    margin-top: 50px;
    background-color: #444f60;
    justify-content: space-between;
}

.footer-logo img {
    width: 70px;
    margin: 20px 0 0 20px;
    border-radius: 5px;
}

.footer-links {
    display: flex;
    margin-right: 50px;
}

.footer-link {
    margin: 0 20px;
}

.footer-link ul li {
    margin-top: 10px;
}

.footer-link ul li a {
    color: #98a9c3;
    font-size: 15.5px;
    text-decoration: none;
}

.footer-link ul li a:hover {
    color: #fff;
}

.footer-link h3 {
    color: #fff;
	font-size: 16px;
    text-transform: uppercase;
}

.footer-link ul {
    list-style: none;
    padding: 0;
    margin-right: 20px;
}

.icon-facebook {
    background: url("../img/socialmedia/facebook.svg") no-repeat center center;
    background-size: 25px;
    height: 25px;
    width: 25px;
    display: block;
}

.icon-linkedin {
    background: url("../img/socialmedia/linkedin.svg") no-repeat center center;
    background-size: 25px;
    height: 25px;
    width: 25px;
    display: block;
}

.icon-instagram {
    background: url("../img/socialmedia/instagram.svg") no-repeat center center;
    background-size: 25px;
    height: 25px;
    width: 25px;
    display: block;
}

.socialmedia-list {
    display: flex;
}

.socialmedia-list li {
    margin-right: 10px;
}

@media (max-width: 768px) {

	.container {
		padding: 0;
	}

	.box {
		width: calc(50% - 20px);
	}

	.box figure {
		margin: 10px;
	}

	.box-title {
		height: 10px;
	}

	.main {
		margin: 0;
	}

	.boxes {
		margin: 0 auto;
	}

	.nav {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}

	.nav-items {
		display: none;
	}

	.nav-item {
		margin-top: 10px;
	}

	.toggle {
		display: block;
		margin-right: 5px;
		padding: 10px;
		font-size: 30px;
		cursor: pointer;
	}

	.toggle label {
		cursor: pointer;
	}

	#menu:checked + ul {
		display: block;
		width: 100%;
	}

    .nav {
        position: static;
    }

    .main {
        margin: 20px;
    }

    .footer {
        display: block;
    }

    .footer-links {
        display: block;
        text-align: left;
		margin: 0;
    }

    .footer-link ul {
        margin: 0;
    }

    .socialmedia-list {
        justify-content: flex-start;
    }
}