body {
	background: #242427;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	color: #C6C6D3;
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 2.5rem;
	margin: 0;
}

body.no-scroll {
	overflow: hidden;
  }

h1, h2, h3, h4 {
	color: #fff;
	font-weight: 500;
	line-height: 3rem;
}

:is(article, aside, nav, section) h1 {
	font-size: 2em;
}

blockquote {
	background-color: #37373a;
	margin: 20px auto;
	padding: 20px 40px;
	border-radius: 0 12px 12px 12px;
	font-weight: 400;
	color: #fff;
}

blockquote:first-letter {
	margin-left: -8px;
}

blockquote.fl-ml-l:first-letter {
	margin-left: -20px;
}


a, a:visited {
	color: #fff;
	text-decoration: none;
}

a.accent, a.accent:visited {
	color: #3449FF;
	text-decoration: none;
}

a:hover,
a:active,
a.accent:hover,
a.accent:active,
a:hover span {
	color: #3496FF;
}

strong {
	font-weight: 500;
	color: #fff;
}
img {
	width: 100%;
}

label {
	font-size: 1rem;
	color: #9292AE;
}

input, textarea {
	display: block;
	padding: 12px 20px;
	box-sizing: border-box;
	font-size: 1.5rem;
	width: 50%;
	background: transparent;
	border: 1px solid #9292AE;
	border-radius: 12px;
	color: #fff;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;	
}

button {
	display: inline-block;
	cursor: pointer;
	font-size: 1.5rem;
	font-weight: 500;
	padding: 20px 40px;
	border-radius: 12px;
	border: none;
	transition: all .3s ease-in-out;
}

button.primary {
	background: #C6C6D3;
	color: #242427;
}

button.secondary {
	background: #50505b;
	color: #C6C6D3;
}

button.button-s {
	font-size: 1.2rem;
	padding: 12px 20px;
	border-radius: 8px;
}

button.primary:hover {
	color: #C6C6D3;
	background: #3449FF;
}

button.primary:active {
	color: #C6C6D3;
	background: #3496FF;
}

button:active {
	transform: scale(.9);
}

button.secondary:hover {
	background: #9292AE;
	color: #242427;
}

ul {
	list-style: none;
	margin: 0 auto;
	padding: 0;
}

span.secondary {
	color: #9292AE;
}

/* LAYOUT */

.container {
	width: 720px; 
	margin: 20px auto;
}

.mt-m {
	margin-top: 32px;
}

.mt-l {
	margin-top: 48px;
}

.mt-xl {
	margin-top: 72px;
}

.grid.horizontal {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: start;
	gap: 8px;
	flex-wrap: wrap;
}

.grid.horizontal li {
	display: inline-block;
	white-space: nowrap;
	margin-right: 16px;
}

.hero-img {
	height: 404px;
}

/* BURGER MENU */
.burger-menu {
	position: relative;
	height: 40px;
	width: 40px;
}
.burger-menu .burger-menu_button {
	display: inline-block;
	height: 40px;
	width: 40px;
	cursor: pointer;
}
.burger-menu .burger-menu_button .line {
	position: relative;
	width: 40px;
	height: 2px;
	background-color: #fff;
	margin: 12px auto;
	transition: all .2s ease-in-out;
	transform-origin: 27px 0px;
}
.burger-menu .burger-menu_button .line:nth-child(1) {
	transform-origin: 30px 5px;
}

.burger-menu .burger-menu_content {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	left: 40px;
	top: 16px;
	transition: all .3s ease-in-out;
	background: #242427;
	padding: 20px;
}

.burger-menu.open .burger-menu_button .line {
	transform: rotate(45deg);
}
.burger-menu.open .burger-menu_button .line:nth-child(1) {
	transform: rotate(-45deg);
}

.burger-menu.open .burger-menu_content {
	opacity: 1;
	visibility: visible;
}
nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

nav .burger-menu_content a, 
nav .burger-menu_content a:visited {
	display: block;
	margin-bottom: 4px;
	font-size: 1.5rem;
	color: #C6C6D3;
}

nav .burger-menu_content a:hover,
nav .burger-menu_content a:active {
	color: #3496FF;
}

.tag {
	display: inline-block;
	font-size: 1rem;
	line-height: 1.5rem;
	padding: 8px 12px;
	background-color: #37373a;
	box-sizing: border-box;
	border-radius: 40px;
}

.number {
	display: inline-block;
	font-size: 1rem;
	line-height: 1.5rem;
	padding: 4px 14px 5px 12px;
	color: #C6C6D3;
	background-color: #37373a;
	box-sizing: border-box;
	border-radius: 40px;
	margin-left: 4px;
	margin-bottom: 12px;
}

#toasts {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: fixed;
	bottom: 32px;
	right: 20px;	
}

#toast_form-popup {
	display: block;
}

.toast {
	display: none;
	background-color: #37373a;
	border: 1px solid #424245;
	border-radius: 24px;
	width: 240px;
	padding: 20px 24px 24px;
}

.toast p {
	font-size: 1.2rem;
	line-height: 1.8rem;
	margin: 0 auto 20px;
}

.toast button {
	width: 100%;
}

.banner-promo {
	border-top: 1px solid #fff;
	padding-top: 16px;
	margin-top: 40px;	
}

.banner-promo h3 {
	margin: 12px auto;
}

.banner-promo p {
	font-size: 1.2rem;
	line-height: 1.8rem;
	margin: 0 auto 28px;
}

/* FOOTER */
footer {
	font-size: 1.25rem;
}

.footer-wrapper {
	display: flex;
	flex-direction: row;
	gap: 40px;
	border-top: 1px solid #fff;
	padding-top: 28px;
	margin-top: 40px;
}
.footer-wrapper .logo-column {
	width: 86px;
}

.footer-wrapper .column {
	margin-top: 16px;
	width: 100%;
}

.footer-wrapper .column ul:nth-of-type(2) {
	margin-top: 40px;
}

footer .legals {
	margin-top: 40px;
	padding-left: 126px;
	color: #9292AE;
}
footer .legals a, 
footer .legals a:visited {
	color: #9292AE;
	margin-right: 12px;
}
footer .legals a:hover {
	color: #3496FF;
}

.footer-wrapper .legals {
	margin-top: 12px;
	padding-left: 0;
}

/* ARTICLE */
.article-card {
	display: block;
	margin-bottom: 32px;
}

.article-card p {
	margin: 12px auto;
}

.article-card h3 {
	margin: 12px auto;
}

a .article-card:hover h3 {
	color: #3496FF;
}

ul.multi-liner li {
	margin-top: 20px;
}

section.article li {
	list-style: square;
}

/* SCROLLING TEXT BANNER */
.scrolling-banner {
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	font-size: 1.2rem;
	background: #1C1C21;
	color: #fff;
	transition: all .3s ease-in-out;
	cursor: pointer;
}

.scrolling-track {
	display: flex;
	width: max-content;
	animation: scroll 5s linear infinite;
}

.scrolling-text {
	padding-right: 50px;
}

/* POPUP */
.popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	text-align: center;
	visibility: hidden;
	opacity: 0;
	transition: all .3s ease-in-out;
}
.popup.open {
	opacity: 1;
	visibility: visible;
}

.popup-inner {
	position: relative;
	display: inline-block;
	width: 400px;
	box-sizing: border-box;
	padding: 20px 40px 40px;
	text-align: left;
	background-color: #242427;
	border: 1px solid #37373a;
	border-radius: 32px;
	margin-top: 40px
}
.popup-inner form {
	display: block;
	width: 100%;
}
.popup-inner input, 
.popup-inner button {
	width: 100%;
} 

.popup-inner .close {
	position: absolute;
	top: 12px;
	right: 12px;
	cursor: pointer;
	padding: 0px 14px 4px;
	background-color: #242427;
	border-radius: 24px;
	transition: all .3s ease-in-out;
}

.popup-inner .close:hover {
	background-color: #37373a;
}

.popup-inner .close:active {
	scale: .8;
}

@keyframes scroll {
	from {
		transform: translateX(0%);
	}
	to {
		transform: translateX(-33.3%);
	}
}

.scrolling-banner:hover {
	background-color: #C6C6D3;
	color: #3496FF;
}

@media (max-width: 960px) {
	.burger-menu .burger-menu_content {
		left: auto;
		right: 0px;
		top: 42px;
		border: 1px solid #424245;
	}
}

@media (max-width: 753px) {
	body {
		font-size: 1.3rem;
		font-weight: 400;
		line-height: 2.5rem;		
	}
	.container {
		width: 100%;
		box-sizing: border-box;
		max-width: 720px;
		width: 100%;
		padding: 16px 16px;
		margin: 0 auto;
	}
  	.hero-img {
		height: auto;
	}

	nav a svg {
		width: 90%;
	}

	#toast_form-popup {
		display: none;
	}

	/* FOOTER */
	.footer-wrapper {
		flex-direction: column;
	}
	.footer-wrapper .logo-column {
		width: 100%;
	}
	footer .legals {
		padding-left: 0;
	}

	/* POPUP */

	.popup {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		height: auto; 	
	}

	.popup-inner {
		width: 100%;
		border-radius: 24px 24px 0 0;
	}
}
