@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
}

body {
	background-image: url('images/png/bg-minilp.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	line-height: 1.2;
	font-family: 'Inter', sans-serif;
}

.overlay-bg{
	background: rgba(16, 19, 31, 0.70);
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

.thank-you{
	background-color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 570px;
	width: 100%;
	border-radius: 12px;
	z-index: 100;
	transform: translate(-50%, -50%);
	padding: 60px 12px;
	text-align: center;
}

.thank-you .heading-thanks{
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 34px;
	color: #323C8E;
	max-width: 280px;
	margin-left: auto;
	margin-right: auto;
}

.thank-you .red-thanks{
	color: #F55B41;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.54px;
	text-transform: uppercase;
}

.main-container {
	margin: 53px auto 60px auto;
	max-width: 1328px;
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.logo {
	background-image: url('images/svg/servier-logo.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	width: 238px;
	height: 78px;
	margin-bottom: 26px;
}

.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
}

.content > .text {
	margin-top: 0;
	font-size: 22px;
	color: #323C8E;
	max-width: 800px;
	margin-bottom: 25px;
}
.content > .text-2 {
	margin-top: 0;
	font-size: 18px;
	color: #F55B41;
	font-weight: 600;
	margin-bottom: 60px;
	letter-spacing: 0.54px;
	text-transform: uppercase;
}

form{
	width: 100%;
}

.boxes {
	display: flex;
	justify-content: space-between;
	width: 100%;
	gap: 22px;
	margin-bottom: 32px;
}

.boxes .first-col{
	background-image: url('/images/png/servier-col-1.png');
}
.boxes .second-col{
	background-image: url('/images/png/servier-col-2.png');
}
.boxes .col-img{
	padding: 140px 50px 32px 27px;
	width: 50%;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 12px;
	text-align: left;
	position: relative;
	display: flex;
	flex-direction: column;
}
.boxes .col-img .info-text{
	font-size: 20px;
	color: white;
	font-weight: 600;
	line-height: 27px;
	margin: 19px 0 46px 0;
}
.check-wrapper{
	display: flex;
	margin-top: auto;
}
.check-wrapper .agreement{
	overflow: hidden;
	opacity: 0;
	display: none;
}
.agreement-label{
	position: relative;
	padding-left: 32px;
	color: #BABABC;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}
.agreement-label::before{
	content: "";
	display: inline-block;
	border: 1px solid #868686;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	border-radius: 4px;
	position: absolute;
	left: 0;
	transition: all ease-in-out 300ms;
}
.agreement:checked + .agreement-label::before{
	background-color: #F55B41;
	border-color: #F55B41;
}
.agreement:checked + .agreement-label::after{
	content: "";	
	display: inline-block;
	background-image: url('/images/svg/white-tick.svg');
	width: 12px;
	height: 12px;
	position: absolute;
	left: 3px;
	top: 3px;
}
.check-wrapper .info{
	display: inline-block;
}
.envelope-icon{
	width: 67px;
	height: 67px;
}

.icon {
	width: 100px;
	height: 100px;
	margin-bottom: 30px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.icon.icon-mail {
	background-image: url('images/png/icon-mail.png');
}

.icon.icon-notmail {
	background-image: url('images/png/icon-notmail.png');
}

h1 {
	font-size: 50px;
	font-weight: bold;
	color: #323C8E;
	margin: 18px 0 32px 0;
}

p {
	line-height: 1.5;
	font-size: 16px;
	color: #414241;
}

small {
	font-size: 11px;
}

.box-text {
	margin-top: auto;
	padding: 0 20px;
}

button[type=submit] {
	border-radius: 4px;
	background: #F55B41;
	max-width: 244px;
	width: 100%;
	padding: 14px;
	border: 1px solid #F55B41;
	font-size: 20px;
	font-weight: 700;
	color: white;
	line-height: 27px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all ease-in-out 300ms;
}

button[type=submit]:hover {
	background-color: #D0021B;
	color: white;
}


.box:not(.active):hover {
	width: calc(42% - 4px);
	padding: 48px 0 28px;
	border: solid 2px #D0021B;
}

.box:not(.active):hover .box-text {
	padding: 0 16px;
}

.box.active {
	background-color: #D0021B;
	color: #ffffff;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.box.active .box-text {
	color: #ffffff;
}

.box.active .icon.icon-mail {
	background-image: url('images/png/icon-mail-white.png');
}

.box.active .icon.icon-notmail {
	background-image: url('images/png/icon-notmail-white.png');
}

@media (max-width: 955px) {
	.main-container {
		width: 95%;		
	}

	.boxes {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.box {
		width: 100%;
		margin-top: 50px;
	}

	.box:not(.active):hover {
		width: calc(100%);
	}
	.boxes .col-img{
		width: 100%;
		padding: 50px 12px 50px 12px;
	}
}
