body {
	margin: 0;
	font-family: google-sans;
}

.container {
	display: flex;
	background-color: #E6E6E6;
	flex-direction: column;
}

.menu {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	flex-direction: row;
}

.menu-el {
	padding: 16px;
	color: black;
	text-decoration: none;
}

.menu-el-active {
	background-color: #7B9669;
	color: white;
	border-radius: 8px 8px 0px 0px;
}

.header {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	flex-direction: row;
	background-color: #7B9669;
	padding: 0.5%
}

.logo-title {
	display: flex;
	justify-content: flex-end;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.logo {
	width: 48px; 
}

.title {
	padding: auto auto 0 0;
}

.search {
	display: flex;
	justify-content: flex-end;
	flex-wrap: nowrap;
	flex-direction: row;
}

.search-button {
	padding: 4px;
	border-radius: 8px;
	background: #404E3B;
}

.button-text {
	color: white;
}

.gallery {
	margin: 8px auto;
	width: 90%;
	display: flex;
	height: 450px;
	justify-content: space-between;
	overflow: hidden;
	gap: 4px;
}

.gal-item {
	flex: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	gap: 4px;
}

.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.articles {
	display: flex;
	width: 80%;
	margin: 8px auto;
	gap: 16px;
}

.articles-side {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex: 1;
	gap: 128px;
}

.article {
	width: 100%;
}

.articles-side .article {
	display: flex;
	flex-direction: column;
	background: #7B9669;
	overflow: hidden;
	border-radius: 32px;
	justify-content: space-between;
}

.articles-side .article-pic {
	margin: 4px auto;
	width: 80%;
	height: 40%;
}

.articles-side img {
	border-radius: 32px;
}

.articles-side h3 {
	text-align: center;
	margin: 16px 0;
}

.articles-side p {
	margin: 0 8px;
	text-align: justify;
}

.article .link {
	text-align: right;
	padding: 8px 16px;
}

.article .link a {
	color: black;
}

.article-pic img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.right .article .link {
	text-align: left;
}

.right .article h3 {
	order: 2;
}

.right .article p {
	order: 3;
}

.right .article .article-pic {
	order: 1;
	margin-top: 16px;
}

.right .article .link {
	order: 4;
}

.articles-middle {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex: 2;
	gap: 32px;
	align-items: center;
}

.articles-middle .article {
	flex: 1;
	display: flex;
	height: 100%;
	gap: 16px;
}

.articles-middle .article .article-pic {
	flex: 1;
}

.articles-middle .article .article-text {
	flex: 2;
}

.articles-middle .main {
	flex: 2;
	flex-direction: column;
	border: 1px solid black;
	margin: 0 8px;
	padding: 2px;
}

.articles-middle .main h3 {
	text-align: center
}

.articles-middle .main .article-text {
	display: flex;
	flex-direction: row;
	gap: 16px;
}

.articles-middle .main .article-text .col {
	flex: 1;
}

.articles-middle .main .article-text .article-pic {
	flex: 2;
}

.articles-middle p {
	text-align: justify;
}

.articles-middle :nth-child(3) h3 {
	text-align: right;
}

.articles-middle :nth-child(3) {
	flex-direction: row-reverse;
}

.articles-middle :nth-child(3) .button {
	text-align: right;
}

.articles-middle button {
	background: #7B9669;
	border: 1px solid;
	border-radius: 4px;
}

.footer-container {
	background: #6C8480;
	display: flex;
	justify-content: space-between;
	padding: 5%;
}

@media (max-width: 900px) {
	.menu-el {
		flex: 0 1 calc(50% - 32px);
		text-align: center;
	}
	
	.menu-el-active {
		border-radius: 8px;
	}
	
	.header {
		gap: 16px;
	}
	
	.gallery {
		height: auto;
	}
	
	.gallery, .articles, .header, .logo-title, .search, .article {
		flex-direction: column;
	}
	
	.articles-middle :nth-child(3) {
		flex-direction: column;
	}
	
	.articles :nth-child(2) {
		order: 3;
	}
	
	.articles-side {
		gap: 16px;
	}
	
	.right .article .link, .left .article .link {
		text-align: center;
	}

	.right .article h3 {
		order: 1;
	}

	.right .article p {
		order: 3;
	}

	.right .article .article-pic {
		order: 2;
		margin-top: 0px;
	}

	.right .article .link, .left .article .link {
		order: 4;
	}

	.articles-middle .main .article-text {
		flex-direction: column;
	}
	
	.articles {
		width: 90%;
	}
	
	.articles-middle :nth-child(3) .button, .articles-middle .button {
	text-align: center;
}
}

@font-face {
  font-family: "google-sans";
  src: url("google-sans.ttf");
  font-weight: normal;
  font-style: normal;
}

button {
	font-family: inherit;
}