        @font-face {
            font-family: 'Gotem-Bold';
            src: url("../fonts/Gotham-Bold.otf") format("opentype");
        }

        @font-face {
            font-family: 'Mark-Bold';
            src: url("../fonts/MARKPROBOLD.OTF") format("opentype");
        }

        body {
            background-color: #fff00d;
            margin: 0;
            padding: 0;
        }

        * {
            box-sizing: border-box;
        }

        .main-container {
            max-width: 1366px;
            margin: 0 auto;
            overflow: hidden;
        }

        /*****************HEADER******************/

        header {
            width: 100%;
            position: relative;
            z-index: 2;
        }

        .header__wrap {}

        .header__logo {
            width: auto;
            height: auto;
            max-height: 100%;
            position: relative;
            z-index: 2;
            top: 0;
            left: 6.5%;
            min-width: 177px;
        }

        .header__circle {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
        }

        .header__bottom {
            margin-top: -191px;
        }

        .header__img-wrap {
            position: relative;
            z-index: 2;
        }


        .header__text {
            padding: 105px 0 0 0;
            text-align: center;
            max-width: 75%;
            margin: 0 auto;
        }

        .header__text p {
            font-family: 'Gotem-Bold', sans-serif;
            font-weight: 800;
            font-size: 36px;
            line-height: 1;
            width: 100%;
            color: #c2262a;
            text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
            text-align: center;
            margin: 20px 0;
        }

        @media screen and (max-width: 1100px) {
            .header__text p {
                font-size: 30px;
            }
        }

        @media screen and (max-width: 900px) {
            .header__text {
                padding-top: 20px;
            }

            .header__text p {
                font-size: 24px;
                margin: 10px 0;
            }



        }

        @media screen and (max-width: 700px) {
            .header__text p {
                font-size: 20px;
            }

            .header__text p {
                text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;

            }
        }

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

            .header__text p {
                font-size: 12px;
                margin-bottom: 15px;
            }

            .header__logo {
                max-width: 80%;
                left: 7.5%;
            }

            .header__bottom {
                margin-top: -85px;
            }

        }

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

            .header__bottom {
                margin-top: -60px;
            }

        }

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

            .header__bottom {
                margin-top: -50px;
            }

        }

        /*****************COUNTER******************/
        .counter {
            position: relative;
            z-index: 1;
        }

        .counter__wrap {
            max-width: 1160px;
            padding: 170px 15px 40px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        .digit-flipper {
            display: inline-block;
            font-family: 'Mark-Bold', sans-serif;
            height: 240px;
            font-size: 187px;
            line-height: 1;
            margin: 0 20px;
            perspective: 300px;
            position: relative;
            background-color: #023b7d;
            border-radius: 10px;
            width: 130px;
        }

        :root {
            --color1: #fff;
            --color2: #d9d9d9;
            --flip-duration: 0.3s;
        }

        .digit-flipper__digit {
            display: block;
            height: 100%;
            position: absolute;
            text-align: center;
            width: 100%;
        }

        .digit-flipper__digit-top,
        .digit-flipper__digit-bottom {
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            position: absolute;
            transform-origin: 50% 50%;
            width: 100%;
        }

        .digit-flipper__digit-top {
            background: rgb(226, 87, 105);
            background: linear-gradient(180deg, rgba(226, 87, 105, 1) 4%, rgba(221, 58, 79, 1) 18%, rgba(213, 22, 47, 1) 90%);
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            clip-path: inset(0 0 51% 0);
            overflow: hidden;
            transform: rotateX(0deg);
        }

        .digit-flipper__digit-bottom {
            background: rgb(213, 22, 47);
            background: linear-gradient(180deg, rgba(213, 22, 47, 1) 12%, rgba(212, 22, 46, 1) 60%, rgba(133, 14, 30, 1) 96%);
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            clip-path: inset(51% 0 0 0);
            transform: rotateX(90deg);
        }

        .digit-flipper__digit--flip-bottom .digit-flipper__digit-bottom {
            animation: flip-bottom var(--flip-duration) ease-in 0s 1 forwards;
        }

        .digit-flipper__digit--flip-top .digit-flipper__digit-top {
            animation: flip-top var(--flip-duration) ease-in 0s 1 forwards;
        }

        .digit-flipper__digit--flip-done .digit-flipper__digit-bottom {
            transform: rotateX(0deg);
        }

        @keyframes flip-top {
            from {
                transform: rotateX(0deg);
            }

            to {
                transform: rotateX(-90deg);
            }
        }

        @keyframes flip-bottom {
            from {
                transform: rotateX(90deg);
            }

            to {
                transform: rotateX(0deg);
            }
        }

        .controls {
            background-color: white;
            border-radius: 10px;
            box-shadow: inset -2px -2px 5px 0px rgba(0, 0, 0, 0.1), 5px 5px 10px 0px rgba(0, 0, 0, 0.15);
            margin: 20px 0 auto;
            padding: 4px 20px 20px;
            text-align: center;
        }

        @media screen and (max-width: 1200px) {
            .digit-flipper {
                height: 135px;
                font-size: 104px;
                margin: 0 10px;
                width: 70px;
            }
        }

        @media screen and (max-width: 900px) {
            .counter__wrap {
                padding: 70px 15px 40px;
            }
        }

        @media screen and (max-width: 650px) {
            .counter__wrap {
                max-width: 1160px;
                padding: 20px 15px 20px;
            }

            .digit-flipper {
                height: 90px;
                font-size: 55px;
                margin: 0px 5px;
                width: 38px;
            }
        }

        /*****************SMILE LOGO******************/
        .smile-logo {
            position: relative;
            z-index: 1;
        }

        .smile-logo__wrap {
            width: 65%;
            max-width: 800px;
            margin: 0 auto;
            padding: 40px;
        }

        .smile-logo__img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
        }

        @media screen and (max-width: 650px) {
            .smile-logo__wrap {
                width: 70%;
                max-width: 800px;
                margin: 0 auto;
                padding: 15px;
            }
        }

        /*********** NO GALLERY*********/
        .no-gallery {
            position: relative;
            z-index: 1;
        }

        .no-gallery__wrap {
            padding: 111px 20px 100px;
            text-align: center;
        }

        @media screen and (max-width: 650px) {
            .no-gallery__wrap {
                padding: 40px 15px;

            }
        }

        /*****************GALLERY**********/
        .gallery {
            position: relative;
            z-index: 1;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            -o-user-select: none;
            user-select: none;
        }

        .gallery__wrap {
            padding: 0 30px;
        }

        .gallery__title {
            font-size: 33px;
            line-height: 1;
            margin-bottom: 30px;
            color: #e42130;
            font-weight: 600;
            text-transform: uppercase;
            font-family: 'Raleway', sans-serif;
        }

        .swiper-container {
            width: 100%;
            height: 100%;
            max-height: 270px;
            margin-bottom: 5px;
        }

        .d-none {
            display: none !important;
        }

        .gallery__figure {
            margin: 0;
            padding: 0;
            transition: 0.3s ease-in-out;
        }

        .gallery__gallery--noslide {
            display: flex;
            flex-wrap: wrap;
        }

        .gallery__gallery--noslide .gallery__figure {
            margin: 0 5px 5px 0;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
            position: relative;
        }

        .swiper-slide img {
            opacity: 0;
        }

        .swiper-slide img.loaded {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            margin: 0;
            left: 0;
            cursor: pointer;
            opacity: 1;
            transition: 0.3s ease-in-out;
        }

        .swiper-slide__nav div {
            width: 43px;
            color: #D7162F;
            cursor: pointer;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            -o-user-select: none;
            user-select: none;
        }

        .swiper-slide__nav {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            align-items: center;
            margin-top: 10px;
        }

        @media screen and (max-width: 1400px) {
            .gallery__wrap {
                padding: 0 15px;
            }
        }

        @media screen and (max-width: 900px) {
            .gallery__title {
                font-size: 18px;
                margin-bottom: 15px;
            }
        }

        @media screen and (max-width: 500px) {
            .gallery__wrap {
                padding: 0 5px;
            }
        }

        /*****************SMILE TEAM**********/
        .smile-team__wrap {
            padding: 50px 15px 20px;
        }

        .smile-team__img-wrap {
            width: 80%;
            max-width: 570px;
            margin: 0 auto;
            position: relative;

        }
        .smile-team__img-wrap.margin-bottom {
            margin-bottom: 7rem;
        }

        .smile-team__bg {
            position: absolute;
            top: 50%;
            left: 50%;
            max-width: 100vw;
            transform: translate(-50%, -50%);
        }

        .smile-team__img {
            width: auto;
            height: auto;
            position: relative;
            z-index: 1;
            max-width: 100%;
            max-height: 100%;
        }

        .smile-team__names {
            width: 100%;
            margin: 68px auto 58px;
            text-align: center;
            position: relative;
            z-index: 1;
            display: flex;
            align-self: center;
            justify-content: space-around;
        }

        .smile-team__names span {
            font-family: 'Gotem-Bold', sans-serif;
            font-weight: 800;
            font-size: 53px;
            line-height: 1;
            color: #c2262a;
        }

        .smile-team__text {
            width: 100%;
            max-width: 1000px;
            margin: 29px auto 30px;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .smile-team__text p {
            font-family: 'Gotem-Bold', sans-serif;
            font-weight: 800;
            font-size: 37px;
            line-height: 1;
            color: #c2262a;
            margin-bottom: 20px;
        }

        .smile-team__imgs-wrap {
            position: relative;
            text-align: center;
            z-index: 1;
        }

        .smile-team__map-wrap {
            text-align: center;
            margin-top: -210px;
        }

        .smile-team__map,
        .smile-team__holder {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
        }

        .smile-team__single-text {
            font-family: 'Gotem-Bold', sans-serif;
            font-weight: 800;
            font-size: 20px;
            line-height: 1;
            margin: 0;
            color: #c2262a;
            text-align: center;
        }

        .smile-team__imgs-wrap__no-map {
            margin: 150px 0;
        }


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

            .smile-team__single-text {
                font-size: 16px;
            }

        }

        @media screen and (max-width: 1100px) {
            .smile-team__map-wrap {
                width: 100%;
                max-width: 530px;
                margin: -150px auto 0;
            }

            .smile-team__names span {
                font-size: 40px;
            }
        }

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


            .smile-team__text {
                margin: 29px auto 110px;
            }

            .smile-team__holder--desc {
                display: none;
            }

            .smile-team__holder--mob {
                display: block;
            }

            .smile-team__imgs-wrap {
                justify-content: center;
                flex-direction: column-reverse;
            }

        }

        @media screen and (max-width: 900px) {
            .smile-team__map-wrap {
                margin-top: 80px;
            }

            .smile-team__names span {
                font-size: 36px;
            }

            .smile-team__imgs-wrap__no-map {
                margin: 50px 0;
            }
        }

        @media screen and (max-width: 768px) {
            .smile-team__wrap {
                padding: 20px 15px 20px;
            }

            .smile-team__img-wrap {
                max-width: 510px;
            }

            .smile-team__text {
                font-size: 20px;
                margin: 0 auto 110px;
            }

            .smile-team__img-wrap {
                max-width: 250px;
            }

            .smile-team__text p {
                font-size: 24px;
                line-height: 30px;
            }
        }

        @media screen and (max-width: 610px) {
            .smile-team__names {
                margin: 40px auto 45px;
            }

            .smile-team__names span {
                font-size: 24px;
            }

            .smile-team__text p {
                font-size: 20px;
                line-height: 24px;
            }

            .smile-team__text {
                margin-bottom: 70px;
            }

            .smile-team__map-wrap {
                max-width: 80%;
            }
        }

        @media screen and (max-width: 500px) {
            .smile-team__names span {
                font-size: 16px;
            }


            .smile-team__text p {
                font-size: 17px;
                line-height: 24px;
            }

            .smile-team__text {
                width: 95%;
            }


        }

        /*****************FOOTER**********/
        .footer {
            width: 100%;
            background-image: url('../images/footerBg.png');
            background-position: center;
            background-size: cover;
            z-index: 2;
            position: relative;
        }

        .footer__wrap {
            height: 330px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }

        .footer__img-wrap {
            width: 40%;
            max-width: 460px;
            margin: 0;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }

        .footer__img {
            max-width: 100%;
            max-height: 100%;
            height: auto;
            width: auto;
        }

        .footer__text {
            width: 40%;
            max-width: 460px;
            font-size: 50px;
            line-height: 1;
            color: #ffffff;
            font-weight: 800;
            font-family: 'Gotem-Bold', sans-serif;
            text-align: center;
            text-transform: uppercase;
        }

        @media screen and (max-width: 1000px) {
            .footer__text {
                font-size: 44px;
            }
        }

        @media screen and (max-width: 900px) {
            .footer__text {
                font-size: 36px;
            }
        }

        @media screen and (max-width: 768px) {
            .footer__wrap {
                height: 180px;
                padding: 24px 15px 8px;
            }

            .footer__text {
                font-size: 32px;
            }
        }

        @media screen and (max-width: 600px) {
            .footer__wrap {
                height: 140px;
            }

            .footer__img-wrap {
                width: 50%;
            }

            .footer__text {
                width: 50%;
                font-size: 21px;
                padding: 0;
            }
        }

        /******************POPUP********************/

        .popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 5;
            height: 100%;
            background-color: #00000085;
            visibility: hidden;
            opacity: 0;
            transition: all 0.2s ease-in;
        }

        .popup.open {
            opacity: 1;
            visibility: visible;
        }

        .popup__wrap {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 85%;
            height: 95%;
            padding: 45px;
            transition: all 0.4s ease-in;

        }

        .popup.open .popup__wrap {
            transform: translate(-50%, -50%) scale(1);
        }

        .popup__close {
            position: absolute;
            top: 0;
            right: 0;
            width: 40px;
            cursor: pointer;
        }

        .popup img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
        }

        .popup__figure {
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
        }

        @media screen and (max-width: 600px) {
            .popup__close {
                width: 30px;
            }

            .popup__wrap {
                width: 98%;
                padding: 35px;
            }
        }


