/* Accessibility additions. Issues #30 (skip link), #31 (menu state), #37 (carousel pause).
   A separate file so the vendor bundle (main.min.css) is not edited. */

/* #30 Skip link: off screen until a keyboard user tabs to it. */
.c-skip-link {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10000; /* above the sticky header, which is 9999 */
	padding: 0.75rem 1.25rem;
	background: #fff;
	color: #20383f;
	border: 0.125rem solid #20383f;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: underline;
	transform: translateY(-120%);
}
.c-skip-link:focus,
.c-skip-link:focus-visible {
	transform: none;
}

/* The page body gets focus when the skip link is used; it needs no ring. */
main[tabindex="-1"]:focus,
main[tabindex="-1"]:focus-visible {
	outline: 0 !important;
	box-shadow: none;
}

/* #143 The home page button jumps to this heading; keep it below the sticky header. */
#about-the-tool {
	scroll-margin-top: 6rem;
}

/* #37 Pause button for the moving phone pictures. */
.c-carousel-pause {
	display: flex;
	justify-content: center;
	margin: 0.75rem 0;
}
.c-carousel-pause__button {
	appearance: none;
	background: #fff;
	color: #20383f;
	border: 0.125rem solid #20383f;
	border-radius: 2rem;
	padding: 0.4rem 1.1rem;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}
.c-carousel-pause__button:hover {
	background: #20383f;
	color: #fff;
}
