
/* @import url('font.css'); */


/* generic */
* {
	box-sizing: border-box;
}
html {
	text-size-adjust: 100%;
}


/* body */
body {
	background-color: #242424;
	color: white;
}



.centered_div {
	display: grid;
	place-items: center;
	width: 60% !important;
	max-width: 600px;
	height: 60vh;
	max-height: 500px;
	background-color: #897575;
	border: 1px solid;
	margin: auto;
	margin-top: 30px;
	margin-bottom: 30px;
}




/* gallery */

/* gallery thumbnail: comment */
.demo-gallery a {
	overflow: hidden;
	color: white;
}
.demo-gallery a:hover {
	overflow: hidden;
	color: black;
}



/* links */
a {
	text-decoration: none;
	color: pink;
}
a:hover {
	color: red;
}



/* 3 DIVs */
#uno {
	float: left;
	width: 33%;
	border: 1px solid;
}
#dos {
	float: left;
	width: 34%;
	border: 1px solid;
	padding-left: 10px;
}
#tres {
	float: left;
	width: 33%;
	border: 1px solid;
}
.col3 {
	display: flex;
	flex-wrap: wrap;
}
.col3 .divcol3 {
	border: 1px solid;
	padding-right: 10px;
}
.col3 .divcol3 div {
	width: 100%;
}




/* 2 DIVs */
#text {
	float: left;
	width: 50%;
	border: 1px solid;
	padding-right: 10px;
}
#images {
	float: left;
	width: 50%;
	border: 1px solid;
}
.col2 {
	display: flex;
	flex-wrap: wrap;
}
.col2 .divcol2 {
	border: 1px solid;
	padding-right: 10px;
}
.col2 .divcol2 div {
	width: 100%;
}





/* 1 DIV */
#only_text {
	float: left;
	width: 100%;
}
.col1 {
	display: flex;
	flex-wrap: wrap;
}
.col1 .divcol1 {
	border: 1px solid;
	padding-right: 10px;
}
.col1 .divcol1 div {
	width: 100%;
}




/* table1 */
.table1 {
	border-collapse: collapse;
}
.table1 td {
	border: 1px solid;
	padding: 2px;
}




/* FOOTER */
#peu {
	clear: both;
	border: 1px solid;
	width: 100%;
	float: left;
	margin-top: 14px;
	margin-bottom: 20px;
}
#peu_1 {
	/*border: 1px solid;*/
	float: left;
	width: 40%;
}
#peu_2 {
	/*border: 1px solid;*/
	float: left;
	width: 60%;
	text-align: right;
}
.text_peu {
	font-size: 11px;
}
.img_xarxes_socials {
	height: 26px;	
}








/* tablets & smartPhones 3 DIVs */
@media screen and (max-width: 900px) {
	body {
		font-size: 14px;
	}
	
	/* gallery */
	.demo-gallery figure {
		font-size: 12px;
	}
	.pswp__caption small {
		font-size: 11px;
	}
	.pswp__caption__center {
		font-size: 11px;
	}


	/* DIVs */
	#uno {
		width: 50%;
	}
	#dos {
		width: 50%;
	}
	#tres {
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	#uno {
		width: 100%;
	}
	#dos {
		width: 100%;
		padding-left: 0px;
	}
	#tres {
		width: 100%;
	}
}





/* tablets & smartPhones 2 DIVs */
@media screen and (max-width: 700px) {
	#text {
		width: 100%;
		padding-right: 0px;
	}
	#images {
		width: 100%;
	}

	.col3 .divcol3 {
		width: 100% !important;
		padding: 0px;
	}
	.col3 .divcol3 div {
		padding: 0px;
	}

	.col2 .divcol2 {
		width: 100% !important;
		padding: 0px;
	}
	.col2 .divcol2 div {
		padding: 0px;
	}

	.col1 .divcol1 {
		width: 100% !important;
		padding: 0px;
	}
	.col1 .divcol1 div {
		padding: 0px;
	}
}




/* FOOTER tablets & smartPhones*/
@media screen and (max-width: 550px) {
	#peu_1 {
		width: 100%;
	}
	#peu_2 {
		width: 100%;
	}
}






