@import url("./header.css");
@import url("./intro.css");
@import url("./target.css");
@import url("./advantages.css");
@import url("./program.css");
@import url("./speakers.css");
@import url("./tariff.css");
@import url("./materials.css");
@import url("./praktikums.css");
@import url("./quotation.css");
@import url("./conclusions.css");
@import url("./place.css");
@import url("./partners.css");
@import url("./questions.css");
@import url("./year.css");
@import url("./footer.css");
@import url("./banner.css");
@import url("./hotel.css");

*,
*::after,
*::before {
	box-sizing: border-box;
}
body {
	font-family: "Geist-Light", sans-serif;
	font-weight: 300;
}

.bg-wrapper {
	position: relative;
	overflow: hidden;
	background: linear-gradient(228deg, #141414 0%, #101010 99.74%);

	&::before {
		content: "";
		position: absolute;
		top: 578px;
		left: 0;
		width: 411px;
		height: 266px;
		background: linear-gradient(
			270deg,
			rgba(0, 133, 242, 0.7) 26.25%,
			rgba(238, 80, 70, 0.7) 91.7%
		);
		border-radius: 411px;
		filter: blur(181px);
	}

	&::after {
		content: "";
		position: absolute;
		top: 43px;
		right: 0;
		width: 411px;
		height: 266px;
		background: linear-gradient(
			270deg,
			rgba(0, 133, 242, 0.7) 26.25%,
			rgba(238, 80, 70, 0.7) 91.7%
		);
		border-radius: 411px;
		filter: blur(181px);
	}

	&:has(.place) {
		&::before {
			display: none;
		}
	}
}

:root {
	--animate-duration: 1s;
	--BgOverlay: #101820; /*цвет перехода*/
	--url: url("https://static.tildacdn.com/tild6238-6430-4339-b735-633935623332/gradient-white.svg"); /*путь до изображения, оставить пустым, если не нужно*/
}

.overlay {
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100vh;
	background: var(--BgOverlay);
	overlay: hidden;
	transform: translate(0%, 100%);
	transition: -webkit-transform 900ms cubic-bezier(0.77, 0, 0.175, 1);
	background-image: var(--url);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition-delay: 0.4s;
}
.overlay-1 {
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100vh;
	background: var(--BgOverlay);
	transform: translate(0%, 0%);

	transition: -webkit-transform 900ms cubic-bezier(0.77, 0, 0.175, 1);
	background-image: var(--url);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition-delay: 0.4s;
}
.bg-1 {
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100vh;
	background-color: var(--BgOverlay);
	transition: -webkit-transform 900ms cubic-bezier(0.77, 0, 0.175, 1);
	animation-name: animate-fade;
	animation-duration: 0.9s;
	animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
	animation-delay: 0.7s;
	background-image: var(--url);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
@keyframes animate-fade {
	0% {
		transform: translate(0%, 0%);
		opacity: 1;
	}
	100% {
		transform: translate(0%, 100%);
		opacity: 1;
	}
}
.none {
	top: 0px;
	z-index: 500;
	width: 100%;
	height: 100vh;
	position: absolute;
	z-index: 995;
	opacity: 0;
	display: none;
}
#cssportal-grid {
	display: grid;
	grid-template-rows: repeat(7, 1fr);
	grid-template-columns: repeat(9, 1fr);
	gap: 25px;
	width: 100%;
	height: 100%;
}

.modal-content:has(iframe) {
	padding: 0;
	background: transparent;
}

.modal-iframe {
	width: 100%;
	height: 100%;
	border-radius: 20px;
}
.modal-content--format {
	width: 100%;
	padding: 0;
	border-radius: 0;
}
.modal-content--partner {
	max-width: 560px;
	padding: 0;
	border-radius: 0;
}
.modal-content__partner-img {
	max-width: 100%;
}
.modal-content__partner-container {
	padding: 40px 45px;
	color: #000;
}
.modal-content__partner-title {
	display: inline-block;
	margin-bottom: 11px;
	font-family: "HelveticaNeue-Medium", sans-serif;
	font-size: 36px;
	line-height: 1.23;
}
.modal-content__partner-subtitle {
	display: inline-block;
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 1.55;
}
.modal-content__partner-form {
	display: flex;
	flex-direction: column;
}
.modal-content__partner-input + .modal-content__partner-input {
	margin-top: 20px;
}
.modal-content__partner-input {
	padding: 19px 20px;
	border: 1px solid #c9c9c9;
	font-size: 16px;
	line-height: 1.33;
}
.modal-content__partner-input:focus {
	outline: none;
}
.modal-content__partner-button {
	margin-top: 20px;
	padding: 18px 30px;
	border: none;
	border-radius: 20px;
	color: #fff;
	background-color: #0037ff;
	text-align: center;
}
@media screen and (max-width: 1200px) {
	.modal-content__partner-title {
		font-size: 32px;
	}
}
@media screen and (max-width: 1000px) {
	.modal-iframe {
		width: 550px;
		height: 300px;
	}
	.modal-content--partner {
		width: 460px;
	}
}
@media screen and (max-width: 600px) {
	.modal-iframe {
		width: 320px;
		height: 500px;
	}
	.modal-content--partner {
		width: 100%;
	}
	.modal-content__partner-container {
		padding: 20px;
	}
	.modal-content__partner-title {
		font-size: 28px;
	}
	.modal-content__partner-subtitle {
		font-size: 14px;
	}
}
