*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	font-family: Heebo, sans-serif;
	font-size: 1.6rem;
	font-weight: 300;
	margin: 0;
	padding: 0;
	background: url(img/bg.png) center center no-repeat;
	background-size: cover;
	color: #475464;
}

.root {
	opacity: 0;
	transition: opacity 1s;
}

body.ready .root {
	opacity: 1;
}

.spinner {
	width: 66px;
	height: 66px;
	border: 3px solid #B13D89;
	border-right: 3px solid transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

body.ready .spinner {
	display: none;
}

@keyframes spin {
	0% {
		transform: rotate(0)
	}

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

strong {
	font-weight: 500;
}

a {
	text-decoration: none;
}

.container {
	max-width: 1074px;
	margin: 0 30px;
}

@media screen and (min-width: 1134px) {
	.container {
		margin: 0 auto;
	}
}


.info {
	margin: 50px 0 20px;
}

@media screen and (min-width: 768px) {
	.info {
		margin: 70px 0 70px;
	}
}

.info__top {
	border-bottom: 1px solid #98B2C0;
	display: flex;
	flex-direction: column-reverse;
	padding: 0 0 5px;
	margin: 0 0 15px;
}

@media screen and (min-width: 768px) {
	.info__top {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

.info__name {
	font-size: 1.8rem;
	text-transform: capitalize;
}

@media screen and (min-width: 768px) {
	.info__name {
		font-size: 2.8rem;
	}
}

.info__logo {
	width: 95px;
	height: auto;
	margin: 0 0 18px;
}

@media screen and (min-width: 768px) {
	.info__logo {
		margin: 0;
	}
}

.info__main {
	display: flex;
	justify-content: flex-start;
}

.info__demo {}

.info__meta {}

.info__row {
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	width: 275px;
	margin: 0 0 5px;
	line-height: 1;
}

.info__row-label {
	font-weight: 400;
	font-size: 1.2rem;
	color: #383838;
	text-transform: uppercase;
	letter-spacing: 1px;
	min-width: 88px;
}

@media screen and (min-width: 768px) {
	.info__row-label {
		font-size: 1.3rem;
	}
}

.info__row-txt {
	font-size: 1.4rem;
}

@media screen and (min-width: 768px) {
	.info__row-txt {
		font-size: 1.6rem;
	}
}



.combined {}

.combined__title {
	border-bottom: 1px solid #98B2C0;
	font-size: 1.6rem;
	margin: 0 0 20px;
	padding: 0 0 5px;
}

@media screen and (min-width: 768px) {
	.combined__title {
		font-size: 2.1rem;
		margin: 0 0 40px;
	}
}



.screens {
	max-width: 838px;
	margin: 0 auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

@media screen and (min-width: 768px) {
	.screens {
		gap: 40px;
	}
}

.screens__screen {

}

.screens__label {
	font-size: 1rem;
	color: #383838;
	letter-spacing: 1px;
	margin: 0 0 2px;
	font-weight: 300;
	text-align: center;
}

.screens__label strong {
	text-transform: uppercase;
	font-weight: 400;
}

@media screen and (min-width: 768px) {
	.screens__label {
		font-size: 1.8rem;
		margin: 0 0 4px;
	}

	.screens__label strong {
		font-size: 1.3rem;
	}
}

.screens__title {
	font-size: 1.4rem;
	margin: 0 0 5px;
}

@media screen and (min-width: 768px) {
	.screens__title {
		font-size: 1.8rem;
		margin: 0 0 8px;
	}
}

.screens__img {
	border: 4px solid #fff;
	width: 100%;
	height: auto;
	margin: 0 0 6px;
}

@media screen and (min-width: 768px) {
	.screens__img {
		border: 10px solid #fff;
	}
}


.indices {
	max-width: 838px;
	margin: 0 auto 25px;
}

@media screen and (min-width: 768px) {
	.indices {
		margin: 0 auto 35px;
	}
}

.indices__scores-wrap {
	position: relative;
}

.indices__scores {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #fff;
	padding: 0 0 10px;
	margin: 0 0 40px;
}

@media screen and (min-width: 768px) {
	.indices__scores {
		justify-content: space-around;
		padding: 0 0 15px;
		margin: 0 0 70px;
	}
}

.indices__score {
	font-family: Jost, sans-serif;
	font-weight: 400;
	font-size: 4rem;
}

.indices__title {
	font-weight: 400;
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	line-height: 1.1;
}

@media screen and (min-width: 768px) {
	.indices__title {
		font-size: 1.4rem;
	}

	.indices__title br {
		display: none;
	}
}

.indices__desc {
	font-size: 1.4rem;
	max-width: 528px;
	margin: 0 auto;
	text-align: center;
}

@media screen and (min-width: 768px) {
	.indices__desc {
		font-size: 1.8rem;
	}
}

.indices__yours {
	font-size: 2.1rem;
}

.indices__option {
	display: none;
}


.emote-graph {
	margin: 60px auto 0;
	max-width: 838px;
}

@media screen and (min-width: 768px) {
	.emote-graph {
		
	}
}

.emote-graph__legend {
	position: relative;
}

@media screen and (min-width: 768px) {
	.emote-graph__legend {
		padding: 0 0 30px;
	}
}

.emote-graph__key {
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
	position: absolute;
	bottom: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	letter-spacing: 1px;
	cursor: pointer;
}

@media screen and (min-width: 768px) {
	.emote-graph__key {
		font-size: 1.4rem;
	}
}

.emote-graph__key.disabled {
	opacity: .5;
}

.emote-graph__key.a {
	right: 50%;
}

.emote-graph__key.b {
	left: 50%;
}

@media screen and (min-width: 768px) {
	.emote-graph__key.a {
		right: calc(50% - 4px);
	}

	.emote-graph__key.b {
		left: calc(50% - 4px);
	}
}

.emote-graph__icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	margin: 0 8px;
}

@media screen and (min-width: 768px) {
	.emote-graph__icon {
		margin: 0 15px;
		width: 18px;
		height: 18px;
	}
}

.emote-graph__key.a .emote-graph__icon {
	background: rgba(39, 193, 187, .3);
	border: 2px solid #27C1BB;
}

.emote-graph__key.b .emote-graph__icon {
	background: rgba(178, 62, 138, .3);
	border: 2px solid #B23E8A;
}

.emote-graph__graph {
	width: 100%;
	height: 330px;
	margin: 0 auto;
}

@media screen and (min-width: 768px) {
	.emote-graph__graph {
		width: 100%;
		height: 800px;
	}
}

.tooltip {
	display: none;
	position: fixed;
	background: #fff;
	padding: 26px;
	transform: translate(-50%, calc(-100% - 20px));
	grid-template-columns: 1fr;
	gap: 15px;
}

.tooltip.show {
	display: grid;
}

.tooltip__title {
	font-size: 1.3rem;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 1px;
}

.tooltip__datum {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	min-width: 222px;
	padding: 0 0 4px;
	line-height: 1;
}

.tooltip__datum.a {
	border-bottom: 1px solid #27C1BB;
	margin-bottom: 5px;
}

.tooltip__datum.b {
	border-bottom: 1px solid #B23E8A;
}

.tooltip__name {
	font-size: 1.3rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 400;
}

.tooltip__value {
	font-family: Jost, sans-serif;
	font-size: 21px;
	font-weight: 400;
}


.compare__title {
	border-bottom: 1px solid #98B2C0;
	font-size: 1.6rem;
	margin: 40px 0 20px;
	padding: 0 0 5px;
}

@media screen and (min-width: 768px) {
	.compare__title {
		font-size: 2.1rem;
		margin: 50px 0 40px;
	}

	.compare__title.alt {
		margin: 0;
	}
}


.toggle {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 30px;
}

.toggle__label {
	width: 100px;
	margin: 0 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.2rem;
	color: #475464;
	cursor: pointer;
	opacity: .5;
	font-weight: 400;
	line-height: 1.15;
}

@media screen and (min-width: 768px) {
	.toggle__label {
		width: auto;
		min-width: 150px;
		font-size: 1.4rem;
	}
}

.toggle__label.a {
	text-align: right;
}

.toggle[data-active="a"] .toggle__label.a,
.toggle[data-active="b"] .toggle__label.b {
	opacity: 1;
}

.toggle__gfx {
	position: relative;
	width: 30px;
	height: 16px;
	background: linear-gradient(to bottom left, #787878, #B0B0B0);
	border-radius: 8px;
	cursor: pointer;
}

.toggle__gfx::before {
	content: '';
	position: absolute;
	left: 5px;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	background: #fff;
	border: 3px solid #27C1BB;
	border-radius: 50%;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, .4);
	transition: left .2s;
}

.toggle[data-active="b"] .toggle__gfx::before {
	left: calc(100% - 5px);
}



.slider {
	display: none;
}

@media screen and (min-width: 768px) {
	.slider {
		margin: 0 0 20px;
	}
}

.slider.active {
	display: block;
}

.slider__frame {
	position: relative;
	width: 70%;
	max-width: 400px;
	margin: 0 10px;
	opacity: .3;
	transition: opacity .4s;
}

.slider__frame.is-selected {
	opacity: 1;
}

.slider__arrow {
	position: absolute;
	top: 50%;
	height: auto;
	z-index: 9;
	cursor: pointer;
	padding: 10px;
	background: #fff;
}

.slider__arrow img {
	display: block;
	width: 18px;
}

@media screen and (max-width: 1146px) {
	.slider__arrow {
		display: none;
	}
}

.slider__arrow.prev {
	right: calc(50% + 510px);
}

.slider__arrow.next {
	left: calc(50% + 510px);
	transform: rotate(180deg);
}

.slider__screen {
	width: 100%;
	height: auto;
	border: 10px solid #fff;
	display: block;
}

@media screen and (min-width: 768px) {
	.slider__screen {
		border: 10px solid #fff;
	}
}

.slider__face {
	position: absolute;
	display: block;
	width: 94px;
	height: auto;
	border: 4px solid #fff;
	right: 20px;
	bottom: 20px;
}

@media screen and (min-width: 768px) {
	.slider__face {
		width: 115px;
	}
}

.slider__time {
	position: absolute;
	left: 0;
	bottom: 4px;
	display: block;
	width: 72px;
	font-family: Jost, sans-serif;
	font-weight: 400;
	font-size: 1.6rem;
	text-align: center;
	background: #fff;
	padding: 4px 0;
}


.frame-data {
	margin: 0 auto 30px;
	max-width: 700px;
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
	row-gap: 20px;
	padding: 25px 0 0;
}

@media screen and (min-width: 768px) {
	.frame-data {
		column-gap: 62px;
		row-gap: 20px;
		margin: 0 auto 45px;
	}
}

.frame-data__datum {
	display: block;
}

.frame-data__label {
	font-weight: 400;
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-bottom: 2px solid rgba(152, 178, 192, .3);
	padding: 0 0 10px;
}

.frame-data__value {
	color: #383838;
	font-size: 1.6rem;
	font-family: Jost, sans-serif;
}

@media screen and (min-width: 768px) {
	.frame-data__value {
		font-size: 1.8rem;
	}
}

.frame-data__bar {
	width: 1%;
	min-width: 1%;
	background: #B94C4C;
	height: 10px;
	margin: -6px 0 0;
	transition: .4s all;
}

.frame-data__bar[data-level="5"] { background: #81DE85; }
.frame-data__bar[data-level="4"] { background: #A5CC6E; }
.frame-data__bar[data-level="3"] { background: #D1BA4E; }
.frame-data__bar[data-level="2"] { background: #DA806C; }
.frame-data__bar[data-level="1"] { background: #B94C4C; }

.footer {
	background: #475464;
	padding: 50px 0;
	margin: 50px 0 0;
	font-size: 1.6rem;
	color: #fff;
}

@media screen and (min-width: 768px) {
	.footer {
		margin: 100px 0 0;
	}
}

.footer a {
	color: #DBD5AC;
	font-size: 1.4rem;
}

.footer__inner {}

.footer__highlight {
	font-weight: 400;
	color: #27C1BB;
	margin: 0 0 40px;
	line-height: 1.;
}

.footer__highlight p {
	margin: 0 0 8px;
}

.footer__more {
	font-weight: 400;
	color: #fff;
	margin: 0 0 16px;
}

.footer__contact {
	font-size: 1.4rem;
	margin: 0 0 40px;
	line-height: 1.9;
}

.footer__bottom {
	border-top: 1px solid #fff;
	padding: 30px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.footer__logo {
	width: 90px;
	height: auto;
}

.footer__social {
	display: flex;
}

.footer__social a {
	margin: 0 0 0 20px;
}