@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

a, a:hover, a:visited, a:active{
	text-decoration: none;
	cursor: pointer;
	outline:none
}

body{
	overflow: hidden;
	font-family: 'Montserrat', sans-serif;
}

video{
	z-index: 1000;
}

.ocult{
	display: none;
}

.transparent, .mapa{
	opacity: 0;
}

.linc, .link, .linc:hover, .link:hover{
	cursor: pointer;
}
.taula{
	display: table;
}
.fila{
	display: table-row;
}
.cela{
	display: table-cell;
}
.div-centrat{
	display: flex;
    flex-direction: row;
	align-items: center;
	justify-content: center;
}
.absolut{
	position: absolute;
}



.linia{
	border-style: solid;
	border-width: 1px;
}

.opac{
	background-color: rgba(0,153,204,0.3);
}
.img-transparent{
	opacity: 0.4;
}

.formulari{
	margin-top: 30%;
}
.formulari label{
	color: white;
}

#plantilla{
	position: absolute;
	height: 100%;
	width: 100%;
	background-image: url("../img/plantilla.png");
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

#fondo{
	position: absolute;
	height: 100%;
	width: 100%;
	background-image: url("../img/fons.png");
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	
	display: flex;
	justify-content: center;
	align-items: center;
}
#contingut{
	position: absolute;
	height: 100%;
	width: 100%;
}

#logo1{
	height: 60%;
}
#logo1 img{
	height: 100%;
	width: auto;
}
#logobe{
	position: absolute;
	top: 4%;
	left: 4%;
	height: 22%;
}
#logobe img{
	height: 100%;
	width: auto;
}
#logo_doble{
	position: absolute;
	top: 4%;
	left: 4%;
	height: 18%;
}
#logo_doble img{
	height: 100%;
	width: auto;
}
#bto_endavant{
	position: absolute;
	right:  4%;
}
#bto_endavant img{
	height: 80px;
	width: auto;
	opacity: 0.5;
}
#bto_endavant img:hover{
	opacity: 1;
}
#bto_enrere{
	position: absolute;
	left:  4%;
}
#bto_enrere img{
	height: 80px;
	width: auto;
	opacity: 0.5;
}
#bto_enrere img:hover{
	opacity: 1;
}
#logo2{
	position: absolute;
	bottom: 5%;
	height: 8%;
	width: 100%;
}
#logo2 img{
	height: 100%;
	width: auto;
	display:block;
	margin: auto;
	bottom: 0%;
}
/*video 1*/
#div_video{
	min-height: 60%;
	max-height: 70%;
	height: auto;
	min-width: 50%;
	max-width: 70%;
	position: relative;
}
#div_video video{
	position: absolute;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	width: auto;
}
/* proves 2*/
#centre2{
	/*background-color: white;*/
	height: 51%;
	width: 82%;
}

#centre2 > div{
	float: left;
	position: relative;
}
#centre2 > div > div{
	clear: both;
	position: relative;
	height: 50%;
}

/*proves*/
.icones-proves img{
	max-height: 120px;
	max-width: 120px;
	width: auto;
}
.al-esquerra{
	align-items: stretch !important;
	text-align: left;
}
.al-esquerra div{
	width: 100%;
	align-items: stretch !important;
	text-align: left;
}
.candau img{
	max-height: 120px;
	width: auto;
}
.candau-gran img{
	max-height: 200px;
	width: auto;
}
#centre{
	/*background-color: white;*/
	height: 51%;
	width: 70%;
	
	display: flex;
    flex-direction: row;
	align-items: center;
	justify-content: center;
}
#centre div{
	/*background-color: red;*/
	height: 100%;
	width: 80%;
	
	display: flex;
    flex-direction: column;
	align-items: center;
	justify-content: center;
}
#centre div div img{
	/*max-width: 100%;*/
	height: auto;
}
centre:first-child, centre:last-child{
	position: relative;
}
centre:first-child div, centre:last-child div{
	position: absolute;
}
.proves-text{
	font-size: 1.8em;
	color: white;
	text-transform: uppercase;
}
/* reptes */
.enmarcat{
	border-style: solid;
	border-width: 2px;
	border-color: green;
}
#centre-repte{
	/*background-color: white;*/
	height: 51%;
	width: 70%;
	position: relative;
}
#icona-imatge{
	position: absolute;
	top: 100px;
	right: -10%;
	opacity: 85%;
}
#icona-imatge img{
	max-height: 180px;
	width: auto;
}
.titol1{
	text-transform: uppercase;
	color: white;
	font-size: 3em;
	font-weight: bold;
}
.titol2{
	text-transform: uppercase;
	color: white;
	font-size: 2.5em;
}
.requadre-text {
	background-color: white;
	padding: 1em 1em;
	width: 100%;
	font-size: 1.2em;
}
.requadre-text-fosc {
	background-color: #A9A9A9;
	color: white;
	padding: 2em 0em;
	text-align: center;
	width: 100%;
}
.requadre-text-clar {
	background-color: white;
	color: grey;
	padding: 2em 1em;
	width: 100%;
	font-size: 2em;
	font-weight: bold;
}
.requadre-enmarcat{
	border-style: solid;
	border-width: 2px;
	border-color: #00ffff
}
.columna{
	display: flex;
    flex-direction: column;
	align-items: left;
	justify-content: center;
}
.columna50{
	display: flex;
    flex-direction: column;
	align-items: left;
	justify-content: left;
	width: 50%;
}
.fila{
	display: flex;
    flex-direction: row;
	align-items: left;
	justify-content: left;
}
.espai_dreta_1{
	margin-right: 1em;
}
.espai_dreta_2{
	margin-right: 3em;
}
.text-centrat{
	text-align: center;
}
.espai_baix_1{
	margin-bottom: 0.5em;
}
.espai_dalt_1{
	margin-top: 0.5em;
}
.espai_baix_2{
	margin-bottom: 4em;
}
#input_codi_2{
	background-color: white;
	color: black;
	padding: 2em 1em;
	font-size: 1.5em;
	font-weight: 500;
	text-align: center;
}
#input_codi_3{
	background-color: #38a838;
	color: white;
	padding: 2em 1em;
	width: 30%;
	font-size: 1.5em;
	font-weight: 500;
	text-align: center;
}
#boto_validar{
	background-color: #383838;
	color: white;
	padding: 2em 1em;
	width: 30%;
	font-size: 1.5em;
	font-weight: 500;
}
#boto_validar:hover{
	background-color: #484848;
}
#codi{
	height: 100%;
	width: 100%;
}
#input_codi_1, #input_codi_2{
	height: 100%;
	font-size: 1.5em;
}
#input_codi {
	width: 75%;
}
.error_codi{
	border-style: solid;
	border-width: 2px;
	border-color: red
}
.linc-pista{
	font-size: 1.5em;
	font-weight: 500;
}
.linc-pista:hover{
	background-color: #484848;
}
/* pistes */
.titol_pista{
	color: #00dddd;
	font-size: 1.7em;
	text-decoration: underline;
}
/* puzle */

.puzzle-lletres-container{
	margin: 20px -2%;
	position: relative;
}
.puzzle-lletres-itm{
	float: left;
	width: 21%;
	background-color: white;
	color: grey;
	padding: 2em 1em;
	font-size: 2em;
	font-weight: 500;
	margin: 2%;
	text-align: center;
}
/* rellotge */
#logos-dreta{
	position: absolute;
	top: 3em;
	right: 6em;
	color: white;
	min-width: 300px;
}
#ob-text-8{
	font-size: 1.3em;
}
#rellotge{
	font-size: 5em;
}
.marge_1{
	animation-duration: 1s;
	animation-name: ch_marge_1;
	animation-iteration-count: 10;
	animation-direction: alternate;
	color: rgb(236, 78, 77);
}

.marge_2{
	animation-duration: 1s;
	animation-name: ch_marge_1;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	color: rgb(236, 78, 77);
}