@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--color-primary: #0077b6;
	--color-primary-ligth: #53b8ee;
	--color-secundary: #f58611;
	--white: #fafafa;
	--black: #0a0a0a;
	--gray: #717171;
	--green-wsp: #25d366;
	font-family: 'Inter', sans-serif !important;
}
code {
	text-decoration: none;
	color: var(--color-primary);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: Roboto;
}

.main--error {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 425px;
}
.error-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 20px;
	width: 300px;
	height: 200px;
	border-radius: 20px;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	margin-top: 140px;
	position: relative;
}
.error__img {
	width: 120px;
	top: -100px;
	position: absolute;
}
.body--error {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
}
.error__button {
	height: 35px;
	width: 120px;
	background-color: var(--color-secundary);
	color: var(--white);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Inicio -- Efecto de las olas */
.container {
	height: 80px;
	background: var(--color-primary);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: 100%;
}

.content__h1 {
	text-align: center;
	font-size: 30px;
	color: var(--white);
}
.content__h1--index {
	font-size: 16px;
}

.container__waves {
	position: absolute;
	/*      left: 0;
    right: 0;
    height: 200px;
    bottom: 0;*/
	bottom: -135px;
	height: 527px;
	width: 100%;
	overflow: hidden;
}
.waves__wave {
	position: absolute;
	left: -180px;
	bottom: 0;
	/*width: 200px;*/
	/*height: 200px;*/
	/*width: 100%;*/
	/*border-radius: 50%;*/
	/*background:rgba(0,0,0, .3);*/
	width: 2402px;
	height: 250px;
	background: url(https://static.platzi.com/media/files/waves_c8551f5d-ecf6-4a81-ae1d-f3a0ad55ba10.png)
		center bottom no-repeat;
	animation: 5s ola ease-in-out infinite alternate;
}
.waves__wave.waves__wave--a {
	background-position: 0 -854px;
}
.waves__wave.waves__wave--b {
	background-position: 0 -427px;
	animation-delay: 0.6s;
}
.waves__wave.waves__wave--c {
	background-position: 0 0;
	animation-delay: 1.2s;
}

/* Codigo de aviso */
.main-aviso {
	padding: 100px 40px 40px;
	text-align: justify;
}
.espacio {
	margin-bottom: 10px;
}
.izquierda {
	right: 10px;
}

/*.container {
    position: absolute;
  }*/
@keyframes ola {
	0% {
		transform: translate(0, 0);
	}
	50% {
		transform: translate(-80px, 30px);
	}
	100% {
		transform: translate(160px, -60px);
	}
}

/* Final -- Fin del efecto de las olas */

/*** INICIO - Animacion texto ***/
.content__h1 {
	-webkit-animation: content__h1 2s cubic-bezier(0.215, 0.61, 0.355, 1) both;
	animation: content__h1 2s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

@-webkit-keyframes content__h1 {
	0% {
		letter-spacing: -0.5em;
		opacity: 0;
	}
	40% {
		opacity: 0.6;
	}
	100% {
		opacity: 1;
	}
}
@keyframes content__h1 {
	0% {
		letter-spacing: -0.5em;
		opacity: 0;
	}
	40% {
		opacity: 0.6;
	}
	100% {
		opacity: 1;
	}
}
/*** FIN - Animacion texto ***/
.wsp {
	display: none;
}
/* BREAKPOINT 768+px*/
@media screen and (min-width: 768px) {
	.wsp {
		position: fixed;
		height: 50px;
		width: 50px;
		bottom: 30px;
		right: 30px;
		z-index: 100;
		background-color: var(--green-wsp);
		border-radius: 50%;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		text-decoration: none;
		color: var(--white);
		transition: all 0.5s;
		text-align: center;
	}
	.wsp:hover {
		background-color: var(--white);
		color: var(--green-wsp);
		border: 1px solid var(--green-wsp);
		border-radius: 10px;
		width: 200px;
	}
	.wsp:hover::before {
		content: 'Comunicate con nosotros';
		color: var(--gray);
	}

	.icon__wsp {
		text-align: center;
		font-size: 40px;
	}

	.container {
		height: 100px;
	}
	.content__h1 {
		font-size: 38px;
	}
	.content__h1--index {
		font-size: 24px;
	}

	.foot {
		width: 100%;
	}
}