﻿/**
 * jquery.countdown.css
 * Martin Angelov’s Countdown Plugin — Responsive Overrides
 */

/* Container for all time blocks */
.countdownHolder {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap; /* wrap only if absolutely necessary */
	font-family: 'Roboto Condensed', sans-serif;
	/* fluid font-size: min 1rem, ideal 4vw, max 2rem */
	font-size: clamp(1rem, 4vw, 2rem) !important;
	padding-top: 0.5em;
	box-sizing: border-box;
}

/* Each two-digit block plus its label */
.countDiv {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	padding: 0 0.4em;
	min-width: 2ch; /* always enough for two digits */
	box-sizing: border-box;
}

/* Individual digit container */
.position {
	display: inline-block;
	position: relative;
	overflow: visible !important; /* show full digits */
	height: auto !important;
	width: auto !important;
	line-height: 1;
}

/* The actual digit that animates */
.digit {
	position: relative;
	display: block;
	width: auto;
	text-align: center;
	color: #212121;
}

/* Optional colon separators (unused by default) */
.points {
	display: inline-block;
	font-size: inherit;
	line-height: 1;
	padding: 0;
	margin: 0;
	opacity: 0.6;
}

/* Label under each block ("Days","Hours", etc.) */
.boxName {
	display: block;
	text-align: center;
	font-size: 0.5em;
	color: #555;
	margin-top: 0.2em;
	font-family: 'Open Sans', sans-serif;
}

/* Remove any fixed heights/widths from plugin defaults */
.countdownHolder,
.countDiv,
.position {
	height: auto !important;
	width: auto !important;
}

/* Very tight viewports: reduce gaps */
@media (max-width: 360px) {
	.countdownHolder {
		gap: 0.2em;
	}
}

.countdownHolder {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	flex-wrap: nowrap; /* <-- never wrap on normal phones */
	white-space: nowrap; /* <-- ensure digits+colons stay together */
	font-family: 'Roboto Condensed', sans-serif;
	font-size: clamp(1rem, 4vw, 2rem) !important;
	padding-top: 0.5em;
	box-sizing: border-box;
}

/* only wrap if absolutely tiny (below ~260px) */
@media (max-width: 260px) {
	.countdownHolder {
		flex-wrap: wrap;
		gap: 0.3em;
	}
}

