/* 
**************************************
**********INDICE DE CONTENIDOS********
*************************************
    GENERALES
    INICIO
    APARTADO HOGAR
    ESCENA 1
    PERSONAJES
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*GENERALES*/

html {
	-ms-overflow-style: scrollbar;
	-ms-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-family: sans-serif;
	line-height: 1.15;
	font-size: 100px;
}

body {
	background-color: #181818;
	background-size: 40%;
	font-size: 14px;
	line-height: 1.2;
	margin: 0;
	position: relative;
	font-family: 'Raleway', sans-serif;
	line-height: 1.1;
	font-weight: 400;
}
ul {
	font-family: 'Raleway', sans-serif;
}
.container {
	height: 768px;
	width: 1200px;
	overflow: hidden;
	left: 50%;
	top: 50%;
	translate: -50% -50%;
	position: fixed;
}

.cont {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* overflow: hidden; */
	/* overflow-x: auto; */
	z-index: 20;
}

.scena-horizontal {
	position: absolute;
	left: 0;
	top: 0;
	width: 124rem; /*12400px*/
	height: 100%;
	display: flex;
}

img {
	border: 0;
	vertical-align: middle;
}
.logoPie {
	position: fixed;
	bottom: 85px;
	left: 50px;
	z-index: 3;
}

h1 {
	font-size: 50px;
	line-height: 1.1;
	margin: 0;
}
h2 {
	line-height: 1.1;
	font-size: 30px;
	margin: 0;
}

h3 {
	font-size: 20px;
	line-height: 1.1;
	font-weight: 500;
}
/* b{
    font-weight: 500;
} */
.txtMarron {
	color: #bb9839;
}
.font_20 {
	font-size: 20px;
	line-height: 1.1;
}
.txtLight {
	font-weight: 300;
}
.txtSemibold {
	font-weight: 500;
}
.instruccion {
	font-size: 18px;
	line-height: 1;
}

.oculto {
	display: none;
}
ul.nada {
	list-style-type: none;
	padding-left: 0px !important;
}

.nada li {
	padding-left: 1em;
}

.nada li:before {
	content: '\f111';
	font-family: FontAwesome;
	display: inline-block;
	margin-left: -1em; /* same as padding-left set on li */
	width: 1em; /* same as padding-left set on li */
	color: #282b5f;
}

/* pantalla limites de alto y ancho */
.limitScreen {
	text-align: center;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	background: #2c2c2c url(../img/situacion1/estrellas.svg);
	color: #fff;
	z-index: 999999;
	display: none;
}

.contLimit {
	position: absolute;
	border: 7px solid rgb(255 255 255 / 60%);
	/* padding: 50px; */
	top: 50%;
	left: 50%;
	width: 80%;
	height: 80%;
	transform: translate(-50%, -50%);
	z-index: 2;
}
.contLimit p {
	font-size: 18px;
}
.d-flex {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.valoresLimit {
	font-size: 25px;
	margin: 15px 0 0;
}
.iconosLimit {
	display: flex;
	align-items: center;
	justify-content: center;
}
.imgTxtLimit {
	margin: 25px 50px;
}
.contImgLimit {
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/*preloader*/

/*=============================================
PRELOADER
=============================================*/
.preloader {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	background: rgba(255, 255, 255, 1);
	/*display: flex;
    align-items: center;
    justify-content: center;
    */
	display: block;
}

.contPreload {
	height: 100%;
}

.nb-spinner {
	width: 75px;
	height: 75px;
	margin: 0;
	background: transparent;
	border-top: 4px solid #292c5f;
	border-right: 4px solid transparent;
	border-radius: 50%;
	-webkit-animation: 1s spin linear infinite;
	animation: 1s spin linear infinite;
}

@-webkit-keyframes spin {
	-webkit-from {
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	-webkit-to {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes spin {
	from {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes spin {
	from {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/* FIN GENERALES*/

/*INICIO*/

.textoIntroScroll {
	text-align: center;
	position: absolute;
	-webkit-transition: opacity 0.6s ease-in-out 0.1s,
		margin-top 0.6s ease-in-out 0.1s;
	-o-transition: opacity 0.6s ease-in-out 0.1s, margin-top 0.6s ease-in-out 0.1s;
	transition: opacity 0.6s ease-in-out 0.1s, margin-top 0.6s ease-in-out 0.1s;
	z-index: 1;
	left: 50vh;
	transform: translate(-17%, 0%);
	width: 6rem;
	top: 150px;
	opacity: 0;
}

.img_scollInfo {
	background: #fff;
	border-radius: 15px;
	-webkit-box-shadow: 0 2px 4px rgba(15, 15, 15, 0.2);
	box-shadow: 0 2px 4px rgba(15, 15, 15, 0.2);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	height: 46px;
	margin: 0 auto;
	overflow: hidden;
	width: 30px;
}

.textoIntroScroll {
	color: #000;
}

.img_scollInfo img {
	-webkit-animation-duration: 1.5s;
	animation-duration: 1.5s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-name: topToBottom;
	animation-name: topToBottom;
	-webkit-animation-timing-function: linear;
	animation-timing-function: linear;
	height: 8px;
	margin: auto;
	position: relative;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	width: 14px;
}

/*APARTADO HOGAR*/
/*Cielo y suelo*/
.hogar .cielo {
	background: rgb(226, 225, 196);
	background: linear-gradient(
		90deg,
		rgba(226, 225, 196, 1) 0%,
		rgba(207, 155, 146, 1) 30%,
		rgba(85, 77, 161, 1) 100%
	);
	position: fixed;
	left: 0;
	top: 0;
	width: 150rem;
	/* width: 100%; */
	/* height: 100vh; */
	height: 100%;
	z-index: 1;
}
.hogar .cielo .nubes {
	background: url('../img/situacion1/nubes.svg') repeat-x;
	position: absolute;
	width: 100%;
	height: 450px;
	top: 150px;
	left: 400px;
}
.nubes.aimaNubes {
	animation: wiggle-nubes 6s infinite;
	animation-timing-function: ease-in-out;
}
@keyframes wiggle-nubes {
	0% {
		-webkit-transform: translateX(-10px);
		transform: translateX(-10px);
	}
	50% {
		-webkit-transform: translateX(10px);
		transform: translateX(10px);
	}
	100% {
		-webkit-transform: translateX(-10px);
		transform: translateX(-10px);
	}
}
.hogar .cielo .estrellas {
	background: url('../img/situacion1/estrellas.svg') repeat-x;
	position: absolute;
	top: 0;
	left: 140px;
	width: 100%;
	height: 550px;
	animation: tileo-estrellas 6s infinite;
}
@keyframes tileo-estrellas {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.2;
	}
	100% {
		opacity: 1;
	}
}
.hogar .suelo {
	background: #3a3a3a;
	bottom: 0;
	display: block;
	height: 140px;
	left: 0;
	position: fixed;
	/* width: 100%; */
	width: 150rem;
	will-change: auto;
	z-index: 48;
}

.hogar .suelo .bordeSuelo {
	width: 100%;
	height: 25px;
	background: #444444;
	position: absolute;
	top: 0;
}
.hogar .suelo .piedrasSuelo {
	position: absolute;
	top: 25px;
	left: 280px;
	width: 100%;
	height: 140px;
	background: url('../img/situacion1/piedras_suelo.svg') repeat-x;
}
.hogar .suelo .plantasSuelo {
	position: absolute;
	top: -28px;
	left: 530px;
	width: 100%;
	height: 140px;
	background: url('../img/situacion1/plantasSuelo.svg') repeat-x;
}

/* ESCENA 1 */
.hogar .escena1 {
	/* width: 45rem; */
	width: 42rem;
	height: 100%;
	overflow: hidden;
	/* border-right:2px solid hotpink; */
	position: relative;
	z-index: 1;
	padding-top: 40px; /*Lleva este padding porque se redujo la altura del suelo y asi no tenemos que recolocar todos los elementos*/
}

.hogar .escena1 .montains {
	position: absolute;
	bottom: 180px;
	left: 920px;
	width: 100%;
	width: 1931px;
	height: 370px;
	background: url('../img/situacion1/montains1.svg') repeat-x;
}
.hogar .escena1 .arbolesBack_1,
.hogar .escena1 .arbolesBack_2 {
	position: absolute;
	bottom: 180px;
	left: 640px;
	width: 100%;
	height: 370px;
	background: url('../img/situacion1/arbolesBack_1.svg') no-repeat;
}
.hogar .escena1 .arbolesBack_2 {
	left: 2300px;
	background: url('../img/situacion1/arbolesBack_2.svg') no-repeat;
}
.hogar .escena1 .arbolFront {
	position: absolute;
	bottom: 180px;
	left: 900px;
	width: 100%;
	z-index: 2;
	height: 370px;
	background: url('../img/situacion1/arbol_front.svg') no-repeat;
}
.hogar .escena1 .casaIncial,
.hogar .escena1 .casaLimpia {
	position: absolute;
	bottom: 167px;
	left: 1590px;
	width: 751px;
	height: 552px;
	z-index: 2;
	background: url('../img/situacion1/Casa.png') no-repeat;
}
.casaIncial .imgDesastresCasa {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 751px;
	z-index: 2;
	height: 552px;
	/* background: url("../img/desastre.svg") no-repeat; */
	background: url('../img/situacion1/CasaDesastres.png') no-repeat;

	animation: desastres 1.5s steps(8) infinite;
}
@keyframes desastres {
	0% {
		background-position: 0;
	}
	100% {
		background-position: -6008px;
	}
}

.hogar .escena1 .casaLimpia {
	background: url('../img/situacion1/casaLimpia.png') no-repeat;
	display: none;

	animation: desastres 2s steps(8) infinite;
}

.casaLimpia .puertaBack {
	position: absolute;
	bottom: -4px;
	right: 135px;
}
.casaLimpia .puertaFront {
	position: relative;
	top: 410px;
	left: 454px;
	overflow: hidden;
	animation: puerta 1s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}
@keyframes puerta {
	0% {
		height: 1190px;
	}
	100% {
		height: 19px;
	}
}

/*.casaLimpia .puertaCochera{
    background: url("../img/puertGaraje.png") no-repeat;
    animation: puerta steps(6);
    animation-duration: 1s;
    animation-fill-mode: forwards;
    height: 552px;
    width: 751px;
    position: absolute;
    top:0;
    left: 0;
    
}
@keyframes puerta {
    0% {
        background-position: 0;
    }
    100% {
        background-position: -4506px;
    }
}*/

.texto_hogar {
	position: absolute;
	top: 30px;
	left: 1rem;
	z-index: 2;
	width: 742px;
}
.texto_hogar h1,
.texto_hogar h3 {
	position: relative;
	transition: 0.8s ease-out all;
	opacity: 0;
	line-height: 1.2;
	color: #292c5f;
	font-size: 20px;
	background: #f5f0e5;
	padding: 30px 30px;
	border-radius: 12px;
}

.texto_hogar h3 {
	-webkit-transition-delay: 0.4s;
	-o-transition-delay: 0.4s;
	transition-delay: 0.4s;
}
.texto_hogar span,
.texto_negocio span {
	line-height: 1.1;
	font-size: 33px;
	font-weight: 500;
	margin-bottom: 15px;
	display: inline-block;
}

.texto_hogar span.txtMarron,
.texto_negocio span.txtMarron {
	margin-bottom: 0;
}

.btnTelefono {
	position: absolute;
	top: 20px;
	right: -235px;
	cursor: pointer;
	/* display: none; */
	opacity: 0;
	transition: 0.8s ease-out all;
}

.hogar .soluciones {
	position: absolute;
	top: 30px;
	left: 0;
	z-index: 1;
	width: 742px;
	color: #4d4d4d;
	background: #f5f0e5;
	padding: 40px 60px;
	border-radius: 12px;
	transform: translateX(15rem);
	display: none;
}
.soluciones .imgTelPeq {
	position: absolute;
	left: -75px;
}
.soluciones .imgTeclado {
	position: absolute;
	bottom: 8px;
}
/* FIN ESCENA 1 */

/* ESCENA 2 */
.hogar .escena2 {
	width: 100%;
	height: 100%;
	/* overflow-x: hidden; */
	/* border-right:2px solid rgb(72, 253, 35); */
	position: relative;
	z-index: 1;
	padding-top: 40px;
}

.hogar .escena2 .desertMontains {
	position: absolute;
	bottom: 157px;
	left: 0px;
	width: 4200px;
	/* border-right: 2px solid red; */
	height: 380px;
	background: url('../img/situacion1/deser_back.svg') repeat-x;
}
.hogar .escena2 .cactusFront {
	position: absolute;
	bottom: 180px;
	left: 280px;
	width: 100%;
	height: 240px;
	z-index: 2;
	background: url('../img/situacion1/cactus_front.svg') no-repeat;
}

.hogar .escena2 .farolas {
	position: absolute;
	bottom: 130px;
	left: 540px;
	width: 870px;
	overflow: hidden;
	z-index: 2;
	height: 370px;
}
.hogar .escena2 .farolaAnima {
	position: absolute;
	bottom: 145px;
	left: 27rem;
	width: 198px;
	z-index: 2;
	height: 442px;
	background: url('../img/situacion1/farolaAnima.png') no-repeat;
	animation: animafarola 1.5s steps(12) infinite;
}
@keyframes animafarola {
	0% {
		background-position: 0;
	}
	100% {
		background-position: -2376px;
	}
}

.hogar .escena2 .desertMontainsFront {
	position: absolute;
	bottom: 180px;
	left: 315px;
	width: 100%;
	z-index: 1;
	height: 400px;
	background: url('../img/situacion1/deser_front.svg') no-repeat;
}

.hogar .escena2 .cactusRosa {
	position: absolute;
	bottom: 180px;
	left: 40rem;
	width: 250px;
	height: 240px;
	z-index: 1;
	background: url('../img/situacion1/cactusRosa.svg') no-repeat;
}

.hogar .escena2 .solDia {
	position: absolute;
	left: 10rem;
	top: 230px;
}
.hogar .escena2 .solAtardecer {
	position: absolute;
	left: 41rem;
	top: 250px;
}

.sol span {
	border-radius: 10000px;
	-webkit-animation-duration: 8s;
	animation-duration: 8s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	left: 50%;
	position: absolute;
	top: 50%;
	will-change: transform, opacity;
}

.sol span:nth-child(1) {
	animation-name: temple_fire_raysLight_1;
	/* background-color: rgba(233,153,14,.4); */
	background-color: #fff;
	height: 85px;
	margin: -133px 0 0 -133px;
	width: 85px;
	z-index: 4;
}
.sol span:nth-child(2) {
	animation-name: temple_fire_raysLight_2;
	background-color: rgba(226, 226, 197, 0.5);
	height: 165px;
	margin: -172px 0 0 -172px;
	width: 165px;
	z-index: 2;
}
.sol span:nth-child(3) {
	-webkit-animation-name: temple_fire_raysLight_3;
	animation-name: temple_fire_raysLight_3;
	background-color: rgba(216, 216, 186, 0.35);
	height: 240px;
	margin: -208px 0 0 -208px;
	width: 240px;
	z-index: 2;
}
@keyframes temple_fire_raysLight_1 {
	0% {
		opacity: 0.9;
		-webkit-transform: scale(1);
		transform: scale(1);
	}

	13% {
		opacity: 0.7;
		-webkit-transform: scale(0.85);
		transform: scale(0.85);
	}
	30% {
		opacity: 0.9;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	45% {
		opacity: 0.7;
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
	}
	70% {
		opacity: 0.9;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	81% {
		opacity: 0.7;
		-webkit-transform: scale(0.85);
		transform: scale(0.85);
	}
	100% {
		opacity: 0.9;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}
@keyframes temple_fire_raysLight_2 {
	0% {
		opacity: 0.8;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	13% {
		opacity: 0.7;
		-webkit-transform: scale(0.83);
		transform: scale(0.83);
	}
	30% {
		opacity: 0.8;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	45% {
		opacity: 0.6;
		-webkit-transform: scale(0.93);
		transform: scale(0.93);
	}
	70% {
		opacity: 0.8;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	81% {
		opacity: 0.7;
		-webkit-transform: scale(0.83);
		transform: scale(0.83);
	}
	100% {
		opacity: 0.8;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}
@keyframes temple_fire_raysLight_3 {
	0% {
		opacity: 0.7;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	13% {
		opacity: 0.4;
		-webkit-transform: scale(0.82);
		transform: scale(0.82);
	}
	30% {
		opacity: 0.7;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	45% {
		opacity: 0.3;
		-webkit-transform: scale(0.92);
		transform: scale(0.92);
	}
	70% {
		opacity: 0.7;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	81% {
		opacity: 0.4;
		-webkit-transform: scale(0.82);
		transform: scale(0.82);
	}
	100% {
		opacity: 0.7;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

.hogar .gruaEspacial {
	position: absolute;
	left: 175px;
	bottom: 80px;
	height: 330px;
	width: 392px;
	background: black;
	opacity: 0;
	-webkit-transform: translate(100px, -100px);
	transform: translate(100px, -100px);
	background: url('../img/situacion1/grua.png') no-repeat;

	transition: 0.8s ease-in-out all;
}
.hogar .gruaEspacial.showGrua {
	opacity: 1;
	-webkit-transform: translate(0, 0);
	transform: translate(0, 0);
	animation: gruaMov 2s steps(14) infinite;
}

@keyframes gruaMov {
	0% {
		background-position: 0;
	}
	100% {
		background-position: -5488px;
	}
}
@keyframes animaGrua {
	0% {
		/* opacity: 0; */
		-webkit-transform: translate(0, 0);
		transform: translate(0, 0);
	}

	50% {
		-webkit-transform: translate(100px, -100px);
		transform: translate(100px, -100px);
		/* opacity: 1; */
	}

	100% {
		/* opacity: 0; */
		-webkit-transform: translate(0, 0);
		transform: translate(0, 0);
	}
}

/* FIN ESCENA 2 */

/* ESCENA 3 Y 4*/
/* .hogar .escena3_4{
    height: 100%;
    border-right:2px solid rgb(253, 35, 35);
    position: relative;
    z-index: 1;
} */
.hogar .heartBack {
	position: absolute;
	bottom: 180px;
	left: 42rem;
	width: 2500px;
	height: 160px;
	background: url('../img/situacion1/heartBack.svg') no-repeat;
}
.hogar .heartFront {
	position: absolute;
	bottom: 180px;
	left: 45.2rem;
	z-index: 2;
	/* background: url("../img/heartFront.svg") no-repeat; */
}
.hogar .hospital {
	position: absolute;
	bottom: 170px;
	left: 53rem;
	width: 500px;
	height: 380px;
	background: url('../img/situacion1/hospital.svg') no-repeat;
}
.hogar .luna {
	position: absolute;
	top: 260px;
	left: 74rem;
}

.hogar .lunaP {
	position: absolute;
	bottom: 75px;
	right: 75px;
	z-index: 5;
}

.hogar .corazonFront {
	width: 900px;
	height: 720px;
	background: url('../img/situacion1/corazonFront.png') no-repeat;
	position: absolute;
	bottom: 123px;
	left: 91rem;
	z-index: 2;
}
.hogar .corazonFront.animaCorazon {
	animation: animaCorazon steps(8) 2s infinite;
}
.hogar .corazonBack {
	width: 900px;
	height: 720px;
	background: url('../img/situacion1/corazonBack.png') no-repeat;
	position: absolute;
	bottom: 123px;
	left: 91rem;
	z-index: 1;
}
.hogar .medico {
	width: 900px;
	height: 720px;
	background: url('../img/situacion1/medico.png') no-repeat;
	position: absolute;
	bottom: 80px;
	left: 91rem;
	display: none;
	z-index: 1;
	animation: animaCorazon steps(8) 2s infinite;
}

@keyframes animaCorazon {
	0% {
		background-position: 0;
	}
	100% {
		background-position: -7200px;
	}
}

.hogar .arbolesNoche {
	position: absolute;
	bottom: 157px;
	left: 71rem;
	width: 13.5rem;
	height: 280px;
	background: url('../img/situacion1/arbolesNoche.svg') no-repeat;
}

.hogar .textoFin {
	position: absolute;
	top: 90px;
	left: 77.5rem;
	color: #fff;
	font-style: italic;
	width: 540px;
}
.hogar .textoFin span {
	color: #bb9839;
	font-size: 85px;
	line-height: 1.2;
}
.btnFinal {
	font-size: 18px;
	line-height: 1;
	background: #282b5f;
	border-radius: 25px;
	width: 130px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-style: normal;
	cursor: pointer;
}
/* FIN ESCENA 3 Y 4*/
#boat-container {
	bottom: 1.95rem;
	left: 2.65rem;
	position: absolute;
	z-index: 51;
}

.boat-waves {
	left: 0;
	position: absolute;
	top: 0;
	-webkit-transition: 0.35s all;
	-o-transition: 0.35s all;
	transition: 0.35s all;
	-webkit-transition-timing-function: linear;
	-o-transition-timing-function: linear;
	transition-timing-function: linear;
	width: 100%;
	z-index: 1;
}

.boat-waves > div {
	border-radius: 100%;
	background-color: #bfdde2;
	position: absolute;
}

.boat-waves .boat-waves__1 {
	-webkit-animation: swaying_waves_1 4s infinite;
	animation: swaying_waves_1 4s infinite;
	-webkit-animation-delay: 2s;
	animation-delay: 2s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}

.boat-waves .boat-waves__2 {
	-webkit-animation: swaying_waves_2 4s infinite;
	animation: swaying_waves_2 4s infinite;
	-webkit-animation-delay: 2s;
	animation-delay: 2s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}

.boat-waves .boat-waves__3 {
	-webkit-animation: swaying_waves_1 4s infinite;
	animation: swaying_waves_1 4s infinite;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	display: block;
}

.boat-waves .boat-waves__4 {
	-webkit-animation: swaying_waves_2 4s infinite;
	animation: swaying_waves_2 4s infinite;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	display: block;
}

.boat-waves__1,
.boat-waves__3 {
	height: 0.1rem;
	left: -0.05rem;
	opacity: 0.4;
	top: 0.17rem;
	width: 100%;
}

.boat-waves__2,
.boat-waves__4 {
	height: 0.065rem;
	left: 0.05rem;
	top: 0.18rem;
	width: 80%;
}

@keyframes topToBottom {
	0% {
		opacity: 0;
		top: -25px;
	}

	15% {
		opacity: 0;
		top: -15px;
	}

	50% {
		opacity: 1;
		top: 0;
	}

	85% {
		opacity: 0;
		top: 15px;
	}

	100% {
		opacity: 0;
		top: 25px;
	}
}

@keyframes swaying_waves_1 {
	0% {
		opacity: 0;
		-webkit-transform: translateY(0) scale(1, 1);
		transform: translateY(0) scale(1, 1);
	}

	50% {
		opacity: 0.8;
		-webkit-transform: translateY(0.03rem) scale(1, 1);
		transform: translateY(0.03rem) scale(1, 1);
	}

	100% {
		opacity: 0;
		-webkit-transform: translateY(0) scale(2.2, 2.4);
		transform: translateY(0) scale(2.2, 2.4);
	}
}

@keyframes swaying_waves_2 {
	0% {
		opacity: 0;
		-webkit-transform: translateY(0) scale(1, 1);
		transform: translateY(0) scale(1, 1);
	}

	50% {
		opacity: 1;
		-webkit-transform: translateY(0.015rem) scale(1, 1);
		transform: translateY(0.015rem) scale(1, 1);
	}

	100% {
		opacity: 0;
		-webkit-transform: translateY(0) scale(2.2, 2.4);
		transform: translateY(0) scale(2.2, 2.4);
	}
}

/* FIN APARTADO HOGAR*/

/*PERSONAJES*/

#chicas,
#chicas2 {
	bottom: 170px;
	left: 100px;
	position: absolute;
	z-index: 1;
	/* Tamaño de la viñeta individual */
	/*width:112px;*/
	width: 158px;
	height: 176px;
	/* Cómo hay establecido un tamaño, centramos con margin:auto */
	margin: auto;
	/* Cargamos el sprite (el repeat-x se puede omitir, por defecto se repite) */
	/*background:url(../img/chicasard-sprite.png) repeat-x;*/
	background: url(../img/situacion1/chicas.png) repeat-x;

	/* Posicionamos el personaje sobre el camino de madera */
}
#chicas .bocaChicas {
	position: absolute;
	right: -40px;
	bottom: 155px;
	transition: 0.8s ease-out all;
	opacity: 0;
}

#chicas.camina {
	/* Aplicamos la animación "walk": 0.8seg, 6 viñetas y repetimos infinitamente */
	animation: walk 0.8s steps(6) infinite;
}

#chicas2 {
	/*background:url(../img/chicasard-sprite_ref.png) repeat-x;*/
	background: url(../img/situacion1/chicas_rev.png) repeat-x;
	display: none;
}

#chicas2.camina {
	animation: walk2 0.8s steps(6) infinite;
}

/*CHICAS EN COCHE*/
#coche {
	bottom: 94px;
	left: 200px;
	transform: translateX(28rem);
	position: absolute;
	z-index: 1;
	width: 205px;
	height: 176px;
	background: url(../img/situacion1/coche.svg) no-repeat;
	transition: 0.8s ease-out all;
	opacity: 0;
	/* Posicionamos el personaje sobre el camino de madera */
}
#coche .rueda {
	width: 47px;
	height: 47px;
	background-image: url(../img/situacion1/rueda.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	bottom: 0;
}
#coche .ruedaIzq {
	bottom: 44px;
	left: 8px;
}
#coche .ruedaDer {
	bottom: 44px;
	right: 16px;
}
#coche .bocaCheckCoche,
#coche .bocaCoche {
	position: absolute;
	top: -80px;
	right: 0;
	transition: 0.8s ease-out all;
}
.bocaCheckCoche {
	display: none;
	opacity: 0;
}
.estrellaCoche.showEstrellaCoche {
	width: 751px;
	height: 552px;
	background: url('../img/situacion1/estrellaCoche.png') no-repeat;
	position: absolute;
	bottom: 40px;
	left: -390px;
	animation: animaEstrellaCoche steps(7, end) 2s;
}
@keyframes animaEstrellaCoche {
	0% {
		background-position: 0;
	}
	100% {
		background-position: -5257px;
	}
}
#coche .humoCoche {
	position: absolute;
	right: 0;
	bottom: 125px;
	height: 120px;
	/* background: red; */
	width: 80px;
	opacity: 0;
	z-index: 1;
}
.humoCoche .humo3 {
	position: absolute;
	right: 0px;
	bottom: 60px;
	opacity: 0;

	-webkit-animation: animaHumo1 3s infinite;
	animation: animaHumo1 3s infinite;
	-webkit-animation-delay: 1s;
	animation-delay: 1s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}
.humoCoche .humo2 {
	position: absolute;
	right: 10px;
	bottom: 30px;
	opacity: 0;

	-webkit-animation: animaHumo1 3s infinite;
	animation: animaHumo1 3s infinite;
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}
.humoCoche .humo1 {
	position: absolute;
	right: 0px;
	bottom: 10px;

	-webkit-animation: animaHumo1 3s infinite;
	animation: animaHumo1 3s infinite;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}

@keyframes animaHumo1 {
	0% {
		opacity: 0;
		-webkit-transform: translateY(0) scale(1);
		transform: translateY(0) scale(1);
	}
	50% {
		opacity: 1;
		-webkit-transform: translateY(-10px) scale(1);
		transform: translateY(-10px) scale(1);
	}
	100% {
		opacity: 0;
		-webkit-transform: translateY(-10px) scale(0.5);
		transform: translateY(-10px) scale(0.5);
	}
}

#coche .luzCoche {
	position: absolute;
	bottom: 48px;
	left: 91%;

	z-index: 1;
	transition: 0.8s ease-out all;
}

/* Animación de personaje caminando: Simplemente mueve el sprite sheet hacia la izquierda, realizando el movimiento. */
@keyframes walk {
	/* Partimos de la primera viñeta del sprite sheet */
	0% {
		background-position: 0;
	}

	/* El tamaño total de ancho del sprite. Es negativo para que no "camine" hacia atrás */
	100% {
		background-position: -948px;
	}
}

@keyframes walk2 {
	/* Partimos de la primera viñeta del sprite sheet */
	0% {
		background-position: 0;
	}

	/* El tamaño total de ancho del sprite. Es negativo para que no "camine" hacia atrás */
	100% {
		background-position: 948px;
	}
}

/*FIN PERSONAJES*/
