/* 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;
	padding: 0;
	margin: 0;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
	max-width: 100%;
}
button{
	cursor: pointer;
}
a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer {
       cursor: pointer;
}
html {
	scroll-behavior: smooth;
}
body, input, textarea {
	font-family: quatro, Arial, sans-serif;
	font-weight: 200;
	font-size: 100%;
}

/*typography*/
h1 {
	font-size: 2em;
	margin: 0 0 0.25em 0;
	font-weight: 600;
}

h2 {
	font-size: 1.75em;
	margin-bottom: .75em;
	font-weight: 600;
}

h3 {
	font-size: 1.35em;
	margin-bottom: .75em;
}

h4 {
	font-size: 1.1em;
	margin-bottom: .75em;
}

h5 {
	font-size: 0.9em;
}

h6 {
	font-size: 0.7em;
}
p, input, textarea, label {
    margin-bottom: .75em;
    font-weight: 200;
		font-size: .9em;
		line-height: 1.2;
}

/*grid*/
.l-grid {
  display: flex;
  flex-wrap: wrap;
	align-items: start;
}
.l-grid .l-grid__full {
  width: calc(100% - 1.875rem);
  margin: 0.9375rem;
}
.l-grid .l-grid__half {
  width: calc(50% - 1.875rem);
  margin: 0.9375rem;
}
.l-grid .l-grid__third {
  width: calc(33% - 1.875rem);
  margin: 0.9375rem;
}
.l-grid .l-grid__two-thirds {
  width: calc(66% - 1.875rem);
  margin: 0.9375rem;
}
.l-grid .l-grid__quarter {
  width: calc(25% - 1.875rem);
  margin: 0.9375rem;
}
.l-grid--nomargin .l-grid__full, .l-grid--nomargin .l-grid__half, .l-grid--nomargin .l-grid__third, .l-grid--nomargin .l-grid__two-thirds, .l-grid--nomargin .l-grid__grid__quarter {
	margin-left: 0;
	margin-right: calc(0.9375rem * 2);
}
.l-grid .grid-centered {
	margin-left: auto;
	margin-right: auto;
}

/*helpers*/
.contain {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.full-width {
	width: 100%;
}
.align-center-stretch {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.spacer-1 {
	margin-top: 2.75em;
	margin-bottom: 2.75em;
}
.spacer-l {
	margin-top: 6.75em;
	margin-bottom: 6.75em;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}

/*header*/
.header {
	position: absolute;
	z-index: 1;
	padding: 1em 0;
	justify-content: flex-end;
	left: 0;
	right: 0;
}
.header__nav-item {
	color: #fff;
	text-decoration: none;
	font-size: 1.2em;
	padding-bottom: .5em;
}
.header__nav-item.active {
	border-bottom: 1px solid #fff;
}
.menu-toggle {
    display: none;
}

/*banner*/
.banner {
    height: 100vh;
    background-color: #000;
    position: relative;
    width: 100vw;
    overflow: hidden;
}
.banner__logo {
	width: 330px;
	margin-bottom: .5em;
}
.banner__content {
  position: absolute;
  left: 0;
  bottom: 0;
  top: -10%;
  margin: auto;
  height: 10em;
  right: 0;
  width: 36vw;
  text-align: center;
	z-index: 1;
}
.banner__hero {
	background-color: rgba(255,0,0,.84);
	padding: 2.2em 0 1.2em;
	border-radius: 2px;
}
.banner__text {
	color: #fff;
	font-size: 2.75em;
	font-weight: 200;
	margin-top: .25em;
}
.banner__text span {
	font-weight: 200;
	display: block;
}
.banner__btn {
	color: #fff;
	border: 1px solid #fff;
	border-radius: 40px;
	padding: 1em 1.85em;
	text-decoration: none;
	margin: 3em auto;
	font-weight: 600;
	display: table;
}
.banner::after, .banner::before {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
  position: absolute;
  background: #000;
  z-index: 0;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}
.banner::after {
	background-image: url('../images/slider4.jpg');
	animation: fade-in 1s ease-in 0s normal 1 forwards,
						 slide-1 8s ease 1s alternate 6 none;
}
.banner::before {
	transform: translateX(-100%);
	background-image: url('../images/slider2.jpg');
	animation: fade-in 1s ease-in 0s normal 1 forwards,
						 slide-2 8s ease 1s alternate 6 none;
}

@keyframes slide-1 {
	0% {
		transform: translateX(0%);
	}
	45% {
		transform: translateX(0%);
	}
	55% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(100%);
	}
}
@keyframes slide-2 {
	0% {
		transform: translateX(-100%);
	}
	45% {
		transform: translateX(-100%);
	}
	55% {
		transform: translateX(-0%);
	}
	100% {
		transform: translateX(0%);
	}
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 0.8;
	}
}
.statement {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: block;
}
.title {
	position: relative;
	display: inline-block;
	z-index: 1;
	margin-bottom: 1.75em;
	text-align: center;
}
.title::before {
  background: red;
  height: 10px;
  position: absolute;
  width: 100%;
  bottom: -9px;
  content: "";
  display: block;
  z-index: -1;
}
.statement__text {
    font-size: 1.2em;
		line-height: 1.44;
}
.services__image {
	width: 80%;
	margin-bottom: 1em;
}
.entidades__card img  {
	width: 60%;
	opacity: .8;
	display: block;
}
.entidades__card img:hover {
	filter: grayscale(0);
}
/*form*/
.contact input, .contact textarea, .contact button {
  padding: 1em;
  border-radius: 2px;
  width: 100%;
  border: 1px solid #ddd;
  background: #fafafa;
  margin-top: 7px;
}
.contact p {
  margin: 0 0 1em 0;
}
.contact .contact__submit {
    background: #f33329 !important;
    color: #fff;
		border-radius: 2px;
		border: 0;
		font-size: .9em;
}

/*footer*/
.footer {
	padding: 3.75em 0;
	background: #222;
}
.footer__text, .footer__text a {
	color: #727272;
}
@media screen and (max-width: 64em) {
	.banner__content {
		width: 80%;
	}
	.l-grid .l-grid-m__full {
		width: calc(100% - 1.875rem);
	  margin: 0.9375rem;
	}
	.services__image {
		width: 100%;
	}
}
@media screen and (max-width: 40em) {
		.l-grid .l-grid__full, .l-grid .l-grid__half, .l-grid .l-grid__two-thirds, .l-grid .l-grid__third, .l-grid .l-grid__quarter {
				width: calc(100% - 0.0625rem);
				margin: 0.125rem;
		}
		.l-grid .l-grid__two-thirds {
				margin-bottom: 2em;
		}
		.header {
			justify-content: start;
		}
		.header .nav {
			display: none;
			flex-direction: column;
			align-items: flex-start;
			margin-top: 3em;
			height: 200px;
		}
		.menu-toggle {
			padding: 0;
			cursor: pointer;
			display: block;
			background: none;
			border: none;
		}

		.banner__content {
			width: 100%;
			bottom: 0;
			top: 55%;
			height: 45%;
			text-align: left;
		}
		.banner__btn {
			 margin: 1.75em .5em;
		}
		.banner__logo {
			 width: 200px;
		}
		.banner__text {
			font-size: 2.55em;
		}
		.statement {
			width: 80%;
		}
		.entidades__card img {
			width: 100px;
	    margin: 1em auto;
		}
}
