@font-face {
    font-family: 'OpenSans-Regular';
    src: url(../fonts/OpenSans-Regular.ttf);
}

body{
	margin: 0;
	padding: 0;
	font-family: 'OpenSans-Regular';
	color: #3c3c3b;
}

a{
	text-decoration: none;
	color: inherit;
}

/*****  HEADER  *****/
header{
	height: 120px;
	width: 100%;
}

header > div{
	float: left;
}

#logo{
	width: 30%;
    display: flex;
    align-items: center;
    height: 100%;
    background-color: #f2f2f2;
}

#logo > div{
	margin: 0 auto;
}

#logo > div > img{
	height: 91px;
}
/*****  FIN ENCABEZADO  *****/

/*****  MENU  *****/
#menu{
	height: 100%;
    width: 70%;
    background-color: #005cb9;
    color: white;
}

nav{
	margin-right: 8%;
    margin-top: 80px;
    font-size: 18px;
}

.menu{
	padding-inline-start: 0;
	text-align: right;
	margin: 0;
}

.menu > li{
	display: inline-block;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
	padding: 0px 20px;
}

.menu > li:hover{
	background-color: #80bc00;
	color: white;
}
/*****  FIN MENU  *****/

/*****  BANNER  *****/
#banner-services{
	background-image: url(../img/banner-services.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 700px;
	display: flex;
    align-items: center;
}

#banner-services > div{
	margin: 0 auto;
    color: white;
    background-color: rgb(0 92 185 / 60%);
    padding: 40px;
    width: 60%;
    font-size: 33px;
    text-align: center;
}
/*****  FIN BANNER  *****/

/*****  TITLE SECTION  *****/
.title-section{
	height: 250px;
    text-align: center;
	display: flex;
    align-items: center;
}

.title-section > div{
	margin: 0 auto;
}

.title-section > div > h1{
	margin: 0;
    text-transform: uppercase;
    font-size: 45px;
}

.title-section > div > hr{
	width: 100px;
    border: 5px solid #80bc00;
	background-color: #80bc00;
}

.title-section > div > p{
	font-size: 20px;
    width: 90%;
    margin: 0 auto;
    margin-top: 30px;
}
/*****  FIN TITLE SECTION  *****/

/*****  SERVICES  *****/
#list-services{
	width: 90%;
    margin: 0 auto;
    height: auto;
	text-align: center;
	padding-bottom: 40px;
}

.service{
	display: inline-block;
    vertical-align: top;
    width: 380px;
    height: auto;
	background-color: #f2f2f2;
	position: relative;
	margin: 6px 3px;
}

.image-service{
	width: 100%;
    height: 250px;
	overflow: hidden;
}

.image-service > div{
	background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
	transition: all 0.3s ease;
	width: 100%;
	height: 100%;
	filter: blur(2px);
}

.service:hover{
	box-shadow: 0px 0px 5px 5px #efeded;
	-webkit-box-shadow: 0px 0px 5px 5px #efeded;
}

.service:hover .image-service > div{
	-ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
	filter: blur(0px);
}

.text-service{
	text-align: left;
    font-size: 18px;
	padding-top: 20px;
	height: 465px;
}

.text-service > h3{
	width: 90%;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 1em;
    color: #005cb9;
    font-size: 25px;
}

.text-service > p{
	width: 90%;
    margin: 0 auto;
	margin-top: 1em;
    margin-bottom: 1em;
}

.icon-service{
	width: 70px;
    height: 70px;
    position: absolute;
    top: 215px;
    background-color: #005cb9;
    border-radius: 80px;
    left: 5%;
    display: flex;
    align-items: center;
	transition: all 0.3s ease;
}

.service:hover .icon-service{
	left: 80%;
}

.icon-service > div{
	height: 65px;
    margin: 0 auto;
}

.icon-service > div > img{
	width: 65px;
    margin-left: 1px;
}
/*****  FIN SERVICES  *****/

/*****  FOOTER  *****/
footer{
	background-color: #005cb9;
    color: white;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
}

footer > div{
	width: 90%;
	margin: 0 auto;
}
/*****  FIN FOOTER  *****/

@media only screen and (max-width: 599px) {
	header{
		height: auto;
	}
	
	header > div{
		float: initial;
		width: 100% !important;
	}
	
	#logo{
		height: 100px;
	}
	
	#logo > div > img{
		height: 80px;
	}
	
	nav{
		margin: initial;
		font-size: 13px;
	}
	
	.menu{
		text-align: center;
	}
	
	.menu > li{
		padding: 0px 10px;
	}
	
	#banner-services{
		height: 350px;
	}
	
	#banner-services > div{
		padding: 15px;
		width: 75%;
		font-size: 20px;
	}
	
	.title-section{
		height: auto;
		margin: 25px 0px;
	}
	
	.title-section > div > h1{
		font-size: 28px;
	}
	
	.title-section > div > hr{
		border: 3px solid #80bc00;
	}
	
	.title-section > div > p{
		font-size: 16px;
	}
	
	.service{
		width: 100%;
	}
	
	.text-service > h3{
		font-size: 20px;
	}
	
	.text-service{
		font-size: 16px;
		height: auto;
		padding-bottom: 10px;
		text-align: center;
		padding-top: 25px;
	}
	
	footer{
		text-align: center;
		font-size: 13px;
	}
}

@media only screen and (min-width: 600px) and (max-width: 767px){
	header{
		height: auto;
	}
	
	header > div{
		float: initial;
		width: 100% !important;
	}
	
	#logo{
		height: 100px;
	}
	
	#logo > div > img{
		height: 80px;
	}
	
	nav{
		margin: initial;
		font-size: 14px;
	}
	
	.menu{
		text-align: center;
	}
	
	#banner-services{
		height: 370px;
	}
	
	#banner-services > div{
		padding: 20px;
		width: 75%;
		font-size: 20px;
	}
	
	.title-section{
		height: auto;
		margin: 25px 0px;
	}
	
	.title-section > div > h1{
		font-size: 28px;
	}
	
	.title-section > div > hr{
		border: 3px solid #80bc00;
	}
	
	.title-section > div > p{
		font-size: 16px;
		width: 80%;
	}
	
	#list-services{
		width: 80%;
	}
	
	.service{
		width: 100%;
		margin: 10px 3px;
	}
	
	.text-service > h3{
		font-size: 20px;
	}
	
	.text-service{
		font-size: 16px;
		height: auto;
		padding-bottom: 10px;
		text-align: center;
		padding-top: 25px;
	}
	
	footer{
		text-align: center;
		font-size: 15px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px){
	#logo{
		width: 35%;
	}
	
	#menu{
		width: 65%;
	}
	
	#logo > div > img{
		height: 80px;
	}
	
	nav {
		margin-right: 5%;
		margin-top: 65px;
		font-size: 16px;
	}
	
	#banner-services{
		height: 450px;
	}
	
	#banner-services > div{
		width: 70%;
		font-size: 25px;
	}
	
	.title-section > div > p{
		font-size: 18px;
	}
	
	.service{
		width: 335px;
	}
	
	.text-service > h3{
		font-size: 22px;
	}
	
	.text-service{
		font-size: 16px;
		height: 430px;
	}
	
	.title-section > div > h1{
		font-size: 38px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	nav {
		margin-right: 5%;
		margin-top: 65px;
		font-size: 18px;
	}
	
	#banner-services{
		height: 550px;
	}
	
	#banner-services > div{
		font-size: 29px;
	}
}