/* Фон hero section с картинкой */

.background-hero-section {
    position: absolute;
    top: 10px;
    left: 0;
    width: 99vw;
    height: 99vh;
    background: url('../images/background/background-hero-section.svg') no-repeat;
    background-size: cover;
    background-position: 60px;
    z-index: 1;
    pointer-events: none;
}
body {
    background: #181818;
    overflow-x: hidden;
    margin: 0 auto;
    padding: 0 auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0.8s;
    overflow: hidden;
    overflow: auto;
}

body.fade-in {
  opacity: 1;
  visibility: visible;
}



.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero__content {
    position: absolute;
    left: 34.8vw;
    top: 45vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__title {
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    font-weight: 400;
    font-size: 4.6875vw; 
    line-height: 6.2vw; 
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 20px -25px 70px #000000;
}

.hero__text {
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    font-weight: 400;
    font-size: 1.146vw; 
    line-height: 1.3;
    color: #B3B3B3;
    margin-top: 0px;
    margin-bottom: 0;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .hero__content {
        left: 10vw;
        top: 22vh;
    }
    .hero__title {
        font-size: 7vw;
    }
    .hero__text {
        font-size: 2vw;
    }
}
/* Красивый хедер */
header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 9.2vh;
    min-height: 60px;
    max-height: 180px;
    padding: 0 3.52vmin;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo__title {
    font-family: 'Wix Madefor Display', sans-serif;
    font-size:  1.85vmin;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.logo__downpart {
    font-size:  1.85vmin;
    font-weight: 500;
    color: #fff;
}

.logo__downpart--blue {
    color: #4D5CFF;
    font-weight: 700;
}

.logo__downpartf {
    color: #fff;
    font-weight: 700;
    
}

/* Красивый navbar */
.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
}

.navbar__list {
    display: flex;
    gap: 2em;
    list-style: none;
    margin: 0;
    padding: 0;
}


.navbar__link {
    font-family: 'Wix Madefor Display', sans-serif;
    position: relative;
    color: #A4A1A1;
    text-decoration: none;
    font-size: 1.145vw; 
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transition: color 0.2s, text-decoration 0.2s;
}


.navbar__link {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  overflow: hidden;
}

.navbar__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; 
  height: 2px; 
  background-color: #A4A1A1;
  transition: width 0.3s ease;
}

.navbar__link:hover::after {
  width: 100%; 
}

.navbar__link:hover, .navbar__link:focus {
    color: #F2F2F2;
    transition-duration: 0.7s;
    background: none;
    box-shadow: none;
}

@media (max-width: 600px) {
    header {
        padding: 0 12px;
    }
    .navbar__list {
        gap: 0.7em;
    }
    .logo__title {
        font-size: 1.3em;
    }
    .navbar__link {
        font-size: 1.145vw;
    }
}
