@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Open+Sans&display=swap');


* {
	margin: 0;
	padding: 0;
	box-sizing:border-box;
}
body {
	background-color: white;
	font-family: 'Open Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: 600;
	margin-bottom: 30px;
	text-align: center;
}
header {
	padding: 40px;
	display: flex;
	justify-content: space-between;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: white;
}
.logo-container {
	display: flex;
    align-items: left;
    max-width: 80%;
    position: absolute;
    left: 30%;
    top: -60%;
    transform: translateX(-50%);
}
.logo-container img {
	max-width: 90%;
	margin: auto;
	cursor: pointer;
 	user-select:none;
}

.menu-icon {
    display: flex;
    align-items: center;
    position: absolute;
    right: 50px; 
    top: 50%;
    transform: translateY(-50%);
}
/* MENU */
nav {
	text-align: center;
	position: fixed;
	left: 0;
	right: 0;
	top: 80px;
	bottom: 0;
	z-index: 1000;
	display: none;
}
nav li {
	padding: 10px;
	list-style: none;
	background-color: rgb(255, 135, 7);
}
nav a:hover {
	color: white;
}
nav a {
	text-decoration: none;
	color: rgb(50, 81, 144);
	font-weight: 300;
}
#icon-menu{
	color: rgb(50, 81, 144);
	font-size: 30px;
	cursor: pointer;
}
#tanca{
	color: rgb(50, 81, 144);
	font-size: 30px;
	cursor: pointer;
	
}

/*MENÚ HORIZONTAL*/
@media(min-width: 600px){
	#icon-menu, #tanca {
		display: none;
	}
	.logo-container {
		position: absolute;
		left: 10%;
		top: -65%;
	}
	nav{
		display: block !important;
		text-align: center;
		padding: initial;
		top: 30px;
		bottom: initial;
		font-size: 16px;
		
	}
	nav ul {
		display: flex;
		justify-content: space-evenly;
		list-style: none;
	}
	nav a:hover{
		color: rgb(255, 135, 7);
	}
	
	nav li{
		background-color:white;
		border-radius: 40%;

	}
}

#fondo {
	background-image:linear-gradient(rgb(50, 81, 144,0.5), rgba(0,0,0,0.3)), url(img/fondo3.jpg);
	padding:  120px 0px; 
	background-repeat: no repeat;
	background-size: cover;
	background-position: center;
	text-align: center;
	min-width: 100%;
	min-height: 100%;
}
h1 { 
  	z-index: 1; 
 	color: rgb(255, 135, 7);
  	font-size: 60px;
 	text-align: center;
 	padding: 30px;
 	font-weight: 600;
 	margin-top: 80px;
}
#fondo h2{
	z-index: 1; 
 	color: rgb(255, 135, 7);
  	font-size: 30px;
 	text-align: center;
 	padding: 5px;
 	font-weight: 600;
 	margin-top: 20px;
}
 
@media(min-width: 600px){
	#fondo h1 {
		margin-top: 100px;
		padding: 40px;
		font-size: 80px;
		font-weight: 600;
	}
	#fondo h2 {
		font-size: 60px;
		margin-top: 40px;
		padding: 30px;
	}
}

#slogan h2{
	margin: 40px auto 10px;
	padding: 20px;
	color: rgb(50, 81, 144);
	font-size: 30px;
}

#slogan p{
	padding: 20px;
	margin: 20px auto;
	text-align: center;
	font-size: 15px;
	color: rgb(95, 93, 93);
	max-width: 1000px;
	margin-bottom: 10px;
}

@media(min-width: 600px){
	#slogan h2 {
		font-size: 40px;
		font-weight: 600;
	}
	#slogan p {
		font-size: 18px;
	}
}

/* TITULOS MENÚ */
#serveis, #qui, #contacte, h2{
	text-align: center;
	padding: 20px 10px;
	color:rgb(50, 81, 144);
	font-size: 15px;
}
@media(min-width: 600px){
	#serveis, #qui, #contacte, h2{
		padding: 40px 10px;
		font-size: 20px;
	}
}

/* SERVEIS */
.serveis-container {
	background-image:linear-gradient( rgba(255, 135, 7,0.3), rgb(240,240,240)), url(img/family.jpg);
	padding: 75px 100px;
	background-repeat: no repeat;
	background-size: cover;
	background-position: center;
	text-align: center;
	min-width: 100%;
	min-height: 100%;
}

.flex-container {
	display: flex;
	flex-wrap: wrap;
	padding: 20px;
	background-color: #eee;
}
.flex-container img:hover {
	background-color: rgba(255, 255, 255, 0.5);
	opacity: 0.5;
	transition: 1s;
}
article {
	flex: 1 0 250px;
	padding: 10px;
	justify-content: center;
	align-items: stretch;
}
article img {
	min-width: 100%;
}
article h3 {
	color: rgb(50, 81, 144);
	padding: 20px;
	width: 300px;
	font-size: 20px;
	text-align: left;
}
article p {
	color:rgba(95, 93, 93, 0.699);
	padding: 20px;
	font-weight: 500;
	font-size: 15px;
}
article.lloguer{
	border-bottom: none;
}
article img {
	width: 100%;
	border-radius: 10px;
	margin-bottom: 20px;
}
article strong{
	color: #000000bc;
}

/* MEDIA DE SERVEIS */
@media(min-width: 600px){
	.serveis-container {
		padding: 200px 100px;
	}
	#serveis, #qui, #contacte, h2{
		margin-top: 20px;
	}
	article {
		border-bottom: none;
	}
	article h3 {
		font-size: 30px;
		width: 400px;

	}
	article p {
		font-weight: 600;
		font-size: 18px;
	}
	article.lloguer {
	border-right: none;
	}
}

/* QUI SOM */
.historia {
	padding: 20px;
	text-align: center;
	font-size: 15px;
	color: rgb(95, 93, 93);
	margin: 20px;
	max-width: 1000px;
	margin-bottom: 40px;
}
.historia p{
	text-align: justify;
}

@media(min-width: 600px){
	.historia {
		padding: 40px;
		font-size: 18px;
		margin: auto;
	}
}

/* CONTACTE */
.video-container {
	padding: 100px 60px;
	background-color: rgba(255, 255, 255, 0.5);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	position: relative;
	overflow: hidden;
	clear: both;
	color: white;
	font-size: 20px;
	text-align: center;
	font-weight: 600;
}
video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	z-index: -10;
	min-width: 100%;
	min-height: 100%;
}

@media(min-width: 600px){
	.video-container {
		padding: 150px 80px;
		font-size: 30px;
	}
}

.informacio {
	margin: 40px auto;
	padding: 20px;
	text-align: center;
	font-size: 15px;
	color: rgb(50, 81, 144);
	font-weight: 600;
	max-width: 900px;	
}
.flex-dades {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding: 20px;
	background-color: #eee;
}
.container {
	flex: 300px;
	padding: 10px;
	color: grey;	
}

.flex-dades h4 {
	color: rgb(50, 81, 144);	
	text-align: center;
}

.flex-dades a{
	color: grey;
	text-decoration: none;
}
.flex-dades p{
	margin: 10px;
	text-align: center;
	color: grey;
}
.tel-container a:hover{
	color: black;
	transition: 1s;
	text-decoration: underline;
}

@media(min-width: 600px){
	.informacio {
		margin: 80px auto 40px;
		padding: 40px;
		font-size: 20px;
	}
}

/* MAPA DE NAVEGACIÓ */
.arbol{
	display: flex;	
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding: 10px;
}
.arbol h4{
	text-align: left;
	margin-bottom: 0;
	font-size: 17px;
}
.arbol li {
	text-align: left;
	list-style: none;
	margin: 10px auto;
	max-width: 900px;
}
.arbol a {
	color: white;
	font-size: 13px;
	text-decoration: none;
}
.arbol a:hover {
	color: rgb(255, 135, 7);
}
.legal-container {
	margin-left: 15px;
}
footer {
	text-align: center;
	padding: 20px;
	background-color:rgb(50, 81, 144);
	color: white;
}
.drets{
	display: flex;	
	flex-wrap: wrap;
	justify-content: center;
	margin-top: -10px;
}
.drets img {
	cursor: pointer;
 	user-select:none; 
	margin-top: -15%;
	
}
.drets small{
	margin-top: -30%;
	font-size: 12px;
}


@media(min-width: 600px){
	footer {
		padding: 0 20px;
		font-size: 15px;
	}
	.arbol {
		padding-top: 80px;
	}
	.arbol h4{
		font-size: 20px;
	}
	.arbol a {
		font-size: 15px;
	}
	.drets{
		justify-content: space-between;
	}
	.drets img {
		margin-left: 20px;
		max-width: 75%;
	}
	.drets small{
		margin: auto;
		padding-bottom: 20px;
	}

}

/* POLÍTICA DE PRIVACIDAD Y LEGAL */
.legal {
	color: grey;
	text-align: left;
	padding: 150px 20px;
	margin: auto;
	max-width: 1000px;
}
.legal h3 {
	color: rgb(50, 81, 144);
	margin-bottom: 50px;
	font-size: 25px;
}
.legal h5{
	color: rgb(50, 81, 144);
	text-align: left;
	margin: 20px 0;
	font-size: 18px;
}
.legal ul{
	margin: 20px 0;
}
.legal li{
	margin-left: 30px;
}
.legal p {
	font-size: 15px;
}

@media(min-width: 600px){
	.legal p {
		font-size: 18px;
	}
}

/*AVISO DE COOKIES*/
.aviso_cookies {
	position: fixed;
	bottom: 0;
	background-color: white;
	color:  rgb(50, 81, 144);
	width: 100%;
	display: flex;
	justify-content: center;
	border-top: 2px solid #ccc;
}
.aviso_cookies .container-cookies{
	padding: 10px 0;
	max-width: 90%;
}
.botones{
	display: flex;
	justify-content: center;
}
.boton {
	width: 80px;
	background-color: rgb(50, 81, 144);
	color: white;
	font-size: 12px;
	text-align: center;
	padding: 8px;
	margin: 5px;
	cursor: pointer;
	border-radius: 15px;
}
.boton:hover {
	background-color:grey;
	color: white;

}

.enlace_cookie {
	color: grey;
	text-decoration: none;
}
.container-cookies a:hover{
	color: rgb(255, 135, 7);
	transition: 1s;
	text-decoration: underline;
}
.legalCookies {
	color: grey;	
	padding: 150px 20px;
	margin: auto;
	max-width: 900px;
}
.legalCookies h3 {
	color: rgb(50, 81, 144);
	margin-bottom: 50px;
	font-size: 25px;
}
.legalCookies h4 {
	color: rgb(50, 81, 144);
	text-align: left;
	margin-bottom: 10px;
	text-decoration-line: underline;
}
.legalCookies p {
	font-size: 15px;
}
	
.legalCookies a {
	text-decoration: none;
	color: rgb(50, 81, 144);
}
.legalCookies a:hover{
	color: rgb(50, 81, 144);
	transition: 1s;
	text-decoration: underline;
}
.legalCookies strong {
	color: rgb(50, 81, 144);
}
@media(min-width: 600px){
	.legalCookies p {
		font-size: 18px;
	}
}

/*ARROW*/
.arrow {
	font-size: 50px;
	position: fixed;
	bottom: 30px;
	right: 5px;
	z-index: 1000;
	padding: 10px;
	cursor: pointer;
	user-select:none;
	display: none; 
	color: grey;
}
.arrow:hover {
   transition: 0.5s;
   color: rgb(255, 135, 7);
}


