@font-face {
    font-family: 'aracne_condensed_regularCnRg';
    src: url('../fonts/aracne-condensed_regular-webfont.eot');
    src: url('../fonts/aracne-condensed_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/aracne-condensed_regular-webfont.woff') format('woff'),
         url('../fonts/aracne-condensed_regular-webfont.ttf') format('truetype'),
         url('../fonts/aracne-condensed_regular-webfont.svg#aracne_condensed_regularCnRg') format('svg');
    font-weight: normal;
    font-style: normal;

}

body, html {
	height: 100%;
}

body {
	/*background: url('../img/bg-junior-site.jpg') no-repeat center top #f7941e;*/
	background: #ec135f; /* Old browsers */
	background: -moz-linear-gradient(top, #ec135f 0%, #f6671f 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #ec135f 0%,#f6671f 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #ec135f 0%,#f6671f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec135f', endColorstr='#f6671f',GradientType=0 ); /* IE6-9 */
	background-attachment: fixed;
	margin: 0;
	padding: 0;
}

body::before {
	background: url('../img/bg-squares-mob.png') center top repeat-x;
	background-size: 400px auto;
	content: "";
	height: 348px;
	margin-top: -400px;
	position: absolute;
	opacity: .7;
	top: 50%;
	width: 100%;
	z-index: -1;
}

section {
    margin: 0 auto .8em;
    max-width: 960px;
    text-align: center;
    width: 100%;
}

section article {
    padding: 5% 0;
    position: relative;
}

figure {
    margin: 0;
    padding: 0;
}

.camastros .movimiento {
    left: 71px;
    position: absolute;
    top: 4px;
}

article:hover .movimiento, figure:active .movimiento {
	-webkit-animation-duration:1s;
	animation-duration:1s;
	-webkit-animation-fill-mode:both;
	animation-fill-mode:both;
	-webkit-animation-name: tada;
	animation-name: tada;
}

.cojines .movimiento {
    right: 55px;
    position: absolute;
    top: -20px;
}

.puff-doble-rojo .movimiento {
    left: 60px;
    position: absolute;
    top: -20px;
}

.butacas-verde .movimiento {
    right: 0px;
    position: absolute;
    top: -20px;
}

.puff-doble-verde .movimiento {
    left: 60px;
    position: absolute;
    top: -20px;
}

.butacas-azul .movimiento {
    position: absolute;
    right: 17px;
    top: -19px;
}

header {
    margin: auto;
    max-width: 960px;
    text-align: center;
    width: 100%;
}

header h1:before {
    background: url("../img/icn-header.png");
    content: "";
    height: 9px;
    left: 0px;
    margin-top: -6px;
    position: absolute;
    top: 50%;
    width: 165px;
}

header h1:after {
    background: url("../img/icn-header.png");
    content: "";
    height: 9px;
    right: 0px;
    margin-top: -6px;
    position: absolute;
    top: 50%;
    width: 165px;
}

header h1 {
    color: white;
    font-family:"aracne_condensed_regularCnRg";
    margin: 40px auto 10px;
    max-width: 960px;
    position: relative;
    text-shadow: 2px 2px 3px #000;
    width: 100%;
}

h2 {
	color: #fff;
	font-family: "aracne_condensed_regularCnRg";
	font-size: 1.4em;
	text-shadow: 2px 2px 3px #000;
}

header figure {
    margin: 30px;
}

footer {
	background-color: #202020;
	text-align: center;
	position: relative;
	width: 100%;
}

footer img {
	max-width: 180px;
	vertical-align: bottom;
	width: 100%;
}

a {
    display: inline-block;
    padding: 10px;
}

.top {
	position: absolute;
	top: 0;
	right: 0;
}

.bottom{
	position: absolute;
	bottom: 116px;
	left: 0;
}

.camastros figure:first-child:before{
    background: url("../img/linea-camastros.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 116px;
    left: 209px;
    margin-top: -64px;
    position: absolute;
    top: 50%;
    width: 76px;
}

.cojines figure:first-child:after{
    background: url("../img/linea-cojines.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 48px;
    margin-top: -6px;
    position: absolute;
    right: 180px;
    top: 50%;
    width: 165px;
}

.puff-doble-rojo figure:first-child:before{
    background: url("../img/linea-puff-doble-rojo.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 40px;
    left: 218px;
    margin-top: -43px;
    position: absolute;
    top: 50%;
    width: 76px;
}

.butacas-verde figure:first-child:after{
    background: url("../img/linea-butacas-verde.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 72px;
    margin-top: -87px;
    position: absolute;
    right: 92px;
    top: 50%;
    width: 165px;
}

.puff-doble-verde figure:first-child:before{
    background: url("../img/linea-butacas-azul.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 46px;
    left: 195px;
    margin-top: -27px;
    position: absolute;
    top: 50%;
    width: 139px;
}

.butacas-azul figure:first-child:after{
    background: url("../img/linea-butacas-azul.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    content: "";
    height: 72px;
    margin-top: -74px;
    position: absolute;
    right: 92px;
    top: 50%;
    width: 165px;
}

.movimiento > img {
    width: 100%;
}

a {
    outline: 0 none;
}

@media all and (max-width: 1024px) {
     header h1:after{
        width: 76px;
    }

    header h1:before{
        width: 76px;
    }

}

@media all and (max-width: 950px) {
    header h1:after{
        width: 76px;
    }

    header h1:before{
        width: 76px;
    }

}

@media all and (max-width: 800px) {
    header h1:after{
        width: 43px;
    }

    header h1:before{
        width: 43px;
    }

    .camastros .movimiento {
        left: 13px;
        top: 19px;
        width: 19%;
    }

    .camastros figure:first-child:before {
        left: 115px;

    }

    .cojines .movimiento {
        right: -1px;
        top: -3px;
        width: 20%;
    }

    .cojines figure:first-child:after {
        right: 93px;
    }

    .puff-doble-rojo .movimiento {
        left: 4px;
        width: 20%;
    }

    .puff-doble-rojo figure:first-child:before {
        left: 125px;
    }

    .butacas-verde .movimiento {
        top: -3px;
        width: 19%;
    }

    .butacas-verde figure:first-child:after {
        right: 10px;
    }

    .butacas-azul .movimiento {
        right: 9px;
        top: -6px;
        width: 17%;
    }

    .butacas-azul figure:first-child:after {
        right: 11px;
    }

}

@media all and (max-width: 480px) {
    article figure:after, article figure:before {
        display: none;
    }
}

@media all and (max-width: 460px) {
    .top {
        text-align: right;
        width: 100px;
    }

    .top > img {
        width: 100%;
    }

    header figure {
        margin: 0;
        padding-top: 21%;
    }

    header figure img {
        box-sizing: border-box;
        padding: 0 10%;
        width: 100%;
    }

    section article {
        padding: 5% 0;
        position: relative;
    }

    figure {
        margin: 0;
        padding: 0;
    }

    article figure:first-child img {
        box-sizing: border-box;
        padding: 0 2%;
        width: 100%;
    }

    .movimiento > img {
        width: 100%;
    }

    .bottom {
        bottom: 88px;
        width: 40%;
    }

    section article .movimiento {
        left: 0 !important;
        margin: 6% auto 0;
        position: relative !important;
        right: 0 !important;
        width: 35% !important;
    }
}

@media all and (max-width: 360px){
    header h1:after, header h1:before{
        display: none;
    }

}
