@charset "UTF-8";

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	background-image: url('../images/background.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	/*	background: #111; */
	color: #eae6d8;
	font-family: Verdana, sans-serif;
	background-repeat: no-repeat;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

a {
	color: paleturquoise;
}

#slideshow {
	width: 80%;
	max-width: 900px;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
	opacity: 1;
	transition: opacity 3s ease;
}

.slide {
	position: absolute;
	opacity: 0;
	font-size: 1.8rem;
	line-height: 1.5;
	pointer-events: none;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-position: center;
}

.slide.active {
	opacity: 1;
	pointer-events: auto;
}

.square{height: 512px; width: 512px;}
.wide{height: 512px; width: 768px;}
.transparent{background: transparent;}

.quote {
	margin: 1rem 1rem 0 1rem;
	font-style: italic;
}

.attribution {
	margin-top: 0.5rem;
	font-size: 1rem;
}


/* Responsive */
@media ( max-width : 600px) {
	#slideshow {
		width: 92%;
		font-size: 1.2rem;
	}
}
 /* Cross-fade */
.fade-img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

/* Only animate when slide becomes active */
.slide.active .fade-img {
    animation: crossfade 8s linear forwards;
}

@keyframes crossfade {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}


 /* Audio */
#controls {
	/* margin-top: 1rem; */
	text-align: center;
}

#audio {
	width: 100%;
	max-width: 600px;
}

#navButtons {
	margin-top: 0.5rem;
}

#navButtons button {
	font-size: 1.2rem;
	padding: 0.25rem 0.75rem;
	margin: 0 0.25rem;
	background:black;
	color: white;
	border: 2px solid black;
	cursor: pointer;
}

#navButtons button:hover {
	background: white;
	color: black;
}
/* Added for Meditation 101 */
/* Optional overlay for readability */
.overlay {
    background: rgba(0, 0, 0, 0.20);
    padding: 1.5rem;
    border-radius: 12px;
}

/* Subtle text shadow for readability on images */
/* .slide p {
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
} */

/* Slight zoom-in effect for stillness */
/* .slide.active {
    animation: slowZoom 20s ease-out forwards;
} */

@keyframes slowZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.05); }
}