@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@media all and (display-mode: standalone) {
#custom-installation-banner {
    display:none;
    }
}

body, html {
	margin: 0;
	padding: 0;
	font-family: "Inter", Helvetica Neue,Helvetica,Arial,sans-serif;
	font-optical-sizing: auto;
	background: linear-gradient(154deg, #0567c2 2%, rgb(147, 0, 150) 110.00000000000001%);
	color: #f0f0f0;
}

::placeholder {
	color: #f0f0f0;
}

::-webkit-input-placeholder {
	color: #f0f0f0;
}

h1, h2, h3, .big {
	font-family: "Bebas Neue", sans-serif;
	font-weight: 400;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1 {
	font-size: 124px;
	line-height: 100px;
	letter-spacing: -1.66px;
}

h2 {
	font-size: 92px;
	line-height: 78px;
	letter-spacing: -1px;
	margin: 2vh;
}

h3 {
	font-size: 48px;
	line-height: 40px;
	letter-spacing: -0.66px;
	margin: 3vh 0 2vh 0;
}

h4 {
	font-size: 21px;
	line-height: 28px;
	font-weight: 400 !important;
	letter-spacing: -0.2px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

p.big {
	font-size: 164px;
	line-height: 120px;
	letter-spacing: -4px;
	text-align: center !important;
	margin: 0 !important;
	padding: 16px 0 16px 0;
	text-shadow: 3px 3px 0px rgba(240, 240, 240, 0.22);
	text-shadow: 5px 5px 0px rgba(240, 240, 240, 0.22);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#root {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.nav {
	margin: 0;
	padding: 32px;
	position: fixed;
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}

.nav-content {
	max-width: 98vw;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.search-container {
	display: flex;
	align-items: center;
	width: 50%;
}

.search-input {
	flex-grow: 1;
	padding: 12px 16px;
	border: none;
	border-radius: 999px;
	font-family: "Inter";
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.2px;
	color: #f0f0f0;
	background: transparent;
	border: 1px solid #f0f0f0;
	transition: all .3s ease-out;
}

.search-input:hover {
	color: #fff;
	background-color: rgba(48,48,48,.08);
	border: 1px solid #f0f0f0;
}

.search-input:focus {
	color: #303030;
	background-color: #f0f0f0;
}

.localize-btn {
	background-color: #f0f0f0;
	color: #4b46c2;
	border: 1px solid #f0f0f0;
	border-radius: 999px;
	padding: 9px;
	cursor: pointer;
	transition: all .3s ease-out;
}

.localize-btn:hover {
	background-color: transparent;
	border: 1px solid #f0f0f0;
	color: #ffff;
}

.localize-btn:hover svg {
	filter: brightness(0) saturate(100%) invert(98%) sepia(100%) saturate(2%) hue-rotate(320deg) brightness(109%) contrast(101%);
}

.hour {
	font-size: 50px;
	font-weight: 400;
	line-height: 48px;
	letter-spacing: -2.5px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.extra {
	text-fill-color: transparent;
	text-stroke: 1px #f0f0f0;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1px #f0f0f0;
	-moz-text-fill-color: transparent;
}

p.divided {
	margin-top: -24px;
	padding-top: 64px;
	border-top: 1px solid #f0f0f0;
}

.main-content {
	display: flex;
	justify-content: space-between;
	max-width: 98vw;
	margin: 96px auto 20px;
	padding: 20px;
	gap: 20px;
}

.column {
	flex: 1;
	padding: 20px;
}

.btn {
	background-color: transparent;
	color: #f0f0f0;
	border-radius: 999px;
	border: 1px solid #f0f0f0;
	padding: 10px 15px;
	cursor: pointer;
	margin: 5px;
}

.btn-ride {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	cursor: pointer;
	background-color: transparent !important;
	color: #f0f0f0 !important;
	border-radius: 999px !important;
	border: 1px solid #f0f0f0 !important;
	margin: 0;
	padding: 0 !important;
	max-height: 104px !important;
	transition: all .3s ease-out;
}

.btn-ride:hover {
	background: #1c69ff !important;
	color: #f0f0f0 !important;
	border: 1px solid #1c69ff !important;
}

.btn-refresh {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	cursor: pointer;
	background-color: transparent !important;
	color: #f0f0f0 !important;
	border-radius: 999px !important;
	border: 1px solid rgba(240,240,240,0.2) !important;
	margin: 0;
	padding: 12px;
	transition: all .3s ease-out;
}

.btn-refresh:hover {
	background-color: rgba(240,240,240,0.1) !important;
	color: #fff !important;
	border: 1px solid rgba(240,240,240,0) !important;
}

.btn-refresh svg {
	transition: all .45s ease-out;
}

.btn-refresh:hover svg {
	transform: rotate(-225deg) !important;
}

.btn-active {
	background-color: #f0f0f0;
	color: #1c69ff;
	border-radius: 999px;
}

.weather-details {
	padding: 24px;
	margin-top: 8px;
}

.weekly-forecast {
	display: grid;
	grid-template-rows: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
}

.forecast-tile {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	border-radius: 10px 10px 0 0;
	padding: 0 16px 24px 16px;
	text-align: center;
	cursor: pointer;
	align-items: center;
	justify-content: space-between;
	transition: all .33s ease-out;
	border-bottom: 1px solid transparent;
}

.forecast-tile-active {
	background-color: rgba(240,240,240,.04);
	border-bottom: 1px solid #f0f0f0;
}

.suggestions-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: white;
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 4px 4px;
	z-index: 1;
	list-style-type: none;
	padding: 0;
	margin: 0;
	max-height: 200px;
	overflow-y: auto;
}

.suggestion-item {
	padding: 5px 10px;
	cursor: pointer;
}

.suggestion-item:not(:last-child) {
	border-bottom: 1px solid #eee;
}

.nav-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.current-time {
	font-size: 1.2em;
	font-weight: bold;
	color: #ffffff;
	padding: 0 15px;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

.centered {
	text-align: center;
}

.extra-info {
	font-size: 12px;
	line-height: 17px;
	color: rgba(240,240,240,0.66);
	fomt-weight: 500;
	padding: 20px 0 30px 0;
	border-bottom: 1px solid #f0f0f0;
}

.summary {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	padding: 16px 0 12px 0;
	gap: 16px;
	justify-content: space-between;
	align-items: flex-end;
}

.condition {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 8px;
}

.icon-wrapper svg {
	max-width: 39px;
}

.loader {
	display: flex;
	height: 50vh;
	justify-content: center;
	align-items: center;
}

.spinner {
	height: 5vh;
	width: 5vh;
	border: 6px solid rgba(240, 240, 240, 0.1);
	border-top-color: rgba(240, 240, 240, 0.6);
	border-radius: 100%;
	animation: rotation 0.6s infinite linear 0.25s;
	opacity: 0;
}

.activity-toggle {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	padding: 0;
	gap: 0;
}

.toggle-btn-ride, .toggle-btn-run {
	display: flex;
	cursor: pointer;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	font-family: "Bebas Neue", sans-serif;
	color: #f0f0f0;
	background-color: transparent;
	font-size: 28px;
	line-height: 28px;
	letter-spacing: .5px;
	transition: all .24s ease-out;
}

.toggle-btn-ride {
	border: 1px solid #f0f0f0;
	border-radius: 999px 0 0 999px;
	padding: 9px 16px 9px 24px;
}

.toggle-btn-run {
	border-color: #f0f0f0;
	border-radius: 0 999px 999px 0;
	padding: 9px 24px 9px 16px;
	border-style: solid solid solid none !important;
}

.toggle-btn-ride:hover, .toggle-btn-run:hover {
	color: #fff;
	background-color: rgba(240,240,240,0.1) !important;
}

.toggle-btn-ride.active, .toggle-btn-run.active {
	color: #1c69ff;
	background-color: #f0f0f0 !important;
}

.toggle-btn-ride.active svg, .toggle-btn-run.active svg {
	filter: invert(33%) sepia(67%) saturate(4454%) hue-rotate(213deg) brightness(100%) contrast(101%);
}

.suggestions-list {
	max-width: 48%;
	margin: auto;
	left: -54px;
	background: rgba(240,240,240,.9666);
	padding: 12px 12px 32px 12px;
	border-radius: 8px;
	overflow: hidden;
}

.suggestion-item {
	font-size: 18px;
	line-height: 24px;
	color: #303030;
	padding: 12px;
	transition: all .24s ease-out;
}

.suggestion-item:hover {
	background: #c1d9ff;
	color: #000;
}

.footer {
	display: flex;
	margin: 60px 40px 16px 40px;
	padding: 0;
	justify-content: space-between;
	margin-top: auto;
	border: 1px solid #f0f0f0;
	border-radius: 6px;
	color: rgba(240,240,240,.87) !important;
}

.footer-column {
	flex: 1;
	padding: 16px;
}

.footer a, a:visited {
	text-decoration: none;
	position: relative;
	color: #fff;
}

.footer a:after, a:visited:after {
	content: "";
	height: 1px;
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0%;
	background: #f0f0f0;
	transition: .25s ease-out;
}

.footer a:hover:after, a:visited:hover:after {
	width: 100%;
}

.error-message {
	background-color: rgba(248,31,60,.1);
	border: 1px solid #f81f3c;
	float: left;
	padding: 24px;
	border-radius: 8px;
	color: #f81f3c;
}

.sort-mobile {
	visibility: hidden;
}

.footer-last {
	text-align: right;
	border-left: 1px solid #f0f0f0;
}

[hover-tooltip] {
  position: relative;
  cursor: help;
}

[hover-tooltip]:hover::before {
  content: attr(hover-tooltip);
  font-size: 14px;
  text-align: center;
  text-transform: none;
  position: absolute;
  display: block;
  left: 50%;
  min-width: 100px;
  max-width: 200px;
  bottom: calc(100% + 10px);
  transform: translate(-50%);
  animation: fade-in 300ms ease;
  background: #303030;
  border-radius: 4px;
  padding: 4px;
  color: #f0f0f0;
  z-index: 1;
}

[hover-tooltip]:hover::after {
  content: "";
  position: absolute;
  display: block;
  left: 50%;
  width: 0;
  height: 0;
  bottom: calc(100% + 6px);
  margin-left: -3px;
  border: 1px solid #303030;
  border-color: #303030 transparent transparent transparent;
  border-width: 4px 6px 0;
  animation: fade-in 300ms ease-out;
  z-index: 1;
}

[hover-tooltip][tooltip-position=bottom]:hover::before {
  bottom: auto;
  top: calc(100% + 10px);
}

[hover-tooltip][tooltip-position=bottom]:hover::after {
  bottom: auto;
  top: calc(100% + 6px);
  border-color: transparent transparent #303030;
  border-width: 0 6px 4px;
}

.pulse {
  cursor: pointer;
  margin: 40px 0 0 0;
  width: fit-content;
	font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #101010;
  padding: 16px 24px;
  background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FFC042 8%, #E5CD43 30%, #D1AC59 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #D7C146 62.5%, #D7C146 100%);
  border-radius: 50px;
  transition: all .5s ease-out;
  animation: shadow-pulse 2s infinite;
}

.pulse:hover {
  transform: scale(1.04);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shadow-pulse
{
  0% {
    box-shadow: 0 0 0 0px rgba(187,165,61,.4);
  }
  100% {
    box-shadow: 0 0 7px 25px rgba(187,165,61,0);
  }
}

@keyframes rotation {
	from {
		opacity: 1;
		transform: rotate(0deg);
	}

	to {
		opacity: 1;
		transform: rotate(359deg);
	}
}

@media only screen and (min-device-width: 300px) and (max-device-width: 1280px) {
	.main-content {
		flex-direction: column;
	}

	.nav-content {
		flex-direction: column;
	}

	.search-container {
		width: 100%;
		margin-top: 10px;
	}

	h1 {
		font-size: 64px;
		line-height: 60px;
		text-align: center;
	}

	h2 {
		font-size: 36px;
		line-height: 34px;
	}

	h3 {
		font-size: 32px;
		line-height: 28px;
	}

	h4 {
		font-size: 18px;
		line-height: 18px;
	}

	.big {
		font-size: 80px;
		line-height: 60px;
	}

	.nav {
		padding: 8px;
	}

	.nav-content {
		max-width: 100%;
		flex-direction: row;
		align-items: space-between;
		gap: 16px;
		padding: 8px;
	}

	.search-container {
		width: auto;
		flex-grow: 1;
	}

    .suggestions-list {
        width: 100%;
        left: 0;
        overflow: auto;
    }

	.optional, .sort-hd, .toggle-btn-ride, .toggle-btn-run, .pulse {
		display: none;
	}

	.sort-mobile, .sort-mobile svg {
		display: inline-block !important;
		width: 40px !important
		height: auto;
		flex-grow: 1;
	}

	.main-content {
		justify-content: center;
		max-width: 100%;
		margin: 56px 0 0 0;
		padding: 0;
		gap: 16px;
	}

	p.divided {
		padding-top: 16px;
	}

	.column {
		padding: 8px 16px;
	}

	.error-message {
		padding: 8px;
		text-align: center;
	}

	.footer {
		flex-direction: column;
		margin: 8px;
	}

	.footer-last {
		text-align: left;
		border: 1px solid #f0f0f0;
	}
}