@charset "UTF-8";

/* Opening animation styles */

/* Desktop ( > 991px ) animasiya */
@media not all and (max-width: 991px) {

body {
	--height-banner: 188px;
	--height-submenu: 68px;
	--trans-dur-fourth-phase: 0.5s;
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: calc(50% + 1329px) 345px / 2013px 1522px repeat url(../img/bg_body.jpg) #F7F9FE;
}

/* animasiya gedən zaman hər şeyi bloklayırıq, animation-done gələndə açılır */
body {
	pointer-events: none;
	-webkit-user-select: none;
	        user-select: none;
}

body.animation-done {
	pointer-events: auto;
	-webkit-user-select: auto;
	        user-select: auto;
}

#banner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100vh;
	background-image: linear-gradient(90deg, #012659 0%, #05469E 100%);
	transition-property: height;
	transition-duration: 0.5s;
	transition-timing-function: ease-in;
}

#banner.third-phase::before {
	height: var(--height-banner);
}

.animation-done #banner::before {
	content: none;
}

#banner::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100vh;
	pointer-events: none;
	background: 50% 0 / 100% 100% no-repeat url('data:image/svg+xml,<svg viewBox="0 0 1920 1080" preserveAspectRatio="none" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1920 -378.621H-20V1080H1920V-378.621Z" fill="url(%23paint0_linear_0_93)"/><defs><linearGradient id="paint0_linear_0_93" x1="640.134" y1="1366.75" x2="1481.08" y2="-569.279" gradientUnits="userSpaceOnUse"><stop stop-color="%23A3DFFF"/><stop offset="0.13" stop-color="%2397D5F8"/><stop offset="0.37" stop-color="%2379BBE6"/><stop offset="0.68" stop-color="%234891CA"/><stop offset="1" stop-color="%230F5FA8"/></linearGradient></defs></svg>');
	transition-property: opacity;
	transition-duration: var(--trans-dur-opening);
	transition-timing-function: ease-out;
}

#banner.second-phase::after {
	opacity: 0;
}

.animation-done #banner::after {
	content: none;
}

.white-cover {
	position: absolute;
	top: var(--height-banner);
	left: 0;
	z-index: 9;
	width: 100%;
	height: calc(100vh - var(--height-banner));
	pointer-events: none;
	background-color: #fff;
	transition-property: opacity;
	transition-duration: var(--trans-dur-fourth-phase);
}

.white-cover.fourth-phase {
	opacity: 0;
}

.opening-animation {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 11;
	display: flex;
	justify-content: center;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	pointer-events: none;
}

.opening-animation img {
	transition-property: opacity, transform;
	transition-duration: var(--trans-dur-opening);
	transition-timing-function: ease-out;
}

.opening-animation .building-c {
	position: absolute;
	margin-top: 194px;
	margin-left: -149px;
	transform: translateY(886px);
}

.opening-animation .building-l {
	position: absolute;
	margin-top: 305px;
	margin-left: -838px;
	transform: translateY(774px);
}

.opening-animation .building-r {
	position: absolute;
	margin-top: 301px;
	margin-right: -559px;
	transform: translateY(779px);
}

.opening-animation .building-ll {
	position: absolute;
	margin-top: 534px;
	margin-left: -1501px;
	transform: translateY(546px);
}

.opening-animation .building-rr {
	position: absolute;
	margin-top: 495px;
	margin-right: -1353px;
	transform: translateY(584px);
}

.opening-animation .cloud-tr {
	position: absolute;
	top: 46px;
	right: 0;
	opacity: 0;
}

.opening-animation .cloud-r {
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0;
}

.opening-animation .cloud-br {
	position: absolute;
	top: 440px;
	right: 0;
	opacity: 0;
}

.opening-animation .cloud-tl {
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(-951px);
}

.opening-animation .cloud-bl {
	position: absolute;
	top: 519px;
	left: 0;
	transform: translateX(-681px);
}

}

/* Mobile (≤ 991px) üçün açılış animasiyasını söndürürük */
@media (max-width: 991px) {
	.opening-animation {
		display: none;
	}
}
