@import url('https://fonts.googleapis.com/css?family=Roboto:200,400&display=swap');

*, *:before, *:after
{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body
{
	height: 100%;
	margin: 0;
    font-family: 'Roboto', sans-serif;
	overflow-x: hidden;
}

.container
{
	display: grid;
	grid-template-areas: 
		"header header header header"
		"main main main news"
		"footer footer footer footer"	
}


video
{
  max-width: 100%;
  height: auto;
}

.main
{
	grid-area: main;
	padding: 20px;
	width: 60vw;
}

.news
{
	grid-area: news;
}

.news .news-row
{
	display: flex;
	align-items: center;
	border-bottom: 1px solid grey;
	padding-bottom: 20px;
}

.news .news-row img
{
	width: 120px;
	padding: 20px;
}

.main h2
{
	margin: 0;
	margin-bottom: 20px;
}

.header .social
{
	text-align: right;
	flex-wrap: wrap;
	flex-grow: 2;
	width: 100%;
}

.header .social a  {
	text-decoration: none;
}

.header .social img {
	display: inline-block;
	height: 20px;
	padding: 2px;
}

h2
{
	background-color: wheat;
	margin: 20px;
	padding: 20px;
	text-align: center;
	font-weight: 400;
}

.header
{
	grid-area: header;
	display: flex;
	flex-wrap: wrap;
	padding: 20px;
	align-items: center;
	background-color: wheat;
	border-bottom: 1px solid black;
	background: url('https://gtaforums.com/uploads/monthly_2018_05/4102287_123robotGTAForums2.png.d0ff1fc1dd5fc14cab81007feb4a5eb1.png');
	box-shadow: inset 0 0 0 1000px rgba(245, 222, 179,.85);
	background-attachment: fixed;
}

.footer
{
	grid-area: footer;
	padding: 20px;
	background-color: wheat;
	border-top: 1px solid black;
	background: url('https://gtaforums.com/uploads/monthly_2018_05/4102287_123robotGTAForums2.png.d0ff1fc1dd5fc14cab81007feb4a5eb1.png');
	box-shadow: inset 0 0 0 1000px rgba(245, 222, 179,.85);
	background-attachment: fixed;
}


.header nav
{
	display: flex;
	gap: 10px;
	margin-left: 50px;
	transition: 0.5s max-height;
}

.header nav a, .nav-menu-mob a
{
	color: black;
	text-decoration: none;
	padding: 20px;
	border-radius: 10px;
	transition: background-color 0.5s;
}

.header nav a:hover, .active, .nav-menu-mob a:hover
{
	background-color: hsl(39, 76%, 73%);
		
}

.header img
{
	height: 200px;
	transition: 0.5s height;
}

.nav-menu-mob {
	display: none;
	padding: 20px;
	text-align: right;
	margin-left: auto;
	font-size: 32px;

}

a
{
	color: hsl(200, 100%, 46.7%)
}

.button {
	background-color: wheat;
	text-decoration: none;
	border-radius: 30px;
	padding: 16px;
	color: black;
	transition: background-color 0.4s;
	transition: border-radius 0.4s;
	text-align: center;
}

.button:hover {
	background-color: hsl(39, 76%, 78%);
	border-radius: 0px;
}

.pagination
{
	padding: 32px;
	margin: auto;
	text-align: center;
	background-color: wheat;
}

.pagination strong, .pagination a {
	padding: 16px;
	transition: background-color 0.4s;
	text-decoration: none;
	color: black;
	border-radius: 16px;
}

.pagination strong, .pagination a:hover {
	background-color: hsl(39, 76%, 73%);
}

.clip_block a
{
	display: flex;
	padding: 32px;
	align-content: center;
	transition: background-color 0.4s;
}

.clip_block a:hover
{
	background-color: hsl(39, 76%, 73%);
}

.clip_block h1
{
	color: hsl(39, 76%, 23%);
	font-weight: 200;
	font-variant: small-caps;
	flex-grow: 1;
	padding: 15px;
}

@media only screen and (max-width: 65em) {

	.nav-menu-mob {
		display: block;
	}

	.header nav {
		max-height: 0;
		overflow: hidden;
		margin: 0;
		flex-direction: column;
		width: 100%;
		margin: 0;
		margin-top: 30px;
	}

	.header .menu-expanded
	{
		display: flex;
		max-height: 500px;
	}

	.news
	{
		height: auto;
	}

	.header .social {
		display: none;
	}

	.header img
	{
		height: 62px;
	}

	.container
	{
		grid-template-areas: 
			"header header header header"
				" news  news news  news"
				"main main main main"
				"footer footer footer footer"	
	}
	.main
	{
		width: auto;
	}

	.header, .footer
	{
		background: wheat;
	}
}
