/*
Theme Name: Pikkulaskiainen Theme
Description: Pikkulaskiainen Theme
Author: Lycka Reklam & Web-kehitys Miikka Asukas
Theme URI: https://briiffi.com
Author URI: https://miikka-asukas.fi
Version: 1.0
-----------------------------------------------------------------------------*/

@font-face {
	font-family: Intro;
	src: url(fonts/intro_black.woff2),
			 url(fonts/intro_black.woff);
	font-weight: 800;
}

*, *::before, *::after {

	box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, header, section, figcaption, footer, blockquote {

	margin: 0;
	padding: 0;
}

ul, ol {

	list-style: none;
}

b, strong {

	font-weight: 700;
}

html {

  --light: #fff;
  --blue: #00B7FF;
  --blue-light: #9CD1FF;
	--blue-light-2: #82BEF4;
  --blue-dark: #0363B7;
}

html, body {

	scroll-behavior: smooth;
}

body {

	counter-reset: content;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeSpeed;
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 400;
	line-height: 1;
	font-size: 16px;
	background: var(--light);
	color: var(--blue-dark);
}

body.no_overflow {

	overflow: hidden;
}

h1, h2, h3, h4, h5 {

  font-weight: 800;
  font-family: Intro, 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	text-transform: uppercase;
}

::selection {

	background: var(--blue-dark);
	color: var(--light);
}

::-moz-selection {

	background: var(--blue-dark);
	color: var(--light);
}

img {

	display: block;
	max-width: 100%;
}

a {

	color: inherit;
	text-decoration: none;
}

address {

	font-style: normal;
}

svg {

  display: block;
  height: auto;
}

pikkulaskiainen-slider {

	margin: 2rem 0 0;
}

/* Hack to target scroll with offset */

:target {

  display: block;
  position: relative;
  top: calc(-6.25rem - 2rem);
  visibility: hidden;
}

.sr_only {

  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

button, a.button {

	-webkit-font-smoothing: inherit;
	-moz-osx-font-smoothing: inherit;
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	display: inline-block;
  border: none;
  margin: 0;
	width: auto;
	overflow: visible;
	outline: none;
	font-family: Intro, 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: clamp(1rem, 3vw, 1.25rem);
	font-weight: 800;
	line-height: 1;
  text-transform: uppercase;
	cursor: pointer;
	user-select: none;
	padding: 1.5rem 2.5rem;
	border-radius: 4rem;
	background: var(--blue-dark);
	color: var(--light);
  text-align: center;
	word-break: break-word;
}

button.small, a.button.small {

	font-size: clamp(1rem, 3vw, 1.185rem);
}

.content.darkblue button,
.content.darkblue a.button {

	background: var(--light);
	color: var(--blue-dark);
}

button.loading {

	pointer-events: none;
	color: transparent;
}

button.loading:after {

	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -1rem 0 0 -1rem;
  border: 0.3rem solid var(--light);
  border-top: 0.3rem solid var(--blue-dark);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  animation: spin 1s linear infinite;
	transition: none;
}

button.selected {

	background: var(--blue);
	color: var(--light);
}

.content.darkblue button.selected,
.content.darkblue a.button.selected {

	background: var(--blue);
	color: var(--light);
}

@keyframes spin {

  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (pointer: fine) {

	button:not(.menu):hover, a.button:hover {

		background: var(--blue);
		color: var(--light);
	}

	.content.darkblue button:hover,
	.content.darkblue a.button:hover,
	.content.blue button:hover,
	.content.blue a.button:hover {

		background: var(--blue);
		color: var(--light);
	}

	.content.blue button:hover,
	.content.blue a.button:hover {

		background: var(--light);
		color: var(--blue-dark);
	}

	a[href^="tel:"]:hover, a[href^="mailto:"]:hover {

		text-decoration: underline;
	}
}

input[type="text"], input[type="tel"], input[type="email"], textarea {

	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	font-size: clamp(1rem, 3vw, 1.375rem);
	line-height: 1;
  font-weight: 500;
	color: var(--blue-dark);
	background: var(--light);
	padding: 1rem;
  margin: 0;
	width: 100%;
	border: none;
	border-radius: 0;
	outline: none;
	text-align: left;
	opacity: 1;
}

textarea {

	resize: vertical;
  min-height: 20vh;
}

::placeholder {

  color: #80808;
  opacity: 1;
}

::-ms-input-placeholder {

  color: #808080;
}

label.checkbox {

	display: flex;
	align-items: center;
	position: relative;
	padding: 0 0 0 2rem;
	font-size: clamp(1rem, 3vw, 1.375rem);
	min-height: 1.5rem;
	margin: 1rem 0;
	text-align: left;
	cursor: pointer;
	font-weight: 400;
}

label.checkbox input[type="checkbox"] {

	position: absolute;
	opacity: 0;
	cursor: pointer;
}

label.checkbox .checkmark {

	position: absolute;
	top: 0;
	left: 0;
	width: 1.5rem;
	height: 1.5rem;
	background-color: var(--light);
	border-radius: 50%;
}

label.checkbox .checkmark:after {

	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	transform: scale(0);
	background-color: var(--blue);
	transform-origin: center center;
	transition: 0.3s ease all;
}

label.checkbox input:checked + .checkmark:after {

	transform: scale(0.5);
}

/* Menu */

.menu {

	border: none;
	width: 4rem;
	height: 2.125rem;
	z-index: 20;
	background-color: transparent;
	background: linear-gradient(var(--blue-dark) 0, var(--blue-dark) 100%);
  background-size: 100% 7px;
	background-position: center center;
	background-repeat: no-repeat;
	transition: all .1s 0s;
	transform-origin: center center;
	z-index: 3;
	padding: 0;
  box-sizing: content-box;
}

.menu:before, .menu:after {

  content: "";
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	width: 100%;
	height: 7px;
	background: var(--blue-dark);
	transition: .2s all ease;
	transform-origin: center center;
	will-change: transform, color, top;
}

.menu:before {

	top: 0rem;
}

.menu:after {

	bottom: 0rem;
}

.menu.open {

  background-size: 100% 0;
  transition: none;
}

.menu.open:before, .menu.open:after {

  left: 50%;
  top: 50%;
  bottom: auto;
	background: var(--blue);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: .2s all ease-out;
}

.menu.open:before {

  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Header */

.header {

	position: sticky;
	top: 0;
	display: flex;
	flex-flow: column nowrap;
	background: var(--blue-light);
	z-index: 5;
}

body.customize-support .header {

	top: 32px;
}

@media screen and (max-width: 782px) {

	body.customize-support .header {

		top: 0;
	}
}

.header.open {

	height: 100vh;
	background: var(--blue-dark);
	overflow: auto;
}

.header .inner {

	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 1rem 2rem;
}

.header .inner .menu {

	order: 2;
	position: absolute;
	top: 50%;
	right: 2rem;
	transform: translateY(-50%);
}

.header .inner .text {

	order: 1;
}

.header .inner .text {

	display: flex;
	flex-flow: row nowrap;
	align-items: flex-end;
}

.header .inner a {

	display: block;
}

.header .inner img {

	width: 100%;
	max-width: 5rem;
	margin-right: 2rem;
	height: auto;
	user-select: none;
}

.header .inner h1 {

	display: flex;
	font-size: 3.75rem;
	color: var(--light);
}

.header .inner h1 span {

	color: var(--blue-dark);
}

.header .inner .menu.open + .text h1 span {

	color: var(--light);
}

.header .inner h1 time {

	display: block;
	margin-left: 2rem;
}

/* Header nav */

.header .nav {

	display: flex;
	background: var(--blue-dark);
	color: var(--light);
	font-family: Intro, 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	max-height: 0;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
}

.header.open .nav {

	flex: 1;
	max-height: none;
	padding-top: 20vw;
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

.header .nav .wrap {

	flex: 1;
	position: relative;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	background: var(--blue-light);
	padding: 4rem 2rem 0 2rem;
}

.header .nav img {

	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
	height: auto;
	pointer-events: none;
	user-select: none;
}

.header .nav .wrap > ul {

	display: inline-grid;
	grid-gap: 3rem;
	max-width: 80rem;
	margin: 0 auto;
	opacity: 1;
	transition: 0.4s opacity ease;
	padding: 0 0 2rem 0;
}

.header:not(.open) .wrap > ul {

	opacity: 0;
}

.header .nav ul li a {

	font-size: clamp(1.5rem, 6vw, 2.5rem);
	text-transform: uppercase;
}

.header .nav ul ul a {

	font-size: clamp(0.875rem, 3vw, 1.375rem);
	text-transform: uppercase;
}

.header .nav ul > li > ul {

	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 0.5rem;
	margin-top: 2rem;
}

.header .nav ul > li.full {

	grid-column: span 3;
}

@media screen and (pointer: fine) {

	.header .nav ul a:hover {

		color: var(--blue-dark);
	}
}

@media screen and (max-width: 73.75rem) {

	.header .inner {

		justify-content: space-between;
		z-index: 2;
	}

	.header .inner .menu {

		position: static;
		transform: translateY(0);
	}

	.header .inner .text {

		justify-content: flex-start;
		align-items: center;
	}

	.header .inner img {

		max-width: 10vw;
		margin-right: 2vw;
		min-width: 5rem;
	}

	.header .inner h1 {

		font-size: 5vw;
		display: block;
		transform: translateY(0);
	}

	.header .inner h1 time {

		margin: 0;
	}

	.header .nav .wrap > ul {

		grid-template-columns: repeat(2, 1fr);
		grid-gap: 2rem;
	}

	.header .nav ul > li.full {

		grid-column: span 2;
	}
}

@media screen and (max-width: 64rem) {

	.header .sosmed p {

		font-size: 1rem;
	}
}

@media screen and (max-width: 48rem) {

	.header .nav .wrap {

		display: block;
		padding: 4rem 1rem 0 1rem;
	}

	.header .nav .wrap > ul {

		display: grid;
		grid-template-columns: 1fr;
		margin: 0;
		text-align: center;
	}

	.header .nav ul > li.full {

		grid-column: auto;
	}

	.header .sosmed {

		display: block;
	}

	.header .sosmed p:first-of-type {

		display: none;
	}

	.header .sosmed div {

		display: inline-flex;
		margin: 0 0 1rem 0;
	}
}

@media screen and (max-width: 30rem) {

	.header .inner {

		padding: 1rem;
	}

	.menu {

		width: 3rem;
		height: 2rem;
	}

	.header .inner img {

		min-width: 3rem;
		margin-right: 3vw;
	}

	.header .inner h1 {

		font-size: 5.5vw;
	}
}

@media screen and (max-width: 22.5rem) {

	.menu {

		width: 2rem;
		height: 1.5rem;
		background-size: 100% 6px;
	}

	.menu:before, .menu:after {

		height: 6px;
	}
}

/* Sosmed */

.sosmed {

	display: flex;
	align-items: center;
	justify-content: flex-start;
	color: var(--blue);
	margin-top: 2rem;
}

.sosmed p {

	font-size: 1.375rem;
	color: var(--blue-dark);
	text-transform: uppercase;
}

.sosmed div {

	display: flex;
	margin: 0 2rem;
	gap: 0.5rem;
}

.sosmed div a {

	display: flex;
	align-items: center;
	height: 1.5rem;
}

@media screen and (pointer: fine) {

	.sosmed div a:hover {

		opacity: 0.5;
	}
}

/* Landing */

.landing {

	position: relative;
	min-height: 100vh;
	min-height: calc(100vh - 6.25rem);
	background-color: var(--blue-dark);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.landing.small {

	display: flex;
	align-items: center;
	justify-content: center;
	height: 32.1875vw;
	max-height: 38.625rem;
	min-height: 13rem;
	background: var(--blue-light-2);
	background-image: url(images/hiutaleet.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.landing .video {

	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.landing .full_img {

	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: var(--bg);
}

.landing .video[data-video]:before {

	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10rem;
	height: 10rem;
	margin-top: calc(-5rem - 6.25rem);
	margin-left: -5rem;
	border: 1rem solid var(--light);
	border-left-color: var(--blue);
	border-radius: 50%;
  animation: spin 1s linear infinite;
}

.landing .video video {

	position: absolute;
	left: 50%; /* % of surrounding element */
	top: 50%;
	transform: translate(-50%, -50%); /* % of current element */
	height: 100%;
	width: 177.77777778vh; /* 100 * 16 / 9 */
	min-width: 100%;
	min-height: 56.25vw; /* 100 * 9 / 16 */
}

.landing .video video.mobile {

	height: 100%;
	width: 74.074074vh; /* 100 * 16 / 9 */
	min-width: 100%;
	min-height: 135vw; /* 100 * 9 / 16 */
}

.landing figure {

	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	user-select: none;
	pointer-events: none;
	transform: translateY(2px);
}

.landing figure img {

	width: 100%;
	height: auto;
}

.landing .inner {

	max-width: 80rem;
	color: var(--light);
}

.landing .inner h1 {

	font-size: clamp(2rem, 5vw, 5.625rem);
	text-align: center;
	padding: 0 1rem;
	word-break: break-all;
}

/* Content */

.content {

	padding: 6rem 3rem;
}

.content.image {

	padding: 0;
}

.content.image + .footer,
.content.no_margin + .footer  {

	margin-top: 0rem;
}

.content.no_padding {

	padding-top: 0;
	padding-bottom: 0;
}

.content.lightblue {

	background: var(--blue-light);
}

.content.blue {

	background: var(--blue);
	color: var(--light);
}

.content.darkblue {

	background: var(--blue-dark);
	color: var(--light);
}

.content .inner {

	position: relative;
	max-width: 80rem;
	margin: 0 auto;
	text-align: center;
}

.content .inner .elem + .elem {

	margin-top: 4rem;
}

.content .inner img {

	margin: 0 auto;
}

.content h2 {

	font-size: clamp(1.25rem, 5vw, 3rem);
	line-height: 1.33;
}

.content h3 {

	font-size: clamp(1rem, 3vw, 2.1875rem);
	line-height: 1.33;
	margin: 2rem 0;
}

.content p,
.footer p {

	margin: 2rem 0;
	font-size: clamp(1rem, 3vw, 1.375rem);
	line-height: 1.6;
}

.content .inner .text p:first-child {

	margin-top: 0;
}

.content .inner img + h2 {

	margin-top: 4rem;
}

.content .inner h2 + img {

	margin-top: 2rem;
}


.content .btns {

	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	margin: 4rem 0;
}

.content p:last-child,
.content .text .btns:last-child {

	margin-bottom: 0;
}

.content ul {

	margin: 2rem 0;
	font-size: clamp(1rem, 3vw, 1.375rem);
	line-height: 1.6;
	text-align: left;
}

.content ul li {

	position: relative;
	padding-left: 1rem;
}
.content ul > li:before {

  content: "-";
  position: absolute;
	left: 0;
}

.content .img img,
.content.image img {

	width: 100%;
	height: auto;
}

@media screen and (max-width: 30rem) {

	.content {

		padding: 4rem 2rem;
	}

	.content * {

		word-wrap: break-word;
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}

	.content .btns {

		display: grid;
		grid-gap: 1rem;
	}

	.content .inner .elem + .elem {

		margin-top: 2rem;
	}

	.content .btns {

		margin: 2rem 0;
	}
}

@media screen and (max-width: 20rem) {

	.content {

		padding: 3rem 1rem;
	}
}

/* Links */

.links {

	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	justify-content: center;
	flex-flow: row wrap;
	grid-gap: 1rem;
}

.links.two {

	grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
}

.links a {

	display: flex;
	align-items: center;
	justify-content: center;
}

.links a:only-child {

	max-width: 22.5rem;
	margin: 0 auto;
}

@media screen and (max-width: 30rem) {

	.links {

		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}
}

/* Text */

.content .text {

	position: relative;
	max-width: 56rem;
	margin: 0 auto;
}

.content .text.wide {

	max-width: 68rem;
}

.content .text ul {

	display: inline-block;
	margin: 0;
}

.content .text.border:after {

	content: "";
	display: block;
	width: 70%;
	height: 2px;
	background: var(--blue);
	margin: 4rem auto 0 auto;
}

@media screen and (max-width: 30rem) {

	.content .text.border:after {

		margin: 2rem auto 0 auto;
	}
}

/* Partners */

.partners {

	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 2rem;
	grid-auto-rows: 1fr;
	margin-top: 2rem;
}

.partners .partner {

	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

@media screen and (max-width: 40rem) {

	.partners {

		grid-template-columns: repeat(2, 1fr);
		grid-gap: 1rem;
	}
}

/* Row */

.row {

	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	grid-gap: 2rem;
	padding: 1rem 0;
}

.row figure {

	flex: 1;
}

.row figure img {

	width: 100%;
	height: auto;
}

.row .column {

	flex: 1;
	display: flex;
	align-items: center;
	text-align: left;
}

.row .column div[id],
.content.grid .row .column div[id] {

	padding: 0;
	margin: 0;
}

.row .column div {

	padding: 3rem 0;
}

.row .column h2 {

	font-size: clamp(1.25rem, 3vw, 2.1875rem);
}

@media screen and (max-width: 80rem) {

	.row .column {

		flex: 2;
	}
}

/* Grid */

.content.grid {

	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 0;
}

.content.grid .row {

	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	grid-gap: 0;
	padding: 0;
}

.content.grid .row figure {

	padding-bottom: 70%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.content.grid .row .column {

	align-items: stretch;
	justify-content: flex-start;
}

.content.grid .row .column.dark {

	background: var(--blue-dark);
}

.content.grid .row .column div {

	padding: 4rem;
	max-width: 70%;
}

.content.grid .row:nth-of-type(even) figure {

	order: 2;
}

.content.grid .row:nth-of-type(even) .column {

	order: 1;
	justify-content: flex-end;
}

@media screen and (max-width: 80rem) {

	.content.grid .row .column div {

		max-width: none;
	}
}

@media screen and (max-width: 47rem) {

	.row {

		display: grid;
		grid-template-columns: 1fr;
		padding: 3rem 0 1rem 0;
	}

	.content.grid .row {

		grid-template-columns: 1fr;
		padding: 0;
	}

	.row figure {

		order: 2;
		padding: 0;
	}

	.row .column {

		align-items: flex-start;
		order: 1;
	}

	.row .column div {

		padding: 0;
	}
}

@media screen and (max-width: 30rem) {

	.content.grid .row .column div {

		padding: 2rem;
	}
}

/* Team */

.team {

	position: relative;
	display: flex;
	flex-flow: row nowrap;
	padding: 0 2rem;
	background-color: var(--blue-light);
	margin-bottom: 10rem;
}

/*.team .inner {

	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	align-items: end;
	justify-content: start;
	z-index: 1;
}*/

.team .inner {

	display: flex;
	flex-flow: row nowrap;
	align-items: flex-end;
	justify-content: flex-start;
}

.team .inner h3 {

	font-size: clamp(1rem, 5vw, 1.25rem);
	padding: 1rem 0;
	text-align: center;
}

.team .inner p {

	background: var(--light);
	text-align: center;
}

.team .member {

	position: relative;
}

.team .member div {

	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
}

.team .member figure {

	max-width: 300px;
	padding-bottom: 122.333%;
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: var(--bg);
	padding-top: 2rem;
}

/* Form */

.form {

	max-width: 51.25rem;
	margin: 0 auto;
}

.form form {

	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 0.5rem;
	margin-top: 3rem;
	transition: all 0.4s ease;
}

.form .thanks {

	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--blue);
	color: var(--light);
	z-index: 2;
}

.form.success .thanks {

	display: block;
}

.form.loading form input,
.form.loading form textarea,
.form.loading form label {

	pointer-events: none;
	user-select: none;
	opacity: 0.5;
}

/* Levels */

.levels {

	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	grid-gap: 0;
	margin: 2rem 0;
}

.content .levels h3 {

	margin: 0;
}

.levels .level:nth-of-type(1) {

	text-align: left;
}

.levels .level:nth-of-type(3) {

	text-align: right;
}

/* Locations */

.locations.loading .location_btns {

	opacity: 0.5;
	pointer-events: none;
}

.locations.loading .targets .target {

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.locations.loading .targets:before {

	content: "";
	position: absolute;
	top: 2rem;
	left: 50%;
	transform: translateX(-50%);
  border: 0.75rem solid var(--light);
  border-top: 0.75rem solid var(--blue-dark);
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  animation: spin 1s linear infinite;
  opacity: 1;
}

.locations .location_btns {

	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-auto-rows: 1fr;
	grid-gap: 1rem;
}

.locations .targets {

	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	align-items: stretch;
	grid-gap: 1px;
	margin-top: 4rem;
}

.locations .targets .target {

	display: block;
	outline: 1px solid var(--blue-dark);
}

.locations .targets .target.hidden {

	display: none;
}

.locations .targets .target .target_wrap {

	padding: 2rem;
}

.locations .targets .target figure {

	padding-bottom: 80%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: var(--blue-dark);
	background-image: var(--bg);
}

.locations .targets .target a.map {

	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	font-size: clamp(1rem, 3vw, 1.25rem);
	text-decoration: underline;
	text-align: left;
}

.locations .targets .target h3 {

	margin: 0 0 1rem 0;
	font-size: clamp(1.25rem, 5vw, 2rem);
}

.locations .targets .target a.map:before {

	content: "";
	width: 21px;
	height: 30px;
	background-image: url(images/marker.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-right: 0.5rem;
}

.locations .targets .target .tags {

	display: flex;
	flex-flow: row wrap;
	gap: 1rem;
	align-items: center;
	justify-content: center;
	margin-top: 2rem;
	font-family: Intro, 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: clamp(1rem, 3vw, 1.25rem);
	text-transform: uppercase;
	color: var(--blue);
}

@media screen and (pointer: fine) {

	.locations .targets .target a:hover {

		text-decoration: underline;
	}
}

@media screen and (max-width: 30rem) {

	.locations .location_btns {

		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}

	.locations .targets {

		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

@media screen and (max-width: 22.5rem) {

	.locations * {

		word-wrap: break-word;
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}
}

/* Footer */

.footer {

	position: relative;
	background: var(--blue-dark);
	border-top: 4rem solid var(--blue);
	color: var(--light);
	padding: 8rem 4rem 2rem 4rem;
	margin-top: 10rem;
}

.footer:before {

	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform-origin: top center;
	transform: translate(-50%, calc(-50% - 2rem));
	width: 35vw;
	height: 35vw;
	max-width: 15.5rem;
	max-height: 15.5rem;
	border-radius: 50%;
	background: var(--blue);
	padding: 2rem;
	background-image: url(images/logo.png);
	background-size: 70%;
	background-position: 50% calc(50% + 0.5rem);
	background-repeat: no-repeat;
}

.footer .inner {

	max-width: 80rem;
	margin: 0 auto;
	text-align: center;
}

.footer h3 {

	font-size: clamp(1rem, 4vw, 1.375rem);
}

.footer h3 + p {

	margin-top: 0;
}

.footer svg path {

	fill: var(--light);
}

.footer .sosmed {

	display: block;
	color: inherit;
	margin-top: 2rem;
}

.footer .sosmed p {

	color: inherit;
}

.footer p.copy {

	margin: 4rem 0 0;
	font-size: clamp(1rem, 3vw, 1.185rem);
}

.footer .sosmed div {

	align-items: center;
	justify-content: center;
	margin: 2rem 0;
}

.footer .sosmed h3:last-of-type {

	color: var(--blue);
}

@media screen and (max-width: 30rem) {

	.footer {

		padding: 5rem 2rem 1rem 2rem;
		margin-top: 4rem;
	}

	.footer * {

		word-wrap: break-word;
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}
}

@media screen and (max-width: 22.5rem) {

	.footer {

		margin-top: 2rem;
	}
}
