*
{
	box-sizing: border-box;
}

body
{
	margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Muli', sans-serif;
    font-family: 'Arvo', serif;
}

a
{
	text-decoration: none;
}

/*----HEADER----->*/
header
{
	width: 100%;
  	z-index: 999;
  	position: fixed;
  	top: 0px;
  	font-family: 'Source Sans Pro', sans-serif;
  	font-weight:500 ;
  	letter-spacing: 1px;
  	background-color: white;
  	height: 77px;
}

header:after, form:after, #presidente_open:after
{
	display: block;
	clear: both;
	content: "";
}

#hamburger
{
	position: fixed;
	background-color: transparent;
	right: 30px;
	top: 16px;
	width: 30px;
	height: 20px;
	cursor: pointer;
	z-index: 10;
	display: none;
	transition: all 0.5s ease-out 0s;
}

#hamburger>div
{
	height: 3px;
	width: 100%;
	background-color:rgb(102, 0, 153);
	border-radius: 10px;
	position: absolute;
	left: 0;
	transition: all .4s;
	transition-delay: .2s;
	transition-timing-function: linear;
}

.opened>div:nth-of-type(2)
{
	opacity: 0;
}

.opened>div:last-of-type
{
	transform: rotate(-40deg);
	margin-bottom: 9px;
}

.opened div:first-of-type
{
	transform: rotate(40deg);
    margin-top: 8px;
}

#hamburger:hover div
{
	background-color:red;
}

#hamburger> div:first-of-type
{
	top: 0;
}

#hamburger div:nth-of-type(2)
{
	top: 50%;
	transform: translateY(-50%);
}

#hamburger> div:last-of-type
{
	bottom: 0;
}

nav a:last-child
{
	background-color: red;
	color: white;
	transition: all .3s;
	transition-delay: .2s;
	transition-timing-function: cubic-bezier(.65,.05,.36,1);
}

nav a:last-child:hover
{
	background-color: rgb(155, 31, 206);
}

header div#logo
{
	float: left;
	width: 57px;
	padding-top: 11px;
	margin-left: 30px;
	position: relative;
}

header div#logo img
{
	width: 100%;
}

nav 
{
	text-align: right;
	background-color: white;
	float: right;
	vertical-align: middle;
	padding: 28px 0;
}

header nav a
{
	font-size: 13px;
	padding: 30px 37px;
	color: black;
	margin: 0;
}

header nav a:hover
{
	
	background-color: rgba(222, 216, 224, .2);
}

#options_menu
{
	background-color:rgba(44,9,71,1);
	padding: 70px 0px;
	padding-left: 40px;
	width: 100%;
	height: 100vh;
	margin-top: 50px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 50px;
	position: fixed;
	transition: top .7s;
	z-index: 888;
}

#options_menu>a
{
	color: white;
	display: block;
	padding-bottom: 15px;
	margin: 0;
	font-size: 24px;
	transition: all 1s;
}

#window
{
	height: 1px;
	width: 177px;
	position: relative;
	overflow: hidden;
	background:transparent;
}

#window>div
{
	height: 100%;
	width: 0%;
	position: absolute;
	background-color: red;
	animation-name: cuadrado;
	animation-duration: 4s;
	animation-delay: 1s;
	animation-iteration-count:infinite;
}

@keyframes cuadrado
{
	0%
	{
		width: 0%;
	}

	50%
	{
		width: 100%;
	}

	100%
	{
		width: 100%;
	}
}
#options_menu #social_menu
{
	position: absolute;
	bottom: 110px;
	right: 35px;
}

#options_menu #social_menu img
{
	width: 30px;
	margin-left: 10px;
}
#options_menu #social_menu img:hover
{
	opacity: 0.5;
	transition: opacity 1s;
}


#options_menu a:hover
{
	color: rgba(255, 255,255,.5);
}


/*----VIOLA CLUB BCN-------*/

#welcome
{
	height: 100vh;
	width: 100%;
	top: 0;
	position: absolute;
	z-index: 999999999999999;
	background-color: rgba(92,42,143,1);
	text-align: center;
	animation-name: viola;
	animation-fill-mode: forwards;
	animation-duration: 3700ms;
	animation-delay: 19.5s;
}

@keyframes viola
{
	0%
	{
		top: 0;
		background-color: rgba(92,42,143,1);
	}

	100%
	{
		top: -130%;
		background-color:rgba(92,42,143,.7);
	}

}

#welcome img
{
	height: 300px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

#welcome img:first-child
{
	opacity: 1;
	animation-name: img_a;
	animation-duration: 5000ms;
	animation-delay: 1s;
	animation-fill-mode: forwards;
}

#welcome img:nth-child(2)
{
	opacity: 0;
	animation-name: img_ll;
	animation-duration: 10000ms;
	animation-delay: 2s;
	animation-fill-mode: forwards;
}

#welcome img:nth-child(3)
{
	opacity: 0;
	animation-name: img_b;
	animation-duration:8300ms;
	animation-delay: 4s;
}

#welcome img:nth-child(4)
{
	opacity: 0;
	animation-name: img_c;
	animation-duration: 8000ms;
	animation-delay: 6s;
}

#welcome img:nth-child(5)
{
	opacity: 0;
	animation-name: img_d;
	animation-duration: 6000ms;
	animation-delay: 8s;
}

#welcome img:nth-child(6)
{
	opacity: 0;
	animation-name: img_e;
	animation-duration: 6800ms;
	animation-delay: 10s;
}

#welcome img:nth-child(7)
{
	opacity: 0;
	animation-name: img_f;
	animation-duration: 6000ms;
	animation-delay: 12s;
}

#welcome img:last-child
{
	opacity: 0;
	animation-name: img_g;
	animation-fill-mode: forwards;
	animation-duration: 6500ms;
	animation-delay: 13.2s;
}

@keyframes img_a
{
	0%{opacity: 1;}
	60%{opacity: 1;}
	100%{opacity: 0;}
}

@keyframes img_ll
{
	0%{opacity: 0;}
	40%{opacity: 1;}
	70%{opacity: 0;}
	100%{opacity: 0;}
}

@keyframes img_b
{
	0%{opacity: 0;}
	50%{opacity: 1;}
	100%{opacity: 1;}
}

@keyframes img_c
{
	0%{opacity: 0;}
	50%{opacity: 1;}
	100%{opacity: 1;}
}

@keyframes img_d
{
	0%{opacity: 0;}
	50%{opacity: 1;}
	100%{opacity: 1;}
}

@keyframes img_e
{
	0%{opacity: 0;}
	50%{opacity: 1;}
	100%{opacity: 1;}
}

@keyframes img_f
{
	0%{opacity: 0;}
	50%{opacity: 1;}
	60%{opacity: 1;}
	100%{opacity: 0;}
}

@keyframes img_g
{
	0%{opacity: 0;}
	60%{opacity: 1;height: 300px;}
	62%{opacity: 1;height: 300px;}
	70%{opacity: 0;height:57px;transform: translate(-50%, -50%);left: 50%;top: 50%;}
	80%{opacity: 0;transform: none;left: 30px;top: 10px;}
	100%{opacity: 1;height: 57px;transform: none;left: 30px;top: 10px;}
}

section#background
{
	background-image: url(../img/stad.jpg);
	background-position: center;
	background-size: cover;
	width: 100%;
	height: 100vh;
	text-align: left;
	font-family: 'Muli', sans-serif;
	margin-top: 77px;
}

section#background #down
{
	position: absolute;
	bottom: 5%;
	width: 40px;
	height: 30px;
	left: 50%;
	transform: translateX(-50%);
}

section#background #down>div
{
	background-color: transparent;
	height: 3px;
	border-radius: 10px;
	position: absolute;
	top: 0%;
	width: 76%;
	animation-delay: 163800ms;
	animation-name: blinkingText;
	animation-duration: 2.2s;
	animation-iteration-count:infinite;
}

@keyframes blinkingText
{
    0%{     background-color: white;    }
    49%{    background-color: white; }
    60%{    background-color: transparent; }
    99%{    background-color:transparent;  }
    100%{   background-color: white;    }
}

section#background #down div:first-child
{
	left: -5px;
	top: 8px;
	transform: rotate(45deg);
}

section#background #down div:nth-child(2)
{
	right: -5px;
	top: 8px;
	transform: rotate(-45deg);
}

section#background div#layout
{
	height: 100%;
	background-color: rgba(10, 0, 15, 0.6);
	padding: 10% 50px 50px 50px;
	color: white;
}

section#background div#layout>div:first-child
{
	position: relative;
	overflow: hidden;
	height: 99px;
}

section#background div#layout>div:first-child p
{
	font-size: 28px;
	line-height: 38px;
	padding: 0 100px;
    text-align: right;
	position: absolute;
	right: 0%;
	top: 100%;
	color: ivory;
	animation-name: title;
	animation-duration: 1800ms;
	animation-delay: 23000ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: forwards;
}

@keyframes title
{
	from
	{
		top: 100%;
	}

	to
	{
		top: 0%;
	}
}

#window_p
{
	position: relative;
	height: 300px;
	margin-top: 30px;
}

#window_p p
{
	font-size: 21px;
	font-weight: 300;
	line-height: 28px;
	position: absolute;
	padding: 0 100px;
	margin: 0;
}

#window_p>div
{
	overflow: hidden;
	position: absolute;
	top: 0%;
	width: 100%;
}

#window_p>div:first-child 
{
	height: 168px;
}

#window_p>div:first-child p
{
	top: 100%;
	animation-name: p_a;
	animation-duration: 23000ms;
	animation-delay: 26500ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: forwards;
}

@keyframes p_a
{
	0%{top: 100%;}
	25%{top: 0%;}
	75%{top: 0%;}
	100%{top: -100%;}
}

#window_p>div:nth-child(2)
{
	height: 140px;
}

#window_p>div:nth-child(2) p
{
	top: 100%;
	animation-name: p_b;
	animation-duration: 20000ms;
	animation-delay: 48000ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: forwards;
}
@keyframes p_b
{
	0%{top: 100%;}
	30%{top: 0%;}
	70%{top: 0%;}
	100%{top:-100%;}
}

#window_p>div:nth-child(3)
{
	height: 140px;
}

#window_p>div:nth-child(3) p
{
	top: 100%;
	animation-name: p_c;
	animation-duration: 22000ms;
	animation-delay: 65700ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: forwards;
}

@keyframes p_c
{
	0%{top: 100%;}
	30%{top: 0%;}
	70%{top: 0%;}
	100%{top:-100%;}
}

#window_p>div:nth-child(4)
{
	height: 252px;
}

#window_p>div:nth-child(4) p
{
	top: 100%;
	animation-name: p_d;
	animation-duration: 36000ms;
	animation-delay: 85000ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: forwards;
}

@keyframes p_d
{
	0%{top: 100%;}
	25%{top: 0%;}
	75%{top: 0%;}
	100%{top:-100%;}
}

#window_p>div:nth-child(5)
{
	height: 168px;
}

#window_p>div:nth-child(5) p
{
	top: 100%;
	animation-name: p_e;
	animation-duration: 28000ms;
	animation-delay: 117000ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: forwards;
}

@keyframes p_e
{
	0%{top: 100%;}
	30%{top: 0%;}
	70%{top: 0%;}
	100%{top:-100%;}
}

#window_p>div:nth-child(6)
{
	height: 224px;
}

#window_p>div:nth-child(6) p
{
	top: 100%;
	animation-name: p_f;
	animation-duration: 24000ms;
	animation-delay: 141800ms;
	animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	animation-fill-mode: forwards;
}

@keyframes p_f
{
	0%{top: 100%;}
	30%{top: 0%;}
	100%{top:0%;}
}


/*-----ABOUT-----*/
section#about
{
	/*height: 600px;*/
	background-color: #eee;
	text-align: center;
	padding: 120px 20px 100px 20px;
	font-family: 'Muli', sans-serif;
}

section#about h4
{
	font-size: 25px;
	font-weight: 900;
	margin-bottom: 120px;
}

section#about>div
{
	margin: auto;
	max-width: 900px;
	/*height: 300px;*/
}
.about_container
{
	height: 200px;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 144px;
	width: 30%;
	position: relative;
}

#about_1
{
	
	background-image: url(../img/1.png);
}

#about_2
{
	background-image: url(../img/2.png);
}

#about_3
{
	background-image: url(../img/3.png);
}

.about_container>div
{
	position: absolute;
	right: 10px;
	top: 15px;
	text-align: center;
	width: 55%;
}

.about_container h6
{
	margin: 11px 0 8px 0;
	font-weight: 800;
	font-size: 16px;
	line-height: 19px;
}

.about_container p
{
	font-size: 12px;
	line-height: 16px;
}



/*----STAFF-----*/
section#staff
{
	overflow: hidden;
}

section#staff>div
{
	padding: 220px 13% 255px 13%;
	position: relative;
}

#presidente, #secretario
{
	padding: 0px;
}

#presidente
{
	border-right-style: dashed;
	border-right-color: rgb(249, 244, 251);
	border-right-width: 4px;
}

section#staff .card
{
	height: 300px;
	position: relative;
	background-color:rgb(249, 244, 251);
	color: #2C0947;
	width: 100%;
	cursor: pointer;
}

section#staff .card:hover
{
	background-color: rgb(244, 238, 247);
}

.triangle-top 
{
    width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 15px 10px;
	border-color: transparent transparent #ffffff transparent;
}

.triangle-bottom
{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 10px 0 10px;
	border-color: #ffffff transparent transparent transparent;
}

div#center>div
{
	background-color:#9100EF;
	height: 39px;
	width: 0px;
	top: 38px;
	position: absolute;
	margin: auto;left: 50%;
    transform: translateX(-50%);
	animation-name: linea;
	animation-delay: .2s;
	animation-duration: 1.5s;
	animation-fill-mode: forwards;
	transition: top 1s;
	}


@keyframes linea
{
	0%{ width: 0px;}
	20%{width: 5px;}
	100%{width: 120px;}
}

div#presidente #center:hover div, div#secretario #center:hover div
{
	top: 0px;
}

div#presidente #center:hover h1, div#secretario #center:hover h1
{
	color: rgb(249, 244, 251);
}
section#staff .card>div
{
	position: absolute;
}

 section#staff .card>div:first-child
{
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	width: 130px;
	height: 39px;
}

 section#staff .card>div:nth-child(2)
{
 	bottom: -4px;
 	right: -10px;
}

 section#staff .card>div:nth-child(3)
 {
 	bottom: -4px;
 	left: -10px;
 }

section#staff .card>div:nth-child(4)
 {
 	top: -4px;
 	right: -10px;
 }

 section#staff .card>div:nth-child(5)
 {
 	top: -4px;
 	left: -10px;
 }

 section#staff h1
 {
 	font-family: 'Open Sans', sans-serif;
	padding-top: 9px;
	letter-spacing: 1px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	width: 100%;
	margin: auto;
	z-index: 888;
	position: relative;
	color:rgb(102, 0, 153);
	transition: color 1.5s;
 }

/*----STAFF CARD-----*/
.staff_card
{
	font-family: 'Open Sans', sans-serif;
	width: 100%;
	border-top: 10px solid rgb(243, 233, 246);
	border-bottom: 10px solid rgb(243, 233, 246);
	background-color: rgb(243, 233, 246);
	position: absolute;
	z-index: 100;
	padding: 0 30px;
}

#presidente_open
{
	left: -100%;
	transition:left 2s cubic-bezier(.65,.05,.36,1) .3s;
}

#secretario_open
{
	right: -100%;
	transition:right 2s cubic-bezier(.65,.05,.36,1) .3s;
}

#presidente_open div.img_boxed>div
{
	background-image: url(../img/presidente.jpg);
}

#secretario_open div.img_boxed>div
{
	background-image: url(../img/segretario.jpg);
}



/*staff open---box image*/
.staff_card>div:first-of-type 
{
	float: left;
	width: 30%;
	height: 100%;
	padding-top: 35px

}

.staff_card div.img_boxed
{
	border-radius: 50%;
	border: 9px solid red;
	width: 180px;
	height: 180px;
	margin: 66px auto;
	padding: 10px;
	position: relative;
}

.staff_card div.img_boxed>div
{
	background-size: cover;
	background-repeat: no-repeat;
	height: 100%;
	border-radius: 50%;
}

.staff_card span
{
	position: absolute;
	display: inline-block;
}

.staff_card span.linea_vertical
{
	height: 2.5rem;
	right: 50%;
	border: 2px solid red;
	transform: translateX(-50%);
}

.staff_card .img_boxed>span:nth-child(2)
{
	color: red;
	left: 0%;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 100;
	top: 50%;
	padding: 10px 20px 0 20px;
    border-top: 5px solid red;
	border-right: 5px solid;
	border-left: 5px solid;
	transform: translateY(-50%) rotate(-90deg);
}

.img_boxed>span:nth-child(3)
{
	bottom: -47%;
}

.img_boxed>span:last-child
{
	top: -47%;
}



/*staff open---box texto*/
.staff_card>div:last-of-type
{ 
	float: right;
	width: 70%;
	height: 100%;
	padding: 5px 10px;
}

.staff_card>div:first-of-type>img
{
	height: 30px;
	position: absolute;
	top:5px;
	opacity: 0.4;
	cursor: pointer;
}

.staff_card>div:first-of-type>img:first-child
{
	left: 50px;
}

.staff_card>div:first-of-type>img:nth-child(2)
{
	right: 50px;
	transform: rotate(180deg);
}

.staff_card h5
{	
	font-weight: 800;
	letter-spacing: 0.2em;
	font-size: 19px;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	color: rgb(169, 140, 206);
	padding-top:60px;
	padding-bottom: 5px;
}

.staff_card hr
{
	border: 0.3px solid #e5cbee;
}

.staff_card p
{
	line-height: 26px;
	font-weight: 100;
	color: #591588;
	font-size: 14px;
}

.staff_card a
{
	font-style: italic;
	color:#f28892;
}


/*-----barcellonaviola----*/
#barcellonaviola
{
	width: 100%;
	bottom: 0;
	right: 0;
	height: 35px;
	position: absolute;
	background-color: #5d2491;
	z-index: 111;
	cursor: pointer;
}

#panorama
{
	width: 100%;
	bottom: -700px;
	right: 0;
	position: absolute;
	animation-name: barcellonaviola;
	animation-duration: 7500ms;
	animation-direction:alternate-reverse;
	animation-iteration-count: infinite;
}

@keyframes barcellonaviola
{
	0%{ bottom: -700px;}
	40%{bottom:  0%;}
	50%{bottom:  0%;}
	60%{bottom:  0%;}
	100%{bottom: -700px;}
}

#panorama img
{
	width: 100%;
	height: 100%;
}

#barcellonaviola>span
{
	color: white;
	font-size: 15px;
	font-family: 'Muli', sans-serif;
	letter-spacing: 0.265em;
	text-transform: uppercase;
	position: absolute;
	display: block;
	left: 50%;
	top: 50%;
	z-index: 111111;
	transform: translate(-50%, -50%);
	animation-name: blinkingSpan;
	animation-duration: 2.2s;
	animation-iteration-count:infinite;
	animation-play-state: running;
}

@keyframes blinkingSpan
{
    0%{     color: white; }
    49%{    color: white; }
    60%{    color: transparent; }
    99%{    color:transparent;  }
    100%{   color: white;    }
}




/*-----INSCRIVITI-----*/

section#inscribete
{
	background-color:rgba(44, 9, 71, 1);
	width: 100%;
	color: rgba(255,255,255, 1);
	padding: 120px 0;
	font-family: 'Open Sans', sans-serif;
	position: relative;
}

section#inscribete>div 
{
	padding: 30px 30px;
}

section#inscribete p
{
	line-height: 180%;
	font-size: 16px;
	margin: 0;
}

section#inscribete h3
{
	font-size: 30px;
	line-height: 48px;
	letter-spacing: 1px;
	margin: 0;
	margin-bottom: 26px;
	font-weight: 500;
}

section#inscribete div#ventajas, section#inscribete div#formulario
{
	padding: 0 30px;
}



/*----Contacta----*/
section#inscribete div#formulario div>h3
{
	margin-top: 50px;
}
section#inscribete div#formulario 
{
	font-size: 23px;
	letter-spacing: 1px;
	margin: 0;
	font-weight: 500;
}
section#inscribete div#formulario p
{
	padding-bottom: 50px;
}
section#inscribete div#formulario>p>a:first-of-type
{
	color: white;
	transition: all.7s;
}
section#inscribete div#formulario>p>a:first-of-type:hover
{
	color: rgb(208, 140, 236);
}

section#inscribete div#formulario>div>p>a
{
	color: rgb(208, 140, 236);
}

section#inscribete div#formulario div
{
	border-top: 0.3px solid rgb(208, 140, 236);

}





/*-----FOOTER-----*/
.rght
{
	padding: 10px 5px;
	float: right;
}

footer
{
	background-color: rgb(41, 41, 42);
	font-family: 'Source Sans Pro', sans-serif;
	color: rgba(255, 255, 255, .3);
}

footer p
{
	font-size: 12px;
	line-height: 1.3;
	margin: 0;
    padding-bottom: 10px;
}

footer h6, footer a
{
	color: white;
	margin-bottom: 16px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	margin-top: 0;
}

footer a:hover
{
	color: rgba(255, 255, 255, 0.8);
}

footer #social img:hover
{
	opacity: 0.8;
}

footer div#calle
{
	padding-left: 95px;
	padding-top: 40px;
}

footer div#social
{
	padding-left: 100px;
	padding-top: 40px;
	text-align: left;
}

footer div#social img
{
	width: 20px;
	margin-right: 10px;
	margin-top: 5px;
	opacity: .3;
}
footer div#social>a:first-of-type
{
	display: none;
}

footer div#social>p
{
	margin-top: 39px;
	text-align: right;
	margin-right: 30px;

}

footer div#email
{
	position: relative;
	text-align: center;
	height: 150px;
}

footer div#email a
{
	padding: 15px 50px;
	border: solid 1px ;
	border-color:rgba(255, 255, 255, .3);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-decoration: none;
	color: rgba(255, 255, 255);
}

footer div#email a:hover
{
	background-color: rgba(255, 255, 255, 0.8);
	color: rgb(41, 41, 42);
	transition: all 0.5s ease-out 0s;
}
















@media all and (max-width: 60em)
{

	.about_container
	{
	/*height: 200px;*/
	background-size: 100px;
	}

	section#about h4
	{
		font-size: 20px;
	}


/*-----VIOLA CLUB BCN----*/
	section#background div#layout
	{
		padding: 18% 50px 50px 50px;
	}

	section#background div#layout > div:first-child
	{
		height: 70px;
	}

	section#background div#layout > div:first-child p
	{
		font-size: 19px;
		padding: 0 40px;
	}

	#window_p
	{
		margin-top: 50px;
	}

	#window_p p
	{
		font-size: 19px;
		line-height: 29px;
		padding: 0 40px;
		font-weight: 300;
	}

	#window_p > div:first-child
	{
		height: 232px;
	}

	#window_p > div:nth-child(2)
	{
		height: 168px;
	}

	#window_p > div:nth-child(3)
	{
		height: 196px;
	}

	#window_p > div:nth-child(4)
	{
		height: 315px;
	}

	#window_p > div:nth-child(5)
	{
		height: 232px;
	}

	#window_p > div:nth-child(6)
	{
		height: 280px;
	}
	
	
/*----ABOUT-----*/

	section#about h4
	{
		margin-bottom: 25px;
	}
	

	/*----STAFF----*/
	section#staff > div
	{
		padding: 200px 60px;
		overflow: auto;
		overflow-x: hidden;
	}

	section#staff .card
	{
		height: 250px;
	}

	.staff_card > div:first-of-type
	{
		width: 40%;
	}

	.staff_card > div:last-of-type
	{
		width: 60%;
	}
	.staff_card .img_boxed>span:nth-child(2)
	{
		left: -57% !important;
    }

    #barcellonaviola
	{
		display: none;
	}

	section#inscribete div#ventajas p
	{
		margin-bottom: 100px;
	}

	/*-----FOOTER------*/
	footer div#social 
	{
    	padding-left: 73px;
	}

	footer div#social>p
	{
    	margin-right: 55px;
    }
    
    footer div#calle 
    {
    	padding-left: 60px;
    }














@media all and (max-width: 40em)
{
	body::-webkit-scrollbar
	{
    	display: none;
	}
	body
	{
 		 -ms-overflow-style: none;  /* IE and Edge */
  		scrollbar-width: none;  /* Firefox */
	}

	header
	{
		height: 50px;

	}

	#hamburger
	{
		display: inline-block;
	}

	

	header div#logo 
	{
		width: 40px;
		padding-top: 5px;
	}


	header nav a
	{
		display: none;
	}



	/*-----VIOLA CLUB BCN----*/
	#welcome img
	{
		height: 180px;
	}

	@keyframes img_g
	{
		0%{opacity: 0;}
		60%{opacity: 1;height: 180px;}
		62%{opacity: 1;height: 180px;}
		70%{opacity: 0;height:40px;transform: translate(-50%, -50%);left: 50%;top: 50%;}
		80%{opacity: 0;transform: none;left: 30px;top: 5px;}
		100%{opacity: 1;height: 40px;transform: none;left: 30px;top: 5px;}
	}


	section#background
	{
		margin-top: 50px;
		background-image: url(../img/stadMob.jpg);
	}

	section#background div#layout
	{
		padding: 30px 30px 0px 30px;
	}

	section#background div#layout > div:first-child
	{
		height: 68px;
	}

	section#background div#layout > div:first-child p 
	{
    	font-size: 16px;
    	line-height: 24px;
    	padding: 0px;
    	margin: 0;
	}

	section#background div#layout > div:first-child
	{
    	right: 0px;
	}

	#window_p
	{
		margin-top: 20px;
		height: 370px;
	}

	#window_p p
	{
	    font-size: 17px;
	    line-height: 25px;
	    padding: 0 0;
	    font-weight: 100;
	    margin: 0;
    }

    #window_p > div:first-child
    {
    	height: 400px;
    }

    #window_p > div:nth-child(2)
    {
    	height: 270px;
    }

    #window_p > div:nth-child(3)
    {
    	height: 275px;
    }

    #window_p > div:nth-child(4)
    {
    	height: 480px;
    }
    #window_p > div:nth-child(4) p
    {
    	font-size: 16px;
	    line-height: 23px;
    }

    #window_p > div:nth-child(5)
    {
    	height: 375px;
    }

    #window_p > div:nth-child(6)
    {
    	height: 448px;
    }
     #window_p > div:nth-child(6) p
    {
    	font-size: 16px;
	    line-height: 24px;
    }

    section#background #down 
    {
	    bottom: -4px;
	}



	/*-----ABOUT-----*/

	section#about
	{
		padding: 100px 20px;
	}

		section#about h4
	{
		font-size: 18px;
	}
	.about_container p
	{
		margin: 0;
	}
	.about_container h6
	{
		margin: 5px 0 8px 0;
	}

	.about_container 
	{
    	background-size: 143px;
    	width: 50%;
    	margin-bottom: 30px;
	}
	.about_container>div
	{
		top: 25px;
	}

	/*----STAFF-----*/
	#presidente
	{
		border-right: none;
		border-bottom-style: dashed;
		border-bottom-color: rgb(249, 244, 251);
		border-bottom-width: 4px;
	}
	section#staff
	{
		overflow: auto;
		overflow-x: hidden;
	}
	#barcellonaviola
	{
		display: none;
	}


	section#staff > div
	{
		padding: 150px 50px;
	}
	

	#secretario
	{
		border-top-style: dashed;
		border-top-color: rgb(249, 244, 251);
		border-top-width: 4px;
	}

	section#staff .card
	{
		height: 180px;
	}

	.staff_card .img_boxed>span:nth-child(2)
	{
		
		left: -59% !important;
	}

	/*.staff_card::-webkit-scrollbar
	{
		display: none;
	}*/
	.staff_card h5
	{
		margin: 0px;
		padding-top: 25px;
		padding-bottom: 20px;
	
	}
	.staff_card p
	{
		margin-top: 10px;
	}


	.staff_card>div:first-of-type,.staff_card>div:last-of-type
	{
		width: 100%;
		padding-top: 7px;
	}

	.staff_card>div:last-of-type
	{
		padding-bottom:30px;
	}
	#barcellonaviola
	{
		display: none;
	}

	/*----inscribete----*/
	section#inscribete
	{
		padding: 100px 0;
	}

	section#inscribete>div 
	{
    	padding: 0px 30px;
	}

	section#inscribete div#ventajas p
	{
    	margin-bottom: 70px;
	}

	section#inscribete div#ventajas, section#inscribete div#formulario
	{
		padding: 0px;
	}

	section#inscribete h3 
	{
    	font-size: 25px;
    	line-height: 40px;
    }
    section#inscribete div#formulario>div>p
    {
    	position: relative;
    }




	/*----FOOTER----*/
	.rght
	{
		float:left;
	}
	footer
	{
		padding: 40px 40px 20px 40px;
	}
	footer h6
	{
		display: none;
	}

	footer div#calle
	{
		padding: 0;
	}

	footer div#calle p#address
	{
		text-align: right;
		padding-bottom: 0;
		font-size: 12px;
    	line-height: 1.3;
    	padding-top: 0;

	}
	footer div#calle p:nth-child(2)
	{
		font-size: 8px;
		text-align: right;
		padding-top: 24px;

	}
	footer div#social img
	{
		opacity: .8;
		margin-right: 13px;
	}


	footer #social img:hover
	{
    	opacity: .3;
    }

	footer div#social
	{
		padding: 0;
	}

	footer div#social>a:first-of-type
	{
		display: initial;
	}


	footer div#email 
	{
		display: none;
	}

	footer div#social>p 
	{
	    margin-top: 39px;
	    text-align: left;
	    margin-right: 0px;
	}


}




