/*
Theme Name: Candelaria Home
Theme URI: https://example.com
Author: Candelaria
Description: Página de inicio mínima que muestra una imagen a pantalla completa.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: candelaria-home
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100dvh;
	min-height: 100svh;
	background: #ffffff;
	color: #111111;
}

.candelaria-home-wrap {
	--home-pad: clamp(0.75rem, 4vw, 1.5rem);
	box-sizing: border-box;
	min-height: 100dvh;
	min-height: 100svh;
	width: 100%;
	max-width: 100vw;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--home-pad);
	padding-top: max(env(safe-area-inset-top, 0px), var(--home-pad));
	padding-bottom: max(env(safe-area-inset-bottom, 0px), var(--home-pad));
	padding-left: max(env(safe-area-inset-left, 0px), var(--home-pad));
	padding-right: max(env(safe-area-inset-right, 0px), var(--home-pad));
}

.candelaria-home-wrap img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: calc(100dvh - (var(--home-pad) * 2) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
	max-height: calc(100svh - (var(--home-pad) * 2) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
	object-fit: contain;
	object-position: center;
}
