/* ШРИФТЫ */
@font-face {
    font-family: 'Play';
    src: url(/fonts/Play/Play-Bold.ttf);
    font-weight: bold;
    font-style: normal;
}

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

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

@font-face {
    font-family: 'Roboto-Medium';
    src: url(/fonts/Roboto/Roboto-Medium.ttf);
}

@font-face {
    font-family: 'Roboto-Light';
    src: url(/fonts/Roboto/Roboto-Light.ttf);
}

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

/* ВСЕ ЭЛЕМЕНТы */
 * {
    margin:  0;
    padding: 0;
    box-sizing: border-box;
}

/* АДАПТИВ */
html {
    font-size: 6px;
}

@media (min-width: 1024px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 20px;
    }
}

@media (min-width: 2560px) {
    html {
        font-size: 26.6px;
    }
}

/* ПЕРЕМЕННЫЕ */
:root {
    --dark-white: #E7E7E7;
    --dark-blue: #002244;
    --blue: #01458A;
    --black: #0D1B2A;
    --gray: #829EB9;
    --light-blue: #00E8E8;
    --definition-glider-width: 50rem;
    --definition-glider-height: 50rem;
    --advantages-glider-width: 96rem;
    --advantages-glider-height: 54rem
}


/* КУКИ */
.cookie {
    z-index: 20;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 9rem;
    background-color: var(--blue);
    align-items: center;
    gap: 1rem;
    display: none;
}

.cookie.active {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

.cookie__text {
    color: white;
    font-family: 'Play';
    font-size: .8rem;
    line-height: 1.2rem;
    text-align: center;
}

.cookie__btn__list {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: 1rem;
}

.cookie__btn {
    width: 9rem;
    height: 3rem;
    background-color: var(--light-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    font-size: .8rem;
    font-family: 'Play';
    color: var(--blue);
    box-shadow: 0 0 1rem #00e8e871;
    transition: box-shadow .2s;
}

.cookie__btn:hover {
    box-shadow: 0 0 1rem #00e8e8b6;
}

.cookie__btn:active{
    box-shadow: 0 0 1rem #00e8e871;
}

/* ШАПКА */
header {
    width: 100%;
    padding: 0.8725rem 3.6rem 0 3.6rem;
    position: absolute;
    top: 0;
    z-index: 9;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem; 
}

.main__logo {
    width: 6rem;    
    height: 3.25rem;
}

.main__menu__list {
    padding-top: 0.5rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 3rem;          
}

.main__menu__list a {
    font-size: 0.8rem;  
    font-family: 'Play';
    color: var(--black);
    text-decoration: none;
}

.main__menu__list a:hover {
    color: var(--blue);
    border-bottom: 0.1rem solid var(--blue);
}

/* ШАПКА-ДОП */
.side__header__buttons {
    z-index: 10;
    position: fixed;
    top: 2rem;     
    right: 3.5rem; 
    width: 5.25rem;
    height: 1.2rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: end;
    align-items: center;
    gap: 1.25rem; 
    opacity: 0;
    transform: translateY(-3.5rem);
    transition: transform ease-out .1s, opacity ease .05s;
}

.side__header__buttons.active {
    opacity: 1;
    transform: translateY(0);
    transition: transform ease-out .4s, opacity ease .3s;
}

.side__logo {
    width: 2.2rem;   
    height: 1.2rem;  
    cursor: pointer;
}

.side__menu__button {
    width: 1.7395rem; 
    height: 0.9005rem; 
    cursor: pointer;
}

.side__menu__list {
    z-index: 10;
    position: fixed;
    top: 5.4rem; 
    right: 3.5rem;
    width: 14rem;
    height: 23.4rem;
    padding-left: 2.05rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: baseline;
    gap: 2.2rem; 
    background-color: var(--dark-white);
    box-shadow: 0 0 1rem rgb(131, 131, 131); 
    transform: translateX(17rem);
    opacity: 0;
    transition: transform .3s ease-out, opacity .2s;
    pointer-events: none;
}

.side__menu__list.active {
    opacity: 1;
    transform: translateX(0);
    transition: transform .4s ease-out, opacity .5s;
    pointer-events: all;
}

.side__menu__list a {
    display: block;
    font-family: 'Play';
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--black);
}

.side__menu__list a:hover {
    color: var(--blue);
    box-shadow: 0 .1rem 0 var(--blue);
}

.side__menu__list a:active {
    color: #2c649d;
    box-shadow: 0 .1rem 0 var(--blue);
}


/* ВИДЕОЗАСТАВКА */
.video__container {
    font-family: 'Play';
    display: flex; 
    flex-flow: column nowrap;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video__container video {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ПОВЕРХ ВИДЕОЗАСТАВКИ */
.video__content {
    width: 100%;
    margin-top: 70vh;
    display: flex;
    flex-flow: row nowrap;
    gap: 2.25rem;
    z-index: 3;
    align-items: center;
    justify-content: center;
}

.page__name__first {
    font-family: 'Play';
    color: white;
    font-size: 4.8rem; 
    opacity: 0;
    transform: translateX(-2rem); 
}

.page__name__first.moved {
    transform: translateX(0);
    opacity: 1;
    transition: transform ease 1s, opacity ease 1s;
}

.page__name__second {
    font-family: 'Play';
    color: white;
    font-size: 4.8rem;
    opacity: 0;
    transform: translateX(2rem);
}

.page__name__second.moved {
    transform: translateX(0);
    opacity: 1;
    transition: transform ease 1s, opacity ease 1s;
}


/* ОПРЕДЕЛЕНИЕ ПОДВОДНОГО ГЛАЙДЕРА */
.description__section {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    background-color: var(--dark-white);
    overflow: hidden;
}

.description__block {
    width: 96rem;
    position: relative;
    display: flex;
    flex-flow: column nowrap;
}

/* ГРАДИЕНТЫ */
.description__gradient__1 {
    width: 42rem;
    height: 36rem;
    z-index: 0;
    position: absolute;
    top: -84px;
    left: -340px;
    background-image: radial-gradient(farthest-side, #01458a46 0%, #01458a46 20%, #e7e7e700 100%);
}

.description__gradient__2 {
    z-index: 0;
    width: 118rem;
    height: 45rem;
    z-index: 1;
    position: absolute;
    top: -50px;
    right: -1100px;
    background-image: radial-gradient(farthest-side, #01458a46 0%, #01458a46 20%, #e7e7e700 100%);
}

.description__information {
    z-index: 2;
    width: inherit;
    height: inherit;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
}

.description__text {
    z-index: 2;
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
    padding: 6rem 0 6rem 3.5rem;
}

.description__title {
    width: 46.5rem;
    font-family: 'Play';
    font-size: 3rem;
    color: var(--black);
}

.description__definition {
    width: 38rem; 
    font-family: 'Roboto-light';
    font-size: 1.1rem;
    line-height: 145%;
    color: var(--black);
}
/* АНИМАЦИЯ 3д МОДЕЛИ */
.definition__model {
    z-index: 1;
    position: absolute;
    right: 0;
    top: -10rem;
    width: var(--definition-glider-width);
    height: var(--definition-glider-height);
    overflow: hidden;
    max-width: 100%;
}
/* ХАРАКТЕРИСТИКА ГЛАЙДЕРА */
.glider__characteristic {
    z-index: 2;
    width: 100%;
    height: 10rem;
    padding: 0 3.9rem 0 3.5rem;
    display: flex;
    flex-flow: row nowrap;
    gap: 0.7rem;
    justify-content: flex-end;
}

.characteristic__item {
    width: 100%; 
    height: 10rem;
    display: flex;
    flex-flow: column nowrap;
    gap: 0.25rem;
    padding: 1.85rem;
    background-color: white;
}

.characteristic__title {
    font-family: 'Play';
    font-size: 1.8rem;
    color: var(--blue);
}

.characteristic__value {
    font-family: 'Roboto-Bold';
    font-size: 3.2rem;
    color: var(--gray);
}



/* СЕКЦИЯ С ОБЛАСТЯМИ ПРИМЕНЕНИЯ */
.application__areas__block {
    background-color: var(--dark-white);
    height: 65rem; 
    display: flex;
    flex-flow: row nowrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* ВИДЕО С ГЛАЙДЕРОМ */
.application__areas__video__container {
    width: 47.5rem;  
    height: 54rem;
    background-color: black;
    position: relative;
    overflow: hidden;
}

.application__areas__video {
    width: inherit;  
    height: inherit;
    position: absolute;
    top: 0;
    opacity: 0;
    object-fit: cover;
}

.application__areas__video.active {
    opacity: 1;
}

.application__areas__video__pause {
    position: absolute;
    top: calc(50% - 1.05rem);
    left: calc(50% - 1.05rem);
    width: 3rem;
    height: 3rem;
    background-color: rgba(29, 25, 25, 0.329);
    border-radius: 100%;
    padding: .5rem;
    cursor: pointer;
    display: none;
}

.application__areas__video__pause.active {
    display: block;
}

.application__areas__video__play {
    position: absolute;
    top: calc(50% - 1.05rem);
    left: calc(50% - 1.05rem);
    width: 3rem;
    height: 3rem;
    background-color: rgba(29, 25, 25, 0.329);
    border-radius: 100%;
    padding: .5rem;
    object-fit: fill;
    cursor: pointer;
    display: none;
}

.application__areas__video__play.active {
    display: block;
}


/* ОБЛАСТИ ПРИМЕНЕНИЯ ИКОНКИ И ТЕКСТ */
.application__areas__description {
    overflow: hidden;
    width: 47.5rem;  
    height: 54rem;  
    background-image: linear-gradient(var(--dark-white) 0%, #F6F6F6 11%, white 50%, #F6F6F6 92%, var(--dark-white) 100%);
    padding-left: 6rem; 
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: baseline;
}

.application__areas__title {
    font-family: 'Play';
    font-size: 3rem;
    color: var(--black);
    margin: 0 0 3.5rem 0;
}

.application__areas__cards {
    height: calc(3*15rem + 2*5rem);
    width: calc(2*15rem + 3.25rem);
    display: flex;
    flex-flow: row wrap;
    gap: 2rem 4.25rem; 
}

.application__areas__card {
    width: 14rem;
    height: 14.5rem; 
    display: flex;
    flex-flow: column nowrap; 
    justify-content: flex-start;
    align-items: baseline;
    gap: .75rem;
}

.application__areas__card__img {
    width: 6.5rem; 
    height: 5.5rem; 
}

.application__areas__card__title {
    font-family: 'Play';
    font-size: 1.1rem; 
    color: var(--black);
    line-height: 120%;
}

.application__areas__card__text {
    font-family: 'Roboto-Regular';
    font-size: 0.8rem;
    color: var(--black);
    line-height: 140%;
}

/* СЕКЦИЯ С ПЕРЕКЛЮЧЕНИЕМ И СВЯЗЬЮ */
#switch-section {
    width: 100%;
    height: 40rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    background-color: var(--blue);
}

.switch__text__list {
    width: 41rem;
    height: 40rem;  
    overflow: hidden;
    position: relative;
}

.switch__text__item {
    z-index: -1;
    width: 100%;
    height: 100%;
    padding: 0 5.25rem 0 3.4rem;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    gap: 1.7rem; 
    opacity: 0;
    position: absolute;
    transform: translateX(0);
    transition: transform ease-in-out 1s;
}

.switch__text__item.active {
    z-index: 0;
    opacity: 1;
    transform: translateX(0);
}

.switch__text__item.left {
    z-index: 0;
    transform: translateX(-100%);
}

.switch__text__item.right {
    z-index: 0;
    transform: translateX(100%);
}

.switch__text__item__title {
    width: 30rem;
    font-family: 'Play';
    font-size: 2.4rem;
    color: white;
}

.switch__text__item__description {
    display: flex;
    flex-flow: column nowrap;
    gap: 0.55rem;  
}

.switch__text__item__paragraph {
    width: 100%;
    font-size: 1.1rem; 
    font-family: 'Roboto-Light';
    line-height: 145%;
    color: white;
}

.contact__company__btn {
    z-index: 1000;
    width: 14.55rem; 
    height: 3.05rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.825rem;  
    background-color: var(--light-blue);
    box-shadow: 0 0 1rem var(--light-blue);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 1rem #00e8e857;
}

.contact__company__btn:hover {
    box-shadow: 0 0 1rem #00e8e8b7;
}

.contact__company__btn:active {
    box-shadow: 0 0 1rem #00e8e857;
}

.contact__company__btn__text {
    font-size: 0.8rem;
    font-family: 'Play';
    color: var(--blue);
}

.contact__company__btn__img {
    width: 1.75rem;
    height: 1.75rem;
}

/* БЛОКИ С ФОТО */
.switch__image__list {
    z-index: 1;
    width: 55rem;
    height: 40rem;
    position: relative;
    overflow: hidden;
}

.switch__image__item {
    width: 55rem;
    height: 40rem;
    object-fit: cover;
    transform: translateX(0);
    opacity: 0;
    transition: transform ease-in-out 1s;
    position: absolute;
}

.switch__image__item.active {
    opacity: 1; 
    transform: translateX(0);
}
 
.switch__image__item.left {
    transform: translateX(-100%);
}

.switch__image__item.right {
    transform: translateX(100%);
}

#switch__left__btn, #switch__right__btn {
    width: 1.6rem;
    height: 1.6rem; 
    position: absolute;
    top: calc((40rem / 2) - 0.8rem);
    z-index: 5;
    cursor: pointer;
}
#switch__left__btn {
    left: 2.2rem; 
}
#switch__right__btn {
    right: 2.2rem; 
}

/* СЕКЦИЯ ПРЕИМУЩЕСТВА */
.advantages__block {
    width: 100%;
    background-color: var(--dark-white);
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    overflow: hidden;
}

.advantages__content {
    width: 96rem;
    height: 60rem;
    position: relative;
}

.advantages__title {
    z-index: 1;
    font-family: 'Play';
    text-align: center;
    font-size: 3rem;
    color: var(--black);
    padding: 45px 75px;
    padding: 120px 0 0 0;
}

.ad__gradient {
    z-index: 0;
    width: 86rem;
    height: 90vh;
    z-index: 0;
    position: absolute;
    top: 8rem;
    left: 10rem;
    background-image: radial-gradient(farthest-side, #01458a46 0%, #01458a2f 50%, #e7e7e700 100%);
}

.ad__planet {
    z-index: 1;
    position: absolute;
    top: 29rem;
    right: 7rem;
    width: 79.6rem;
    height: 15.8rem;
    opacity: 0;
    transition: opacity .3s;
}

.ad__planet.active {
    opacity: 1;
}

.ad__model {
    z-index: 2;
    width: var(--advantages-glider-width);
    height: var(--advantages-glider-height);
    position: absolute;
    top: 0;
    left: 0;
}

.ad__info__btn {
    width: 2.4rem;
    height: 2.4rem;
    z-index: 3;
    position: absolute;
    background-color: #0022445b;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 1.7rem #00e8e85e;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    transition: transform .2s, opacity 1s;
}

.ad__info__btn.active {
    pointer-events: all;
    opacity: 1;
}

.ad__info__btn:hover {
    transform: rotateZ(-45deg);
}

.ad__info__btn:active {
    transform: rotateZ(-45deg);
    box-shadow: 0 0 2rem #00e8e88f;
}

.ad__info__btn__content {
    width: 1.8rem;
    height: 1.8rem;
    background-color: var(--blue);
    border-radius: 100%;
    color: var(--light-blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad__info__btn__sign {
    width: .6rem;
    height: .6rem;
}

.ad__info__btn.first {
    top: 21rem;
    left: 38rem;
}

.ad__info__btn.second {
    top: 24rem;
    right: 45rem;
}

.ad__info__btn.third {
    top: 28rem;
    left: 35rem;
}

.ad__info__btn.fourth {
    top: 32rem;
    right: 36rem;
}

.ad__info__btn.fifth {
    top: 37rem;
    right: 48rem;
}

.ad__info__block {
    z-index: 3;
    position: absolute;
    width: 22.6rem;
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(.8);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s, opacity .3s;
}

.ad__info__block.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.ad__info__block.first {
    top: 16rem;
    left: 13rem;
}

.ad__info__block.second {
    top: 19rem;
    right: 20rem;
}

.ad__info__block.third {
    top: 28rem;
    left: 10rem;
}

.ad__info__block.fourth {
    top: 31rem;
    right: 11rem;
    width: 22.6rem;
}

.ad__info__block.fifth {
    top: 41rem;
    right: 44rem;
}

.ad__info__block__rel {
    width: inherit;
    height: inherit;
    padding: 1.2rem 1.5rem;
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    gap: .5rem;
}

.ad__info__block__title {
    font-family: 'Play';
    font-size: 1,2rem;
    color: var(--blue);
}
.ad__info__block__text {
    font-family: 'Roboto-Regular';
    font-size: .8rem;
    color: var(--black);
    line-height: 140%;
}

.ad__info__block__img {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
}

#ad-info-img-1 {
    width: 3.05rem;
    height: 2.4rem;
} 

#ad-info-img-2 {
    width: 3.05rem;
    height: 2.9;
}

#ad-info-img-3 {
    width: 3.2rem;
    height: 2.8rem;
}

#ad-info-img-4 {
    width: 1.6rem;
    height: 2.5rem;
}

#ad-info-img-5 {
    width: 4.9rem;
    height: 1.8rem;
}


/* СЕКЦИЯ ПРОДЕЛАННАЯ РАБОТА */
.carried__work__section {
    width: 100%;
    height: auto;
    background-color: var(--dark-white);
    display: flex;
    justify-content: center;
}

.carried__work__content {
    width: 96rem;
    height: inherit;
    padding: 0 3.5rem 6rem 3.5rem;
    overflow: hidden;
}

.carried__work__title {
    font-family: 'Play';
    font-size: 3rem; 
    color: var(--black);
    padding: 0 0 3.5rem 0;
}

.carried__work__gallery {
    width: 100%; 
    height: 39.5rem;   
    background-color: var(--dark-white);
    display: flex;
    flex-flow: row nowrap;
    justify-content: baseline;
    gap: 0;
    overflow: hidden;
}

.work__gallery__item {
    position: relative;
    width: 22.25rem;
    height: inherit;
    padding-left: 1.75rem; 
    padding-bottom: 5.25rem;
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;            
    justify-content: flex-end;
    background-color: var(--black);
    overflow: hidden;
    transition: width .5s;
}

.work__gallery__item.active {
    width: 34rem;    
    padding-bottom: 3rem; 
}

.work__gallery__item.inactive {
    width: calc((100% - 34rem) / 3); 
}

.work__gallery__year {
    z-index: 2;
    width: 6rem;    
    font-family: 'Roboto-Medium';
    font-size: 1.2rem;   
    color: white;
}

.work__gallery__title {
    z-index: 2;
    width: 19.5rem;  
    height: 9.25rem; 
    font-family: 'Roboto-Medium';
    font-size: 1.6rem;
    line-height: 120%;
    color: white;
    position: static;
    opacity: 1;
}

.work__gallery__item.active .work__gallery__title {
    width: 26.25rem;
    height: 6.75rem;  
}

.work__gallery__text {
    z-index: 2;
    width: 32rem;    
    font-family: 'Roboto-Light';
    font-size: 0.8rem;  
    line-height: 150%;
    color: white;
    opacity: 0;
    position: absolute;
    transition: opacity ease-out 0.1s;
}

.work__gallery__item.active .work__gallery__text {
    position: static;
    transition: opacity ease-in .3s;
}

.work__gallery__item.inactive .work__gallery__title {
    width: 15rem;
}

.work__gallery__background {
    width: 100%;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    object-fit: cover;
    opacity: 0.7;
}

.work__gallery__background.active {
    opacity: 1;
}


/* ПОДВАЛ С ССЫЛКАМИ И КАРТОЙ */
.contacts__section {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    background-color: var(--dark-white);
    overflow: hidden;
}

#contacts {
    width: 96rem;
    height: 25rem;
    padding: 0 3.5rem 0 3.5rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.footer__contacts {
    width: 28rem; 
    height: 25rem; 
    display: block;
}

.contacts__title {
    font-family: 'Play';
    font-size: 2.1rem;
    color: var(--black);
    margin: 0 0 3rem 0;
}

.contacts__list {
    display: flex;
    flex-flow: column nowrap;
    gap: 2.2rem;
    font-family: 'Roboto-Regular';
    font-size: .8rem;
}

.contact__img__block {
    position: relative;
    padding: 0 0 0 2.25rem;
}

.contact__img {
    position: absolute;
    left: 0;
    top: calc(50% - .75rem);
    width: 1.5rem;
    height: 1.5rem;
}

.footer__map {
    width: 59rem;
    height: 20rem;     
}

footer {
    padding: 1.5rem 3.5rem 1.5rem 3.5rem;
    display: flex;
    flex-flow: column nowrap;
    gap: .6rem;
    background-color: var(--black);
}

footer div {
    width: 16.5rem;
    color: white;
    font-size: .8rem;
    line-height: 140%;
    font-family: 'Roboto-Regular';
}

.contact__link:link {
    color: var(--dark-blue);
}

.contact__link:visited {
    color: var(--blue);
}