:root {
	--colorShadeA: #000000;
	--colorShadeB: #A9D3FF;
	--colorShadeC: #4196F1;
	--colorShadeX: #FF7518;
	--colorShadeZ: #DDA15E;
}

button {
	color: var(--colorShadeA);
	cursor: pointer;
	font-weight: 700;
	text-transform: uppercase;
	padding: 1em 2em;
	border: 2px solid var(--colorShadeA);
	border-radius: 1em;
	background: var(--colorShadeZ);
	transform-style: preserve-3d;
	transition: all 175ms cubic-bezier(0, 0, 1, 1);
	width: 100%;
	max-width: 200px;
	box-sizing: border-box;
}

button::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--colorShadeZ);
	border-radius: inherit;
	box-shadow: 0 0 0 2px var(--colorShadeZ), 0 0.75em 0 0 var(--colorShadeA);
	transform: translate3d(0, 0.75em, -1em);
	transition: all 175ms cubic-bezier(0, 0, 1, 1);
}

button:hover {
	background: var(--colorShadeX);
	transform: translate(0, 0.375em);
}

button:hover::before {
	transform: translate3d(0, 0.75em, -1em);
}

button:active {
	transform: translate(0em, 0.75em);
}

button:active::before {
	transform: translate3d(0, 0, -1em);
	box-shadow: 0 0 0 2px var(--colorShadeZ), 0 0.25em 0 0 var(--colorShadeZ);
}

.phone {
	background-color: #FDF5C3;
	position: fixed;
	bottom: 0;
	height: 5%;
	width: 100%;
	display: flex;
	align-items: center;
}

.phone a {
	margin: 4%;
	font-size: 20px;
	color: #84a98c;
	color: limegreen;
}

.phone-current {
	border-bottom: 5px solid #DDA15E;
}

/* Media query for small screens */
@media only screen and (max-width: 900px) {
	button {
		display: none;
	}

	.phone {
		display: block;
	}
}

/* Media query for large screens */
@media only screen and (min-width: 901px) {
	.phone {
		display: none;
	}
}

/* dark mode */
@media (prefers-color-scheme: dark) {

	.phone {
		background-color: #111318;
	}

	.phone a {
		color: orange;
	}

	.phone-current {
		border-bottom: 5px solid #1098F7;
	}

	button {
		background: var(--colorShadeB);
	}

	button::before {
		background: var(--colorShadeB);
		box-shadow: 0 0 0 2px var(--colorShadeB), 0 0.75em 0 0 var(--colorShadeA);
	}

	button:hover {
		background: var(--colorShadeC);
	}

	button:active::before {
		box-shadow: 0 0 0 2px var(--colorShadeB), 0 0.25em 0 0 var(--colorShadeB);
	}
}