@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
	--primary-color: #3566cb;
	--secondary-color: #39b7d9;
	--text-color: #4b5561;
	--background-color: #f6f7f9;
}

body {
	font-family: "Inter", sans-serif;
	letter-spacing: -0.5px;
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

header {
	width: 100%;
}

.header-gov {
	background-color: var(--primary-color);
	padding: 0.5rem 0 0.5rem 1rem;
}

.header-gov img {
	max-width: 100%;
	height: auto;
}

.header-content {
	position: relative;
	display: flex;
	width: 100%;
	align-items: center;
	flex-direction: column;
	justify-items: center;
	border-bottom: 1px solid var(--secondary-color);
	padding: 1rem;
}

.header-content img {
	width: 100%;
	max-width: 15rem;
	height: auto;
}

.heading {
	width: 100%;
	font-size: clamp(1.2rem, 4vw, 1.5rem);
	text-align: center;
	margin: 1rem 0;
	padding: 0 1rem;
}

.container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex: 1;
	padding: 1rem;
}

.card {
	z-index: 20;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--background-color);
	padding: clamp(1rem, 5vw, 2rem);
	margin: clamp(2rem, 10vw, 10rem) clamp(1rem, 3vw, 1.5rem);
	width: 100%;
	max-width: 800px;
	box-sizing: border-box;
}

.text {
	text-align: justify;
	font-weight: 400;
	color: var(--text-color);
	font-size: clamp(0.9rem, 2vw, 1rem);
	line-height: 1.5;
	margin: 0;
	padding: 0 1rem;
}

footer {
	width: 100%;
	margin-top: auto;
}

footer img {
	width: 100%;
	height: auto;
}

/**/

.buttons {
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 1rem 0;
}

.button {
	border: none;
	background: none;
	padding: 0.5rem;
	margin: 0;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.button:hover {
	transform: scale(1.1);
}

.button svg {
	width: 30px;
	height: 30px;
}

.options {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 1rem;
	width: 100%;
}

.timer {
	margin-top: 1rem;
	font-size: 1.2rem;
	font-weight: 500;
}

.call-button {
	display: inline-block;
}

.hangup-button {
	display: none;
}

.openMic-button {
	display: inline-block;
}

.muteMic-button {
	display: none;
}

.dial {
	margin-top: 1rem;
	display: none;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 300px;
}

.dial-row {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.dial-button {
	font: inherit;
	background-color: #f0f0f0;
	border: 0;
	color: #242424;
	border-radius: 0.5em;
	font-size: clamp(1.1rem, 3vw, 1.35rem);
	padding: 0.35em 0.8em;
	font-weight: 600;
	text-shadow: 0 0.0625em 0 #fff;
	box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef, 0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede, 0 0.375em 0 0 #dcdcdc,
		0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
	transition: 0.15s ease;
	cursor: pointer;
	min-width: 60px;
}

.dial-button:active {
	translate: 0 0.225em;
	box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef, 0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede, 0 0.2em 0 0 #dcdcdc,
		0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
}

@media (min-width: 800px) {
	.header-content {
		flex-direction: row;
		padding: 1rem 2rem;
	}

	.header-content img {
		position: absolute;
		left: 2%;
	}

	.heading {
		margin-left: 15rem;
	}
}

@media (max-width: 767px) {
	.card {
		margin: 2rem 1rem;
		padding: 1.5rem;
	}

	.dial-button {
		min-width: 50px;
		padding: 0.25em 0.6em;
	}
}

@media (max-width: 480px) {
	.header-gov {
		padding: 0.5rem 0 0.5rem 0.5rem;
	}

	.card {
		margin: 1rem 0.5rem;
		padding: 1rem;
	}

	.dial-button {
		min-width: 40px;
		padding: 0.2em 0.4em;
	}
}

