html,
body {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

body {
	position: relative;
	background: linear-gradient(rgb(248, 225, 225), rgb(248, 237, 225), rgb(230, 238, 247), rgb(230, 238, 247));
	background-size: 100% 400%;
	background-position: 0% 100%;
	object-fit: cover;
}

.fullwidth lang-switcher {
	position: absolute;
	transform: translateX(-50%) scale(125%);
	top: min(18vh, 166px);
	left: 50vw;
}

.mobile lang-switcher {
	margin-top: 7px;
}

.content {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: calc(24px * var(--font-scale));
	margin: auto;
	top: 0;
	bottom: 20%;
	left: 0;
	right: 0;

	color: var(--text);
	text-align: center;
}

.content>h1 {
	font-size: calc(72px * var(--font-scale));
	font-weight: 400;
	line-height: 116.67%;
	letter-spacing: -0.72px;
}

.content>h2 {
	font-size: calc(22px * var(--font-scale));
	font-weight: 400;
	line-height: 127.27%;
}

.content>p {
	font-size: calc(16px * var(--font-scale));
	font-weight: 300;
	line-height: 200%;
	letter-spacing: 0.25px;
}

.beach {
	position: absolute;
	bottom: 0;
	height: 40vh;
	left: 0;
}

@media screen and (max-width: 480px) {
	.beach {
		left: -800px;
	}
}

#beach-set {
	z-index: -1;
}

#beach-day {
	z-index: -2;
}

#sun {
	transform: translate(-50%, -50%);
	position: absolute;
	width: min(10vw, 132px);
	height: min(10vw, 132px);
	top: 5%;
	right: 10%;
	background-color: rgb(255, 251, 230);
	border-radius: 50%;
	z-index: -3;
}

.smoke {
	position: absolute;
	border-radius: 50%;
	background-color: whitesmoke;
	animation: smoke 2.5s ease-in forwards;
}

.smoke-fast {
	position: absolute;
	border-radius: 50%;
	background-color: whitesmoke;
	animation: smoke 1s ease-in forwards;
}

@keyframes smoke {
	from {
		width: 15px;
		height: 15px;
		opacity: 1;
		transform: translate(0, 0);
	}

	80% {
		width: 60px;
		height: 60px;
		opacity: 1;
		transform: translate(-50px, -90px);
	}

	to {
		width: 15px;
		height: 15px;
		opacity: 0.5;
		transform: translate(-75px, -100px);
	}
}

.boat {
	position: absolute;
	max-height: 20%;
	max-width: 50%;
	right: 15%;

	animation: pulse 3s linear 500ms infinite;
}

.boat.move {
	animation: unset;
}

@keyframes pulse {

	from,
	20%,
	40% {
		transform: scale(100%);
	}

	10%,
	30% {
		transform: scale(110%);
	}
}

dotlottie-player {
	height: 13%;
	width: -moz-fit-content;
	width: fit-content;
	position: absolute;
	opacity: 0;
}

#sidebar {
	position: absolute;
	left: calc(100% - 400px);
	width: 400px;
	top: 0;
	bottom: 0;
	transition: 1s;
	background-color: #FFFFFF88;
	z-index: 4;
	border-top-left-radius: 28px;
	border-bottom-left-radius: 28px;

	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 125px;
	gap: 25px;

	[type="button"] {
		display: grid;
		justify-content: center;
		align-items: center;
	
		-webkit-appearance: button;
		-moz-appearance: button;
		appearance: button;
	
		color: white;
		background-color: var(--en-blue);
		border-radius: 28px;
		border: none;
		padding: 0px 24px;
		min-width: 165px;
		width: 300px;
		height: 56px;
		z-index: inherit;
	
		transition: background-color 300ms ease;
	
		font-size: calc(18px * var(--font-scale));
		font-weight: 500;
	}
}
	
:lang(eo) #sidebar [type="button"] {
	background-color: var(--eo-green);
}

#sidebar.sidebar-hidden {
	left: 100vw;
}

.sidebar-button {
	position: absolute;
	top: 25px;
	right: 25px;
	width: 50px;
	height: 50px;
	z-index: 3;

	font-size: 48pt;
	line-height: 35pt;
	text-align: center;
	padding: 0;
	margin: 0;
}

:not(#sidebar)>.sidebar-button {
	opacity: 0;
	transition: 0.5s;
}

:not(#sidebar)>.sidebar-hidden~.sidebar-button {
	opacity: 1;
}