body, html {
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    font-style: normal;
    background-color: #010101;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;

    overflow-x: hidden;
}

.overflow {
    overflow: hidden;
}

html::-webkit-scrollbar {
    width: 10px;
    background-color: #101010;
}

html::-webkit-scrollbar-thumb {
    background-color: #393939;
}

* {
    box-sizing: border-box;
}

.container {
    margin: 0px 74px;
}

a {
    color: #fff;
    text-decoration: none!important;
}

a:hover {
    cursor: pointer!important;
}

h1,h2,h3,h4,p,div {
    margin: 0;
    padding: 0;
}

/*  HEADER  */

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.header-inner {
    backdrop-filter: blur(5px);
    background-color: #010101be;
    /* border-radius: 15px 15px 0px 0px; */
    padding: 20px;
    border-bottom: 1px #fff solid;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav a {
    font-size: 16px;
    margin-right: 70px;

    transition: all .6s ease;
}

nav a:hover {
    color: #FBE941;
}

nav a:last-of-type {
    margin-right: 0;
}

.header-button a {
    background-color: transparent;
    border: 1px solid #FBE941;
    padding: 10px 27.5px;
    border-radius: 12px;

    display: block;

    color: #fff;
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 16px;

    transition: transform .5s ease;
}

.header-button a:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.display {
    display: block!important;
}

#burgerButton {
    background-color: transparent;
    border: none;
    outline: none;
    transition: all .2s ease;

    display: none;
}

#burgerButton:hover {
    cursor: pointer;
    transform: scale(1.1);
}

#burgerButton img {
    width: 30px;
}

.header-mobile-menu {
    position: absolute;
    right: 0;
    top: 88px;
    width: 60%;
    display: flex;
    flex-direction: column;
    text-align: right;
    padding: 40px;
    border-radius: 0px 0px 0px 15px;
    backdrop-filter: blur(5px);
    background-color: #010101be;

    display: none;
}

.header-mobile-menu a {
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.header-mobile-menu a:last-of-type {
    background-color: transparent;
    border: 1px solid #FBE941;
    padding: 10px 27.5px;
    text-align: center;
    margin-top: 28px;
    
    border-radius: 12px;
    
    color: #fff;
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 16px;
    transition: transform .5s ease;
}

.header-mobile-menu a:last-of-type:hover {
    transform: scale(1.05);
}








/*  MAIN  */

main {
    background-image: url(../images/backMain1.png);
    background-repeat: repeat;
    background-position: center;

    padding-top: 140px;
    background-size: 100%;

    position: relative;
}

main .container {
    border-bottom: 1px solid #FFFFFF;
}

main h1 {
    font-size: 119px;
    font-weight: 900;
    letter-spacing: 0.035em;
}

main h2 {
    width: 630px;
    font-size: 63.43px;
    line-height: 65.65px;
    letter-spacing: 0.025em;
    font-weight: 400;

    margin-bottom: 40px;
}

main p {
    font-size: 30.6px;
    line-height: 35.03px;
    letter-spacing: 0.025em;
    margin-bottom: 10px;
}

main p span {
    font-style: italic;
    font-weight: 700;
}

main p:last-of-type {
    margin-bottom: 105px;
}

.main-button {
    margin-bottom: 67px;
}

.main-button button {
    border: 3px solid #FBE941;
    border-radius: 15px;
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    font-family: 'Gilroy';
    background-color: transparent;
    padding: 15px 114px;

    transition: all .3s ease;
}

.main-button button:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.main-ficha {
    /* position: absolute;
    top: -42px;
    right: 0;
    z-index: 0; */
    display: none;
}

.main-dates-exam {
    text-align: center;
    
}

.main-dates-exam h2 {
    font-size: 36px;
    font-weight: 800;
    margin: auto;
    padding-bottom: 30px;
}













/*  SOVET  */

.sovet {
    margin-top: 60px;

    position: relative;
}

.sovet h2 {
    font-size: 54px;
    font-weight: 800;

    margin-bottom: 40px;
}

.sovet-inner {
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 70px;
}

.sovet-item {
    display: flex;
    justify-content: right;
    align-items: center;

    margin-bottom: 30px;
}

.sovet-item:last-child {
    margin-bottom: 0;
}

.sovet-item img {
    margin-right: 50px;
    height: 70px;
}

.sovet-item-yellow {
    background-color: #FBE941;
    padding: 30px;
    border-radius: 15px;
    width: 70%;
    transition: all .6s ease;

    color: #010101;
}

.sovet-item-yellow:hover {
    transform: scale(1.01);
    cursor: pointer;
}

.sovet-item-yellow h3 {
    font-size: 36px;
    font-weight: 600;

    margin-bottom: 20px;
}

.sovet-item-yellow p {
    font-size: 24px;
    font-weight: 400;
    line-height: 31.2px;
}

.sovet-ficha {
    position: absolute;
    top: 333px;
    left: 0;
    height: 200px;
}














/*  TEAM  */

.team {
    margin-top: 60px;
    position: relative;
}

.team .container {
    padding-bottom: 60px;

    border-bottom: 1px solid #FFFFFF;
}

.team h2 {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 40px;
}

.team-description {
    font-size: 36px;
    font-weight: 500;
    line-height: 41.22px;
    letter-spacing: 0.025em;
    width: 70%;
    
    margin-left: 405px;
}

.team-description span {
    font-weight: 700;
    font-style: italic;
}

.team-inner {
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    flex: 1;
    column-gap: normal;
    
    margin-left: 350px;
    margin-top: 40px;
}

.team-item {
    width: 305px;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 40px;

    z-index: 99;
    position: static;
}

.team-item img {
    margin-bottom: 20px;
    height: 436px;
    width: 305px;

    border-radius: 15px;
}

.tema-inner-yellow {
    background-color: #FBE941;
    padding: 20px;
    border-radius: 15px;
    width: 305px;

    color: #010101;
}

.tema-inner-yellow__name {
    font-size: 36px;
    font-weight: 600;

    margin-bottom: 20px;
}

.tema-inner-yellow__description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

#ficha3 {
    position: absolute;
    left: 0;
    top: 380px;
    z-index: 0;
    height: 153px;
}

#ficha4 {
    position: absolute;
    right: 0;
    top: 820px;
    z-index: 100;
}

#ficha5 {
    position: absolute;
    left: 0;
    top: 1000px;
    height: 200px;
}

#ficha6 {
    position: absolute;
    top: 1800px;
    left: 0;
    height: 160px;
}

#ficha7 {
    position: absolute;
    top: 1500px;
    right: 0;
    height: 180px;
}

#ficha9 {
    position: absolute;
    top: 2350px;
    right: 0;
}

#ficha10 {
    position: absolute;
    top: 2769px;
    left: 0;
    height: 138px;
}

#ficha11 {
    position: absolute;
    top: 3752px;
    right: 0;
    height: 138px;
}

#ficha12 {
    position: absolute;
    top: 3752px;
    right: 0;
    height: 138px;
}


/*  COMMENTS  */

.mySwiper {
    position: relative;
}

.comments {
    padding-top: 60px;
}

.comments h2 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: 0.025em;
}

.comments p {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.025em;

    padding-bottom: 60px;
}

.comments-inner {
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 60px;

    /* display: flex;
    justify-content: space-between; */
}

video {
    width: 100%;
    border-radius: 15px;
}

/* .swiper-button-next,
.swiper-button-prev {
    color: #fbe941 !important
    /* background-color: #e4d43c;
    padding: 30px;
    border: #eee 0.5px solid;
    border-radius: 50%; */
 


.swiper-button-next {
    background-image: url("../images/ficha/arrow-right.png");
    width: 58px !important;
    height: 58px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    }


.swiper-button-next::after {
    display: none;
}

.swiper-button-prev {
    background-image: url("../images/ficha/arrow-left.png");
    width: 58px !important;
    height: 58px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    }


.swiper-button-prev::after {
    display: none;
}




/*  USLUGI  */

.uslugi {
    padding-top: 60px;
}

.uslugi h2 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: 0.025em;

    padding-bottom: 60px;
}

.uslugi-inner {
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 60px;
}

.uslugi-item {
    display: flex;
    background-color: #FBE941;
    border-radius: 15px;
    color: #010101;

    margin-bottom: 30px;
}

.uslugi-left {
    border-right: 1px solid #000000;
}

.uslugi-right, 
.uslugi-left {
    width: 50%;
    padding: 20px;
}

.uslugi-left__name {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 137px;
}

.uslugi-left__price {
    font-size: 24px;
    font-weight: 600;
}

.uslugi-right__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.025em;
}

.uslugi-right {
    position: relative;
}

.uslugi-right__button {
    position: absolute;
    color: #000 !important;
    bottom: 27px;
    right: 20px;
    left: 20px;
    width: 92%;
    text-align: center;
    background-color: transparent;
    padding: 10px;
    border-radius: 15px;
    border: 2px solid #000000;

    font-family: Gilroy;
    font-size: 24px;
    font-weight: 600;

    transition: all .5s ease;
}

.uslugi-right__button:hover {
    transform: scale(1.01);
    cursor: pointer;
    background-color: #e4d43c;
}



/*  FOOTER  */


footer {
    position: relative;

    padding: 52px 0px 44px 0px;
}

.footer-flex-top {
    display: flex;
    justify-content: space-between;

    margin-bottom: 42px;
}

.footer-flex-top h2 {
    font-size: 54px;
    font-weight: 800;
}

.footer-flex-top button {
    background-color: #FBE941;
    text-align: center;
    font-family: Gilroy;
    font-size: 36px;
    font-weight: 600;

    outline: none;
    border: none;

    width: 50%;
    border-radius: 15px;
    padding: 6px 0px;

    transition: all .3s ease;
}

.footer-flex-top button:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.footer-flex-bottom {
    display: flex;
    justify-content: right;
}

#ficha8 {
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-flex__hrefs {
    display: flex;
    flex-direction: column;

    margin-right: 200px;
}

.footer-flex__hrefs h3 {
    font-size: 36px;
    font-weight: 600;

    margin-bottom: 20px;
}

.footer-flex__hrefs a {
    font-size: 24px;
    font-weight: 600;

    margin-bottom: 10px;

    transition: all .2s ease;
}

.footer-flex__hrefs a:hover {
    color: #e4d43c;
    transform: scale(1.1);
}

.footer-text__block {
    max-width: 305px;
    height: 124px;
    background-color: #eee;
    color: #000;
    padding: 10px;
}


/*  POP UP  */

.pop-up {
    position: fixed;
    z-index: 99999;
    backdrop-filter: blur(5px);
    
    width: 100%;
    height: 100%;
    top: 0;
}

.pop-up__block {
    background-color: #010101;
    padding: 19px 30px;
    border-radius: 10px;
    width: 334px;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    box-shadow: 0px 0px 23px -7px rgba(155, 155, 155, 0.8);
}

.pop-up__block h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;

    margin-bottom: 20px;
}

.pop-up__block a {
    display: block;
    background-color: #FBE941;
    padding: 10px 0px;
    text-align: center;
    color: #000;
    font-weight: 600;
    font-size: 16px;

    position: relative;

    border-radius: 10px;
    margin-bottom: 14px;

    transition: all .2s ease;
}

.pop-up__block a:hover {
    background-color: #988e36;
}

.pop-up__block a:last-child {
    margin-bottom: 0;
}

.hidden-pop {
    display: none;
}

.pop-up-exit {
    position: absolute;
    top: -10px;
    right: -10px;
}

.pop-up-exit img {
    width: 30px;
    transition: all .3s ease;
}

.pop-up-exit img:hover {
    cursor: pointer;
    transform: scale(1.1);
}


.pop-up-animation-go {
    animation-name: popUpGo;
    animation-iteration-count: 1;
    animation-duration: 1s;
}

.pop-up-animation-out {
    animation-name: popUpOut;
    animation-iteration-count: 1;
    animation-duration: 1s;
}

@keyframes popUpGo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popUpOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}