/*
Estilos de las páginas de detalle de proyecto,
replicados de client/[id].786417ae.css del sitio original (sin los hash svelte-*).
*/

/* ---- Fondo de partículas ---- */

#particles-js {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	z-index: -1;
}

#particles-js canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/* ---- Encabezado ---- */

#HeaderProyecto {
	height: auto;
	padding: 1.5rem;
	position: relative;
	display: flex;
	justify-content: space-between;
	min-width: 50%;
}

#HeaderProyecto > a {
	border-radius: 5px;
	padding: 0.5rem;
	display: flex;
	width: auto;
	text-decoration: none;
}

.TituloHead {
	font-size: 2.75rem;
	text-align: left;
	margin-bottom: 0.25rem;
	font-weight: bold;
	letter-spacing: 0.125rem;
	margin-top: 4px;
	color: #72a6aa;
	text-shadow: -1px 1px #ffffff, -1px -1px #ffffff, 1px -1px #ffffff,
		1px 1px #f3f3f2, 0px 3px #72a6aa;
}

.TituloHead:hover {
	color: #73b7bb;
}

.fa {
	font-weight: 200;
	font-style: normal;
}

/* Utilidad para alternar entre tarjeta y visor del sitio */
.oculto {
	display: none !important;
}

/* ---- Botones del encabezado en la vista de visor ---- */

.HeaderLinks {
	display: flex;
	align-items: center;
	justify-content: right;
	min-width: 50%;
}

.HeaderLinks a {
	text-decoration: none;
}

.HeaderLinks a:hover {
	text-decoration: none;
	color: #ffffff;
}

.RegresaDetalle {
	background-color: #fff;
	color: #72a6aa;
	padding: 0.5rem 1rem;
	border: 1px solid #72a6aa !important;
	border-radius: 5px;
	letter-spacing: 2px;
	cursor: pointer;
	font-weight: lighter;
	box-shadow: 3px 3px 1px #72a6aa;
	transition: 0.25s;
	margin-right: 1rem;
}

.RegresaDetalle:hover {
	box-shadow: 3px 3px 3px #72a6aa;
}

.LinkExterno {
	transition: 0.5s;
	background-color: #72a6aa;
	border: none;
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 5px;
	letter-spacing: 2px;
	font-weight: lighter;
	cursor: pointer;
	box-shadow: 2px 2px 1px #72a6aa;
}

.LinkExterno:hover {
	background-color: #72a6aa;
	border-radius: 5px;
	box-shadow: 2px 2px 3px #72a6aa;
}

.LinkExterno i {
	padding-left: 0.75rem;
}

.LinkProyecto {
	color: #fff;
}

/* ---- Visor del sitio del proyecto (IframeContenedor) ---- */

.Contenedor {
	padding: 1rem;
	position: relative;
}

.Contenedor iframe {
	top: 0;
	left: 0;
	z-index: 11;
	width: 100%;
	height: 80vh;
	margin: 0;
	display: block;
	border-style: none;
	border: 1px solid #72a6aa;
	background: #fff;
}

@media screen and (max-width: 560px) {
	#HeaderProyecto {
		display: block;
	}

	.HeaderLinks {
		min-width: 100%;
		justify-content: space-between;
	}
}

@media screen and (min-width: 768px) {
	.HeaderLinks {
		min-width: 63%;
	}

	.Contenedor iframe {
		margin: 0rem auto;
		width: 90vw;
	}
}

@media (min-width: 1024px) {
	.HeaderLinks {
		min-width: 75%;
	}

	.LinkExterno {
		display: flex;
	}
}

/* ---- Detalle del proyecto ---- */

.Titulo {
	font-weight: bold;
	font-size: 40px;
	line-height: 48px;
	margin-bottom: 0.5rem;
}

.Contenido {
	font-weight: 200;
	font-size: 1rem;
	line-height: var(--TextoMediano--line-height);
	margin: 0;
}

.Enlace {
	padding-top: 1rem;
}

.TituloEnlace {
	font-weight: 600;
}

.Texto a {
	font-weight: 200;
	color: #2094ff;
	text-decoration: none;
}

.Texto a:hover {
	color: #000000;
	text-decoration: underline;
}

.contenedor-1 header {
	position: relative;
}

.contenedor-1 .Regresar {
	font-weight: 100;
	position: relative;
	top: 0.25rem;
	left: 2.5rem;
	cursor: pointer;
	text-decoration: none;
}

.contenedor-1 .Regresar button {
	background-color: #fff;
	color: #72a6aa;
	padding: 0.75rem 1rem;
	border: 1px solid #72a6aa !important;
	border-radius: 5px;
	letter-spacing: 2px;
	cursor: pointer;
	font-weight: lighter;
	box-shadow: 3px 3px 1px #72a6aa;
	transition: 0.25s;
}

.contenedor-1 .Regresar button:hover {
	box-shadow: 3px 3px 3px #72a6aa;
}

.EnlaceContenedor a {
	text-decoration: none;
}

.BotonConocerProyecto {
	transition: 0.5s;
	background-color: #72a6aa;
	border: none;
	color: #fff;
	padding: 0.75rem 1rem;
	border-radius: 5px;
	letter-spacing: 2px;
	font-weight: lighter;
	cursor: pointer;
	padding-left: 1rem;
	box-shadow: 2px 2px 1px #72a6aa;
}

.BotonConocerProyecto:hover {
	box-shadow: 2px 2px 3px #72a6aa;
}

/* ---- Móvil ---- */

@media screen and (max-width: 767px) {
	.Titulo {
		margin: 2rem 0;
		margin-top: 3rem;
		text-align: center;
	}

	.Enlace .Texto {
		font-size: 0.75rem;
	}

	.Contenido {
		margin: 1rem 0 2rem 0;
	}

	.Imagen--movil {
		display: block;
		width: 100%;
		height: 10rem;
		object-fit: contain;
		margin-bottom: 2rem;
	}

	.Imagen {
		display: none;
	}

	#HeaderProyecto,
	article {
		padding: 1rem;
	}

	.EnlaceContenedor {
		text-align: center;
		margin: 3rem 0;
	}

	.ProyectoDetalle {
		background: rgba(255, 255, 255, 0.6);
		padding: 1rem;
		margin: 0.5rem;
	}
}

/* ---- Tableta (768px - 1023px) ---- */

@media screen and (min-width: 768px) {
	article {
		position: absolute;
		z-index: 11;
	}

	.Imagen--movil {
		display: none;
	}

	.contenedor-1 {
		padding: 0rem 0rem 0 1rem;
	}

	.contenedor-1 .Regresar {
		position: absolute;
		top: 0.25rem;
		left: -7.5rem;
	}

	.contenedor-2 {
		padding-left: 2rem;
	}

	.ProyectoDetalle {
		left: calc((100vw - 54rem) / 2);
		right: calc((100vw - 54rem) / 2);
		display: grid;
		grid-template-columns: 1fr 1fr;
		background: rgba(255, 255, 255, 0.8);
		border: 1px solid #72a6aa;
		box-sizing: border-box;
		max-width: 38rem;
		padding: 2.5rem;
		height: auto;
		margin-bottom: 2.25rem;
	}

	.Contenido {
		width: 90%;
		font-size: 0.75rem;
	}

	.Texto {
		font-size: 0.75rem;
	}

	.Imagen {
		width: 100%;
		height: 15rem;
		object-fit: contain;
	}

	.Enlace h5 {
		font-size: 0.75rem;
	}
}

/* ---- Escritorio (>= 1024px) ---- */

@media (min-width: 1024px) {
	.ProyectoDetalle {
		left: calc((100vw - 54rem) / 2);
		right: calc((100vw - 54rem) / 2);
		max-width: 54rem;
		padding: 2.5rem;
		margin-top: 0.25rem;
		height: auto;
	}

	.Contenido {
		width: 80%;
		font-size: 1rem;
	}

	.Texto {
		font-size: 1rem;
	}

	.Imagen {
		width: 100%;
		height: 20rem;
		object-fit: contain;
	}
}
