@charset "UTF-8";
@font-face {
  font-family: 'et-line';
  src: url("../fonts/et-line.eot");
  src: url("../fonts/et-lined41d.eot?#iefix") format("embedded-opentype"), url("../fonts/et-line.woff") format("woff"), url("../fonts/et-line.ttf") format("truetype"), url("../fonts/et-line.svg#et-line") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* ----------------------------------
   Адаптация под мобильные устройства/ноутбуков
---------------------------------- */
@media (max-width: 1280px) {
  .section {
    position: relative !important;
    height: auto !important;
  }
  .section .section-main-block,
  .section .section-secondary-block {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    padding: 18px 0 !important;
    border: none !important;
    
  }
  .section .section-block-heading {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    margin: 0 0 12px 0 !important;
    text-align: left !important;
    padding: 20px;
  }
  .section .section-block-heading h2 {
    transform: none !important;
    -webkit-transform: none !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    font-size: clamp(1.2rem, 2.6vw, 1.6rem) !important;
    letter-spacing: 0.5px !important;
  }
  .section .section-block-content .section-block-inner,
  .section .section-block-content-centered .section-block-inner {
    position: relative !important;
    padding: 14px 18px !important;
    transform: none !important;
    -webkit-transform: none !important;
    box-sizing: border-box !important;
  }
  .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-item { height: auto !important; }
  .owl-carousel .owl-dots { margin-top: 12px !important; }
}

@media (max-width: 1024px) {
  .section .section-block-content-centered .section-block-inner { padding: 12px 14px !important; }
  .section .section-block-heading h2 { font-size: 1.2rem !important; }
  .section .section-block-content .section-block-inner p { font-size: 0.98rem !important; }
  .section .section-secondary-block { margin-bottom: 12px !important; }
  .section .section-secondary-block .section-block-inner { padding: 12px !important; }
  .section .section-block-content .section-block-inner li { font-size: 14px !important; }
  /* Make carousel controls slightly smaller */
  .owl-carousel .owl-prev, .owl-carousel .owl-next { transform: scale(0.9); }
}

@media (max-width: 768px) {
  .mfp-content { 
    height: 752px;
    width: 50px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .popup { 
    height: 1020px;
    width: 1020px;
    padding: 20px;
  }
}

@media (max-width: 1024px) {
  .popup { 
    max-width: 820px;
    height: 820px;
    max-width: 820px;
    padding: 10px;
  } 
}

/*------------------------------------------------------------------
[Що тут?]

1. Базовый стиль
2. Макет
3. выравнивание строк, стилий и т.д
4. загрузчик анимаций
5. заголовки
6. контент страниц
7. навигация
8. кнопочки
9. элеиенты форм того или иного
10. общие элименты структур
11. медия, сошл и т.д
12. Резюме
13. Анимация появления букв на главной страницу
14. Изменение плашек выбранной категории: главная, обо мне, резюме, потфолио, контакты, блог
-------------------------------------------------------------------*/
/*=============================================>>>>>
= базовый стиль =
===============================================>>>>>*/
html,
body {
  overflow: hidden;
  height: 100%;
}

html.no-js,
body.no-js {
  overflow: visible;
  height: auto;
}

html.no-js body,
body.no-js body {
  overflow: visible;
  height: auto;
}

body {
  margin: 0;
  background: url(../images/main-bg.png);
  font: 81.3% Space Mono, monospace;
  color: #000;
  -webkit-tap-highlight-color: transparent;
  
}

main {
  display: block;
 
}

h1 {
  margin: 0 0 15px;
  font: bold 6.1538461538em/1 Poppins, sans-serif;
}

h2 {
  margin: 0 0 30px;
  font: bold 1.3846153846em/1 Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h3 {
  margin: 0 0 15px;
  font: 1.9230769231em/1 Reenie Beanie, cursive;
}

p {
  margin: 0 0 30px;
  line-height: 1.5;
  color: #ff0000;
 
}

ul,
ol {
  margin: 0 0 30px;
  line-height: 1.5;
  color: #777;
}

ul li,
ol li {
  padding: 0 0 5px;
  color: rgb(0, 0, 0);
  
}

address {
  margin: 0 0 30px;
  line-height: 1.5;
  color: #777;
}

blockquote {
  position: relative;
  margin: 0 0 30px;
}

blockquote header {
  text-align: center;
  
}

blockquote header .author-photo {
  overflow: hidden;
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 0 15px;
  margin-top: 9px;
  
}

blockquote p {
  margin: 0;
  font-style: italic;
}

blockquote footer {
  text-align: center;
}

blockquote footer cite {
  display: block;
  padding: 15px 0 0;
  font: 1.9230769231em Reenie Beanie, cursive;
  text-align: center;
}

table {
  border-collapse: collapse;
}

a {
  color: #000000;
  cursor: grab;

}

a:hover {
  text-decoration: none;
}

b,
strong {
  font-weight: bold;
}

hr {
  position: relative;
  overflow: visible;
  display: block;
  margin: 35px 0;
  height: 2px;
  background: #000;
  border: none;
  color: inherit;
}

figure {
  position: relative;
  margin: 0 0 30px;
}

figure img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

iframe {
  border: none;
  vertical-align: bottom;
}

/*=============================================>>>>>
= макет =
===============================================>>>>>*/
.wrapper {
  height: 100%;
}

.wrapper .wrapper-inner {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  margin: 0 auto;
  top: 0;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  min-height: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.no-js .wrapper {
  height: auto;
}

.no-js .wrapper .wrapper-inner {
  position: relative;
  left: 0;
  height: auto;
  -webkit-transform: none;
          transform: none;
}

.margin-top {
  margin-top: 140px;
}

.margin-bottom {
  margin-bottom: 140px;
}

.padding-top {
  padding-top: 140px;
}

.padding-bottom {
  padding-bottom: 140px;
}

.no-margin {
  margin: 0 !important;
}

.no-padding {
  padding: 0 !important;
}

/*=============================================>>>>>
= выравнивание =
===============================================>>>>>*/
.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.alignleft {
  float: left;
  margin: 0 30px 15px 0;
}

.alignright {
  float: right;
  margin: 0 0 15px 30px;
}

/*=============================================>>>>>
= загрузочный экран сайта =
===============================================>>>>>*/
.site-loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.site-loader.loading-complete {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.site-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(199, 55, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
    animation: cosmicPulse 8s ease-in-out infinite;
}

.site-loader::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, transparent 20%, #0a0a0a 70%),
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 0, 0, 0.02) 3px, rgba(255, 0, 0, 0.02) 4px);
    animation: starfield 20s linear infinite;
}

/* 3D Сфера  */
.loader-sphere {
    width: 150px;
    height: 150px;
    margin: 0 auto 50px;
    position: relative;
    transform-style: preserve-3d;
    animation: floatSphere 6s ease-in-out infinite;
}

.sphere-container {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateSphere 12s linear infinite;
}

.sphere-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.sphere-ring:nth-child(1) { transform: rotateX(0deg); }
.sphere-ring:nth-child(2) { transform: rotateX(30deg); }
.sphere-ring:nth-child(3) { transform: rotateX(60deg); }
.sphere-ring:nth-child(4) { transform: rotateX(90deg); }
.sphere-ring:nth-child(5) { transform: rotateX(120deg); }
.sphere-ring:nth-child(6) { transform: rotateX(150deg); }

.sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff0000, #c73737);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.6),
        0 0 60px rgba(255, 0, 0, 0.3);
    animation: pulseCore 2s ease-in-out infinite alternate;
}

/* Логотип с анимацией */
.loader-logo {
    position: relative;
    margin-bottom: 60px;
    transform: translateZ(0);
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.555));
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;

    border-radius: 10px;
    z-index: -1;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.site-loader.loading-complete .loader-logo {
    transform: scale(0.8) translateY(-20px);
    opacity: 0;
}

/* Кнопка входа */
.enter-button {
    position: relative;
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.15) 0%, 
        rgba(199, 55, 55, 0.1) 50%, 
        rgba(255, 0, 0, 0.15) 100%);
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 50px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: buttonEntrance 8s cubic-bezier(0.77, 0, 0.175, 1) 5s forwards;
    box-shadow: 
        0 5px 25px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
/*animation: fadeInUp 0.8s ease 2s forwards;*/
.enter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.8s ease;
}

.enter-button::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.4), 
        rgba(199, 55, 55, 0.2), 
        rgba(255, 0, 0, 0.4));
    border-radius: 52px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.enter-button:hover {
    background: linear-gradient(135deg, 
        rgba(255, 0, 0, 0.25), 
        rgba(199, 55, 55, 0.2));
    border-color: rgba(255, 0, 0, 0.6);
    transform: translateY(30px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 4px;
}

.enter-button:hover::before {
    left: 100%;
}

.enter-button:hover::after {
    opacity: 1;
}

.site-loader.loading-complete .enter-button {
    transform: translateY(60px) scale(0.8);
    opacity: 0;
}

.enter-button:active {
    transform: translateY(-4px) scale(1.02);
    transition: all 0.2s ease;
}

/* Частицы */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.8), transparent);
    animation: floatParticle 1s ease-in-out infinite;
}

.site-loader .site-loader-inner {
    position: relative;
    text-align: center;
    z-index: 2;
    transform: translateY(0);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.site-loader-inner {
    position: relative;
    text-align: center;
    z-index: 2;
    transform: translateY(0);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.no-js .site-loader {
  display: none;
}

.site-loader.loading-complete .site-loader-inner {
    transform: translateY(-50px);
}

/* Прогресс загрузки */
.loading-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.loading-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255, 255, 255), transparent);
    animation: progressShine 8s ease-in-out infinite;
}

.site-loader.loading-complete .loading-progress {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.particle:nth-child(3n) { 
    width: 3px; 
    height: 3px; 
    background: radial-gradient(circle, rgba(255, 107, 107, 0.9), transparent);
}
.particle:nth-child(3n+1) { 
    width: 2px; 
    height: 2px; 
    background: radial-gradient(circle, rgba(255, 0, 0, 0.7), transparent);
}
.particle:nth-child(3n+2) { 
    width: 4px; 
    height: 4px; 
    background: radial-gradient(circle, rgba(199, 55, 55, 0.8), transparent);
}

/* Текст подсказки */
.loader-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.774);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1s ease 6s forwards;
}

.site-loader.loading-complete .loader-hint {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

/* Анимации */
@keyframes floatSphere {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes rotateSphere {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    100% { transform: rotateY(360deg) rotateX(360deg); }
}

@keyframes pulseCore {
    0% { 
        box-shadow: 
            0 0 30px rgba(255, 0, 0, 0.6),
            0 0 60px rgba(255, 0, 0, 0.3);
        transform: translate(-50%, -50%) scale(1);
    }
    100% { 
        box-shadow: 
            0 0 50px rgba(255, 0, 0, 0.8),
            0 0 80px rgba(255, 0, 0, 0.4);
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes cosmicPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes starfield {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1); 
        opacity: 0;
    }
    25% { 
        transform: translateY(-100px) translateX(50px) scale(1.5); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-200px) translateX(-50px) scale(1); 
        opacity: 0.5;
    }
    75% { 
        transform: translateY(-150px) translateX(100px) scale(1.2); 
        opacity: 0.8;
    }
}

@keyframes logoGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes buttonEntrance {
    0% { 
        opacity: 0; 
        transform: translateY(40px) scale(0.9); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}
/*=============================================>>>>>
= заголовки =
===============================================>>>>>*/
.site-header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  z-index: 10;
  border: 2px solid #000000;
}

.site-header .logo {
  position: absolute;
  left: 30px;
  top: -1vh;

}

.site-header .nav-main {
  position: absolute;
  right: 15px;
  top: 0;
  
}

/*=============================================>>>>>
= контент страниц =
===============================================>>>>>*/
.site-content {
  position: absolute;
  left: 0;
  top: 90px;
  bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  -webkit-perspective: 800px;
          perspective: 800px;
}

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

.no-js .site-content {
  position: relative;
  top: 0;
  bottom: 0;
  padding-top: 80px;
}

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

.section .section-main-block,
.section .section-secondary-block {
  position: absolute;
  overflow: hidden;
  background: #fff;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  box-sizing: border-box;
  color: #ff0000;
  opacity: 0;
  font-size: 15px;
  border: 2px solid #000000;
}

.section .section-main-block .section-block-heading,
.section .section-secondary-block .section-block-heading {
  position: absolute;
  left: 0;
  top: 40px;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-transform: rotate(-90deg) translateX(-100%);
  transform: rotate(-90deg) translateX(-100%);
  z-index: 10;
}

.section .section-main-block .section-block-heading h2,
.section .section-secondary-block .section-block-heading h2 {
        margin: 0;
        padding: 15px 0 0;
        opacity: 0;
        -webkit-transform: translateY(-100%); section-main-block
        transform: translateY(-100%);
        transition: 0.3s;
}

.section .section-main-block .section-block-heading h2:before,
.section .section-secondary-block .section-block-heading h2:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-bottom: 10px solid;
}

.section .section-main-block {
  left: 0;
  top: 0;
  width: 100%;
  height: calc(60% - 10px);
}

.section .section-secondary-block {
  bottom: 0;
  width: calc(50% - 5px);
  height: 40%;
}

.section .section-secondary-block-left {
  left: 0;
  -webkit-animation-delay: 0.15s;
          animation-delay: 0.15s;
}

.section .section-secondary-block-right {
  right: 0;
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

.section.section-out {
  z-index: 10;
}

.section.section-out .section-main-block,
.section.section-out .section-secondary-block {
  opacity: 1;
}

.section.section-in {
  z-index: 6;
}

.section.section-in .section-main-block,
.section.section-in .section-secondary-block {
  opacity: 1;
}

.section.section-in .section-main-block .section-block-heading h2,
.section.section-in .section-secondary-block .section-block-heading h2 {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.section.section-in .section-main-block .section-block-heading h2 {
  transition-delay: 0.6s;
}

.section.section-in .section-secondary-block-left .section-block-heading h2 {
  transition-delay: 0.75s;
}

.section.section-in .section-secondary-block-right .section-block-heading h2 {
  transition-delay: 0.9s;
}

.section .flipIn {
  -webkit-animation-name: flipIn;
          animation-name: flipIn;
}

.section .flipOut {
  -webkit-animation-name: flipOut;
          animation-name: flipOut;
}

.section .section-block-content {
  overflow: hidden;
  overflow-y: auto;
  height: 100%;
  scroll-behavior: smooth;
 
}

.section .section-block-content .section-block-inner {
  padding: 30px 70px 0;
  
}

.section .section-block-content-centered {
  overflow: hidden;
  height: 100%;
  
}

.section .section-block-content-centered .section-block-inner {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  padding: 0 70px;
  box-sizing: border-box;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
         
}

.section .section-block-content-centered .section-block-inner.owl-carousel {
  position: relative;
  top: 0;
  height: 100%;
  padding: 0;
  -webkit-transform: none;
          transform: none;
         
}

.section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer {
  height: 100%;
  
}

.section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage {
  height: 100%;
  
}

.section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage .owl-item {
  height: 100%;
  
}

.section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage .owl-item .slide {
  position: relative;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  max-width: 90vw;
  width: 80%;
  box-sizing: border-box;
  padding: 0 15px;
          
}

.section .section-block-content-centered .section-block-inner.owl-carousel .owl-dots {
  position: absolute;
  cursor: grab;
  left: 0;
  bottom: 15px;
  width: 100%;
  
}

.section.section-home .section-main-block {
  background-image: url(../images/section-home-main-bg.png);
}

.section.section-home .section-secondary-block-left {
  background-image: url(../images/section-home-secondary-bg.jpg);
}

.section.section-home .section-secondary-block-right {
  background-image: url(../images/section-home-secondary-bg-2.jpg);
}

body[data-animation-in=''] .section .section-main-block,
body[data-animation-in=''] .section .section-secondary-block,
body[data-animation-out=''] .section .section-main-block,
body[data-animation-out=''] .section .section-secondary-block {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.12, 1.175);
          animation-timing-function: cubic-bezier(0.175, 0.885, 0.12, 1.175);
}

body[data-animation-in=''] .section.section-in,
body[data-animation-out=''] .section.section-in {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

body[data-animation-in=''] .section.section-in .section-main-block,
body[data-animation-in=''] .section.section-in .section-secondary-block,
body[data-animation-out=''] .section.section-in .section-main-block,
body[data-animation-out=''] .section.section-in .section-secondary-block {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
}

body[data-animation-in=''] .section.section-out,
body[data-animation-out=''] .section.section-out {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

body[data-animation-in=''] .section.section-out .section-main-block,
body[data-animation-in=''] .section.section-out .section-secondary-block,
body[data-animation-out=''] .section.section-out .section-main-block,
body[data-animation-out=''] .section.section-out .section-secondary-block {
  opacity: 1;
}

.no-js .section {
  position: relative;
  height: auto;
}

.no-js .section .section-main-block,
.no-js .section .section-secondary-block {
  position: relative;
  width: auto;
  height: auto;
  margin: 0 0 30px;
  opacity: 1;
}

.no-js .section .section-main-block .section-block-heading h2,
.no-js .section .section-secondary-block .section-block-heading h2 {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.no-js .section .section-block-content {
  overflow: visible;
  height: auto;
  
}

.no-js .section .section-block-content .section-block-inner {
  padding-bottom: 70px;
  
}

.no-js .section .section-block-content-centered {
  overflow: visible;
  height: auto;
 
}

.no-js .section .section-block-content-centered .section-block-inner {
  position: relative;
  top: 0;
  padding: 70px;
  -webkit-transform: none;
          transform: none;
         
}

.no-js .section .section-block-content-centered .section-block-inner.owl-carousel {
  height: auto;
  
}

.no-js .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer {
  height: auto;
 
}

.no-js .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage {
  height: auto;
 
}

.no-js .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage .owl-item {
  height: auto;
  
}

.no-js .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage .owl-item .slide {
  position: relative;
  top: 0;
  -webkit-transform: none;
          transform: none;
          
}

.no-js .section .section-block-content-centered .section-block-inner.owl-carousel .owl-dots {
  position: relative;
  bottom: 0;
  
}

.no-js body[data-animation-in=''] .section .section-main-block,
.no-js body[data-animation-in=''] .section .section-secondary-block,
.no-js body[data-animation-out=''] .section .section-main-block,
.no-js body[data-animation-out=''] .section .section-secondary-block {
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  -webkit-transform: none;
          transform: none;
}

.no-js body[data-animation-in=''] .section.section-in .section-main-block,
.no-js body[data-animation-in=''] .section.section-in .section-secondary-block,
.no-js body[data-animation-out=''] .section.section-in .section-main-block,
.no-js body[data-animation-out=''] .section.section-in .section-secondary-block {
  -webkit-transform: none;
          transform: none;
}

@-webkit-keyframes flipIn {
  0% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  100% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}

@keyframes flipIn {
  0% {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  100% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}

@-webkit-keyframes flipOut {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  100% {
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg);
  }
}

@keyframes flipOut {
  0% {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  100% {
    -webkit-transform: rotateY(-180deg);
            transform: rotateY(-180deg);
  }
}

/*=============================================>>>>>
= навигация =
===============================================>>>>>*/
.nav-main {
  text-align: right;
}

.nav-main ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  color: inherit;
  font: bold 1.0769230769em/80px Poppins, sans-serif;
  transition: 0.6s;
}

.nav-main ul li {
  float: left;
  padding: 0;
  color: red;
}

.nav-main ul li a {
  position: relative;
  display: block;
  vertical-align: middle;
  height: 80px;
  padding: 0 15px;
  text-decoration: none;
  color: inherit;
  transition: 1.3s;
}
/* изменение плашек выбранной категории: главная, обо мне, резюме, потфолио, контакты, блог */
.nav-main ul li a:before {                                                                 /**/
  content: '';                                                                             /**/
  position: absolute;                                                                      /**/
  left: 0;                                                                                 /**/
  bottom: 0;                                                                               /**/
  width: 100%;                                                                             /**/
  height: 0;                                                                               /**/
  background: #a56060;                                                                   /**/
  z-index: -1;                                                                             /**/
  transition: 1.3s;                                                                        /**/
  border-width: 22px;                                                                      /**/
  border-color: red;                                                                     /**/
}                                                                                          /**/
                                                                                           /**/
.nav-main ul li a:hover {                                                                  /**/
  color: #000000;                                                                        /**/
  border-width: 4px;                                                                       /**/
  border-color: red;                                                                     /**/
}                                                                                          /**/
                                                                                           /**/
.nav-main ul li.active a {                                                                 /**/
  color: #ffffff;                                                                        /**/
  border-bottom-color: #ff0000 !important;                                               /**/
}                                                                                          /**/
                                                                                           /**/
.nav-main ul li.active a:before {                                                          /**/
  height: 100%;
  border-width: 22px;
  border-color: red;                                                                            /**/
  background-color: rgba(250, 195, 216, 0.856);
  border-style: solid;
  border-width: 2px;
  border-color: rgba(53, 13, 13, 0.274);                                                  /**/
}                                                                                          /**/
/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
.nav-main .hamburger {
  position: fixed;
  right: 15px;
  top: 15px;
  overflow: visible;
  display: none;
  width: 50px;
  height: 50px;
  background: none;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  text-transform: none;
  cursor: pointer;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
}

.nav-main .hamburger .hamburger-box {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.nav-main .hamburger .hamburger-box .hamburger-inner {
  display: block;
  top: 50%;
  left: 50%;
  margin-top: -2px;
  margin-left: -10px;
}

.nav-main .hamburger .hamburger-box .hamburger-inner, .nav-main .hamburger .hamburger-box .hamburger-inner::before, .nav-main .hamburger .hamburger-box .hamburger-inner::after {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #000;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.nav-main .hamburger .hamburger-box .hamburger-inner::before, .nav-main .hamburger .hamburger-box .hamburger-inner::after {
  content: '';
  display: block;
}

.nav-main .hamburger .hamburger-box .hamburger-inner::before {
  top: -5px;
}

.nav-main .hamburger .hamburger-box .hamburger-inner::after {
  bottom: -5px;
}

.nav-main .hamburger.hamburger--spin .hamburger-inner {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.nav-main .hamburger.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.34s ease-in, opacity 0.1s ease-in;
}

.nav-main .hamburger.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.34s ease-in, -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.nav-main .hamburger.hamburger--spin.is-active .hamburger-inner {
  -webkit-transform: rotate(225deg);
          transform: rotate(225deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.nav-main .hamburger.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.14s ease-out;
}

.nav-main .hamburger.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Анимации для иконок соцсетей */
.nav-social {
  margin: 0;
  padding: 0;
  list-style: none;
  color: inherit;
  text-align: center;
  line-height: 50px;
}

.nav-social li {
  display: inline-block;
  vertical-align: middle;
  padding: 1.5px;
  position: relative;
}

.nav-social li a {
  overflow: hidden;
  display: block;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 25px;
  position: relative;
  z-index: 2;
}

/* Эффект "фонарика" при наведении */
.nav-social li a::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  width: 150%;
  height: 120%;
  background: radial-gradient(circle, rgba(104, 104, 104, 0.8) 0%, rgba(0, 155, 245, 0) 70%);
  transform: translateX(-50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
  border-radius: 50%;
}

/* Подсказка с названием соцсети */
.nav-social li::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding:1px 10px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  pointer-events: none;
  border-color: #a30000;
  font-style: italic;
}

.nav-social li:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Анимации при наведении */
.nav-social li a:hover {
  background: #ff0095;
  color: #ffffff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 0, 149, 0.3);
}

.nav-social li a:hover::before {
  transform: translateX(-50%) scale(1);
}

/* Индивидуальные цвета для разных соцсетей */
.nav-social li:nth-child(5) a:hover { background: #4c75a3; } /* ВК */
.nav-social li:nth-child(2) a:hover { background: #1db954; } /* Spotify */
.nav-social li:nth-child(1) a:hover { background: #e4405f; } /* Instagram */
.nav-social li:nth-child(4) a:hover { background: #7289da; } /* Discord */
.nav-social li:nth-child(3) a:hover { background: #000000; } /* X */
.nav-social li:nth-child(6) a:hover { background: #0400f5; } /* Facebook */
.nav-social li:nth-child(7) a:hover { background: #079cff; } /* Telegram */

/* Анимация появления иконок при загрузке */
.nav-social li {
  opacity: 0;
  transform: translateY(20px);
  animation: socialAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.nav-social li:nth-child(1) { animation-delay: 0.1s; }
.nav-social li:nth-child(2) { animation-delay: 0.2s; }
.nav-social li:nth-child(3) { animation-delay: 0.3s; }
.nav-social li:nth-child(4) { animation-delay: 0.4s; }

@keyframes socialAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter {
  background-color: #000;
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font: 2.8em/70px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: inherit;
  transition: 1.3s;
  border: 3px solid transparent;
  border-color: #ff000093;
}

.filter li {
  display: inline-block;
  padding: 0 20px;
  cursor: pointer;
  transition: 0.3s;
  color: wheat;
  border: 3px solid transparent;
  border-color: #ff000093;
  border-radius: 150px;
  background-color: #333;
  cursor: grab;
}

.filter li.active {
    background: linear-gradient(135deg, #ff0000, #c73737);
    color: wheat;
    transform: translateY(-1px);
    box-shadow: 0 1px 25px rgba(255, 0, 0, 0.3);
    border-color: rgb(255, 255, 255);
}

.filter li:hover {
    background: rgb(138, 126, 126);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(110, 90, 90);
    color: rgb(163, 252, 255);
}

/*=============================================>>>>>
= кнопочки =
===============================================>>>>>*/
.btn {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 18px 25px;
  background: #000000;
  border: none;
  border-radius: 30px;
  box-sizing: border-box;
  font: 0.8em/1 Poppins, sans-serif;
  letter-spacing: 3px;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  transition: 2.3s;
  cursor: grab;
}

.btn:hover {
  background: #ff0000;
  transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* анимации для кнопок "Мои работы" и "Связь со мной" */
.btn-alt {
  position: relative;
  display: block;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.5);
  font: bold 1.0769230769em/1 Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 10px;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  text-align: center;
  color: inherit;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  overflow: hidden;
  border: 2px solid transparent;
}

/* Градиентная анимация для кнопок */
.btn-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.btn-alt:hover::before {
  left: 100%;
}

.btn-alt:hover {
  background: #c73737;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(199, 55, 55, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Индивидуальные градиенты для разных кнопок */
.section-home .section-secondary-block-left .btn-alt {
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.5) 100%);
}

.section-home .section-secondary-block-right .btn-alt {
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.5) 100%);
}

.section-home .section-secondary-block-left .btn-alt:hover {
  background: linear-gradient(135deg, #c73737 0%, #a30000 100%);
}

.section-home .section-secondary-block-right .btn-alt:hover {
  background: linear-gradient(135deg, #c73737 0%, #a30000 100%);
}

/* Анимация появления кнопок */
.btn-alt {
  opacity: 0;
  transform: translateY(30px);
  animation: btnAppear 5.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 5.1s;
}

@keyframes btnAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
  .nav-social li a {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  
  .nav-social li::after {
    font-size: 10px;
    padding: 4px 8px;
    bottom: -35px;
  }
  
  .btn-alt {
    padding: 15px 20px;
    font-size: 0.9em;
    letter-spacing: 5px;
  }
}

/*=============================================>>>>>
= элименты форм того или иного =
===============================================>>>>>*/
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea {
  vertical-align: bottom;
  width: 100%;
  margin: 0;
  padding: 10px 10px;
  background: #ededed;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  font: 0.9230769231em Space Mono, monospace;
  color: inherit;
  transition: 0.3s;
  outline: none;
}

input[type="text"].error,
input[type="password"].error,
input[type="email"].error,
input[type="search"].error,
input[type="url"].error,
input[type="tel"].error,
input[type="number"].error,
textarea.error {
  background: #fc5756;
  color: #000000;
}

textarea {
  overflow: hidden;
  overflow-y: auto;
  resize: none;
  min-height: 120px;
}

select {
  width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px 0 0;
}

label {
  display: block;
  margin: 0 0 15px;
  font: 1.9230769231em/1 Reenie Beanie, cursive;
}

label.error {
  padding: 5px 0 0;
  color: #fc5756;
  font: 0.8em/1.5 Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
}

form .form-item {
  position: relative;
  margin: 0 0 30px;
}

form .form-item .form-item-label {
  position: absolute;
  left: 18px;
  top: 7px;
  width: 90%;
  margin: 0;
  padding: 0 10px 2px;
  box-sizing: border-box;
  transition: 0.3s;
  cursor: text;
  font-size: 1.5em;
}

form .form-item .form-item-label:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #00d9ff;
  transition: 0.9s;
}

form .form-item input:focus + .form-item-label,
form .form-item textarea:focus + .form-item-label,
form .form-item .error + .form-item-label,
form .form-item .valid + .form-item-label {
  top: 0;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}

form .form-item input:focus + .form-item-label:before,
form .form-item textarea:focus + .form-item-label:before,
form .form-item .error + .form-item-label:before,
form .form-item .valid + .form-item-label:before {
  width: 90%;
  transition-delay: 0.15s;
}
*/
.message {
  display: block;
  margin: 0 0 30px;
  padding: 20px 30px;
  border-radius: 30px;
  text-align: center;
  line-height: 1;
}

.message-success {
  background: #32b576;
  color: #ffffff;
}

.message-error {
  background: #fc5756;
  color: #000000;
}

.form-contact button[type="submit"] {
  margin: 0 0 15px;
}

/*=============================================>>>>>
= общие элименты структур =
===============================================>>>>>*/
.fa-3x,
.fa-4x,
.fa-5x {
  margin: 0 0 30px;
}

.logo {
  font: bold 2.3076923077em/80px Poppins, sans-serif;
}

.intro p {
  font-weight: bold;
  font-size: 1.2307692308em;
  color: inherit;
}

.timeline {
  position: relative;
}

/* Линия в разделе резюме */
.timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 0;
  width: 2px;
  background: #000000;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.timeline .timeline-item {
  position: relative;
  padding: 0 55% 0 30px;
  text-align: right;
}

.timeline .timeline-item:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #fff;
  border: 5px solid #ff0000;
  border-radius: 50%;
  box-sizing: padding-box;
  -webkit-transform: translateX(-50%) scale(1);
          transform: translateX(-50%) scale(3);
  transition: 0.3s;
}
/* тайм линия в резюме */
.timeline .timeline-item .timeline-item-time {
  position: relative;
  display: inline-block;
  margin: 0 0 15px;
  padding: 5px 15px;
  background: #a30000;
  border-radius: 30px;
  color: #ffffff;
  font-weight: bold;
  font-size: 1em;
}

.timeline .timeline-item:nth-child(even) {
  padding-left: 55%;
  padding-right: 0;
  text-align: inherit;
}

.timeline .timeline-item:hover:before {
  background: #3767C7;
  -webkit-transform: translateX(-50%) scale(1.5);
          transform: translateX(-50%) scale(1.5);
}

.progress {
  position: relative;
  margin: 0 0 30px;
}

.progress .progress-bar .progress-bar-inner {
  width: 0;
  height: 2px;
  background: #000000;
  border-radius: 0 5px 5px 0;
  transition: 0.3s 1s;
}

.section-in .progress .progress-bar .progress-bar-inner {
  width: 100%;
  transition-duration: 1s;
}

.skills h3 {
  margin: 0;
}

.tools {
  list-style: none;
  padding: 0;
  font: 0.8em/1 Poppins, sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: inherit;
}

.tools li {
  display: inline-block;
  margin: 0 0 5px;
  padding: 18px 25px;
  background: #ededed;
  border-radius: 30px;
}

.projects {
  position: relative;
  overflow: hidden;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  align-items: start;

}

.projects .projects-item {
  position: relative;
  fl2oat: left;
  width: 300px;
}



.projects .projects-item .projects-item-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0 0 100%;
  text-decoration: none;
  font-weight: normal;
  color: #ffffff;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.658);
  transform-style: preserve-3d;
  border-radius: 15px;
}

.projects .projects-item .projects-item-thumb:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.397), rgba(0, 0, 0, 0.473));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 15px;
}

.projects-item-thumb:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.projects .projects-item .projects-item-thumb .projects-item-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    text-align: center;
}

.projects .projects-item .projects-item-thumb .projects-item-heading .fa {
  color: white;
  text-shadow: 0 2px 10px rgb(0, 0, 0);
}

.projects .projects-item .projects-item-thumb img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
    transition: transform 0.5s ease;
}

.projects-item-thumb:hover img {
    transform: scale(1.1);
}

.projects .projects-item .projects-item-thumb:hover:before {
  opacity: 1;
}

.projects-item-thumb:hover::before {
    opacity: 1;
}

.projects .projects-item .projects-item-thumb:hover .projects-item-heading {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.projects .projects-sizer {
  width: 25%;
}

.clients .clients-item-logo {
  margin: -0 -0 -5px;
  margin-top: -5px;
}

.popup {
  position: relative;
  width: auto;
  max-width: 650px;
  margin: auto;
  padding: 35px;
  background: rgba(221, 216, 216, 0.98);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 0, 0, 0.3);
  box-sizing: border-box;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.521);
  border-radius: 20px;
  opacity: 0;
  -webkit-transform: translateY(5%);
          transform: translateY(5%);
  text-align: center;
  transition: 0.8s;
}

.popup h3 {
    color: #000;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.mfp-ready .popup {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.mfp-removing .popup {
  opacity: 0;
  -webkit-transform: translateY(5%);
          transform: translateY(5%);
}

.mfp-bg.rose {
  background: #fff url(../images/main-bg.png);
  opacity: 0;
  filter: alpha(opacity=100);
  transition: 0.3s;
}

.mfp-bg.rose.mfp-ready {
  opacity: 1;
}

.mfp-bg.rose.mfp-removing {
  opacity: 0;
}

.mfp-wrap.rose button.mfp-close,
.mfp-wrap.rose button.mfp-arrow {
  width: 40px;
  height: 40px;
  overflow: hidden;
  color: #ff0000;
  line-height: 1;
  white-space: nowrap;
  text-indent: 200%;
  opacity: 1;
  filter: alpha(opacity=100);
  transition: 0.8s;
}

.mfp-close-btn-in .mfp-close {
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 255);
  border-radius: 20px;
  border-style: solid;
  border-color: #000;
  border-width: 2px;
}

.mfp-close-btn-in .mfp-close:hover {
  background: #f1f1f1;
  color: #ff0000;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mfp-wrap.rose button.mfp-close:after,
.mfp-wrap.rose button.mfp-arrow:after {
  display: none;
}

.mfp-wrap.rose button.mfp-close:before,
.mfp-wrap.rose button.mfp-arrow:before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  margin: 0;
  border: none;
  font-family: FontAwesome;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-indent: 0;
  opacity: 1;
}

.mfp-wrap.rose .mfp-close {
  padding: 0;
  font-size: 1.5384615385em;
}

.mfp-wrap.rose .mfp-close:before {
  content: '';
}

.mfp-wrap.rose .mfp-arrow {
  margin-top: 0;
  font-size: 1.9230769231em;
}

.mfp-wrap.rose .mfp-arrow-left {
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}

.mfp-wrap.rose .mfp-arrow-left:before {
  content: '';
}

.mfp-wrap.rose .mfp-arrow-right {
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}

.mfp-wrap.rose .mfp-arrow-right:before {
  content: '';
}

.mfp-wrap.rose.mfp-ready .mfp-arrow-left,
.mfp-wrap.rose.mfp-ready .mfp-arrow-right {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.mfp-wrap.rose.mfp-removing .mfp-arrow-left {
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}

.mfp-wrap.rose.mfp-removing .mfp-arrow-right {
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}

.mCS-rose > .mCSB_container {
  margin-right: 8px;
 
}

.mCS-rose .mCSB_scrollTools {
  width: 8px;
  scroll-behavior: smooth;
  
}

.mCS-rose .mCSB_scrollTools .mCSB_draggerRail {
  width: 8px;
  background: none;
  border-radius: 0;
  scroll-behavior: smooth;
  
}

.mCS-rose .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  
  width: 8px;
  background-color: #000000;
  background-color: rgb(0, 0, 0);
  border-radius: 0;
  scroll-behavior: smooth;
}

.mCS-rose:hover .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #ff0000;
  scroll-behavior: smooth;
 
}

.owl-carousel {
  overflow: hidden;
}

.owl-carousel .owl-prev,
.owl-carousel .owl-next {
  cursor: grab;
  position: absolute;
  top: 50%;
  width: 90px;
  height: 40px;
  text-align: center;
  font-size: 2em;
  line-height: 40px;
  color: #000000;
  transition: 0.5s;
}

.owl-carousel .owl-prev {
  left: 30px;
  -webkit-transform: translate(-140px, -3000%);
          transform: translate(-140px, -3000%);
}

.owl-carousel .owl-next {
  right: 30px;
  -webkit-transform: translate(140px, 3000%);
          transform: translate(140px, 3000%);
}

.owl-carousel .owl-dots {
  text-align: center;
}

.owl-carousel .owl-dots .owl-dot {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 3px;
  background: transparent;
  border-radius: 50%;
  transition: 0.3s;
}

.owl-carousel .owl-dots .owl-dot:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #ff0000;
  border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.owl-carousel .owl-dots .owl-dot.active {
  background: #000000;
}

.owl-carousel:hover .owl-prev,
.owl-carousel:hover .owl-next {
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
}

.owl-carousel .owl-item img {
  display: inline;
  width: auto;
}

.owl-carousel [class*="icon-"] {
  margin: 0 0 9px;
  font-size: 2.3076923077em;
  color: #000000;
  margin-top: 10px;
}

/*=============================================>>>>>
= медиа сошл и т.д =
===============================================>>>>>*/
@media (max-width: 1279px) {
  html,
  body {
    overflow: visible;
    height: auto;
  }
  .wrapper {
    height: auto;
  }
  .wrapper .wrapper-inner {
    position: relative;
    left: 0;
    width: auto;
    height: auto;
    -webkit-transform: none;
            transform: none;
  }
.site-header .logo {
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
           
  }
  .site-header .nav-main {
    position: fixed;
    right: auto;
    left: 0;
    width: 0;
    height: 100%;
    
  }
  .site-content {
    position: relative;
    top: 0;
    bottom: 0;
    padding: 110px 30px 0;
  }
  .section {
    position: relative;
    height: auto;
  }
  .section .section-main-block,
  .section .section-secondary-block {
    position: relative;
    width: auto;
    height: auto;
    margin: 0 0 30px;
    -webkit-animation: none;
            animation: none;
    opacity: 1;
  }
  .section .section-main-block .section-block-heading h2,
  .section .section-secondary-block .section-block-heading h2 {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  .section .section-block-content {
    overflow: visible;
    height: auto;
    
  }
  .section .section-block-content .section-block-inner {
    padding-bottom: 70px;
   
  }
  .section .section-block-content-centered {
    overflow: visible;
    height: auto;
   
  }
  .section .section-block-content-centered .section-block-inner {
    position: relative;
    top: 0;
    padding: 70px;
    -webkit-transform: none;
            transform: none;
            
  }
  .section .section-block-content-centered .section-block-inner.owl-carousel {
    height: auto;
   
  }
  .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer {
    height: auto;
    
  }
  .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage {
    height: auto;
    
  }
  .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage .owl-item {
    height: auto;
   
  }
  .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage .owl-item .slide {
    position: relative;
    top: 0;
    padding: 70px;
    -webkit-transform: none;
            transform: none;
            
  }
  body[data-animation-in=''] .section,
  body[data-animation-out=''] .section {
    -webkit-transform-style: preserve-2d;
            transform-style: preserve-2d;
  }
  body[data-animation-in=''] .section .section-main-block,
  body[data-animation-in=''] .section .section-secondary-block,
  body[data-animation-out=''] .section .section-main-block,
  body[data-animation-out=''] .section .section-secondary-block {
    -webkit-backface-visibility: visible;
            backface-visibility: visible;
    -webkit-transform: none;
            transform: none;
  }
  body[data-animation-in=''] .section.section-in .section-main-block,
  body[data-animation-in=''] .section.section-in .section-secondary-block,
  body[data-animation-out=''] .section.section-in .section-main-block,
  body[data-animation-out=''] .section.section-in .section-secondary-block {
    -webkit-transform: none;
            transform: none;
  }
  .nav-main {
    text-align: center;
  }
  .nav-main ul {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    overflow-y: auto;
    width: 250px;
    height: 100%;
    background: url(../images/main-bg.png);
    line-height: 1;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  .nav-main ul li {
    display: block;
    float: none;
    height: auto;
    padding: 0;
  }
  .nav-main ul li:first-child {
    padding-top: 30px;
  }
  .nav-main ul li a {
    display: block;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 1.5;
  }
  .nav-main ul li a:before {
    display: none;
  }
  .nav-main ul li.active a {
    color: #3767C7;
  }
  .nav-main .hamburger {
    display: block;
  }
  .nav-main.active ul {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  .progress .progress-bar .progress-bar-inner {
    width: 100%;
  }
  .projects .projects-item {
    width: 50%;
  }
  .projects .projects-sizer {
    width: 50%;
  }
  .map {
    position: relative !important;
    height: 300px;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 3.0769230769em;
  }
  h2 {
    font-size: 1.0769230769em;
  }
  .site-content {
    padding: 90px 10px 0;
  }
  .section .section-main-block,
  .section .section-secondary-block {
    margin-bottom: 10px;
  }
  .section .section-main-block .section-block-heading,
  .section .section-secondary-block .section-block-heading {
    top: 35px;
  }
  .section .section-main-block .section-block-heading h2,
  .section .section-secondary-block .section-block-heading h2 {
    padding-top: 10px;
  }
  .section .section-main-block .section-block-heading h2:before,
  .section .section-secondary-block .section-block-heading h2:before {
    border-bottom-width: 5px;
  }
  .section .section-block-content .section-block-inner {
    padding: 35px;
    
  }
  .section .section-block-content-centered .section-block-inner {
    padding: 35px;
    
  }
  .section .section-block-content-centered .section-block-inner.owl-carousel .owl-stage-outer .owl-stage .owl-item .slide {
    padding: 35px;
    
  }
  .timeline {
    margin: 0 0 0 15px;
  }
  .timeline:before {
    left: 0;
  }
  .timeline .timeline-item {
    padding-right: 0;
    text-align: inherit;
  }
  .timeline .timeline-item:before {
    left: 0;
  }
  .timeline .timeline-item:nth-child(even) {
    padding-left: 30px;
  }
  .slide {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    overflow-y: auto;
    width: 250px;
    height: 100%;
    line-height: 1;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  
}

/*=============================================>>>>>
= текст по центру главного экрана =
===============================================>>>>>*/

.fn {
    font-family: 'Rubik', sans-serif;
    font-size: 80px;
    display: inline-block;
    margin: 10px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    color: antiquewhite;
}

.category {
    font-family: 'Rubik', sans-serif;
    font-size:1.5em;
    color: antiquewhite;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: bold;
}



/*=============================================>>>>>
= Улучшенная вкладка "Обо мне" =
===============================================>>>>>*/

.photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.89);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}


/*=============================================>>>>>
= Объемная вкладка "Обо мне" =
===============================================>>>>>*/

/* Основной контент с объемом */
.section-about .section-main-block .section-block-inner {
    padding: 50px 80px 0;
    position: relative;
}

.section-about .section-main-block .section-block-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,248,248,0.98) 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: -1;
}

/* Фото с объемным эффектом */
.section-about .photo.alignleft {
    float: left;
    margin: 0 35px 25px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background: #fff;
    padding: 8px;
}

.section-about .photo.alignleft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(240,240,240,0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.section-about .photo.alignleft img {
    display: block;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(1.02) contrast(1.05);
}

.section-about .photo.alignleft:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.section-about .photo.alignleft:hover img {
    transform: scale(1.03);
    filter: brightness(1.05) contrast(1.1);
}

/* Заголовки с объемным текстом */
.section-about .b {
    color: #000;
    font-weight: 800;
    background: linear-gradient(135deg, #000 0%, #333 50%, #000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 3px 0;
    position: relative;
    display: inline-block;
}
/* стиль для текста под заголовком образование */

.section-about .ua {
    font-family: 'Rubik One', sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    color: rgb(10, 7, 7);
    display: inline-block;
    margin: 20px auto;
    padding: 20px 40px;
    text-align: center;
    font-weight: 800;
    letter-spacing: 1.5px;
    position: relative;
    cursor: pointer;
    


    /* Минималистичный градиент флага */
    background: linear-gradient(180deg, #0057B8 0%, #0057B8 50%, #FFD700 50%, #FFD700 100%);
    
    /* Чистый футуристичный 3D */
    border-radius: 12px;
    box-shadow: 
        0 8px 0 #003d82,
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
      
    
    /* Футуристичный текст с неоновым эффектом */
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        0 2px 0 #003d82;
    
    transform: perspective(400px) rotateX(5deg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    overflow: hidden;
    
    /* Стеклянный эффект */
    backdrop-filter: blur(10px);
}

.section-about a {
  color: rgb(46, 30, 30);
   text-shadow: 
        0 0 2px #ffffff,
        0 0 2px #ffffff,
        0 0 2px #ffffff,
        0 0 2px #ffffff;
}


/* Минимальная подсветка границ */
.section-about .ua::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 0, 0, 0.938);
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Элегантный ховер-эффект */
.section-about .ua:hover {
    transform: 
        perspective(400px) 
        rotateX(2deg) 
        translateY(-4px);
    
    box-shadow: 
        0 12px 0 #003d82,
        0 0 30px rgba(0, 87, 184, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    
    text-shadow: 
        0 0 30px rgba(255, 215, 0, 0.8),
        0 2px 0 #003d82,
        0 0 10px rgba(255, 255, 255, 0.5);
}

.section-about .ua:hover::before {
    opacity: 1;
}

/* Активное состояние - легкое нажатие */
.section-about .ua:active {
    transform: 
        perspective(400px) 
        rotateX(8deg) 
        translateY(2px);
    
    box-shadow: 
        0 6px 0 #003d82,
        0 0 15px rgba(0, 87, 184, 0.3);
    
    transition: all 0.2s ease;
}


.section-about .ua {
    animation: futuristicAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Эффект энергетического свечения */
.section-about .ua::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(
        circle, 
        rgba(255, 215, 0, 0.3) 0%, 
        transparent 70%
    );
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    pointer-events: none;
    border-radius: 50%;
}

.section-about .ua:hover::after {
    width: 120%;
    height: 120%;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Адаптивность */
@media (max-width: 767px) {
    .section-about .ua {
        font-size: 1em;
        padding: 16px 32px;
        margin: 16px auto;
        transform: perspective(300px) rotateX(3deg);
    }
    
    .section-about .ua:hover {
        transform: perspective(300px) rotateX(1deg) translateY(-3px);
    }
}

/* Дополнительный футуристичный акцент - линии сетки */
.section-about .ua {
    background: 
        linear-gradient(180deg, 
            #0057B8 0%, #0057B8 50%, 
            #FFD700 50%, #FFD700 100%),
        linear-gradient(90deg, 
            transparent 49%, 
            rgba(255, 255, 255, 0.05) 49%, 
            rgba(255, 255, 255, 0.05) 51%, 
            transparent 51%);
    background-size: 100% 100%, 20px 20px;
}
/* Добавляем иконки к ссылкам */
.section-about .ua-top::before {
    content: '🏛️';
    margin-right: 8px;
    font-size: 0.9em;
    color: wheat;
    
}

.section-about .ua-bottom::before {
    content: '📚';
    margin-right: 8px;
    font-size: 0.9em;
    color: wheat;
     text-shadow: 
        0 0 2px #ca0000,
        0 0 2px #ff0000,
        0 0 2px #fd0000,
        0 0 2px #f80000;
}
/* -------------------------------------------- */
.section-about .b::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    opacity: 0.6;
}

.section-about .topick {
    color: #ff0000;
    font-weight: 600;
    margin-top: 100px;
    padding-top:  100px;
    position: relative;
    display: block;
    font-size: 1.2em;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(255, 0, 0, 0.1);
    background: rgba(255, 0, 0, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid #ff0000;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(255, 0, 0, 0.1);
    
}

/* Разделители с объемом */
.section-about hr.hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 0, 0.3) 20%, 
        #ff0000 50%, 
        rgba(255, 0, 0, 0.3) 80%, 
        transparent 100%);
    margin: 35px 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.2);
}

.section-about hr.hr::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    color: #ff0000;
    padding: 0 15px;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Списки навыков с карточками */
.section-about .ku {
    color: #000;
    font-size: 1.4em;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-about .ku::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.section-about ul {
    margin: 0 0 30px 0;
    padding: 0;
}

.section-about ul li {
    padding: 12px 0;
    color: #333;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.096);
    margin-bottom: 8px;
    border-radius: 10px;
    padding: 12px 15px 12px 40px;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.966);
}

.section-about ul li::before {
    content: '▸';
    position: absolute;
    left: 20px;
    color: #ff0000;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.section-about ul li:hover {
    transform: translateX(5px);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(228, 46, 46, 0.9);
    background: rgba(7, 2, 2, 0.178);
    border-color: rgba(255, 0, 0, 0.836);
    color: rgb(168, 30, 30);
}

.section-about ul li:hover::before {
    transform: scale(5.2);
    color: #b30000;
}

/* Списки с объемным текстом */
.section-about .kuku1,
.section-about .kuku2,
.section-about .kuku3,
.section-about .kuku4,
.section-about .kuku5,
.section-about .kuku6 {
    color: #e40000;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgb(0, 0, 0);
}

.section-about ul li:hover .kuku1,
.section-about ul li:hover .kuku2,
.section-about ul li:hover .kuku3,
.section-about ul li:hover .kuku4,
.section-about ul li:hover .kuku5,
.section-about ul li:hover .kuku6 {
    color: #ff0000;
    text-shadow: 0 12px 2px rgba(255, 0, 0, 0.767);
}

.section-about .srv1,
.section-about .srv2,
.section-about .srv3,
.section-about .srv4,
.section-about .srv5,
.section-about .srv6,
.section-about .srv7,
.section-about .srv8,
.section-about .srv9,
.section-about .srv10,
.section-about .srv11 {
    color: #e40000;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgb(0, 0, 0);
}

.section-about ul li:hover .srv1,
.section-about ul li:hover .srv2,
.section-about ul li:hover .srv3,
.section-about ul li:hover .srv4,
.section-about ul li:hover .srv5,
.section-about ul li:hover .srv6,
.section-about ul li:hover .srv7,
.section-about ul li:hover .srv8,
.section-about ul li:hover .srv9,
.section-about ul li:hover .srv10,
.section-about ul li:hover .srv11 {
    color: #ff0000;
    text-shadow: 0 12px 2px rgba(255, 0, 0, 0.767);
}

/* Опыт работы с объемными карточками */
.section-about .gu {
    color: #8c0091;
    font-size: 1.3em;
    font-weight: 800;
    display: block;
    margin: 30px 0 20px 0;
    position: relative;
    text-shadow: 0 2px 4px rgba(140, 0, 145, 0.2);
    background: linear-gradient(135deg, rgba(140, 0, 145, 0.1) 0%, transparent 100%);
    padding: 15px 25px;
    border-radius: 15px;
    border-left: 5px solid #8c0091;
    box-shadow: 
        0 5px 15px rgba(140, 0, 145, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-about .rtt {
    font-size: 1em;
    color: #ff0000;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 0, 0, 0.2);
}

.section-about .rtt:hover {
    color: #8c0091;
    border-bottom-color: #8c0091;
    text-shadow: 0 2px 4px rgba(140, 0, 145, 0.3);
    transform: translateY(-1px);
}



.section-about .btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 18px 35px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border: none;
    border-radius: 30px;
    box-sizing: border-box;
    font: 0.8em/1 Poppins, sans-serif;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.section-about .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.section-about .btn:hover {
    background: linear-gradient(135deg, #ff0000 0%, #c73737 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 0, 0, 0.4),
        0 8px 25px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.section-about .btn:hover::before {
    left: 100%;
}

.section-about .btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Адаптивность */
@media (max-width: 1279px) {
    .section-about .section-main-block .section-block-inner {
        padding: 35px 50px 0;
    }
}

@media (max-width: 767px) {
    .section-about .section-main-block .section-block-inner {
        padding: 25px 30px 0;
    }
    
    .section-about .photo.alignleft {
        margin: 0 auto 20px auto;
        float: none;
    }
    
    .section-about ul li {
        padding: 10px 12px 10px 35px;
    }
}

/*=============================================>>>>>
= Стили для точек навигации и визуал карточек в обо мне  =
===============================================>>>>>*/

.section-about .section-secondary-block .owl-dots {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.section-about .section-secondary-block .owl-dots .owl-dot {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.section-about .section-secondary-block .owl-dots .owl-dot::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #ff0000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.section-about .section-secondary-block .owl-dots .owl-dot.active {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    transform: scale(1.2);
}

.section-about .section-secondary-block .owl-dots .owl-dot.active::before {
    width: 6px;
    height: 6px;
    background: #ff0000;
}

/* Слайды */
.section-about .section-secondary-block .slide {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(248, 0, 0, 0.048) 0%, rgba(0, 0, 0, 0.288) 100%);
    border: 1px solid rgb(253, 0, 0);
    border-radius: 15px;
    margin-bottom: 0;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.678),
        inset 0 1px 0 rgb(255, 0, 0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.section-about .section-secondary-block .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-about .section-secondary-block .slide:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgb(0, 0, 0),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 0, 0, 0.2);
}

.section-about .section-secondary-block .slide:hover::before {
    opacity: 1;
}

/* Иконки в слайдах */
.section-about .section-secondary-block .slide [class*="icon-"] {
    font-size: 2.5em;
    color: #ff0000;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.section-about .section-secondary-block .slide:hover [class*="icon-"] {
    transform: scale(1.1);
    color: #ff00f2;
}

/* Заголовки в слайдах */
.section-about .section-secondary-block .slide h3 {
    color: #000;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Текст в слайдах */
.section-about .section-secondary-block .slide p {
    color: #551919;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    font-weight: bold;
}
/*=============================================>>>>>
= Стили для точек навигации карусели в портфолио и их визуал =
===============================================>>>>>*/

.section-portfolio .owl-dots {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.section-portfolio .owl-dots .owl-dot {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.section-portfolio .owl-dots .owl-dot::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #ff0000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.section-portfolio .owl-dots .owl-dot.active {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    transform: scale(1.2);
}

.section-portfolio .owl-dots .owl-dot.active::before {
    width: 6px;
    height: 6px;
    background: #ff0000;
}

/* Стили для слайдов в портфолио */
.section-portfolio .slide {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(248, 0, 0, 0.048) 0%, rgba(0, 0, 0, 0.288) 100%);
    border: 1px solid rgb(253, 0, 0);
    border-radius: 15px;
    margin-bottom: 0;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.678),
        inset 0 1px 0 rgb(255, 0, 0);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.section-portfolio .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-portfolio .slide:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgb(0, 0, 0),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 0, 0, 0.2);
}

.section-portfolio .slide:hover::before {
    opacity: 1;
}

/* Иконки в слайдах портфолио */
.section-portfolio .slide [class*="icon-"] {
    font-size: 2.5em;
    color: #ff0000;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.section-portfolio .slide:hover [class*="icon-"] {
    transform: scale(1.1);
    color: #ff00f2;
}

/* Заголовки в слайдах портфолио */
.section-portfolio .slide h3 {
    color: #000;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Текст в слайдах портфолио */
.section-portfolio .slide p {
    color: #551919;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    font-weight: bold;
}

.section-portfolio .slide .PC  {
    font-size: 17px;
  color: #ff0000;
  font-weight: 1000;
  margin-top: 3px;
}
/*=============================================>>>>>
= Эмбиант вставка для нижних блоков =
===============================================>>>>>*/


@media (max-width: 767px) {
  .slide {
    font-size: 12px;
  }

.icon {
  margin-top: 1000px;
}

.PC {
  font-size: 17px;
  color: #ff0000;
  font-weight: 1000;
  margin-top: 3px;
}

.pcc {
  font-size: 15px;
  padding-right: 50px;
  color: #d81212;
  text-align: left;
}

.kisa {
  font-size: 30px;
  
}
}

.maping {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.user-select {
  background-color: red;

}

/* Анимация появления букв на главной страницу */
#animatedTitle {
       display: inline-block;
       font-family: monospace;
       font-size: 5em;
   }

   #cursor {
       display: inline-block;
       font-family: monospace;
       font-size: 3em;
       color: red;
       animation: blink 0.7s step-start infinite;
   }

   @keyframes blink {
       50% { opacity: 0; }
   }

.cf {
  font-size: 100px;
  color: white;
}

@media screen and (max-width: 768px) {
  .section-block-inner.center {
    padding: 0 20px !important;
  }

  #animatedTitle {
    font-size: 58px !important;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    
  }

  #cursor {
    display: inline-block;
    font-size: 28px;
    vertical-align: middle;
  }
}

.intro-text-container {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .btn1 {
    text-align: center;
    padding: 0 90px; 
    height: 40px;
  }

  .form-contact .btn1[type="submit"],
  .form-contact button[type="submit"] {
    display: inline-block;
    margin: 20px auto 0;
    float: none;
    
  }
}
@media screen and (max-width: 768px) {
  .section-block-inner form {
    width: 100%;
  }
}

/*=============================================>>>>>
= навигация с улучшениями =
===============================================>>>>>*/
.nav-main {
  position: absolute;
  right: 30px;
  top: 0;
  text-align: right;
}

.nav-main ul {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  color: inherit;
  font: bold 1em/80px Poppins, sans-serif;
  letter-spacing: 1px;
  transition: 0.6s;
}

.nav-main ul li {
  float: left;
  padding: 0;
  color: #000;
  position: relative;
}

.nav-main ul li a {
  position: relative;
  display: block;
  vertical-align: middle;
  height: 80px;
  padding: 0 20px;
  text-decoration: none;
  /* color: inherit; */
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

/* Подчеркивание при наведении */
.nav-main ul li a::after {
  content: '';
  position: absolute;
  bottom: 10;
  left: 50%;
  width: 10px;
  height: 5px;
  background: #ff0000;
  transition: all 0.7s ease;
  transform: translateX(-50%);
  border-radius: 20px;
}

.nav-main ul li a:hover {
  color: #ff0000;
}

.nav-main ul li a:hover::after {
  width: 70%;
}

/* Активный пункт меню */
.nav-main ul li.active a {
  color: #ff006a;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
  font-weight: bold;
}

.nav-main ul li.active a::after {
  width: 70%;
  background: #ff0000;
}


/* Индикатор активного пункта */
.nav-main ul li.active::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 8px;
  width: 4px;
  height: 4px;
  background: #ff0000;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

/* Специальный стиль для кнопки :) */
.nav-main ul li:last-child a {
  color: #000000;
  margin-left: 10px;
  font-weight: 700;
  position: relative;
  background: rgba(255, 107, 107, 0.2);
  height: 77px;
}

.nav-main ul li:last-child a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -6px;
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, transparent, #444, transparent);
  transform: translateY(-50%);
}

.nav-main ul li:last-child a:hover {
  color: #fff;
  background: #ff0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.nav-main ul li:last-child a:hover::after {
  opacity: 0;
}

/* Легкая тень при наведении на все пункты */
.nav-main ul li a:hover {
  text-shadow: 0 0 10px rgb(255, 0, 0);
}

/* Плавное появление меню при загрузке */
.nav-main ul li {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.nav-main ul li:nth-child(1) { animation-delay: 0.1s; }
.nav-main ul li:nth-child(2) { animation-delay: 0.15s; }
.nav-main ul li:nth-child(3) { animation-delay: 0.2s; }
.nav-main ul li:nth-child(4) { animation-delay: 0.25s; }
.nav-main ul li:nth-child(5) { animation-delay: 0.3s; }
.nav-main ul li:nth-child(6) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Хамбургер меню */
.nav-main .hamburger {
  position: fixed;
  right: 20px;
  top: 20px;
  overflow: visible;
  display: none;
  width: 48px;
  height: 48px;
  background: #000;
  margin: 0;
  padding: 0;
  border: 2px solid #333;
  font: inherit;
  color: inherit;
  text-transform: none;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.nav-main .hamburger::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #d12020, #333, #666);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.8;
}

.nav-main .hamburger:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  border-color: #ff0000;
}

.nav-main .hamburger .hamburger-box {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.nav-main .hamburger .hamburger-box .hamburger-inner {
  display: block;
  top: 50%;
  left: 50%;
  margin-top: -1px;
  margin-left: -9px;
}

.nav-main .hamburger .hamburger-box .hamburger-inner, 
.nav-main .hamburger .hamburger-box .hamburger-inner::before, 
.nav-main .hamburger .hamburger-box .hamburger-inner::after {
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-main .hamburger .hamburger-box .hamburger-inner::before, 
.nav-main .hamburger .hamburger-box .hamburger-inner::after {
  content: '';
  display: block;
}

.nav-main .hamburger .hamburger-box .hamburger-inner::before {
  top: -5px;
}

.nav-main .hamburger .hamburger-box .hamburger-inner::after {
  bottom: -5px;
}

.nav-main .hamburger.hamburger--spin.is-active .hamburger-inner {
  background-color: #ff0000;
}

.nav-main .hamburger.hamburger--spin.is-active .hamburger-inner::before,
.nav-main .hamburger.hamburger--spin.is-active .hamburger-inner::after {
  background-color: #ffffff;
}

/* Адаптивность с обводкой */
@media (max-width: 1279px) {
  .nav-main {
    position: fixed;
    right: auto;
    left: 0;
    width: 0;
    height: 100%;
    z-index: 1000;
    background: transparent;
    border: none;
    box-shadow: none;
    top: 0;
  }

  .nav-main::before {
    display: none;
  }

  .nav-main ul {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    overflow-y: auto;
    width: 300px;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    line-height: 1;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
    padding-top: 90px;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
    border-right: 2px solid #333;
  }

  .nav-main ul::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: 1px;
    background: linear-gradient(135deg, #666, #970000, #666);
    border-radius: 0 14px 14px 0;
    z-index: -1;
    opacity: 0.8;
    border: #000 4px solid;
  }

  .nav-main ul li {
    display: block;
    float: none;
    height: auto;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.288);
    opacity: 0;
    transform: translateX(-20px);
  }

  .nav-main ul li a {
    display: block;
    height: auto;
    padding: 20px 30px;
    line-height: 1.4;
    border-radius: 0;
    font-size: 0.92em;
    background: transparent !important;
    border: none !important;
  }

  .nav-main ul li a::after {
    display: none;
  }

  .nav-main ul li.active a {
    color: #fff;
    background: transparent;
  }

  .nav-main ul li.active::before {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
  }

  .nav-main ul li:last-child a {
    margin-left: 0;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 10px;
    padding-top: 22px;
  }

  .nav-main ul li:last-child a::before {
    display: none;
  }

  .nav-main .hamburger {
    display: block;
    background: #000;
    border: 2px solid #333;
  }

  .nav-main.active ul {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }

  /* Улучшенная анимация для мобильного меню */
  .nav-main.active ul li {
    animation: mobileSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-main.active ul li:nth-child(1) { animation-delay: 0.1s; }
  .nav-main.active ul li:nth-child(2) { animation-delay: 0.15s; }
  .nav-main.active ul li:nth-child(3) { animation-delay: 0.2s; }
  .nav-main.active ul li:nth-child(4) { animation-delay: 0.25s; }
  .nav-main.active ul li:nth-child(5) { animation-delay: 0.3s; }
  .nav-main.active ul li:nth-child(6) { animation-delay: 0.35s; }
}

@keyframes mobileSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*=============================================>>>>>
= Современный дизайн для резюме =
===============================================>>>>>*/

/* Стили для таймлайна */
.modern-timeline {
    position: relative;
    padding: 20px 0;
}

.modern-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ff0000, #ff6b6b, #ff0000);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
    transition: all 0.3s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item-time { 
    left: -20px;
    top: -10px;
    background: linear-gradient(135deg, #ff0000, #c73737);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    z-index: 2;
    min-width: 120px;
    text-align: center;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: grab;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.95);
}

.timeline-icon {
    position: absolute;
    left: -65px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff0000, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    z-index: 2;
}

.timeline-content h3 {
    color: #000;
    font-size: 1.3em;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.timeline-content p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

/* Стили для навыков */
.modern-skills {
    padding: 10px 0;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-header h3 {
    color: #000;
    font-size: 1em;
    margin: 0;
    font-weight: 600;
}

.skill-percent {
    color: #ff0000;
    font-weight: 700;
    font-size: 0.9em;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff6b6b);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skill-item:hover .skill-progress {
    transform: scaleY(1.2);
    transform-origin: center;
}

/* Стили для инструментов и языков */
.modern-tools {
    padding: 10px 0;
}

.tool-category {
    margin-bottom: 30px;
}

.tool-category:last-child {
    margin-bottom: 0;
}

.tool-category h3 {
    color: #000;
    font-size: 1.1em;
    margin: 0 0 15px 0;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 0, 0, 0.2);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.tool-item {
    background: rgba(255, 0, 0, 0.1);
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 25px;
    text-align: center;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.tool-item:hover {
    background: linear-gradient(135deg, #ff0000, #c73737);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    border-color: transparent;
}

/* Анимации при загрузке */
.section-in .skill-progress {
    width: var(--progress-width);
}

.section-in .timeline-item {
    animation: fadeInUp 1.8s ease forwards;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(502px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Адаптивность для временной линии */
@media (max-width: 1279px) {
    .modern-timeline::before {
        left: 40px;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 80px !important;
    }
    
    .timeline-content::before {
        left: -10px;
        right: auto;
        border-right: 10px solid rgba(255, 255, 255, 0.95);
        border-left: none;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -10px;
        right: auto;
        border-left: none;
        border-right: 10px solid rgba(255, 255, 255, 0.95);
    }
    
    .timeline-icon {
        left: -75px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-icon {
        left: -75px;
        right: auto;
    }
    
    .timeline-time {
        position: relative;
        left: 0 !important;
        right: 0 !important;
        top: 0;
        margin-bottom: 15px;
        display: inline-block;
        min-width: 160px;
        text-align: center;
    }
    
    .timeline-time::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .modern-timeline::before {
        left: 25px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 50px !important;
        padding: 20px;
    }
    
    .timeline-icon {
        left: -55px;
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }
    
    .timeline-time {
        font-size: 0.8em;
        padding: 10px 16px;
        min-width: 140px;
    }
    
    .timeline-content h3 {
        font-size: 1.1em;
    }
}

/*=============================================>>>>>
= Модальные окна для таймлайна =
===============================================>>>>>*/

.timeline-more {
    margin-top: 15px;
    color: #ff0000;
    font-size: 0.85em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-more {
    opacity: 1;
    transform: translateX(0);
}

.timeline-more i {
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-more i {
    transform: translateX(3px);
}

/* Стили для модальных окон */
.timeline-modal {
    background: white;
    max-width: 700px;
    margin: 40px auto;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgb(0, 0, 0);
    overflow: hidden;
    position: relative;
    border: 3px solid rgb(0, 0, 0);
}

.modal-header {
    background: linear-gradient(135deg, #ff0000, #c73737, #ff0000);
    color: white;
    padding: 35px 40px;
    position: relative;
    text-align: center;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.4;
    pointer-events: none;
}

.modal-header h2 {
    margin: 0 0 12px 0;
    font-size: 2em;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 10px rgb(0, 0, 0);
}

.modal-date {
    font-size: 1.1em;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    background: rgba(255, 255, 255, 0.274);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
    
}

.modal-content {
    padding: 20px;
}

.modal-section {
    margin-bottom: 30px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgb(255, 0, 0);
}

.modal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.modal-section h3 {
    color: #000;
    font-size: 1.4em;
    margin: 0 0 20px 0;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 3px solid rgb(255, 0, 0);
    border-radius: 6px;
    background: linear-gradient(135deg, #000, #333);
    -webkit-background-clip: text;
    -webkit-twct-fill-color: transparent;
}

.modal-section p {
    color: #000000;
    line-height: 1.7;
    margin: 0 0 20px 0;
    font-size: 16.05px ;
    font-style: italic;
    font-weight: bold;
}

.modal-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.modal-section ul li {
    padding: 8px 0;
    font-size: 15px;
    color: #000000;
    position: relative;
    padding-left: 20px;
    font-style: oblique;
}

.modal-section ui li:last-child {
  border-bottom: none;
}

.modal-section ul li:before {
    content: '✓';
    position: absolute;
    left: -9px;
    top: 9px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff0000, #c73737);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.288), rgba(199, 55, 55, 0.212));
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 3);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    border: 2px solid rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-tag:hover {
    background: linear-gradient(135deg, #ff0000, #c73737);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 15px rgba(255, 0, 0, 3);
}

/* Анимации для модальных окон */
.mfp-zoom-in .timeline-modal {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mfp-zoom-in.mfp-ready .timeline-modal {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.mfp-zoom-in.mfp-removing .timeline-modal {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
}

/* Кастомные стили для кнопок Magnific Popup */
.mfp-wrap.rose .mfp-close {
    color: white;
    background: rgba(0, 0, 0, 0.986);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    top: 15px;
    right: 15px;
}

.mfp-wrap.rose .mfp-close:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Эффект кликабельного элемента */
.timeline-item {
    cursor: pointer;
}

.timeline-content {
    transition: all 0.3s ease;
}

.timeline-item:active .timeline-content {
    transform: scale(0.98);
}

/* Индикатор кликабельности */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 15px;
}

.timeline-item:hover::after {
    opacity: 1;
}

/* Адаптивность для модальных окон */
@media (max-width: 767px) {
    .timeline-modal {
        margin: 20px;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 25px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5em;
    }
    
    .modal-date {
        font-size: 1em;
        padding: 6px 16px;
    }
    
    .modal-content {
        padding: 25px 20px;
    }
    
    .modal-section h3 {
        font-size: 1.2em;
    }
    
    .modal-section ul li {
        padding-left: 25px;
        font-size: 1em;
    }
    
    .tech-tags {
        gap: 8px;
    }
    
    .tech-tag {
        padding: 8px 14px;
        font-size: 0.85em;
    }
}


/*=============================================>>>>>
= 3D-карточки с параллакс эффектом =
===============================================>>>>>*/

.projects-item,
.timeline-content,
.projects-item-thumb,
.skill-item,
.projects-item-10,
.tool-item {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.projects-item-thumb,
.timeline-content,
.skill-item {
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.projects-item:hover {
    transform: 
        rotateY(5deg) 
        rotateX(2deg) 
        translateZ(20px) 
        scale(1.02);
}

.timeline-item:hover .timeline-content {
    transform: 
        translateZ(15px) 
        rotateY(2deg) 
        translateY(-5px);
}

.skill-item:hover {
    transform: translateZ(10px) scale(1.02);
}

/*=============================================>>>>>
= улучшения для раздела контактов =
===============================================>>>>>*/

.section-contacts .section-main-block {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(255,0,0,0.1) 100%);
}

.section-contacts .map {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.map {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-contacts .map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,0,0,0.1) 0%, rgba(199,55,55,0.05) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 15px;
}

.section-contacts .map iframe {
    border-radius: 15px;
    filter: grayscale(0.2) contrast(1.1);
    transition: all 0.5s ease;
}

.section-contacts .map:hover iframe {
    filter: grayscale(0) contrast(1.2);
    transform: scale(1.02);
}

/* Улучшенная форма обратной связи */
.section-contacts .form-contact {
    max-width: 100%;
}

@media (max-width: 768px) {
    .form-contact .grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.form-contact input,
.form-contact textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(204, 204, 204, 0.267);
    border: 2px solid rgba(158, 34, 34, 0.63);
    border-radius: 22px;
    font-size: 1em;
    color: #000;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.719);
}

.form-contact input:focus,
.form-contact textarea:focus {
    border-color: #ff0000;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.753);
    transform: translateY(-2px);
}

.form-contact input:focus + .form-item-label,
.form-contact textarea:focus + .form-item-label,
.form-contact input:valid + .form-item-label,
.form-contact textarea:valid + .form-item-label {
    top: 0;
    font-size: 1em;
    color: #ff0000;
    font-weight: 600;
}

.form-contact textarea {
    min-height: 120px;
    resize: vertical;
}

/* Современная кнопка отправки */
.btn1 {
    background: linear-gradient(135deg, #ff0000 0%, #c73737 100%);
    color: white;
    padding: 15px 80px;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.705);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.582), transparent);
    transition: left 0.6s ease;
}

.btn1:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.822);
    background: linear-gradient(135deg, #c73737 0%, #ff0000 100%);
}

.btn1:hover::before {
    left: 100%;
}

.btn1:active {
    transform: translateY(-1px);
}

/* Блок информации о контактах */
.contact-info {
    text-align: center;
}

.contac2t-info .grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.contact-info h3 {
    color: #000;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info h3 .fa {
    color: #ff0000;
    font-size: 1.3em;
}

.contact-info .tel,
.contact-info .email {
    font-size: 1.1em;
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info .tel:hover,
.contact-info .email:hover {
    color: #ff0000;
    transform: translateY(-2px);
}

.contact-info .adr {
    font-style: normal;
    color: #000;
    font-size: 1.1em;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 15px;
    border-left: 4px solid #ff0000;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.404);
}

/* Социальные сети в контактах */
.contact-social {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 0, 0, 0.1);
}

.contact-social h3 {
    color: #000;
    margin-bottom: 20px;
    font-size: 1.3em;
}

/* Анимации для формы */
@keyframes formAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-contact .form-item {
    animation: formAppear 0.6s ease forwards;
    opacity: 0;
}

.form-contact .form-item:nth-child(1) { animation-delay: 0.1s; }
.form-contact .form-item:nth-child(2) { animation-delay: 0.2s; }
.form-contact .form-item:nth-child(3) { animation-delay: 0.3s; }

/* Улучшенный результат отправки */
#result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

#result.success {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 2px solid #4caf50;
}

#result.error {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 2px solid #f44336;
}

/* Индикатор загрузки формы */
.form-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Адаптивность для контактов */
@media (max-width: 1279px) {
    .section-contacts .section-block-inner {
        padding: 30px;
    }
    
    .contact-info .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-contact .grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .section-contacts .section-block-inner {
        padding: 20px;
    }
    
    .contact-info h3 {
        font-size: 1.1em;
    }
    
    .btn1 {
        padding: 12px 30px;
        font-size: 0.9em;
    }
}

@keyframes tooltipFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Интерактивные элементы */
.tel, .email {
    cursor: grab;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.tel:hover, .email:hover {
    background: rgba(255, 0, 0, 0.171);
    transform: translateY(-2px);
    border-radius: 102px;
}

/* Улучшенная карта на мобильных */
@media (max-width: 768px) {
    .section-contacts .map iframe {
        height: 300px;
    }
    
    .contact-social .nav-social {
        justify-content: center;
    }
}

/* =============================================>>>>>
= Ambient Music Player =
===============================================>>>>>*/

.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.player-container {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 320px;
    height: auto;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: none;
    color: white;
    overflow: hidden;
    contain: layout style paint;
}

.player-container.active {
    display: block;
    animation: slideUp 0.3s ease;
    transform: translateZ(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-btn:hover {
    color: #ff0000;
    background: rgba(255, 255, 255, 0.1);
}

.player-title {
    font-weight: 600;
    color: #ff0000;
    font-size: 1.1em;
}

.player-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.player-close:hover {
    color: #ff0000;
}

.track-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.track-info-small-1 {
  width: 10px;
  height: 10px;
}

.track-cover {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff0000, #c73737);
}

.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-details h3 {
    margin: 0 0 5px 0;
    font-size: 1em;
    color: white;
}

.track-details p {
    margin: 0;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.1);
}

.play-pause {
    background: linear-gradient(135deg, #ff0000, #c73737);
    width: 50px;
    height: 50px;
}

.play-pause:hover {
    background: linear-gradient(135deg, #c73737, #ff0000);
    transform: scale(1.1);
}


.time-current,
.time-total {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    min-width: 35px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: grab;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #c73737);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.volume-icon {
    color: #ff0000;
    font-size: 0.9em;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ff0000;
    cursor: grab;
}

.volume-value {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    min-width: 35px;
}

.playlist-container h4 {
    margin: 0 0 10px 0;
    color: #ff0000;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.playlist-container {
    padding: 15px 20px;
    border-top: 1px solid #ff0000;
    max-height: 200px;
    position: relative;
}

.playlist {
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    border: 1px solid transparent;
    flex-shrink: 0;
    border-style: solid;
    border-color: red;
    border-width: 1px;
}

.playlist-item:hover {
  border-style: solid;
  border-color: rgb(0, 255, 149);
  border-width: 1px;
}

.playlist-item:hover::after {
  background: rgb(9, 255, 0);
}

/* стиль для надписей и картинки в плей листе */
.track-info-small {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.playlist-item:hover {
    background: rgba(255, 0, 0, 0.582);
}

.playlist-item.active {
    background: rgba(0, 238, 255, 0.144);
    border-left: 3px solid #ff0000;
}

.playlist-item .track-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.playlist-item .track-artist {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.6);
}

/* Кнопка переключения плеера */
.player-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff0000, #c73737);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    cursor: grab;
}

.player-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.player-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #00ff00;
    color: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

/* Полоса прокрутки для плейлиста */
.playlist::-webkit-scrollbar {
    width: 6px;
}

.playlist::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.playlist::-webkit-scrollbar-thumb {
    background: #860303;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.playlist::-webkit-scrollbar-thumb:hover {
    background: rgba(247, 243, 243, 0.5);
}

.playlist.scrollable {
    padding-right: 10px;
}

/* Анимация появления скроллбара при наведении */
.playlist-container:hover .playlist::-webkit-scrollbar-thumb {
    background: #a1a1a1;
}

/* Индикатор что есть больше треков */
.playlist-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, rgb(9, 255, 0));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist.scrollable:not(:hover)::after {
    opacity: 1;
}

/* Стили для активного скролла */
.playlist.scrolling {
    scroll-behavior: smooth;
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .playlist {
        max-height: 120px;
    }
    
    .playlist-container {
        max-height: 180px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .music-player {
        bottom: 10px;
        right: 10px;
    }
    
    .player-container {
        width: 280px;
        right: 20px;
    }
}

/* Анимация визуализатора */
.visualizer {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 2px;
    height: 30px;
    margin-bottom: 15px;
}

.visualizer-bar {
    width: 3px;
    background: linear-gradient(to top, #ff0000, #c73737);
    border-radius: 2px;
    animation: visualizer 0.8s ease infinite alternate;
}

@keyframes visualizer {
    from {
        height: 5px;
    }
    to {
        height: 25px;
    }
}

.visualizer-bar:nth-child(1) { animation-delay: 0.1s; }
.visualizer-bar:nth-child(2) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(3) { animation-delay: 0.3s; }
.visualizer-bar:nth-child(4) { animation-delay: 0.4s; }
.visualizer-bar:nth-child(5) { animation-delay: 0.5s; }
.visualizer-bar:nth-child(6) { animation-delay: 0.6s; }
.visualizer-bar:nth-child(7) { animation-delay: 0.7s; }

/* Настройки музыки */
.music-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.music-settings-modal {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    color: white;
}

.music-settings-modal h3 {
    color: #ff0000;
    margin-bottom: 20px;
    text-align: center;
}

.setting-item {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9em;
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff0000;
}

.setting-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Уведомления */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.music-player.player-visible .player-container {
    display: block;
    animation: slideUp 0.3s ease;
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .track-info-small img {
        width: 35px;
        height: 35px;
    }
    
    .track-title {
        font-size: 12px;
    }
    
    .track-artist {
        font-size: 10px;
    }
}

.progress-bar {
    cursor: pointer;
    position: relative;
}

.progress-bar:hover .progress {
    background: linear-gradient(90deg, #764ba2, #667eea);
}

.progress-bar:active .progress {
    background: linear-gradient(90deg, #5a3f8c, #5568c4);
}

/* Индикатор перетаскивания */
.progress-bar.dragging {
    cursor: grabbing;
}

.progress-bar.dragging .progress {
    background: linear-gradient(90deg, #5a3f8c, #5568c4);
}

/*=============================================>>>>>
= фоновое видео =
===============================================>>>>>*/
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.portfolio {
  color: white;
}

/*=============================================>>>>>
= стили для IP, времени и провайдере пользователя =
===============================================>>>>>*/
.user-info-widget {
  position: fixed;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,0.92);
  color: #111;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  font-size: 14px;
  line-height: 1.2;
  z-index: 9999;
  min-width: 170px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.user-info-widget .ui-row{
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0;
}
.user-info-widget .ui-row strong{
  font-weight: 700;
  color: #222;
  margin-right: 6px;
}
.user-info-widget .small{
  opacity: 0.85;
  font-size: 13px;
}

@media (max-width: 700px) {
  .user-info-widget {
    left: 60%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    top: auto;
    min-width: 240px;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .user-info-widget {
    left: 70%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    top: auto;
    min-width: 240px;
    font-size: 13px;
  }
}

@media (max-width: 450px) {
  .user-info-widget {
    left: 70%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    top: auto;
    min-width: 240px;
    font-size: 13px;
  }
}

/* Стили для кнопки-кружка и раскрывающегося окна */
.user-info-widget {
  
}

.user-info-widget.collapsed{
  width: 50px;
  height: 50px;
  min-width: 0;
  padding: 0;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: all 260ms cubic-bezier(.2,.9,.2,1);
  background: linear-gradient(135deg, #ff0000, #c73737);
  color: #fff;
}

.user-info-toggle{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ff0000, #c73737);
  color: inherit;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}


.user-info-widget .ui-icon{font-size:18px; line-height:1;}
.user-info-widget .ui-badge{position:absolute; top:8px; right:10px;  color:#fff; padding:2px 6px; border-radius:10px; font-size:11px}

.user-info-panel{
  position: absolute;
  right: 78px;
  top: 120%;
  transform: translateY(-50%) scale(.98);
  width: 300px;
  background: rgba(255,255,255,0.98);
  color: #111;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(18,26,38,0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 10000;
}

.user-info-widget.open{
  width: auto;
  height: auto;
  min-width: 0px;
  padding: 2px;
  border-radius: 122px;
  background: linear-gradient(180deg, rgba(55,255,255,0.98) 0%, rgba(250,250,250,0.98) 100%);
  color: #111;
}

.user-info-widget.open .user-info-panel{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.user-info-panel .ui-row{margin:8px 0}
.user-info-panel .ui-actions{display:flex; justify-content:flex-end; margin-top:8px}
.btn-close{background:#222; color:#fff; border:none; padding:6px 10px; border-radius:8px; cursor:pointer}

@media (max-width:700px){
  .user-info-panel{right:20%; left:auto; transform: translateX(50%) translateY(-120%); top:-150px; bottom:76px; margin:0;}
  .user-info-widget.collapsed{left:50%; right:auto; transform:translateX(-50%)}
}

.location {
  color: #ff4303;
}


.pcc .pc1,
.pc1 {
  font-weight: 700;
  color: #d9416e; /* основной цвет для метки */
  background: rgba(217,65,110,0.06);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-right: 8px;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .pcc .pc1 { padding: 1px 6px; font-size: 14px; }
}


.pcc .pc1{
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.pcc .pc1:hover,
.pcc:hover .pc1{
  background: rgba(217,65,110,0.16);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(217,65,110,0.14);
}


