@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Commissioner&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

html {
    overflow-x: hidden;
}

* {
    font-family: 'Montserrat';
}

body {
    margin: 0;
}

body, head {
    overflow-x: hidden;
}

.container {
    width: 1046px;
    margin: auto;
}

header {
    height: 950px;
}

.navbar {
    display: flex;
    justify-content: space-between;
}

.logo {
    width: 130px;
    height: 43px;
}

.navbar-list {
    display: flex;
    align-items: center;
}

.navbar-list li {
    display: inline;
}

.navbar-list li > a {
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    margin-right: 40px;
    color: #737373;
    text-decoration: none;
}

.navbar-link:hover {
    color: green;
}

.navbar-phone {
    display: flex;
    align-items: center;
    max-width: 196px;
    width: 100%;
    background-image: url(./img/call-icon.png);
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 48px;
}

.navbar-phone a{
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    text-decoration: none;
    color: black;
}

#book-svg {
    position: absolute;
    top: 150px;
    z-index: -1;
}

#five-svg {
    position: absolute;
    right: 600px;
    z-index: -1;
}

#pen-svg {
    position: absolute;
    left: 750px;
    top: 620px;
}

#w-svg {
    position: absolute;
    top: 70px;
    left: 750px;
}

.header-text {
    width: 680px;
    margin-top: 150px;
}

.header-text h1 {
    font-weight: 700;
    font-size: 58px;
    line-height: 80px;
    letter-spacing: 0.2px;
    color: #252B42;
    position: relative;
    animation: showLeft 2.5s;
}

@keyframes showLeft {
    from {left:-180%;}
    to {left:0;}
}

@keyframes showRight {
    from {right:-100%;} 
    to {right:0;}
}

@keyframes show {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes color {
    20%  { background: #98FB98; }
    40%  { background: #b1ff9a; }
    60%  { background: #b7eeafbe; }
}

.header-text span {
    font-family: 'Commissioner';
    color: green;
}

#red {
    color: rgba(226, 86, 86, 0.822);
}

.header-text-list li {
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.2px;
    color: #737373;
    padding-top: 20px;
    animation: show 3s;
}

.header-main-img {
    position: absolute;
    top: 100px;
    right: 300px;
    z-index: -1;
}

#about-us {
    padding-bottom: 100px;
}

.about-us {
    display: flex;
    justify-content: space-between;
}

.fix-width {
    width: 94px;
    height: 7px;
    background: #E74040;
}

.about-text {
    width: 607px;
    margin: 160px -100px 0 0;
}

.about-text h2 {
    font-weight: 800;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0.2px;
    color: #252B42;
    margin: 35px 0;
}

.about-text p {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.2px;
    color: #737373;
    width: 400px;
}

.about-us-img1 {
    margin: 100px 0 0 -100px;
}

.about-us-img2 {
    margin: 100px -100px 0 0 ;
}

.our-services {
    padding: 0 0 0 0;
}

.our-services h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0.2px;
    color: #252B42;
    text-align: center;
    text-align: center;
}

.our-services-main-img {
    margin-top: 350px;
}

.our-services-cards {
    display: flex;
    align-items: center;
    justify-content: space-between;   
}

.services-card {
    text-align: center;
}

.our-services-card1 .services-card:first-child {
    margin-left: 230px;
}

.our-services-card1 .services-card:last-child {
    margin-right: 230px;
}

.our-services-card2 .services-card:first-child {
    margin-left: 80px;
}

.our-services-card2 .services-card:last-child {
    margin-right: 80px;
}

.our-services-card2, .our-services-card3 {
    margin-top: 30px;
}

.all-services-cards {
    margin-top: 60px;
}

.our-services-main-img {
    position: absolute;
    top: 1074px;
    width: 700px;
    padding-left: 170px;
}

.services-card p {
    font-size: 24px;
    line-height: 29px;
}

#katalog {
    background: #BDECB6; /* Fallback */
    animation: color 9s infinite linear;
}

.katalog {
    padding: 30px 0 50px 0;
}

.katalog h2 {
    font-weight: 700;
    font-size: 60px;
    line-height: 90px;
    text-align: center;
    margin-bottom: 70px;
    color: #fff;
}

.katalog-row-cards {
    display: flex;
    justify-content: center;
}

.katalog-card {
    width: 320px;
    height: 600px;
    background: #fdfdfd;
    border-radius: 30px;
    margin-right: 30px;
}


.katalog-card h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.1px;
    color: #252B42;
    text-align: center;
    margin: 10px 0;
    width: 280px;
    margin-left: 18px;
}

.katalog-card p {
    font-weight: 400;
    font-size: 13px;
    line-height: 19px;
    text-align: center;
    color: #737373;
    margin-top: 20px;
    width: 250px;
    margin-left: 30px;
}

.katalog-card dt {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    text-align: center;
    padding-bottom: 7px;
    width: 280px;
    margin-left: 18px;
}

.katalog-card dd {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding-top: 6px;
    color: #737373;
}

.katalog-card-img {
    width: 320px;
    height: 200px;
    border-radius: 30px 30px 0 0;
    background-size: cover;
    background-position: 70%;
}

.logoped p {
    font-size: 20px;
}

.english-card p {
    font-size: 12px;
    text-align: left;
    padding: 0 0 5px 20px;
    margin: 0;
    color: #737373;
}

.english-card dd {
    margin-left: 10px;
}

.age3-4 {
    background-image: url(./img/age3-4.jpg);
}

.age4-5 {
    background-image: url(./img/age4-5.jpg);
}

.school-1year {
    background-image: url(./img/school-1year.jpg);
}

.english-img {
    background-image: url(./img/english-img.jpg);
}

.kazakh-img {
    background-image: url(./img/kids1.jpg);
}

.dz-img {
    background-image: url(./img/dz-img.jpg);
}

.logoped-img {
    background-image: url(./img/logoped-img.jpg);
}

.tablytsa-unozheya {
    background-image: url(./img/tablitsa-umnozhenia.jpg);
}

.pocherk {
    background-image: url(./img/kids10.jpg);
}

.slick-slide {
    height: 600px !important;
}

#galery {
    padding: 100px 0 100px 0;
    background: #BDECB6; /* Fallback */
    animation: color 9s infinite linear;
    position: relative; 
}

.galery-title h2 {
    font-weight: 700;
    font-size: 60px;
    line-height: 90px;
    text-align: center;
    color: #fff;
    margin: 20px 0 70px 0;
}

.galery-title {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.galery-title img {
    width: 50px;
    height: 50px;
    padding: 20px 0 0 5px;
}

hr {
    border: 1px solid white;
    margin: 0 500px;
}

.slides {
    padding: 0;
    width: 809px;
    height: 420px;
    display: block;
    margin: 100px auto;
    position: relative;
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.slides input { display: none; }

.slide-container { display: block; }

.slide {
    top: 0;
    opacity: 0;
    width: 809px;
    height: 420px;
    display: block;
    position: absolute;

    transform: scale(0);

    transition: all .7s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
}

.nav label {
    width: 200px;
    height: 100%;
    display: none;
    position: absolute;

	  opacity: 0;
    z-index: 9;
    cursor: pointer;

    transition: opacity .2s;

    color: #FFF;
    font-size: 156pt;
    text-align: center;
    line-height: 380px;
    font-family: "Varela Round", sans-serif;
    background-color: rgba(255, 255, 255, .3);
    text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

.slide:hover + .nav label { opacity: 0.5; }

.nav label:hover { opacity: 1; }

.nav .next { right: 0; }

input:checked + .slide-container  .slide {
    opacity: 1;

    transform: scale(1);

    transition: opacity 1s ease-in-out;
}

input:checked + .slide-container .nav label { display: block; }

.nav-dots {
	width: 100%;
	bottom: 9px;
	height: 11px;
	display: block;
	position: absolute;
	text-align: center;
}

.nav-dots .nav-dot {
	top: -5px;
	width: 11px;
	height: 11px;
	margin: 0 4px;
	position: relative;
	border-radius: 100%;
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.6);
}

.nav-dots .nav-dot:hover {
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.8);
}

input#img-1:checked ~ .nav-dots label#img-dot-1,
input#img-2:checked ~ .nav-dots label#img-dot-2,
input#img-3:checked ~ .nav-dots label#img-dot-3,
input#img-4:checked ~ .nav-dots label#img-dot-4,
input#img-5:checked ~ .nav-dots label#img-dot-5,
input#img-6:checked ~ .nav-dots label#img-dot-6,
input#img-7:checked ~ .nav-dots label#img-dot-7,
input#img-8:checked ~ .nav-dots label#img-dot-8,
input#img-9:checked ~ .nav-dots label#img-dot-9,
input#img-10:checked ~ .nav-dots label#img-dot-10,
input#img-11:checked ~ .nav-dots label#img-dot-11,
input#img-12:checked ~ .nav-dots label#img-dot-12,
input#img-13:checked ~ .nav-dots label#img-dot-13,
input#img-14:checked ~ .nav-dots label#img-dot-14 {
	background: rgba(0, 0, 0, 0.8);
}

.otziv {
    padding-bottom: 100px;
    display: block;
}

.otziv h2 {
    font-weight: 700;
    font-size: 60px;
    line-height: 32px;
    letter-spacing: 0.1px;
    text-align: center;
    margin: 100px 0 80px 0;
}

.otziv-row-cards {
    display: flex;
    justify-content: space-between;
}

.otziv-card {
    width: 320px;
    height: 430px;
    border: 4px solid #33CC36;
    border-radius: 30px;
}

.otziv-card p {
    width: 270px;
    margin: auto;
}

.otziv-ava {
    display: flex;
    align-items: center;
}

.otziv-ava img {
    width: 50px;
    height: 50px;
    margin: 0 10px 0 10px;
}

.otziv-stars {
    display: flex;
}

.otziv-stars img:last-child{
    width: 100px;
    margin-left: 30px;
}

.contact-box {
    width: 550px;
    box-shadow: 0px 15px 50px rgb(0 0 0 / 25%);
    border-radius: 30px;
    text-align: center;
}

.contact-box img {
    width: 400px;
}

.contact-box a {
    text-decoration: none;
    color: black;
}

#number {
    font-weight: 400;
    font-size: 45px;
    line-height: 50px;
    text-transform: uppercase;
    margin: 45px 0;
}

#street {
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    margin: 30px 0;
}

.contact-box strong {
    font-size: 24px;
    line-height: 36px;
}

#graphik {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
}

#name {
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 36px;
    margin: 30px 0 30px 0;
}

.fa-brands {
    font-size: 45px;
    margin-left: 20px;
}

.contact {
    display: flex;
}

.map {
    margin-left: 100px;
}

#contact-title {
    font-weight: 700;
    font-size: 60px;
    line-height: 90px;
    text-align: center;
    margin: 50px 0 100px 0;
}

#contact {
    padding-bottom: 100px;
}

.katalog-row-cards {
    display: block !important;
}

.single-item {
    display: none !important;
}

.single-item2 {
    display: none !important;
}

@media (min-width: 320px) and (max-width: 480px) {
    .container {
        width: 95%;
    }

    header {
        height: 600px;
    }

    .logo {
        width: 100px;
        height: 30px;
    }

    .header-text {
        margin-top: 80px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navbar-list, .header-main-img {
        display: none;
    }

    .header-text-list {
        padding-left: 20px;
    }

    .header-text h1 {
        font-weight: 700;
        font-size: 40px;
        width: 320px;
        line-height: 1;
    }

    .header-text-list li {
        font-size: 4vw;
        width: 300px;
        padding-top: 10px;
        line-height: 1;
    }

    #pen-svg, #five-svg{
        display: none;
    }

    #w-svg {
        left: 200px;
        top: 100px;
        z-index: -1;
    }

    #book-svg {
        position: absolute;
        top: 120px;
        left: 0;
        width: 320px;
    }

    #a-svg {
        position: absolute;
        top: 390px;
    }

    .navbar-phone {
        background-size: 25px;
        padding-left: 28px; 
    }

    .navbar-phone a {
        font-size: 15px;
    }

    .our-services h2 {
        font-weight: 700;
        font-size: 30px;
    }

    .our-services-cards {
        display: block;
    }

    .our-services-card1 .services-card:first-child {
        margin-left: 0;
    }

    .our-services-card1 .services-card:last-child {
        margin-right: 0;
    }

    .our-services-card2 .services-card:first-child {
        margin-left: 0;
    }

    .our-services-card2 .services-card:last-child {
        margin-right: 0;
    }

    .services-card {
        margin-bottom: 20px;
    }

    .services-card img {
        width: 80px;
    }

    .services-card p {
        font-size: 15px;
    }

    .our-services-main-img {
        display: none;
    }

    .about-us {
        display: block;
    }

    .about-text h2 {
        font-size: 30px;
        line-height: 1;
        width: 300px;
        margin: 20px 0;
    }

    .about-text p {
        width: 310px;
    }

    .about-text {
        margin-top: 30px;
        width: 100%;
        margin: 0;
    }

    .about-us-img1 {
        width: 300px;
        margin: 50px 0 0 30px;
    }

    .about-us-img2 {
        width: 300px;
        margin: 0 0 0 20px;
    }

    #katalog {
        animation: none;
    }

    .katalog h2 {
        font-size: 40px;
        margin-bottom: 0;
        font-weight: 800;
    }

    .katalog-card {
        width: 300px;
        height: 530px !important;
        margin: 0 40px;
    }

    .katalog-card h2 {
        font-size: 20px;
        margin: 5px auto;
    }

    .katalog-card dt {
        font-size: 13px;
        margin-left: 0;
    }

    .katalog-card dd {
        font-size: 13px;
        line-height: 1;
        margin-left: 15px;
    }

    .katalog-card p {
        font-size: 12px;
        margin: 0 0 0 10px;
    }

    .katalog-card-img {
        width: 100%;
        height: 200px;
    }

    .katalog-row-cards {
        display: none !important;
    }

    .single-item {
        display: block !important;
        height: 600px;
    }

    #galery {
        animation: none;
        padding: 0 0  50px 0;
    }

    .galery-title h2 {
        font-size: 40px;
        margin: 0;
    }

    .galery-title img {
        width: 30px;
        height: 30px;
    }

    .slides, .slide, .slide img{
        width: 300px;
        height: 220px;
    }

    .otziv {
        padding-bottom: 0;
    }

    .otziv-ava img {
        width: 30px;
        height: 30px;
    }

    .otziv-ava h4 {
        font-size: 14px;
    }

    .otziv-stars img:last-child {
        width: 80px;
        margin-left: 20px;
    }

    .otziv-card p {
        font-size: 14px;
    }

    .otziv-card {
        height: 350px !important;
        margin: 10px;
    }

    .otziv h2 {
        font-size: 40px;
        margin-top: 30px;
    }

    #contact-title {
        font-size: 40px;
        margin: 0 0 30px 0;
    }

    .map {
        display: none;
    }

    .contact-box img {
        width: 200px;
    }

    #number {
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    #street {
        font-size: 18px;
        line-height: 1;
        margin: 20px 0;
    }

    .contact-box strong {
        font-size: 18px;
    }

    #graphik {
        font-size: 18px;
        line-height: 1;
    }

    #name {
        font-size: 20px;
        margin: 20px 0;
    }

    .fa-brands {
        font-size: 40px;
        margin-bottom: 30px;
    }

    #wa_btn-content p {
        display: none !important;
    }

    .otziv-row-cards {
        display: none;
    }

    .single-item2 {
        display: block !important;
    }
}