@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: georgia;
	background: url('../pics/bg-body.jpg');
}
img {
	max-width: 100%
}
h2 {
	font-size: 3rem;
	font-weight: 300
}
nav {
	background: #86b604;
	position: sticky;
	top: 0
}
nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
nav ul li {
	float: left;
}
nav::after {
	content:'';
	clear: both;
	display: table
}
nav a {
	display: block;
	text-decoration: none;
	color: white;
	padding: 1.2rem 1rem;
}
nav a:hover {
	background: rgba(0,0,0,.1)
}

.navigation li:first-child {
	padding: 1.2rem 1rem;
	color: rgba(255,255,255,.5);
}
header {
	font-family: 'Raleway', sans-serif, georgia;
	background: url('../pics/bg-header.jpg');
	color:  #d15656; /*#e74c3c;*/
	font-size: 60px;
	font-weight: 700;
	padding: 10px 10px 5px 20px;
	text-shadow: 2px 2px 8px #000000;
}
.wrapper {
	max-width: 1500px;
	margin: 0 auto;
	width: 95%;
	padding:10px;
}

.intro {
	display: flex;
	flex-wrap: wrap;
	line-height: 1.5;
	font-size: 1rem;
	margin: 1rem;
	padding: 1rem;
	background-color: whitesmoke;
	border-style: solid;
	border-color: #86b604;
	border-radius: 5mm;
	align-items: center;
	justify-content: space-between;
}
.forecast {
	padding: 0.2rem;
	margin: .5rem;
	font-size: medium;
	text-align: justify;
}
.weatherWidget {
	max-width: 500px;
}
.intro p {
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
}
.intro .btn {
	color: #fff;
}
.intro img {
	float: right;
	margin: 0 0 2rem 2rem;
	border-radius: 50%;
	max-width:250px;
}
.intro a {
	text-decoration: none;
	color: black;
}
.intro h1 {
	font-weight: 100;
	font-size: 1.5rem;
	margin: 0 0 1rem 1rem;
	color: white;
	display: block;
}
.intro h1 span {
	background: #996633;
	color: white;
	-webkit-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
	border-left: 10px solid #996633;
	border-right: 10px solid #996633;
	border-bottom: 7px solid #996633;
	line-height: 60px;
	margin-top: 1rem;
}
.intro h2 {
	font-weight: 70;
	font-size: 1.5rem;
	margin: 0 0 1rem 1rem;
	color: white;
	display: block;
}
.intro h2 span {
	font-size: 20px;
	background: #996633;
	color: white;
	-webkit-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
	border-left: 10px solid #996633;
	border-right: 10px solid #996633;
	border-bottom: 7px solid #996633;
	line-height: 50px
}
span {
	margin-top: 0.1rem;
	padding: 0.2rem;
	border-radius: 0.4rem;
}
@media(max-width:800px) {
	.intro img {
		max-width:200px
	}
}
@media(max-width:480px) {
	.intro img {
		float: none;
		margin: 1rem auto;
		display: block;
	}
	.intro h1 span {
	font-size: 1.3rem;
	}
	.navigation {
		float:none;
	}
	header {
		font-size:40px;
		font-weight:600;
	}
}

.article-title { display: block; font-size: 18px; font-weight: 600; text-decoration: none; color: #000 }
.article-title:hover { color: #ff3c50 }

.article-image { display: block; margin: 0 0 15px 0 }
.article-image img { display: block }

.article-category { background: #ff3c50; color: #fff; text-decoration: none; text-transform: uppercase; padding: 2px 5px; font-weight: 600; margin: 0 0 5px 0; }
.article-category:hover { background: #000 }

.box-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin: 2rem;
	justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
}
.box-home {
	flex: auto;
	margin: 10px;
	min-width: 300px;
	max-width: 350px;
	background: white;
	box-shadow: 1px 1px 1px rgba(0,0,0,.1);
	border-radius: 0.5rem;
	padding: 10px;
	border-style: solid;
	border-color: #86b604;
}
.box-home img {
	border-radius: 1rem;
	max-height: 180px;
}
.box {
	margin: 10px;
	min-width: 300px;
	max-width: 360px;
	background: white;
	box-shadow: 1px 1px 1px rgba(0,0,0,.1);
	border-radius: 0.5rem;
	align-items: center;
	align-content: center;
}
.box img {
	align-items: center;
	padding: 10px;
	border-radius: 1rem;
	max-height: 400px;
}
.box-content {
	padding: 1rem;
	font-size: .9rem;
	text-align:left;
}

.box h3 {
	margin:0;
	font-size: 1.2rem;
	text-align: center;
}
.box h4 {
	text-align: center;
}
.btn {
	display: inline-block;
	margin: 0.5rem;
	padding: 0.5rem;
	background: #86b604;
	color: white;
	text-decoration: none;
	border-radius: 5px;
}
.btn:hover {
	background: rgba(104,182,4,.6);
}
.mobile-menu-button {
	width: 50px;
	display: block;
	float: right;
	border: 1px solid rgba(255,255,255,.9);
	padding: 10px;
	margin: 7px 5px 0 0;
	display: none;
}
.mobile-menu-button span {
	display: block;
	height: 4px;
	background: white;
	margin: 0 0 5px 0;
	border-radius: 2px;
}
.mobile-menu-button span:last-of-type {
	margin: 0
}
.mobile-menu-button + input[type="checkbox"] {
	display: none;
}
.mobile-menu-button + input[type="checkbox"]:checked ~ .navigation li:not(:first-child) {
	display: block
}
@media(max-width:800px) {
	.mobile-menu-button {
	display: block;
	}
	.navigation li:not(:first-child) {
		display:none;
	}
	.navigation li {
		float: none;
		border-top: 1px solid rgba(255,255,255,.2);
	}
	.navigation a {
		padding: .8rem 1rem;
	}
}

.grid { display: grid; max-width: 1400px; margin: 0 auto; width: 90%; grid-template-columns: repeat(12,1fr); gap: 30px }


.leading-articles .section-titles { grid-column: span 12 }
.leading-articles .box1 { grid-area: 2 / 1 / 3 / 9 }
.leading-articles .box2 { grid-area: 2 / 9 / 3 / 13 }
.leading-articles .box3 { grid-area: 3 / 1 / 4 / 9 }
.leading-articles .box4 { grid-area: 3 / 9 / 4 / 13 }
@media(max-width:800px) {
	.leading-articles .box1 { grid-area: 2 / 1 / 3 / 13 }
	.leading-articles .box2 { grid-area: 3 / 1 / 4 / 13 }
	.leading-articles .box3 { grid-area: 4 / 1 / 5 / 13 }
	.leading-articles .box3 { grid-area: 5 / 1 / 6 / 13 }
}

.featured-articles .section-titles { grid-column: span 12 }
.featured-articles .box { grid-column: span 4 }
@media(max-width:800px) {
	.featured-articles .box { grid-column: span 12 }
}

footer::after {
	content:'';
	clear: both;
	display: table;
}

.footer {
	display: flex;
	flex-flow: row wrap;
	margin: 0 -10px;
	justify-content: center;
    align-items: flex-start;
    justify-content: center;
    padding: .5rem;
    font-size: 1rem;
	background: #86b604;
	min-height:80px;
	color: white;
	text-shadow: 0 0 20px rgba(0,0,0,.4)
}
.footer a {
	text-decoration: none;
	color: #b3ffb3;
	text-shadow: 0 0 20px rgba(0,0,0,.4)
}

.footer-box {
	flex: 1;
	min-width:300px;
	padding: 0 0 5px 0;
	margin: 0;
	text-align: center;
}

