@charset "utf-8";
/* CSS Document */

:root {
  font-size: 16px;
}

* {
	margin: 0;
	padding: 0;
}



/* MAIN TAGS */
body {
	width: 100%;
	font-family: "roboto", sans-serif;
	background: #98bde9;
}

header {
	width: 100%;
	height: 616px;
	background: url(img/banner.jpg) center center;
	background-size: cover;
	position: relative;
	top: 0;
	left 0;
}

li {
	list-style-type: none;
	float: left;
}

h1 {
	font-size: 1.875rem;
	letter-spacing: .12em;
	font-family: "Holtwood One SC", serif;
	color: white;
	text-align: center;
}


p {
	line-height: 1.5em;
}

form {
	width: 75%;
	margin: auto;
	padding: 20px;
	border-radius: 20px;
}

fieldset {
	box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
	background: skyblue;
	border: none;
	border-radius: 15px;
	padding: 20px;
	line-height: 40px;
}

legend {
	background: white;
	padding: 0 7px;
	border-radius: 20px;
}

label {
	display: inline-block;
	width: 120px;
	text-align: right;
}

input {
	cursor: pointer;
}

select {
	color: #919e41;
	width: 28.6%;
	line-height: 20px;
	margin: 0 10px;
}



/* LINKS */
a {
	text-decoration: none;
	font-family: "Holtwood One SC", serif;
}



/* CLASS & ID */
.header {
	position: absolute;
	top: 5%;
	right: 5%;
}

.main-links {
	box-sizing: border-box;
	display: inline-block;
	width: 150px;
	text-align: center;
	padding: 5px 0px;
	font-size: 1.5rem;
	text-transform: uppercase;
	color: rgba(0,0,0,0.4);
	transition: color 800ms ease-out;
	transform: translateZ(0);
	position: relative;
}

.main-links:before {
	content: "";
	z-index: -1;
	transform: scaleY(0);
	transition: transform 500ms ease-out;
	background: rgba(0,0,0,0.1);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.main-links:hover, .main-links:focus, .main-links:active {
	color: white;
}

.main-links:hover:before, .main-links:focus:before, .main-links:active:before {
	transform: scaleY(1);
}

.main {
	box-shadow: 0px 0px 30px rgba(0,0,0,0.5);
	background: #86a6cd;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.col {
	display: flex;
	flex-direction: row;
	box-shadow: 0px 0px 50px rgba(0,0,0,0.5);
}

.row1 {
	background: #98bde9;
	padding: 50px;
}

.row2{
	background: #84BBC7;
	padding: 50px;
}

.row3 {
	background: #7388BF;
	padding: 50px;
}

.row4 {
	box-shadow: 0px 0px 50px rgba(0,0,0,0.5);	
	background: #394972;
	padding: 50px;
}

.sub-button {
	display: flex;
	justify-content: center;
}


.main-img {
	width: 100%;
	display: block;
	margin: auto;
	border-radius: 10px;
}

.text {
	width: 60%;
	background: white;
	color: #919e41;
	border: none;
	padding: 8px 20px;
	margin: 0 10px;
	transition: all 1s ease-out;
}

.text:focus {
	background: #919e41;
	color: white;
}

#tel {
	width: 21.4%;
}

.button {
	cursor: pointer;
	width: 300px;
	text-transform: uppercase;
	color: white;
	margin: 50px auto;
	text-align: center;
	background: white;
	padding: 10px 0px;
	border-radius: 10px;
	box-shadow: 0px 17px 10px -10px rgba(0,0,0,0.5);
	transition: all ease-in-out 300ms;
}

.button:hover {
	box-shadow: 0 37px 20px -20px rgba(0,0,0,0.2);
	transform: translate(0px, -10px);
	background: #919e41;
}

.button a {
	color: #919e41;
	font-size: 1.4rem;
}

.button a:hover {
	color: white;
}

.sm-button {
	width: 15%;
	display: inline-block;
	padding: 10px;
	margin-left: 20px;
	background: white;
	border: none;
	color: #919e41;
	box-shadow: 0px 12px 10px -7px rgba(0,0,0,0.5);
	transition: all ease-in-out 300ms;
}

.sm-button:hover {
	box-shadow: 0px 22px 10px -10px rgba(0,0,0,0.2);
	transform: translateY(-5px);
	background: #919e41;
	color: white;	
}


/* SCREEN SIZE */
@media( max-width: 768px ) {
	.col {
		flex-direction: column;
	}
	.row2 {
		box-shadow: 0px 0px 50px rgba(0,0,0,0.5);
	}
	.row3 {
		box-shadow: 0px 0px 50px rgba(0,0,0,0.5);	
	}

}

