/* General styles */

html {
	font-size: 16px;
	height: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: "Sumana";
	font-size: 1.4rem;
	height: 100%;
	margin: 0;
}

@media only screen and (max-width:1024px) {
	html {
		font-size: 12px;
	}
}

@media only screen and (max-width:400px) {
	html {
		font-size: 10px;
	}
}

.row {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
}

.row:after {
	clear: both;
}

.row:before,
.row:after {
	content: "";
	display: table;
}

h1,
h2,
h3 {
	font-family: "Rubik", bold;
	letter-spacing: .1rem;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.6rem;
	text-transform: uppercase;
}


/* Lists */

section {
	padding-top: 5rem;
	padding-bottom: 10rem;
}

.list {
	list-style: none;
	margin-left: 0;
}

.list li {
	padding-bottom: 1rem;
	margin-bottom: .5rem;
}

.list li strong {
	font-family: "Rubik", bold;
	text-transform: uppercase;
	letter-spacing: .1rem;
	font-size: 1.5rem;
}

.list li span {
	display: block;
	color: #888;
}


/* Buttons */

button,
.button {
	border: 0;
	color: black;
	cursor: pointer;
	display: inline-block;
	font-family: "Rubik", bold;
	font-size: 1.3rem;
	height: 6rem;
	letter-spacing: .15rem;
	line-height: 5.4rem;
	margin: 0 auto;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: all .3s ease-in-out;
	width: 15rem;
}

button.stroke,
.button.stroke {
	padding: 0 1.5rem 0 3.5rem;
	border: 3px solid;
}

button.stroke:hover,
.button.stroke:hover {
	border-color: #cc0035;
	color: #cc0035;
	fill: #cc0035;
}

.button-section {
	text-align: center;
}

a svg {
	vertical-align: middle;
	height: 1.6rem;
	width: 3.5rem;
}

/* Forms */

fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

input,
textarea {
	margin-bottom: 1rem;
	display: block;
	height: 2rem;
	padding: 1.2rem 0;
	border: 0;
	outline: 0;
	color: #313131;
	font-family: "Rubik";
	font-size: 1.2rem;
	border-bottom: 1px solid grey;
	transition: all .3s ease-in-out;
	width: 100%;
	background-color: transparent;
}

input:focus,
textarea:focus {
	color: #cc0035;
	border-color: #cc0035;
	border-bottom: 1px solid #cc0035;
}

textarea {
	min-height: 15rem;
}

.error {
	font-size: 1.2rem;
	color: #cc0035;
}


/* Navigation header */

header {
	position: fixed;
	width: 100%;
	z-index: 1;
}

.top-menu {
	background: #222;
	min-height: 70px;
	min-width: 320px;
	position: absolute;
}

.top-menu a {
	text-decoration: none;
}

.menu-toggle {
	display: block;
	float: left;
	margin-left: 10px;
	margin-top: 10px;
	width: 50px;
	height: 50px;
}

.logo {
	color: white;
	font-family: "Montserrat Subrayada";
	font-size: 1.8rem;
	position: absolute;
	left: 28%;
	top: 30%;
}

#main-nav-wrap {
	display: block;
	width: 100%;
	font-family: "Rubik";
	font-size: 1.5rem;
	position: absolute;
	top: 100%;
	left: 0;
}

.main-navigation {
	background: #222;
	padding: 1rem 0;
	display: none;
	margin: 0;
}

.main-navigation li {
	display: block;
	padding: 1rem;
}

.main-navigation li a {
	text-decoration: none;
	display: block;
	color: white;
}

.main-navigation li a:hover {
	color: #cc0035;
	padding-left: 1rem;
}

.main-navigation li.current>a {
	color: #cc0035;
}


/* Intro */

#intro {
	background: #333;
	width: 100%;
	height: 100%;
	display: table;
}

.splash {
	width: 25%;
	max-width: 250px;
}

#intro h1 {
	color: white;
	font-family: "Montserrat Subrayada";
	font-size: 5rem;
	margin: auto;
	letter-spacing: .1rem;
}

#intro h2 {
	color: #cc0035;
	font-family: "Rubik", bold;
	font-size: 2.2rem;
	text-transform: uppercase;
}

.intro {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.intro .button {
	border-color: grey;
	color: white;
	fill: white;
}


/* Services */

#services {
	background: white;
}


/* Contact section */

#contact {
	background: lightgrey;
}

.contact-form {
	width: 80%;
}

.submit-button {
	background: #cc0035;
	color: white;
	width: 100%;
	margin-top: 4rem;
}

#message-warning,
#message-success {
	margin: auto;
	color: black;
	background: grey;
	border-radius: 5px;
	margin: 0.5rem auto;
	padding: 2rem;
	width: 35%;
	text-align: center;
	animation: fadein 2s;
}

@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

#icon-smile {
	height: 5rem;
	margin-bottom: -1rem;
	width: 5rem;
}

#message-warning {
	background: tomato;
}

.contact-info {
	margin: 4.8rem auto 0;
	font-family: "Rubik";
	font-size: 1.5rem;
	text-align: center;
}

#icon-mail {
	height: 5rem;
}

.contact-info a {
	color: grey;
}

.contact-info a:hover {
	color: darkblue;
}


/* Footer */

footer {
	padding-bottom: 1rem;
	font-size: 1.2rem;
	font-family: "Rubik";
	background-color: #515151;
	text-align: center;
}

.copyright {
	color: #a0a0a0;
	margin-top: 1rem;
}


/* Go to top */

#go-top {
	position: fixed;
	bottom: 0;
	right: 0;
	visibility: hidden;
}

#go-top a {
	display: flex;
	height: 3.5rem;
	width: 3.5rem;
	background: #cc0035;
	fill: white;
	transition: all .3s ease-in-out;
}

#go-top a:hover {
	background: black;
}

#go-top-icon {
	padding: 1rem;
}
