@import url('resources/icons/bootstrap/bootstrap-icons.min.css');

@font-face {
	font-family: 'Fira Sans';
	font-style: normal;
	src: url('resources/fonts/firasans/FiraSans-Regular.ttf') format('truetype');
	font-display: swap;
}

@font-face {
	font-family: 'Fira Sans';
	font-style: normal;
	font-weight: 400;
	src: url('resources/fonts/firasans/FiraSans-Regular.ttf') format('truetype');
	font-display: swap;
}

@font-face {
	font-family: 'Fira Sans';
	font-style: normal;
	font-weight: 500;
	src: url('resources/fonts/firasans/FiraSans-Medium.ttf') format('truetype');
	font-display: swap;
}

@font-face {
	font-family: 'Fira Sans';
	font-style: normal;
	font-weight: 600;
	src: url('resources/fonts/firasans/FiraSans-SemiBold.ttf') format('truetype');
	font-display: swap;
}

@font-face {
	font-family: 'Fira Sans';
	font-style: normal;
	font-weight: 700;
	src: url('resources/fonts/firasans/FiraSans-Bold.ttf') format('truetype');
	font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	font-family: 'Fira Sans', Arial, sans-serif;
	user-select: none;
}

body {
	height: 100vh;
}

.hidden {
	display: none !important;
}

h1,
p,
span,
img,
i {
	pointer-events: none;
}

a {
	cursor: pointer;
	pointer-events: all;
}

.notifications {
	display: flex;
	align-items: center;
	flex-direction: column-reverse;
	position: fixed;
	bottom: 1rem;
	z-index: 1000;
	width: 90%;
	left: 50%;
	transform: translateX(-50%);
	overflow: hidden;
}

.notifications .notification {
	display: flex;
	align-items: center;
	background: #15253C;
	color: #FFFFFF;
	border-radius: 0.5rem;
	padding: 0.5rem 1rem;
	margin-bottom: 0.5rem;
	width: 90%;
	max-width: 30rem;
	box-shadow: 0 0.25rem 0.5rem #0000008F;
	cursor: pointer;
}

.modal {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #00000040;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.modal>.content {
	position: relative;
	background: #FFFFFF;
	color: #44525A;
	border-radius: 0.5rem;
	padding: 1rem;
	margin: 0.5rem;
	box-shadow: 0 0.25rem 0.5rem #0000008F;
	width: 20rem;
	height: 20rem;
}

.modal>.content>h1 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 120%;
	margin-bottom: 1rem;
}

.modal>.content>p {
	font-size: 1rem;
}

.modal>.content>.loader {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.modal>.content>.loader>.spinner {
	width: 5rem;
	height: 5rem;
	border: 0.5rem solid #F9623E;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

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

.modal>.content.center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.modal>.content.w-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.modal>.content.h-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.modal>.content>a {
	position: absolute;
	bottom: 1rem;
	color: #FFFFFF;
	background: #0BAD00;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.5rem 1rem;
	border-radius: 1.56rem;
	border: 0.15rem solid #0BAD00;
	height: 1.81rem;
	width: 80%;
	font-weight: 600;
	font-size: 1.12rem;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

.modal>.content>a:hover {
	color: #0BAD00;
	background: #EAFFE4;
}

.notifications .notification i {
	margin-right: 0.5rem;
}

.notifications .notification.success {
	background: #28a745;
	color: #FFFFFF;
}

.notifications .notification.error {
	background: #dc3545;
	color: #FFFFFF;
}

.accordion .header {
	display: flex;
	justify-content: space-between;
	padding: 1rem 1.5rem;
	border-radius: 1.87rem;
	background: #E6EEF8;
	color: #244F80;
	font-size: 1rem;
	font-weight: 500;
	line-height: 140%;
	cursor: pointer;
}

.accordion .header i {
	width: 1.25rem;
	height: 1.25rem;
	font-size: 1.25rem;
	color: #F9623E;
}

.accordion .content {
	margin: 1rem;
	color: #44525A;
	font-size: 1rem;
	line-height: 140%;
	max-height: 0rem;
	overflow: hidden;
	transition: max-height 0.3s ease-in-out;
}

.accordion .content p span {
	font-weight: 700;
}

.accordion .content p span.code {
	color: #244F80;
	pointer-events: all;
	cursor: copy;
}

.accordion .content p a {
	color: #F9623E;
	text-decoration: underline;
	font-weight: 700;
}

.accordion .content ul {
	list-style: disc;
	margin-left: 1rem;
}

.accordion .content ul li span {
	font-weight: 700;
}

.accordion.active .content {
	max-height: 250rem;
}

div.error {
	color: #CE0000;
	max-width: 20.75rem;
	margin-top: 0.5rem;
}

header {
	background: #F3F6FC;
	color: #244F80;
	padding: 0.62rem 1.5rem;
	text-align: left;
	box-sizing: border-box;
	box-shadow: 0 0.25rem 0.5rem #0000001a;
	height: fit-content;
}

header img {
	width: 100%;
	max-width: 10.37rem;
	height: auto;
}

.top {
	background: #203B5A;
}

.top>.container {
	background-image: url('resources/images/top_background.webp');
	background-size: 250rem;
	background-repeat: no-repeat;
	background-position-x: -53rem;
	background-position-y: -72rem;
	display: flex;
	justify-content: center;
	width: 100%;
	height: 47.12rem;
}

.top>.container .left {
	width: 26.4rem;
	height: 100%;
}

.top>.container .left .content {
	position: relative;
	height: 100%;
}

.top>.container .left .content img {
	width: 28.59rem;
	height: auto;
	position: absolute;
	bottom: 0;
	z-index: 1;
}

.top>.container .right {
	display: flex;
	flex-direction: column;
	align-self: center;
	background: #15253C;
	color: #ECFDFF;
	width: 23.68rem;
	height: fit-content;
	border-radius: 1rem;
	padding: 1.5rem;
	gap: 1rem;
	text-align: center;
}

.top>.container .right h1 p {
	font-size: 1.75rem;
	line-height: 120%;
	font-weight: 700;
}

.top>.container .right h1 p:nth-of-type(1) {
	font-size: 2.25rem;
}

.top>.container .right h1 p:nth-of-type(2) {
	color: #F9623E;
}

.partners {
	align-items: center;
	background: #E7F2FF;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	padding: 2.5rem 0.5rem;
}

.partners-row-1 {
	align-items: center;
	display: flex;
	justify-content: space-between;
	width: 80%;
}

.partners-row-2 {
	align-items: center;
	display: flex;
	justify-content: space-between;
	width: 80%;
}

.partners img {
	transition: all 0.3s ease-in-out;
	cursor: default;
	pointer-events: all;
}

.partners img:hover {
	transform: scale(1.1);
}

.partners img.droga_raia {
	width: 8.37rem;
	height: 3.12rem;
}

.partners img.drogasil {
	width: 8.36rem;
	height: 3.25rem;
}

.partners img.dasa {
	width: 8.18rem;
	height: 2.25rem;
}

.partners img.labi {
	width: 5.93rem;
	height: 2.25rem;
}

.partners img.grand_vision {
	width: 7.75rem;
	height: 4.12rem;
}

.partners img.oticas_carol {
	height: 2.11rem;
	padding-top: 1rem;
	width: 11.62rem;
}

.partners img.via_visao {
	width: 10.62rem;
	height: 3.82rem;
}

section.content {
	width: 100%;
}

section.content .about {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 1.5rem;
}

section.content .about>div {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 55.93rem;
	gap: 2rem;
	color: #44525A;
}

section.content .about>div img {
	border-radius: 0.93rem;
	width: 18rem;
	height: 16.5rem;
	object-fit: cover;
}

section.content .about>div div>h1 {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 120%;
	color: #244F80;
	margin-bottom: 1.5rem;
}

section.content .about>div div>h1 span {
	color: #F9623E;
}

section.content .about>div div>p {
	font-size: 1rem;
	line-height: 140%;
}

section.content .about>div div>p span {
	font-weight: 700;
}

section.content .about>div div>p:nth-of-type(2) {
	margin-top: 1rem;
}

section.content .how-it-works {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 1.5rem 2rem 1.5rem;
}

section.content .how-it-works>div {
	display: flex;
	flex-direction: column;
	max-width: 55.93rem;
	color: #44525A;
}

section.content .how-it-works>div h1 {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 120%;
	color: #244F80;
	margin-bottom: 1.5rem;
}

section.content .benefits {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 1.5rem;
	margin-bottom: 2rem;
}

section.content .benefits>div {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 55.93rem;
}

section.content .benefits>div h1 {
	font-size: 1.75rem;
	color: #244F80;
	font-weight: 700;
}

section.content .benefits>div>div {
	display: flex;
	align-items: center;
	gap: 1rem;
}

section.content .benefits>div>div i {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 1.12rem;
	height: 1.12rem;
	color: #203B5A;
	background: #C8DBEF;
	padding: 0.75rem;
	border-radius: 1.87rem;
	font-size: 1.12rem;
}

section.content .benefits>div>div p {
	font-size: 1rem;
	line-height: 140%;
	color: #44525A;
}

section.content .benefits>div>div p span {
	font-weight: 700;
}

footer {
	background: #C8DBEF;
	color: #244F80;
	font-size: 1rem;
	line-height: 140%;
	margin-top: 5.68rem;
	padding-top: 2rem;
}

footer hr {
	margin: 2rem 0;
	border: 0;
	border-top: 0.06rem solid #768F9A;
}

footer .info {
	display: flex;
	justify-content: center;
	text-align: center;
}

footer .info div {
	max-width: 61.37rem;
}

footer .about {
	display: flex;
	justify-content: center;
	text-align: center;
}

footer .about div {
	width: 38rem;
}

footer .copyright {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 5.31rem;
	margin-top: 2rem;
	background: #15253C;
	color: #ECFDFF;
}

footer .copyright.mobile {
	display: none;
}

@media screen and (max-width: 820px) {
	.partners {
		background: #E7F2FF;
		display: flex;
		flex-direction: column;
		padding: 2.5rem 0.5rem;
		align-items: center;
		gap: 1.5rem;
	}

	.partners-row-1,
	.partners-row-2 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
		gap: 2.5rem 0;
		justify-items: center;
		align-items: center;
	}

	.partners-row-2 img:last-child {
		grid-column: 1 / span 2;
	}
}

@media screen and (max-width: 936px) {
	section.content .about div {
		flex-direction: column-reverse;
	}

	section.content .about div img {
		width: 100%;
	}
}

@media screen and (max-width: 1008px) {
	footer .info div {
		max-width: 95%;
	}
}

@media screen and (max-width: 849px) {
	.top>.container {
		display: flex;
		flex-direction: column-reverse;
		height: fit-content;
	}

	.top>.container .right {
		position: relative;
		top: 1.25rem;
		margin-top: 2.06rem;
		padding: 1.37rem 1rem;
		max-width: 20.75rem;
		align-items: center;
	}

	.top>.container .left {
		width: 100%;
	}

	.top>.container .left .content {
		display: flex;
		justify-content: center;
		margin-top: 1rem;
	}

	.top>.container .left .content img {
		position: unset;
		width: auto;
		height: 24rem;
		object-fit: contain;
	}

	footer {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	footer hr {
		width: 20rem;
	}

	footer .info div {
		max-width: 20.12rem;
	}

	footer .info p:first-of-type {
		margin-bottom: 2rem;
	}

	footer .about div {
		max-width: 22.12rem;
	}

	footer .copyright {
		display: none;
	}

	footer .copyright.mobile {
		display: flex;
		flex-direction: column;
		width: 100%;
		font-size: 1rem;
	}
}