:root {
    --bg-color: #EDF2F4;
    --text-color: #2B2D42;
    --text-color-hover: #535778;
        
    --primary: #28F4D2;
    --primary-hover: #B2FBEF;
        
    --accent-yellow: #F9DF57;
    --accent-yellow-hover: #FEF894;
    
    --accent-purple: #BBA6FB;
    --accent-purple-hover: #DDCEFE;
        
    --accent-blue: #76CFF5;
    --accent-blue-hover: #A4E9FB;
    
    --gradient: linear-gradient(135deg, var(--primary), var(--accent-yellow), var(--accent-purple), var(--accent-blue));
}

body {
    font-family: 'Inter',Arial,sans-serif;
}
u {
    text-underline-position: from-font;
    text-decoration-style: dashed;
    cursor: help;
}

.t-popup__container.t-popup__container-static {
    margin: 0px auto;
}


/*   ------------------------- Текстовые стили -------------------------   */

.text-15 {
    font-family: 'Inter',Arial,sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.8;
}
.title-20 {
    font-family: 'Inter',Arial,sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.5;
    margin-bottom: 8px;
}
.c-white {
    color: #FFFFFF;
}
.c-primary {
    color: var(--primary);
}
.c-yellow {
    color: var(--accent-yellow);
}
.c-blue {
    color: var(--accent-blue);
}
.c-purple {
    color: var(--accent-purple);
}
.t-center {
    text-align: center;
}



/*   ------------------------- Кнопки -------------------------   */

.btn {
    display: flex;
    align-items: baseline;
    justify-content: center;
    width: fit-content;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--text-color) !important;
    background-color: var(--bg-color);
    border-radius: 12px;
    transition: 0.2s all ease-in-out;
}
.btn i {
    font-size: 16px;
    margin-right: 6px;
}
.btn-gradient {
    background-image: linear-gradient(135deg, var(--primary), var(--accent-yellow), var(--accent-purple), var(--accent-blue), var(--accent-purple), var(--accent-yellow),var(--primary), var(--accent-yellow), var(--accent-purple), var(--accent-blue));
    background-size: 350% 100%;
}
.btn-outline {
    border: 1px solid #2b2d42;
}

.btn-primary {
    background-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-yellow{
    background-color: var(--accent-yellow);
}

.btn-yellow:hover {
    background-color: var(--accent-yellow-hover);
}

.btn-blue {
    background-color: var(--accent-blue);
}
.btn-blue:hover {
    background-color: var(--accent-blue-hover);
}

.btn-purple {
    background-color: var(--accent-purple);
}
.btn-purple:hover {
    background-color: var(--accent-purple-hover);
}


.btn-sm {
    padding: 6px 16px;
     min-height: 34px;
}
.btn-md {
    padding: 12px 16px;
    min-height: 40px;
}
.btn-lg {
    padding: 12px 24px;
    min-height: 48px;
}

.btn-gmburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
}
.btn-gmburger i {
    font-size: 20px;
    color: var(--text-color) !important;
}

.btn-gradient:hover {
    animation: gradient-animation 2s linear infinite;
}

.btn:hover i{
    animation: pulse 2s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 100%;
  }
  
  100% {
    background-position: 100% 100%;
  }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1)
    }

    40% {
        transform: scale(1.15)
    }
    75% {
        transform: scale(0.9)
    }
}

.btn-center {
    display: flex;
    justify-content: center;
}



/*   ------------------------- Карточка база -------------------------   */

.base-card {
    display: flex;
    height: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    border-radius: 36px;
    background-color: var(--text-color);
}
.base-card > * {
    z-index: 1;
}

.employe-card {
    align-items: end;
    justify-content: center;
}

/*   --- Увеличивающийся фон ---   */

.scale-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    border-radius: 36px;
    z-index: 0 !important;
    overflow: hidden;
    transition: .2s all ease-in-out;
}
.scale-background::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: .2s all ease-in-out;
}

.base-card:hover .scale-background {
    transform: scale(1.05);
}

.base-card:hover .scale-background::before {
    backdrop-filter: blur(24px);
    opacity: 1;
}

/*   --- Скрытие/показ контента ---   */

.content-blur {
    padding: 12px 24px;
    backdrop-filter: blur(24px);
    border-radius: 12px;
    transition: .2s all ease-in-out;
}
.show-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    top: 0;
    /* right: 24px; */
    /* left: 24px; */
    margin-left: 24px;
    margin-right: 24px;
    bottom: 0;
    opacity: 0;
    transition: .2s all ease-in-out;
}

.base-card:hover .show-content {
    opacity: 1;
}
.hide-content {
    opacity: 1;
    transition: .2s all ease-in-out;
}
.base-card:hover .hide-content {
    opacity: 0;
}


/*   --- Blur карточка автолойаута ---   */
.card-auto-blur .tn-molecule {
    background-color: rgba(43,45,66,.2) !important;
    backdrop-filter: blur(48px);
}


/*   --- Мобильное меню для «Секретных материалов» ---   */
.btn-close-menu {
        top: 40px !important;
        left: 324px !important
    }
.popup-overlay {
    position: fixed !important;
    heigth: 100vh !important;
}

@media screen and (max-width: 639px) {
    .btn-close-menu {
        left: 404px !important
    }
}

@media screen and (max-width: 479px) {
    .btn-close-menu {
        left: auto !important;
        right: 20px !important;
    }
    .menu-divider {
        width: calc(100% - 40px) !important;
    }
}

.t396__artboard-fixed-no-bg{
    transition: .3s !important;
}
