
@font-face {
    font-family: 'Navigo';
    src: url("fonts/Navigo-Regular.ttf");
}

@font-face {
    font-family: 'Navigo-Bold';
    src: url("fonts/Navigo-Bold.ttf");
}

body.lock {
    overflow: hidden;
}

body {
    font-family: 'Navigo';
    color: #2F2F66;
    background-color: #F4F4F4;
    scroll-behavior: smooth;
}

ul {
    margin: 0;
}

a {
    text-decoration: none;
    color: white;
    /* color: #2f2f64; */
}

p {
    margin-top: 0;
}

header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: white;
}

.header__container {
    z-index: 100;
    /* position: fixed; */
    max-width: 1920px;
    /* width: 100%; */
    display: flex;
    justify-content: space-between;
    padding: 0 100px;
    margin: auto;
    align-items: center;
    height: 120px;
    background-color: #fff;
}

.header__container .logo {
    display: flex;
    margin-left: 2%;
    gap: 1.2em;
    align-items: center;
}

.header__container .logo img {
    /* width: 80px; */
}

.header__container .slogan {
    color: white;
    max-width: 50px;
    line-height: 1;
}

.header__container ul {
    margin-right: 50px;
    align-items: center;
    /* font-size: 0.8em; */
    display: flex;
    gap: 2.5em;
}

.header__container li {
    list-style: none;
    color: white;
    font-size: 18px;
}

.header__container li a {
    color: #2F2F66;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.header__container a:hover{
     background-size: 100% 2px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right > a {
    background: none;
    font-size: 16px;
    color: #2f2f64;
}

.header__container .button.rasp {
    background: #E95D5E;
    color: white;
    padding: 15px 30px;
    margin-left: 30px;
    border-radius: 30px;
    border: 2px solid;
    transition: all 0.5s ease;
}

.header__container .button.rasp:hover {
    background-color: #FFF;
    color: #E95D5E;
    border: #E95D5E 2px solid;
}

.header__container .phone {
    text-align: right;
    margin: 0 50px;
    font-size: 1.4em;
}

.header__container .phone a {
    color: #2f2f64;
}

.header__container .phone img {
    vertical-align: middle;
    margin-right: 10px;
}

.feedback_button:hover {
    color: #fff;
    background-color: #2F2F66;
}

.phone-mobile {
    display: none;
}

.burger-mobile {
    display: none;
}

.menu-mobile {
    display: none;
}
.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.8em;
    /* height: 100%; */
    align-self: center;
}


.feedback_button {
    margin-top: 2em;
    margin-bottom: 2em;
    display: block;
    background: #fff;
    color: #2F2F66;
    width: fit-content;
    padding: 15px 30px;
    border-radius: 30px;
}

.on-top {
    z-index: 99;
}


.title {
    line-height: 1.2;
    font-size: 2.5em;
    font-weight: 500;
    padding-top: 2em;
    padding-bottom: 1em;
    /* max-width: 65%; */
    /* margin: 0 auto; */
}

.content {
    font-size: 1.6em;
    max-width: 60%;
}

.overlay {
    position: relative;
}


.overlay:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #33333399;
}

.overlay .container {
    position: relative;
    z-index: 99;
}


section {
    background-repeat: no-repeat;
    background-size: cover;
}

section.first {
    display: flex;
    min-height: 900px;
    background-repeat: no-repeat;
    background-size: cover;
}

section.first .title {
    z-index: 2;
    color: white;
    font-weight: 100;
    font-size: 2.7em;
    line-height: 1;
    max-width: 75%;
}

section.first .content {
    color: white;
    z-index: 3;
    font-size: 1.5em;
    max-width: 75%;
}

section.first::after {
    content: ' ';
    position: absolute;
    width: 100%;
    min-height: 900px;
    position: absolute;
    top: 0;
    background: linear-gradient(180deg, #3f51b55c, #000000aa);
}


section.first .clients_container {
    margin-top: 1em;
    margin-bottom: 0em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2.2em;
    flex-wrap: wrap;
}

section.first .clients_label {
    color: white;
    z-index: 9;
}

section.first .client_item {
    max-height: 100px;
    /* filter: grayscale(1); */
    object-fit: contain;
}

section.second {
    padding-bottom: 2em;
}

section.second .left {
    max-width: 60%;
}

section.second .container {
    flex-direction: row;
    align-items: center;
}

section.second .right {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.tesis-item {
    max-width: 320px;
    position: relative;
}

.tesis-item:before {
    position: absolute;
    left: -65px;
    display: block;
    width: 45px;
    height: 45px;
    content: '';
    background-size: contain;
}

.tesis-item:nth-child(2) {
    /* margin-left: 3em; */
}

.tesis-item:nth-child(1):before {
    background-image: url('brain.svg');
}

.tesis-item:nth-child(2):before {
    background-image: url('chart.svg');
}

.tesis-item:nth-child(3):before {
    background-image: url('archer.svg');
}

#history .content {
    color: white;
}

#history .title {
    color: white;
}

#history {
    padding-bottom: 6em;
}

.quote-container {
    text-align: right;
    padding-bottom: 3em;
}

.quote {
    font-size: 2em;
    margin-top: 3em;
    text-align: right;
}

section.gray .container {
    flex-direction: row;
}

section.gray .right {
    background-repeat: no-repeat;
    width: 100%;
}

section.gray {
    background-color: #9E9E9E;
    color: white;
}

section.gray .content {
    max-width: 90%;
}

#teachers .left .title {
    color: white;
}

.section_title {
    font-size: 2em;
    text-align: center;
    margin: 2em;
    font-weight: 500;
}

#teachers .left {
    display: flex;
    flex-direction: column;
    padding-left: 2em;
    min-width: 470px;
    /* min-height: 450px; */
    min-height: 380px;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#teachers .left .content {
    color: white;
}

#teachers .container {
    margin-bottom: 2em;
    flex-direction: row;
}

#teachers .right .title {
    padding-top: 0;
    font-size: 1.7em;
}

#teachers .right .content {
    max-width: fit-content;
    font-size: 1.2em;
}

footer {
    background-size: cover;
    height: 500px;
    color: white;
    background-position-y: inherit;
}

footer .container {align-items: center;}

footer .footer-bottom {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

footer .footer-menu ul {
    display: flex;
    gap: 20px;
}


footer .footer-menu li {
    list-style: none;
}


.fos-overlay {
    display: none;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background: #9e9e9e88;
    z-index: 200;
}

.feedback-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 300px;
    /* gap: 15px; */
    margin: auto;
    padding: 50px 2px 30px;
    /* border: 2px solid white; */
    border-radius: 30px;
    position: absolute;
    left: calc(50% - 150px);
    top: 30%;
    background: #fff;
}

.feedback-thanks {
    display: none;
    color: white;
    position: absolute;
    width: 400px;
    text-align: center;
    top: 30%;
    left: calc(50% - 220px);
    font-size: 1.3em;
    padding: 20px;
    background: #4e788c;
    border: 2px solid white;
    border-radius: 5px;
}

input[type="text"] {
    padding: 6px 12px;
    /* width: 100%; */
    outline: none;
}

.feedback {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: max-content;
}

input[type="button"] {
    border: 1px solid white;
    border-radius: 30px;
    width: 100%;
    background: #e75b61;
    outline: none;
    margin: 20px auto 0;
    padding: 15px 30px;
    color: white;
    text-transform: uppercase;
}

.video-cover {
    background-size: contain;
    background-image: url('school.png');
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
}

.video {
    position: relative;
}

.video .title {
    color: white;
    max-width: 65%;
    margin: 0 auto;
}

.video .play {
    cursor: pointer;
    width: 100px;
    height: 100px;
    display: none;
    margin: 0 auto;
}

@media screen and (max-width: 1400px) {

.header__container ul {
    display: none;
}


.header__container {
    padding: 10px 0;
}

.burger-mobile {
    display: block;
    font-size: 1.5em;
}

.header-right {
    max-width: 65%;
}

.header__container .button.rasp {
    margin-left: 30px;
    padding: 10px 15px;
}

.header-right .feedback_button {
    padding: 0;
}


.menu-mobile {
    transition: all .5s ease;
    position: absolute;
    top: 140px;
    left: 0;
    background-color: white;
    width: 100%;
    display: none;
    padding-bottom: 20px;
    opacity: 0;
}

.menu-mobile.active{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 1;
}

.menu-mobile a {
    color: #2f2f64;
}

.menu-mobile .button.rasp {
    /* margin: 0; */
    display: none;
}

.menu-mobile .feedback_button {
    /* margin: 0; */
    display: none;
}

.container {
    max-width: 90%;
}

}
/* Новый блок about_teacher */
section.first{
	position:relative;
}
.about_teacher{
	background:#f4f4f4;
	color:#2F2F66;
	margin-top:120px;
	padding:60px 0px;
}
.about_teacher_wrapper{
	display: grid;
    grid-template-columns: 1fr 1fr;
	gap:20px;
}
.about_teacher_text{
	font-size:25px;
}
.about_teacher_photo{
	background:url('andreev/andreev.jpg');
	background-size:cover;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	background-position:center;
	background-repeat:no-repeat;
}
.about_teacher_photo img{
	max-width:100%;
}
/* Новый блок about_teacher */
/* Новый блок со слайдером */
.fast_read_north_pole{
	display:block;
	padding:60px 0px;
	background:#9E9E9E;
}
.fast_read_north_pole .title{
	display:block;
	width:100%;
	text-align:center;
	color:#fff;
	margin-bottom:30px;
	font-size:40px;
	padding:0px;
}
.fast_read_north_pole_wrapper{
	display:flex;
	gap:20px;
}
.fast_read_north_pole_gallery{

}
.fast_read_north_pole_text{
color:#fff;
}
.swiper img{
	max-width:100%;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
}
/* Новый блок со слайдером */
/* Новый блок с видео */
.first-time-video-cover {
    background-size: contain;
    background-image: url('andreev/slideshow/2.png');
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
}
.video_first_time{
	padding:60px 0px;
}
.first-time-video {
    position: relative;
}

.first-time-video .title {
    color: white;
    max-width: 50%;
    margin: 0 auto;
	text-align:Center;
}

.first-time-video .play {
    cursor: pointer;
    width: 100px;
    height: 100px;
    display: none;
    margin: 0 auto;
}
.video_interview{
	background:#9E9E9E;
	padding:80px 0px;
}
.video_first_time .title,
.video_interview .title{
	max-width:60%;
	margin:0 auto 30px;
	padding:0px;
	text-align:center;
}
.video_interview .title{
	color:#fff;
}
/* Новый блок с видео */
#teachers{
	padding-top:60px;
}
@media screen and (max-width: 600px) {
    
    header {
        z-index: 100;
        background-color: #9fa4bd;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    header ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.9em;
        padding-left: 10px;
        padding-top: 20px;
    }

    .header__container .logo img {
        width: 120px;
    }

    .header__container {
        padding: 10px 15px;
        height: auto;
    }

    .header__container ul {
        display: none;
    }

    .header-right > a {
        display: none;
    }

    .header__container .phone {
        display: none;
    }

    .header-right .feedback_button:hover {
        color: #2f2f64;
        background: none;
    }

    .phone-mobile {
        display: block;
    }

    .burger-mobile {
        position: absolute;
        left: calc(50vw - 0.5em);
        /* margin: auto; */
        display: block;
        font-size: 20px;
    }

    .menu-mobile {
        transition: all .5s ease;
        position: absolute;
        top: 74px;
        left: 0;
        background-color: white;
        width: 100%;
        display: none;

        padding-bottom: 20px;
        opacity: 0;
    }

    .menu-mobile.active{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        opacity: 1;
    }

    .menu-mobile a {
        color: #2f2f64;
    }

    .menu-mobile .button.rasp {
        display: block;
        margin: 0;
    }

    .menu-mobile .feedback_button {
        display: block;
        margin: 0;
    }

    .container {
        max-width: 90%;
    }

    section.first .content {
    max-width: 100%;
    font-size: 1.2em;
    text-align: center;
    }

    section.first .title {
        padding-top: 0.5em;
        padding-bottom: 0;
        max-width: 100%;
        font-size: 1.5em;
        line-height: 1.2em;
        text-align: center;
    }

    section.first .clients_container {
        display: none;
        flex-wrap: wrap;
        margin-top: 0;
        gap: 1em;
        align-items: center;
        flex-direction: column;
    }

    section.first .clients_label {
        display: none;
    }

    section.first {
        background-repeat: no-repeat;
    }

    .feedback_button {
        margin: 1.3em auto;
    }


    section.first::after {
        /* bottom: 0; */
        top: auto;
    }

    section.second .container {
        flex-direction: column;
    }

    section.second .left {
        max-width: 100%;
    }

    .title {
        font-size: 1.5em;
        text-align: center;
        margin: auto;
        max-width: 90%;
    }

    .content {
        font-size: 1em;
        max-width: 90%;
        text-align: center;
        margin: auto;
    }

    .tesis-item {
        margin-left: 4.5em;
    }

    section.gray .container {
        flex-direction: column;
    }

    section.gray .right {
        display: none;
    }

    #teachers .left {
        display: none;
    }

    footer .footer-bottom {
        flex-direction: column-reverse;
        flex-wrap: wrap;
        align-content: center;
        margin-bottom: 20px;
    }

    footer .footer-menu ul {padding: 0;flex-wrap: wrap;font-size: 0.8em;}
    
    .footer-copyright {
        text-align: center;
        margin-top: 20px;
    }

    li.button.order {
        display: none;
        margin: auto;
        background: aliceblue;
    }

    .button.order a {
        color: #3e3e83;
    }

    .quote-container {
        font-size: 0.8em;
        padding-right: 20px;
    }
    .video .title,.first-time-video .title {
        font-size: 1em;
        padding-top: .5em;
    }
    
    .video .play,.first-time-video .play {
        width: 50px;
        height: 50px;
    }
    
    .video-cover,.first-time-video-cover {
        gap: 0;
    }
	.about_teacher{
		margin-top:80px;
	}
	.about_teacher,.fast_read_north_pole,.video_first_time,.video_interview{
		padding:20px 0px;
	}
	.about_teacher_wrapper{
		grid-template-columns:1fr;
	}
	.about_teacher_photo{
		min-height:200px;
	}
	.fast_read_north_pole .title{
		font-size:26px;
		margin-bottom:0px;
	}
	.fast_read_north_pole_wrapper{
		display:block;
	}
	.fast_read_north_pole_gallery{
		margin-bottom:20px;
	}
	#teachers{
	    padding-top:30px;
    }
	.about_teacher_text{
		font-size:18px;
	}
}
