/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* LAYOUT */

html {
  	height: 100%;
}

body {
  	height: 100%;
  	display: flex;
	font-family: 'roboto', sans-serif;
}
.logo {
	max-width: 650px;
	margin-left: auto;
	margin-right: auto;
}
.logo img {
	width: 100%;
	height: auto;
}
.content {
 	width: 61%;
	margin: 8rem 5rem 0 46%;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}
.sidebar {
 	width: 39%;
	height: 100%;
	position: fixed;
	padding-top: 35px;

background: rgba(204,102,102,1);
background: -moz-linear-gradient(-45deg, rgba(204,102,102,1) 0%, rgba(153,51,51,1) 100%);
background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(204,102,102,1)), color-stop(100%, rgba(153,51,51,1)));
background: -webkit-linear-gradient(-45deg, rgba(204,102,102,1) 0%, rgba(153,51,51,1) 100%);
background: -o-linear-gradient(-45deg, rgba(204,102,102,1) 0%, rgba(153,51,51,1) 100%);
background: -ms-linear-gradient(-45deg, rgba(204,102,102,1) 0%, rgba(153,51,51,1) 100%);
background: linear-gradient(135deg, rgba(204,102,102,1) 0%, rgba(153,51,51,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc6666', endColorstr='#993333', GradientType=1 );

	color: #ffffff;
	font-size: 0.9rem;
	line-height: 1.2rem;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}


/* FONT */

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 1, 2019 */

@font-face {
    font-family: 'aniversregular';
    src: url('font/anivers_regular-webfont.woff2') format('woff2'),
         url('font/anivers_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* STYLING */

#white {
	background-color: #ffffff;
	color: #cc6666;
}
h1 {	
	font-family: 'aniversregular';
	font-size: 4rem;
	color: #993300;
}
h2 {
	margin: 0 0 80px 0;
	font-family: 'aniversregular';
	font-size: 2rem;
}
#space {
	margin-left: 30px;
}

/* CARDS */

.card {
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
	max-width: 200px;
	margin: auto;
	padding: 15px;
	text-align: center;
	float: left;
}
.card h1 {
	font-size:  1.4rem;
	margin-bottom: 5px;
	font-family: 'Roboto', sans-serif;
}
.title {
	color: grey;
	font-size: 1rem;
	margin-bottom: 15px;
}

button {
	border: none;
	outline: 0;
	display: inline-block;
	padding: 8px;
	margin-top: 20px;
	color: white;
	background-color: #cc6666;
	text-align: center;
	cursor: pointer;
	width: 100%;
	font-size: 18px;
}

a {
	text-decoration: none;
	font-size: 22px;
	color: black;
}

button:hover, a:hover {
	opacity: 0.7;
}

/* RESPONSIVE */

@media screen and (max-width: 1080px) {
	#space {
		margin-left: 0;
	}
}
@media screen and (max-width: 960px) {
	h1 {text-align: center; font-size: 2rem;}
	h2 {text-align: center; font-size: 1.5rem;}
	body {display: inline;}
	.logo{top: 2%;}
	.content {width: 100%;margin: 420px 0 0 0}
	.sidebar {width: 100%;height: 300px;position: absolute;}
	nav {margin-top: 0.5rem;right: 0;}
	nav li {display: block;margin:0 0 15px 0;color: #ffffff;}
	nav li:first-child {margin-left: 0;}
	.card {max-width: 250px; float: none;margin-left: auto !important;}
}
@media screen and (max-width: 700px) {
	nav {display: none;}
}
@media screen and (max-width: 375px) {
	.sidebar {height: 220px;}
	.content {margin: 300px 0 0 0;}
	.card {margin-bottom: 30px;max-width: 200px;}
}
