:root {
	--bg: #ffffff;
	--primary: #1A56DC;
	--secondary: #5FB2F8;

	--accent: #243773;

	--font-light: #ffffff;
	--font-dark: #000000;

	--neutral100: #F3F4F6;

	--text_xxsmall: 0.34rem;
	--text_xsmall: 0.5rem;
	--text_small: 0.7rem;
	--text_normal: 1rem;
	--text_medium: 2rem;
	--text_big: 3rem;

	--nav-height: 91px;
}

html {
	font-size: 24px;
}


p {
	max-width: 80ch;
}

.tag {
	opacity: 0;
	transform: translate(0, 10vh);
	transition: all .5s;
}

.tag.visible {
	opacity: 1;
	transform: translate(0, 0);
}

@font-face {
	font-family: nimble-font;
	src: url(./assets/fonts/ysans/YsansStd-Regular.otf);
}

@font-face {
	font-family: nimble-font;
	src: url(./assets/fonts/ysans/YsansStd-Bold.otf);
	font-weight: bold;
}


* {
	font-family: "nimble-font";
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	transition: .5s;
	color: var(--font-dark);
}


h1 {
	color: var(--accent);
	font-size: var(--text_big);
	line-height: 3rem;



}

h3 {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--secondary);
}

a {
	text-decoration: none;
	color: var(--font-light)
}

input {
	all: unset;
	background: none;
	border: none;
	padding: 12.5px 32px;
	background-color: var(--neutral100);
	border-radius: 35px;
	height: 38px;
	width: calc(100% - 64px);

}

button {
	all: unset;
	cursor: pointer;
	width: 100%;
	background-color: var(--primary);
	font-weight: bold;
	font-size: var(--text_normal);
	height: 72px;
	min-height: 38px;
	margin: 20px 0 0 0;
	border-radius: 35px;
	text-align: center;
	color: var(--font-light);
	max-width: 350px;
	min-width: 200px;
}

button:hover {
	background-color: #5fb2f8;
}


input:focus {
	outline: none;
}

nav {
	position: relative;
	background: var(--primary);
	width: 100%;
	height: var(--nav-height);
	display: flex;

	>div {
		flex: 1;
		display: inherit;
		justify-content: center;
		align-items: center;
	}
}


footer {
	height: 150px;
	background-color: var(--primary);
	display: flex;
	flex-direction: column;
	align-items: center;

	img {
		margin-top: 40px;
	}

	small {
		padding-top: 15px;
		color: var(--font-light);
		font-size: var(--text_xsmall);
	}


}


.carousel {
	position: relative;
	height: 100%;
	overflow: hidden;
	background-color: var(--primary);
}

.carousel-item .slide-image {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top right;
}

.carousel-item {
	position: absolute;
	height: 100%;
	border: none;
	top: 0;
	left: 100%;
}

.carousel-item.active {
	left: 0;
	width: 100%;
	transition: all 1s ease-out;
}

.carousel-item div {
	height: 100%;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 20px;
	width: 100%;
	margin: 0px auto;
	position: relative;
	padding-left: 50px;
	padding-right: 50px;
}


.grid-container2 {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 20px;
	width: 100%;
	max-width: 1700px;
	margin: 0px auto;
	position: relative;
	padding-left: 100px;
	padding-right: 100px;
	justify-self: center;
}


.grid-container-rows {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 20px;
}

.global-pad {
	padding: 20px 144px;

}




.bluebg {
	background-color: var(--primary);
}

.page-wrapper {
	width: 100%;
	position: relative;
	height: calc(925px - 140px - 100px);
}

#main {

	position: relative;
	height: calc(925px - 140px - 100px);

	>div:first-of-type {
		/*margin: 0 50px;*/
		grid-column: span 12;
		border-top-right-radius: 50px;
		border-top-left-radius: 50px;
		border-bottom-right-radius: 20px;
		border-bottom-left-radius: 20px;

		/*border-radius: 20px 50px;*/
		/*background-repeat: no-repeat;*/
		/*background-size: cover;*/
		/*background-position: center;*/
		height: 120%;
	}

	>div:last-of-type {
		/*width: 100vw;*/
		position: absolute;
		bottom: 0;
		/*left: 25px;
		width: calc(100% - 25px);*/
		width: 50%;
		max-width: 850px;

		>div {
			grid-column: span 6;
			background-color: var(--primary);
			border-top-right-radius: 50px;
			border-bottom-right-radius: 20px;
			padding: 35px 25px 45px 100px;
		}

		h1 {
			margin-bottom: 20px;
			color: var(--font-light);
			font-size: 2.6rem;
			line-height: 2.6rem;

			span {
				color: var(--secondary);
			}
		}

		p {
			color: var(--font-light);
			width: 100%;
			max-width: 500px;
		}
	}


}


.section_wrapper {
	width: 100%;
	height: auto;
	position: relative;
}

.blob_section {
	background-image: url(assets/blob.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	background-color: #9ad8f8;
	background-position: center top;

}

.grey_section {

	position: relative;
	background-image: url(assets/blob2.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	background-color: var(--neutral100);
	background-position: center top;
	width: 100%;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	padding-top: 250px;
	margin-top: -100px;

}

#fe_lm {
	justify-content: center;
	align-items: center;

	#intro {
		/*grid-column: span 12;*/

		margin-top: 250px;
		margin-bottom: 100px;

		>div:first-of-type {
			height: 310px;
			width: 246px;
		}


		>div {
			background-image: url('assets/coin.svg');
			background-repeat: no-repeat;
			background-size: contain;
			background-position: center;
			grid-column: 2/span 3;
			position: relative;
			margin-top: -165px;
			justify-self: center;

		}

		>p {
			grid-column: 6/span 6;
			font-size: var(--text_medium);

			>span:nth-of-type(2) {
				color: var(--secondary);
			}

			>span:nth-of-type(1),
			>span:nth-of-type(3) {
				color: var(--primary);
			}
		}


	}


	#features {
		grid-column: span 12;
		position: relative;

		height: auto;

		/*#bg {

			background-image: url('assets/blob.svg');
			background-repeat: no-repeat;
			background-size: cover;
			background-position: center;
			position: absolute;
			top: 0;
			/*top: -240px;
			left: 0;
			width: 100%;
			z-index: 2;
			height: 120%;

		}*/

		>* {
			z-index: 2;
		}

		h1 {
			grid-column: span 12;
			/*margin-bottom: 15px;*/
			text-align: center;
			align-self: end;
			margin-bottom: 40px;
			margin-top: 180px;

		}

		>div {
			grid-column: span 12;

			/*>div {*/
			/*grid-column: span 3;*/

			/*}*/

			>.card:nth-of-type(1) {
				grid-column: span 4;
			}

			>.card:nth-of-type(2) {
				grid-column: 5/span 4;
			}

			>.card:nth-of-type(3) {
				grid-column: 9/span 4;
			}

		}


		button {
			grid-column: span 12;
			/*margin: 0 20px;*/
			height: 72px;
			width: 100%;
			max-width: 350px;
			min-width: 200px;
			grid-row: 3;
			justify-self: center;
		}





		.card {
			border-top-left-radius: 50px;
			border-top-right-radius: 50px;
			border-bottom-left-radius: 20px;
			border-bottom-right-radius: 20px;
			background-color: var(--neutral100);
			min-height: 300px;
			padding: 40px;
			grid-template-columns: repeat(4, 1fr);

			grid-column: span 4;

			>div {

				>h3 {
					/*margin: 15px 0;*/
					text-align: center;
				}
			}

			>div:first-of-type {
				/*display: flex;*/
				/*justify-content: center;*/
				position: relative;
				top: -60px;

			}

			>* {
				grid-column: span 4;

			}

			>div:first-of-type {
				grid-column: 2 / span 2;
				justify-content: center;
				display: grid;
			}


		}


	}

	#additional-info {
		position: relative;
		z-index: 9999;

		#bg {
			/*position: absolute;
			background-color: var(--neutral100);
			top: -250px;
			left: 0;
			width: 100%;
			z-index: -1;
			height: 100%;

			border-bottom-left-radius: 20px;
			border-bottom-right-radius: 20px;*/

		}


		/*display: grid;*/
		/*Move blog to absoulte element*/

		/*border-bottom-left-radius: 20px;*/
		/*border-bottom-right-radius: 20px;*/

		grid-column: span 12;

		>div {
			z-index: 2;
		}

		>div:first-of-type {
			grid-column: span 6;
			grid-row: span 3;

			width: 100%;
			background-repeat: no-repeat;
			background-size: contain;
			background-position: center;
			background-color: #1a56dc;
			border-radius: 35px;
			transform: rotate(-1.5deg);

			>img {
				width: 100%;
				height: auto;
				transform: rotate(1.5deg);
				margin: 20px;
				border-radius: 15px;
				overflow: hidden;
			}

		}

		>div:last-of-type {
			grid-column: 8 / span 5;
			grid-row: 2;

			display: grid;
			grid-template-columns: subgrid;

			>h1 {
				grid-column: span 5;
				margin-bottom: 15px;
			}

			>p {
				grid-column: span 5;
				padding-bottom: 25px;
			}


			>button {
				grid-column: span 3;
				max-width: 350px;
				min-width: 200px;

			}


		}


	}
}



.card-text {

	margin-top: -20px;
	margin-bottom: 10px;
}

#in-touch {

	margin-top: 150px;
	margin-bottom: 100px;

	>div:first-of-type {
		grid-row: 2;
		grid-column: span 5;

		grid-template-columns: subgrid;

		>h1 {
			grid-column: span 5;
			margin-bottom: 15px;
		}

		>p {
			grid-column: span 5;
			padding-bottom: 25px;
		}

		>input {
			grid-column: span 5;
		}

		>button {
			grid-column: span 3;
			margin: 0px;
		}
	}

	>div:last-of-type {
		grid-column: 7/span 5;
		width: 100%;

	}




}

.message_img {
	/*grid-row: 2;*/
	grid-column: 7 / span 5;
}

.message_img img {
	width: 100%;
	max-width: 615px;
}

.send_message {
	font-size: var(--text_small);
	display: none;
}

.e-error,
.fail {
	color: #ed1c24;
}

.success {
	color: #48a64a;
}

.form div {
	order: 6;
}

.grecaptcha-badge {
	position: relative !important;
	bottom: auto !important;
	right: auto !important;
	margin-top: 10px;
	margin-left: 30px;
}

#disclaimer {
	>div {
		grid-column: span 5;
	}

	small {
		font-size: var(--text_xsmall);
		line-height: 0.8rem;

		>p {
			margin-bottom: 20px;
		}
	}




}

.disclaimer {
	grid-column: 1 / span 5;
	margin-bottom: 40px;
}

.form {
	grid-column: 1 / span 5;
	display: flex;
	flex-direction: column;
}

.flex1 {
	order: 1;
}

.flex2 {
	order: 2;
}

.flex3 {
	order: 3;
}

.flex4 {
	order: 4;
}

.flex5 {
	order: 5;
}

.flex6 {
	order: 6;
}

.flex7 {
	order: 7;
}

.flex8 {
	order: 8;
}

.form p {
	padding: 20px 0px;
}

@media (max-width: 1279px) {
	.page-wrapper {
		height: auto;
	}

	.banner_text {}

	.grid-container2 {
		grid-template-columns: 1fr;
	}

	.grid-container {
		grid-template-columns: 1fr;
		padding: 0px;
	}

	#main {
		height: auto;

		>div:first-of-type {
			grid-column: 1 / span 1;
			margin: 0;
			background-size: cover;
			height: 680px;
			width: 100%;
		}

		>div:last-of-type {
			grid-column: 1 / span 1;
			position: relative;
			width: 100%;
			padding-left: 0px;
			background-color: transparent;

			>div {
				padding: 40px 100px 200px 100px;
			}

			p {
				max-width: 760px;
			}

		}
	}

	#fe_lm {
		& #intro {
			margin-top: 50px;

			>div {
				grid-column: 1 / span 1;
			}

			>p {
				grid-column: 1 / span 1;
			}
		}

		& #features {
			padding-bottom: 100px;

			h1 {
				grid-column: span 1;
			}

			.card {
				grid-column: 1 / span 1;
				margin-bottom: 40px;
				max-width: 600px;
				justify-self: center;
			}

			.card:last-of-type {
				margin-bottom: 0px;
			}

			button {
				grid-column: 1 / span 1;
				grid-row: auto;
			}
		}

		& #additional-info {
			>div:first-of-type {
				grid-column: 1 / span 1;
				grid-row: auto;
				max-width: 600px;
			}

			>div:last-of-type {
				grid-column: 1 / span 1;
				grid-row: auto;
				display: block;

				>h1 {
					margin-top: 20px;
				}
			}
		}

	}

	.grey_section {
		padding-bottom: 50px;
	}

	.disclaimer {
		grid-column: 1 / span 1;
	}

	.form {
		grid-column: 1 / span 1;
		grid-row: 2;
	}

	.message_img {
		grid-column: 1 / span 1;
		grid-row: 1;
	}



}

@media (max-width: 768px) {
	html {
		font-size: 18px;
	}

	.grid-container2 {
		padding: 0px 20px;
	}

	.card div img {
		max-width: 150px;
	}

	.grey_section {
		padding-top: 150px;
	}

	#in-touch {
		margin-top: 50px;
		margin-bottom: 100px;
	}

	.form p {
		padding: 20px 0px 20px 0px;
	}

	.form p+p {
		padding-top: 0px;
		padding-bottom: 0px;
	}

	input {
		margin-top: 20px;
	}

	#disclaimer {
		small {
			font-size: var(--text_small);
			line-height: 1rem;
		}
	}

	footer {
		small {
			font-size: var(--text_small);
		}
	}

	.message_img img {
		width: calc(100% - 100px);
		min-width: 150px;
		max-width: 500px;
		justify-self: center;
		display: flex;
	}



	#main {

		>div:first-of-type {
			grid-column: 1 / span 1;
			margin: 0;
			background-size: cover;
			height: 50vh;
		}

		>div:last-of-type {
			grid-column: 1 / span 1;
			position: relative;
			width: 100%;
			padding-left: 0px;
			background-color: transparent;

			>div {
				padding: 0px 20px 120px 20px;
			}

			p {
				max-width: 760px;
			}

		}
	}

	#fe_lm {
		& #intro {
			margin-top: 50px;

			>div:first-of-type {
				width: 50%;
				max-height: 240px;
			}

			>div {
				grid-column: 1 / span 1;
				margin-top: -120px;
			}

			>p {
				grid-column: 1 / span 1;
			}
		}

		& #features {
			h1 {
				grid-column: span 1;
				margin-top: 130px;
			}

			.card {
				grid-column: 1 / span 1;
				margin-bottom: 40px;
				max-width: none;
			}

			.card:last-of-type {
				margin-bottom: 0px;
			}

			button {
				grid-column: 1 / span 1;
				grid-row: auto;
			}
		}

		& #additional-info {
			>div:first-of-type {
				grid-column: 1 / span 1;
				grid-row: auto;
				max-width: 80%;

				>img {
					margin: 10px;
				}


			}

			>div:last-of-type {
				grid-column: 1 / span 1;
				grid-row: auto;
				display: block;

				>h1 {
					margin-top: 0px;
				}
			}
		}

	}
}

/*.show{*/
/*display: block;*/
/*transition: .5s;*/

/*p {*/
/*transition: .5s;*/
/*}*/
/*}*/

.send_message {
	display: none;
	/*z-index: 10;*/
	/*padding: 0 !important; */
	/*margin: 20px ; */
	/*overflow: hidden;*/
	/*max-height:0px;*/
	/*min-height: 0px;*/
}

.show {
	display: block;
	/*padding: 20px 0 !important; */
	/*height: 35px;*/
	/*transition: .5s;*/

	/*p {*/
	/*transition: .5s;*/
	/*}*/
}
