html,
body {
	overflow-x: hidden;
}

body {
	font-family: "Roboto";
	font-size: 17px;
	font-weight: 400;
	background-color: white;
}

h1 {
	font-size: 200%;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 400;
	text-align: center;
}


img {
	width: 100%;
	height: auto;
}

header {
	background-image: url("../images/experiencia/eixample.jpg");
	color: white;
	padding: 50px 0;
	background-attachment: fixed;
	background-position: center center;
}
header p {
	font-family: "Allura";
	color: rgba(255, 255, 255, 0.2);
	margin-bottom: 0;
	font-size: 60px;
	margin-top: -30px;
}

section {
	padding: 100px 0;
}

.timeline {
	position: relative;
}
.timeline::before {
	content: "";
	background: #c5cae9;
	width: 5px;
	height: 95%;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.timeline-item {
	width: 100%;
	margin-bottom: 70px;
}
.timeline-item:nth-child(even) .timeline-content {
	float: right;
	padding: 40px 30px 10px 30px;
}
.timeline-item:nth-child(even) .timeline-content .date {
	right: auto;
	left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
	content: "";
	position: absolute;
	border-style: solid;
	width: 0;
	height: 0;
	top: 30px;
	left: -15px;
	border-width: 10px 15px 10px 0;
	border-color: transparent #f5f5f5 transparent transparent;
}
.timeline-item::after {
	content: "";
	display: block;
	clear: both;
}

.timeline-content {
	position: relative;
	width: 45%;
	padding: 10px 30px;
	border-radius: 4px;
	background: #f5f5f5;
	box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
}
.timeline-content::after {
	content: "";
	position: absolute;
	border-style: solid;
	width: 0;
	height: 0;
	top: 30px;
	right: -15px;
	border-width: 10px 0 10px 15px;
	border-color: transparent transparent transparent #f5f5f5;
}

.timeline-img {
	width: 30px;
	height: 30px;
	background: #3f51b5;
	border-radius: 50%;
	position: absolute;
	left: 50%;
	margin-top: 25px;
	margin-left: -15px;
}


a:hover{
	font-weight: bold;
}

a:active,
a:focus {
	background: #bbbecc;
	color: #ffffff;
	text-decoration: none;
}



.timeline-item:nth-child(2) .timeline-img-header {
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
		url("https://instagram.fjnb3-1.fna.fbcdn.net/t51.2885-15/s750x750/sh0.08/e35/24174746_134980400549449_43116304806182912_n.jpg") center center
			no-repeat;
	background-size: cover;
}
.timeline-item:nth-child(5) .timeline-img-header {
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
		url("https://instagram.fjnb3-1.fna.fbcdn.net/t51.2885-15/s750x750/sh0.08/e35/24838731_1990388374582805_1447427175870365696_n.jpg") center center
			no-repeat;
	background-size: cover;
}
.timeline-item:nth-child(6) .timeline-img-header {
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
		url("https://instagram.fjnb3-1.fna.fbcdn.net/t51.2885-15/e35/19623430_1461139190618427_6886520076728532992_n.jpg") center center
			no-repeat;
	background-size: cover;
}
.timeline-item:nth-child(8) .timeline-img-header {
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.4)),
		url("https://instagram.fjnb3-1.fna.fbcdn.net/t51.2885-15/s750x750/sh0.08/e35/20066884_234316170422577_2955813312199131136_n.jpg") center center
			no-repeat;
	background-size: cover;
}



blockquote {
	margin-top: 30px;
	color: #757575;
	border-left-color: #3f51b5;
	padding: 0 20px;
}

.date {
	background: #ff4081;
	display: inline-block;
	color: #ffffff;
	padding: 10px;
	position: absolute;
	top: 0;
	right: 0;
}

@media screen and (max-width: 768px) {
	.timeline::before {
		left: 50px;
	}
	.timeline .timeline-img {
		left: 50px;
	}
	.timeline .timeline-content {
		max-width: 100%;
		width: auto;
		margin-left: 70px;
	}
	.timeline .timeline-item:nth-child(even) .timeline-content {
		float: none;
	}
	.timeline .timeline-item:nth-child(odd) .timeline-content::after {
		content: "";
		position: absolute;
		border-style: solid;
		width: 0;
		height: 0;
		top: 30px;
		left: -15px;
		border-width: 10px 15px 10px 0;
		border-color: transparent #f5f5f5 transparent transparent;
	}
}

/*Adding css*/


     
/**Footer*/
 .row{
	 flex-direction: row;
	 justify-content: center;
 }
 #personal{
   text-align: center;
   font-family: 'Handlee', cursive;
   size: 26px;
 }
 a:hover{
   font-weight: bold;
   
 }

 .border:hover{
   box-shadow: 0 15px 15px rgba(56, 98, 236, 0.25), 0 6px 6px rgba(0,0,0,0.30);

 }

 .titleTestimonials{
   height: 60px;
   background-color: lightgray;
 }

 i{
   padding: 1%;
   font-size: 20px;
 }
 footer{
   background-color: lightgray;
 }

 .button{
   width: 200px;
 }

 .button:hover{
   font-weight: bold;
   font-size: large;
   color: black;
   box-shadow: 0 5px 5px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 }

 .thumbnail:hover{
   box-shadow: 0 5px 5px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 }
