* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-size: 16px;
	font-family: Helvetica, Arial, sans-serif;
}

.bg-container {
	display: flex;
	height: 100vh;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
@media (max-width: 575.98px) {
	.bg-container {
		flex-direction: column;
	}
}
.bg-container > div {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: drop-shadow(343px 84px 337px #000000);
	height: 100% !important;
	flex-grow: 1;
	transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
		&::before {
		content: '';
		position: absolute;
		inset: 0;
		background-color: rgba(0, 0, 0, 0.45);
		z-index: 1;
		opacity: 1;
		transition: opacity 0.4s ease;
		pointer-events: none;
	}

	
	&::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 2;
		opacity: 0;
		transition: opacity 0.4s ease;
		pointer-events: none;
	}
	
}
.bg-container > div:last-child {
    background-position: center 67%;
	background-size: 210%;
}
/* .bg-container > div:nth-child(1) {
      background-color: #BBD1E1; }
    .bg-container > div:nth-child(2) {
      background-color: #F7D3E1; } */
@media (min-aspect-ratio: 3 / 1) {
	.bg-container > div {
		background-size: cover;
	}
}

.nav-container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	position: relative;
	width: 100%;
	z-index: 2;
}
.nav-container nav {
	position: relative;
	z-index: 2;
	border-radius: 50px;
	box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	max-width: 1750px;
	margin: 0 auto;
	width: 80%;
	background-color: rgba(255, 255, 255, 0.89);
	/* backdrop-filter: blur(13px); */
}
@media (max-width: 575.98px) {
	.nav-container nav {
		background: rgba(255, 255, 255, 0.85);
		box-shadow: none;
		flex-direction: column;
		height: 340px;
        width: 338px;
	}
}
.nav-container nav h1 {
	width: 240px;
  text-align: center;

}
@media (max-width: 575.98px) {
	.nav-container nav h1 {
		border-radius: 60px;
		/* padding: 15px 30px; */
    	width: 100%;
	}
}
.nav-container nav > div:not(:last-of-type) {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	height: 115px;
	align-items: center;
	justify-content: center;
	position: relative;
	width: calc(50% - 120px);
  	padding: 35px;
}
@media (max-width: 575.98px) {
	.nav-container nav > div:not(:last-of-type) {
		height: auto;
    width: 100%;
  
	}
}
.nav-container nav > div:not(:last-of-type) p {
	color: #fff;
	font-weight: bold;
	line-height: 1.6;
	max-width: 400px;
	top: calc(100% + 30px);
	transition: all 0.2s ease-in-out;
  	opacity: 0;
	position: absolute;
	padding: 20px;
	border-radius: 25px;
	backdrop-filter: blur(13px);
	font-size: 15px;
}

@media (max-width: 575.98px) {
  .nav-container nav > div:not(:last-of-type) p {
    display: none !important;
  }
	.nav-container > nav > div:nth-of-type(1):hover p,
  .nav-container > nav > div:nth-of-type(2):hover p{
    display: none !important;
	}
}
.nav-container:has(> nav > div:nth-of-type(1):hover) .bg-container > div:nth-of-type(1) {
	flex-grow: 2;
	box-shadow: 0 0 100px rgba(0, 0, 0, 0.6);
	z-index: 1;
}
.nav-container:has(> nav > div:nth-of-type(2):hover) .bg-container > div:nth-of-type(2) {
	flex-grow: 2;
	box-shadow: 0 0 100px rgba(0, 0, 0, 0.6);
	z-index: 1;
	background-size: 170%;
}
.nav-container:has(> nav > div:nth-of-type(1):hover) .bg-container > div:nth-of-type(1)::before,
.nav-container:has(> nav > div:nth-of-type(2):hover) .bg-container > div:nth-of-type(2)::before {
	opacity: 0;
}

.nav-container:has(> nav > div:nth-of-type(1):hover) .bg-container > div:nth-of-type(1)::after,
.nav-container:has(> nav > div:nth-of-type(2):hover) .bg-container > div:nth-of-type(2)::after {
	opacity: 1;
}

.nav-container > nav > div:nth-of-type(1):hover p,
.nav-container > nav > div:nth-of-type(2):hover p  {
	opacity: 1;
	color: #fff;
	display: block;
	transition: all 0.6s ease-in-out;
  font-weight: 200;
  line-height: 30px;
}

@media (min-width: 575.98px) {
  nav:has(> div:hover){
    height: min-content;
    position: relative;
    transition: all 0.6s ease-in-out;
  }
}


.btn {
	border: 1px solid #ffffff;
	border-radius: 30px;
	color: #111a6f;
	display: flex;
	align-items: center;
	font-weight: 300;
	letter-spacing: 0.1rem;
	outline: none;
	padding: 15px 10px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	/* width: 400px; */
  	height: 58px;
	max-width: 100%;
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	gap: 10px;
	font-size: 15px;
	font-weight: 200;
}
@media (max-width: 575.98px) {
	.btn {
		width: 100%;

	}
}
.btn span {
	display: flex;
	align-items: center;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-align: left;
	transform-origin: left;
	transform: translateX(-10px);
	transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}
@media (max-width: 575.98px) {
	.btn span {
		display: none;
	}
}
.btn span .icon {
	font-size: 9px;
	margin-right: 8px;
	margin-top: -2px;
}
.btn:hover {
	background: #111a6f;
	color: #fff;
	padding-right: 40px;
}
.btn:hover span {
	max-width: 300px;
	margin-left: 8px;
	transform: translateX(0);
}
.btn ~ p {
	opacity: 0;
}
.btn:hover ~ p {
	opacity: 1;
}
.icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	stroke-width: 0;
	stroke: currentColor;
	fill: currentColor;
}
