/*
Theme Name: Skhé Studio Próximamente
Description: Página única de aviso mientras se publica el sitio.
Author: Skhé Studio
Version: 1.0.0
Requires at least: 7.1
Requires PHP: 8.1
Text Domain: skhe-proximamente
*/

@font-face {
	font-family: "Quicksand";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("fonts/quicksand-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--fondo: #5b868d;
	--tinta: #ffffff;
}

html {
	background: var(--fondo);
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	background: var(--fondo);
	color: var(--tinta);
	font-family: "Quicksand", system-ui, sans-serif;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

.portada {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 3rem 1.5rem;
}

.portada h1 {
	margin: 0;
	width: min(82vw, 40rem);
}

.portada h1 svg {
	display: block;
	width: 100%;
	height: auto;
}

.aviso {
	margin: clamp(2.5rem, 7vw, 4.5rem) 0 0;
	font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.redes {
	margin: 1.25rem 0 0;
	font-size: 1.5rem;
	font-weight: 500;
}

.redes a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.redes a:hover {
	text-decoration-thickness: 2px;
}

.redes a:focus-visible {
	outline: 2px solid var(--tinta);
	outline-offset: 6px;
	border-radius: 2px;
}

::selection {
	background: var(--tinta);
	color: var(--fondo);
}

@media (prefers-reduced-motion: no-preference) {
	.velo {
		transform-box: fill-box;
		transform-origin: left center;
		animation: trazar 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both;
	}

	.nombre,
	.aviso,
	.redes {
		animation: aparecer 0.8s ease-out both;
	}

	.nombre {
		animation-delay: 1.3s;
	}

	.aviso {
		animation-delay: 1.5s;
	}

	.redes {
		animation-delay: 1.7s;
	}
}

@keyframes trazar {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

@keyframes aparecer {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
