*{box-sizing: border-box;}

BODY {
  font-family: "helve", "Helvetica Neue", helvetica, sans-serif;
  font-size: 16px;
  background-color:#58585b;
  color: white;
  margin: 0;
  
}

@font-face {
  font-family: helve;
  src: url(fonts/HelveticaNeue-Light.otf);
  font-weight: 200;
}

@font-face {
  font-family: helve;
  src: url(fonts/HelveticaNeue-Medium.otf);
  font-weight: 400;
}

@font-face {
  font-family: helve;
  src: url(fonts/HelveticaNeue-Black.otf);
  font-weight: 600;
}

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

h1, h2, h3 {
	 font-family: INCstencil;
	
}

section{
	margin: 60px;
}
article {
	margin: 0px;
	padding: 40px;
	font-weight: 200;
	position: relative;
}

.fosc{background:#404041;}
.rosa{background:#ec008b;}
.clar{background:#58585b;}

.esquerra{
	border-left: 10px solid #ec008b;
}

.dreta{
	border-right: 10px solid #ec008b;
	border-top: 10px solid #ec008b;
	border-bottom: 10px solid #ec008b;
}

.parentesi{
	border-left: 10px dashed white;
	position: relative;
	margin-top: 120px;
}

.parentesi:before {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  left: -21px;
  top: -21px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 32 32' focusable='false'%3E %3Ccircle stroke='%23ec008b' stroke-width='8' fill='none' cx='16' cy='16' r='12'%3E%3C/circle%3E%3Ccircle stroke='none' fill='%23fff' cx='16' cy='16' r='8'%3E%3C/circle%3E%3C/svg%3E");
}

.parentesi:after {
	z-index: 8;
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  left: -21px;
  bottom: -21px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 32 32' focusable='false'%3E %3Ccircle stroke='%23ec008b' stroke-width='8' fill='none' cx='16' cy='16' r='12'%3E%3C/circle%3E%3Ccircle stroke='none' fill='%23fff' cx='16' cy='16' r='8'%3E%3C/circle%3E%3C/svg%3E");
}



#intro {
	background: #fff000;
	margin: 0px;
	padding :0;
	text-align: center;
	color: black;
}

#intro h1{
	font-family: helve;
	font-weight:600;
	margin-top: -50px;
	
}

.video{
	width: 800px;
	height: 800px;
	background:#404041;
}


#splash, #splash_svg{
	z-index: 9;
	display:none;
	position: fixed;
	height: 100vh;
	width: 100vw;
	margin: 0px;
	background: rgba(0,0,0,0.8);
	padding: 5%;
	text-align: center;
}

#splash img, #splash_svg svg{
	max-width: 100%;
	max-height: 100%;
}
#splash .closebtn, #splash_svg .closebtn {
	position: absolute;
	top: 40px;
	right: 40px;
	font-size: 30px;
	padding: 5px 15px;
	font-family: stencil;
	background:#ec008b;
	color: white;
	border-radius: 50%;
	z-index: 10;
}

  /****************************************************/
 /*                         UNA POBLACIÓ MOBILITZADA                 */
/****************************************************/


.imatge_petita{
	width: 160px;
	padding: 0;
	margin: 10px;
	text-align: justify;
	font-size: 0.8em;
	display: inline-block;
	vertical-align: top;
}
.imatge_petita .imatge {
	width: 160px;
	height: 160px;
	background-color: #404041;
	background-size: cover;
	background-position: center;
}

.imatge_gran{
	width: 300px;
	padding: 0;
	margin: 10px;
	text-align: justify;
	font-size: 0.8em;
	display: inline-block;
	vertical-align: top;
}
.imatge_gran .imatge {
	width: 300px;
	height: 200px;
	background-color: #404041;
	background-size: cover;
	background-position: center;
}

.imatge_evolucio{
	width: 200px;
	padding: 0;
	margin: 10px;
	text-align: justify;
	font-size: 0.8em;
	display: inline-block;
	vertical-align: top;
}
.imatge_evolucio .imatge_svg {
	width: 200px;
	height: 120px;
	background-color: #404041;
	background-size: cover;
	background-position: center;
}




  /****************************************************/
 /*                                    TIMELINE                                                  */
/****************************************************/

#tl{
	margin-left:140px;
	border-left: 10px solid #ec008b;
}

#tl:before{
	border-top: 10px solid #ec008b;
	content: '';
	position : absolute;
	width: 150px;
	top: 0;
	left: -150px;
}
#tl:after{
	border-bottom: 10px solid #ec008b;
	content: '';
	position : absolute;
	width: 150px;
	bottom: 0;
	left: -150px;
}

#timeline{
	margin: 0;
	padding: 0;
}

#timeline li {
  /* You need to turn on relative positioning so the line is placed relative to the item rather than absolutely on the page */
  position: relative;
  
  /* Use padding to space things out rather than margins as the line would get broken up otherwise */
  margin: 0;
  margin-left: 0px;
  padding-bottom: 1em;
  padding-left: 0px;
  list-style: none;
  display: block;

}

#timeline li p{
	margin: 0;
	padding: 0;
	display: block;
}
#timeline li h3{
	margin: 0;
	padding: 0;
	display: block;
}

#timeline li span{
	text-align: right;
	position: absolute;
	left: -160px;
	font-weight: 700;
	float: right;
	display: block;
	font-family: "stencil";
}

/* The actual line being placed before each list item, tweak width and color as appropriate */
#timeline li:before {
  background-color: #fff;
  width: 6px;
  content: '';
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: -48px;
}

/* Small bullets for normal list items */
#timeline li::after {
  content: '';
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 32 32' focusable='false'%3E%3Ccircle stroke='none' fill='%23fff' cx='16' cy='16' r='16'%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  left: -53px;
  top: 2px;
  width: 16px;
  height: 16px;
}

/* Large bullet for the first list item */
#timeline .destacat::after {
  content: '';
  width: 32px;
  height: 32px;
  left: -62px;
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 32 32' focusable='false'%3E %3Ccircle stroke='%23ec008b' stroke-width='8' fill='none' cx='16' cy='16' r='12'%3E%3C/circle%3E%3Ccircle stroke='none' fill='%23fff' cx='16' cy='16' r='8'%3E%3C/circle%3E%3C/svg%3E");
}



    
/* Start the line further down on the first list item */
#timeline li:first-child:before { top: 15px;  }

/* Stop the line short on the final list item */
#timeline li:last-child:before { height: 6px; }


footer {
	text-align: center;
}

nav ul{
	display: table;
	width: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

nav ul li { display: table-cell; color: white; background-color:#404041 ; padding: 10px; border: 4px solid #58585b;}

nav ul li:hover{
	background-color:#ec008b ;
}

.button{
	text-decoration: none;
	background-color: #ec008b;
	color: white;
	padding: 20px 30px;
	margin: 5px;
	font-weight: 500;
	
}
