:root {
	--main-color: #4d3f40;
}

body{
    font-family: "Shantell Sans", cursive;
	background: var(--main-color);
}

.school{
	position: fixed;
    height: 105vh;
    top: -20px;
    left: -150px;
    opacity: 0.1;
}
.container{
    max-width: min(90%, 2000px);
	width:100%;
	margin: 0 auto;
}
header{
	position:relative;
 	width: 100%;
	height: 100vh;
}
.header_block{
	position: absolute;
	top: 30%;
	left: 11%;
	z-index: 9;
	max-width: 52%;
	color: #fff;
}
.header_block-title{
	font-size: 70px;
	text-transform: uppercase;
	font-weight: 700;
	
	transition: 0.8s;
	transform:scale(0.95);
	transition-timing-function: cubic-bezier(0, 0.01, 0.26, 0.99);
	opacity:0;
}

.header_block-career{
	font-size: 28px;
	margin-top:5px;
	margin-bottom:40px;
	font-weight: 100;
	
	transition: 0.5s;
	transition-delay: 0.4s;
	transform:translate3d(0,20px,0);
	transition-timing-function: cubic-bezier(0, 0.01, 0.26, 0.99);
	opacity:0;
}
.header_block-text{
	font-size: 45px;
	
	transition: 0.5s;
	transition-delay: 0.6s;
	transform:translate3d(0,20px,0);
	transition-timing-function: cubic-bezier(0, 0.01, 0.26, 0.99);
	opacity:0;
	margin-bottom: 10px;
}


.header_block-title.moved,
.header_block-career.moved,
.header_block-text.moved {
	opacity:1;
	transform:scale(1) translate3d(0,0,0);
}

.main_img{
  	box-shadow: inset 300px -300px 160px 0px var(--main-color);
	position:absolute;
	right:0;
	top:0;
	width: 50%;
	height: 100%;
    background: url(../images/main.webp) 0 0 no-repeat;
    background-size: cover;
    background-position-y: center;
}

.main_img::before {
    content: '';
    z-index: 8;
    width: 70%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(90deg, var(--main-color) 0%, rgba(0, 0, 0, 0) 50%);
}


.programms{
	position:relative;
 	width: 100%;
	height: 100vh;
	display: flex;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items:center;
	gap:40px;
}

.programms_block{
	width: calc(33.333% - 40px);
	height: 400px;
	border-radius:20px;
	padding: 20px;
	
	display: flex;
    align-items: center;
    justify-content: center;
	
	transform: scale(0.95);
	transition-timing-function: cubic-bezier(0, 0.01, 0.26, 0.99);
	opacity:0;

    text-decoration: none;
	cursor:pointer;
}

.programms_block-1{
	background: #9a97ee;
	transition: 0.5s;
	transition-delay: 0.2s;
}

.programms_block-2{
	background: #ff9b78;

	transition: 0.5s;
	transition-delay: 0.7s;
}

.programms_block-3{
	transition: 0.8s;
	transition-delay: 1.2s;
	background: #eee297;
	position:relative;
	overflow: hidden;
}
/* .programms_block-3::after{
	content: 'Раздел в разработке';
    display: block;
    position: absolute;
    top: 60px;
    left: -60px;
    transform: rotate(-45deg);
    width: 270px;
    height: 40px;
    background: var(--main-color);
    text-align: center;
    line-height: 40px;
    color: #fff;
} */


.programms_block-3::after {
    content: 'Раздел в разработке';
    display: block;
    position: absolute;
    top: 80%;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--main-color);
    text-align: center;
    line-height: 40px;
    color: #fff;
}




.programms_block-4{
	transition: 0.5s;
	transition-delay: 0.5s;
	background: #97eea5;

}

.programms_block-5{
	transition: 0.8s;
	transition-delay: 0.4s;
	background: #ee97c9;
}

.programms_block-6{
	transition: 0.8s;
	transition-delay: 0.9s;
	background: #97e3ee;
}

.programms_block-7{
	width:100%;
	height:70px;
	transition: 0.8s;
	transition-delay: 1.2s;
	justify-content: space-between;
}

.programms_block-1.moved,
.programms_block-2.moved,
.programms_block-3.moved,
.programms_block-4.moved,
.programms_block-5.moved,
.programms_block-6.moved,
.programms_block-7.moved{
	opacity:1;
	transform:scale(1);
}

.programms_block-1:hover,
.programms_block-2:hover,
.programms_block-3:hover{
	transition-timing-function:ease-in-out !important;
	transition-delay: 0s !important;
	transition:0.3s;
	transform: scale(1.05);
	cursor:pointer;
}

.programms_block-text{
	color: var(--main-color);
	font-size: 34px;
	text-align: center;
}


.programms_block-7 .programms_block-text{
	color: #fff;
	animation-direction:1.2s;
	animation: pulse 2s ease-in-out infinite;
}

.programms_block-7 .programms_block-text:hover{
	animation-play-state: paused;
	cursor:pointer;
}



.swal2-popup{
    width: 80% !important;
    padding: 20px 50px !important;
}
.popup {
    width: 100%;
}
.popup_title {
	color: var(--main-color);
	font-size: 36px;
	text-align: center;
	margin-top: 20px;

}
.popup_subtitle {
	color: var(--main-color);
	font-size: 32px;
     margin-bottom: 10px;
	 margin-top: 20px;
}
.popup h2:first-child{
	margin-top: 0px;
}
.popup_enum-text {
    color: var(--main-color);
	font-size: 24px;
}

.popup_info {
    color: gray !important;
	font-size: 24px;
	text-align: center;
}
div p.popup_info:first-child{
	margin-top: 20px;
}
.popup_link {
    color: var(--main-color);
	font-size: 24px;
	text-align: center;
	margin: 0 auto;
	display: block;
}



.reviews-block, .diplom-block, .about-block{
	position:relative;
 	width: 100%;
	height: 100vh !important;
	display: flex;
	align-items: center;
	justify-content: center;
}
.reviews_title,.diplom_title{
	font-size: 70px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 100px;
	color: #fff;
}


.reviews, .diplom{
	transition: 0.5s;
	transition-delay: 0.5s;
	transform: scale(0.95);
	transition-timing-function: cubic-bezier(0, 0.01, 0.26, 0.99);
	opacity:0;
}
.reviews.moved, .diplom.moved{
	opacity: 1;
	transform: scale(1);
}

.swiper {
  width: 100%;
  height: 550px;
  max-width: 1440px;
}
.swiper-block{
	position: relative;
}
.swiper-slide_img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.swiper-wrapper .swiper-slide {
    display: flex !important;
	align-items: center;
}
.swiper-wrapper .swiper-slide a{
	width: 100%;
	height: 100%;
}
.swiper-button-next, .swiper-button-prev{
	color: #fff !important;
}

.swiper-button-prev{
	left: 10% !important;
}
.swiper-button-next{
	right: 10% !important;
}
.swiper-pagination{
	bottom: -5% !important;
}
.swiper-pagination-bullet{
	opacity: 0.8 !important;
}
.swiper-pagination-bullet-active{
	background: #fff !important;
}



.about{
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 100px;
	margin-bottom: 100px;
}
.about_block-text{
	max-width: calc(100% - 500px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	
	transition: 0.5s;
	transition-delay: 1s;
	transform: scale(0.95);
	transition-timing-function: cubic-bezier(0, 0.01, 0.26, 0.99);
	opacity:0;
}
.about_block-text.moved{
	opacity: 1;
	transform: scale(1);
}
.about_text{
	font-size: 45px;
	margin-bottom: 10px;
	color: white;
}

.about .programms_block{
	width: 100%;
}

.mascot{
	max-width: 400px;
	height: 100%;
	object-fit: cover;

	transition: 0.5s;
	transition-delay: 0.5s;
	transform: scale(0.95);
	transition-timing-function: cubic-bezier(0, 0.01, 0.26, 0.99);
	opacity:0;
}
.mascot.moved{
	opacity: 1;
	transform: scale(1);
}


.footer{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100px;
}
.footer_text{
	color: white;
}
.footer_link{
	color: white;
}

@keyframes pulse{
	
	0%{
		transform: scale(0.95);
	}
	50%{
		transform: scale(1.05);
	}
	100%{
		transform: scale(0.95);
	}
	
}


@media (max-width: 1440px) {
	.header_block-title {
    	font-size: 50px;
	}
	.header_block-career {
    	font-size: 18px;
		margin-bottom:20px;
	}
	.header_block-text {
		font-size: 25px;
	}
	.main_img {
    	box-shadow: inset 160px -160px 160px 0px var(--main-color);
	}
	.main_img::before {
    	width: 60%;
	}
	.programms_block {
		height: 30%;
	}
	.programms_block-7 {
    	height: 50px;
	}
	.programms_block-text{
		font-size:24px;
	}

	.about{
		margin-bottom: 50px;
	}
	.about_text{
		font-size: 35px;
	}

	
}

@media (max-width: 1366px) {
	.swiper{
		height: 400px;
	}
}

@media (max-width: 1024px) {
	.header_block {
    	left: 5%;
	}
	.header_block-title {
    	font-size: 35px;
 	}
	.header_block-career {
    	font-size: 16px;
 	}	
	.header_block-text {
		font-size: 18px;
	}
	.main_img {
    	box-shadow: inset 120px -160px 160px 0px var(--main-color);
    	width: 60%;
	}

	.about_text{
		font-size: 25px;
	}
}
@media (max-width: 768px) {
	.header_block {
    	max-width:50%;
		top: 17%;
	}
	.header_block-title {
    	font-size: 50px;
   }
	.header_block-career {
    	font-size: 20px;
   }	
	.header_block-text {
		font-size: 25px;
	}
	
	.programms_block {
		height: 20%;
	}
	.programms_block-7 {
    	height: 70px;
	}
	.programms_block-text{
		font-size:20px;
	}
	
	.programms_block-3::after {
    	height: 30px;
    	line-height: 30px;
	}
	
	.school {
    	left: -290px;
	}

	.reviews_title,.diplom_title{
		font-size: 45px;
		margin-bottom: 30px;
	}
	.swiper {
  		width: 100%;
  		max-width: 550px;
	}
	.swiper-button-next, .swiper-button-prev{
		display: none !important;
	}

	.about{
		gap: 0;
		margin-bottom: 25px;
	}
	.about_block-text{
		max-width: calc(100% - 250px);
	}
	.about_text{
		font-size: 16px;
	}
	.mascot{
		max-width: 200px;
		height: auto;
	}
	
}

@media (max-width: 520px) {
	.header_block {
    	max-width: 100%;
    	bottom: 13%;
    	top: unset;
    	left:0;
    	padding:0 5%;
  	}
	.header_block-title {
    	font-size: 38px;
   	}
	.header_block-career {
    	font-size: 16px;
   	}	
	.header_block-text {
		font-size: 20px;
		/* margin-top: 90%; */
	}
	.main_img {
		width:100%;
	}
	
	
	.programms {
    	gap: 20px;
    	padding: 40px 0;
		flex-direction: column;
		justify-content: start;
	}
	.programms_block {
		width: 100%;
        height: auto;
    }
	.programms_block-3{
		height: 120px;
	}
	.programms_block-text {
        font-size: 18px;
    }
	.programms_block-3::after {
		top: 75%;
        height: 25px;
        line-height: 25px;
        font-size: 14px;
    }
	
	.programms_block-1{
		transition: 0.5s;
		transition-delay: 0.2s;
	}
	.programms_block-2{
		transition: 0.5s;
		transition-delay: 0.3s;
	}
	.programms_block-3{
		transition: 0.5s;
		transition-delay: 0.4s;
	}
	.programms_block-4{
		transition: 0.5s;
		transition-delay: 0.5s;
	}
	.programms_block-5{
		transition: 0.5s;
		transition-delay: 0.6s;
	}
	.programms_block-6{
		transition: 0.5s;
		transition-delay: 0.7s;
	}
	.programms_block-7{
		transition: 0.5s;
		transition-delay: 0.8s;
	}
	.school {
        left: -170px;
    }




	.swal2-popup{
		z-index: 999;
	    width: 90% !important;
	    padding: 20px !important;
	}

	.popup_title {
		font-size: 28px;
		margin-top: 10px;

	}
	.popup_subtitle {
		font-size: 24px;
	     margin-bottom: 5px;
		 margin-top: 10px;
	}
	
	.popup_enum-text {
		font-size: 20px;
	}

	.popup_info {
		font-size: 20px;
	}
	div p.popup_info:first-child{
		margin-top: 10px;
	}
	.popup_link {
		font-size: 20px;
	}


	.reviews-block, .diplom-block,.about-block {
    	align-items: start;
    	padding-top: 20px;
	}


	.about{
		flex-direction: column-reverse;

	}
	.mascot{
		transition-delay: 0.5s;
	}
	    
	.about_block-text{
		max-width: 100%;
		transition-delay: 0.5s;
	}
	.swiper{
		height: 500px;
	}
	.footer{
		padding: 0 20px;
    	text-align: center;
    	line-height: 30px;
		bottom: 70px;
	}
}
@media (max-width: 375px) {
	
	.mascot{
		max-width: 120px;
	}
	
}
