/*.gallery-container {*/
/*    padding: 40px 0;*/
/*}*/

/*.gallery-item {*/
/*    position: relative;*/
/*    margin-bottom: 30px;*/
/*    border-radius: 12px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*}*/

/*.gallery-item:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);*/
/*}*/

/*.gallery-image {*/
/*    width: 100%;*/
/*    height: 250px;*/
/*    object-fit: cover;*/
/*}*/

/*.gallery-info {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);*/
/*    padding: 20px;*/
/*    color: white;*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease;*/
/*}*/

/*.gallery-item:hover .gallery-info {*/
/*    opacity: 1;*/
/*}*/

/*.gallery-title {*/
/*    font-size: 1.2rem;*/
/*    margin-bottom: 10px;*/
/*    font-weight: 600;*/
/*}*/

/*.gallery-description {*/
/*    font-size: 0.9rem;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.rating-container {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    margin-top: 10px;*/
/*}*/

/*.rating-stars {*/
/*    display: flex;*/
/*    gap: 5px;*/
/*}*/

/*.star {*/
/*    cursor: pointer;*/
/*    font-size: 20px;*/
/*    color: #ffd700;*/
/*    transition: color 0.2s ease;*/
/*}*/

/*.star:hover {*/
/*    color: #ffed4a;*/
/*}*/

/*.rating-count {*/
/*    font-size: 0.9rem;*/
/*    color: #ddd;*/
/*}*/

/*.modal-gallery-image {*/
/*    max-width: 100%;*/
/*    border-radius: 8px;*/
/*}*/

/*!* Анимация для звёзд *!*/
/*@keyframes star-pulse {*/
/*    0% { transform: scale(1); }*/
/*    50% { transform: scale(1.2); }*/
/*    100% { transform: scale(1); }*/
/*}*/

/*.star.active {*/
/*    animation: star-pulse 0.3s ease;*/
/*}*/

/*!* Адаптивность *!*/
/*@media (max-width: 768px) {*/
/*    .gallery-image {*/
/*        height: 200px;*/
/*    }*/
/*    */
/*    .gallery-info {*/
/*        opacity: 1;*/
/*        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));*/
/*    }*/
/*}*/

/*.gallery {*/
/*    padding: 60px 0;*/
/*    background-color: #fff;*/
/*}*/

/*.gallery-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    max-width: 1200px;*/
/*    margin: 0 auto 40px;*/
/*    padding: 0 20px;*/
/*}*/

/*.gallery-title {*/
/*    font-size: 2.5rem;*/
/*    color: #333;*/
/*    margin: 0;*/
/*    font-weight: 700;*/
/*}*/

/*.view-all-btn {*/
/*    padding: 10px 25px;*/
/*    background-color: #0056b3;*/
/*    color: #fff;*/
/*    border: none;*/
/*    border-radius: 30px;*/
/*    font-size: 1.1rem;*/
/*    font-weight: 600;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.view-all-btn:hover {*/
/*    background-color: #003d82;*/
/*    transform: translateY(-2px);*/
/*}*/

/*.gallery-grid {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 0 20px;*/
/*}*/

/*.gallery-row {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(3, 1fr);*/
/*    gap: 30px;*/
/*}*/

/*.project-card {*/
/*    background: white;*/
/*    border-radius: 15px;*/
/*    overflow: hidden;*/
/*    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*}*/

/*.project-card:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);*/
/*}*/

/*.project-image {*/
/*    width: 100%;*/
/*    height: 250px;*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    position: relative;*/
/*}*/

/*.project-image::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 50%;*/
/*    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);*/
/*}*/

/*.project-author {*/
/*    padding: 20px 20px 10px;*/
/*    margin: 0;*/
/*    font-size: 1.1rem;*/
/*    color: #2c3e50;*/
/*    font-weight: 600;*/
/*}*/

/*.project-description {*/
/*    padding: 0 20px 20px;*/
/*    margin: 0;*/
/*    font-size: 0.9rem;*/
/*    color: #666;*/
/*    line-height: 1.6;*/
/*}*/

/*.project-specialty {*/
/*    padding: 0 20px 10px;*/
/*    color: #0056b3;*/
/*    font-size: 0.9rem;*/
/*    font-weight: 500;*/
/*}*/

/*.project-course {*/
/*    position: absolute;*/
/*    top: 15px;*/
/*    right: 15px;*/
/*    background: rgba(0, 86, 179, 0.9);*/
/*    color: white;*/
/*    padding: 5px 15px;*/
/*    border-radius: 20px;*/
/*    font-size: 0.9rem;*/
/*    z-index: 1;*/
/*}*/

/*.project-rating {*/
/*    padding: 0 20px 20px;*/
/*    color: #ffd700;*/
/*    font-size: 1rem;*/
/*}*/

/*@media (max-width: 991px) {*/
/*    .gallery-row {*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*    }*/
/*}*/

/*@media (max-width: 640px) {*/
/*    .gallery-row {*/
/*        grid-template-columns: 1fr;*/
/*    }*/
/*    */
/*    .gallery-header {*/
/*        flex-direction: column;*/
/*        text-align: center;*/
/*        gap: 20px;*/
/*    }*/
/*    */
/*    .gallery-title {*/
/*        font-size: 2rem;*/
/*    }*/
/*}*/


.landing-page {

    z-index: -1;
}

.header-container {
  position: relative;
      height: 60vw;
}

.gallery-header-text2 {
   width: 97.5%;
  position: absolute;
   height: auto;
  bottom: 0;
}

.gallery-nav {
  padding: 40px 0;
}

.gallery-header-text {
  margin-left: -0.7%;
  width: 100%;

  position: absolute;
    bottom: 0;
  color: #fff;
  font-family: Druk Cyr;
  font-size: 38.5vw;
  font-weight: 500;
  line-height: 0.8;
}

.gallery-header-text-mobile {
  display: none;
     width: 55%;
  position: absolute;
   height: auto;
  bottom: 0;
}

.description {
  /*background-color: black;*/
  /*height: 700px;*/
  padding-bottom: 170px;
}


.header {
  /*padding: 20px 170px;*/
}

.header__title {
  color: #fff;
  font-family: "Druk Cyr", sans-serif;
  font-size: 50px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
}

.project-section {
  /*padding: 0 170px;*/
}

.project-section__title {
  color: #fff;
  font-family: "Druk Cyr", sans-serif;
  font-size: 100px;
  letter-spacing: 0.02em;
  margin: 60px 0;
  border-bottom: 1px solid white;
  padding-bottom: 50px;
}

.project-section__divider {
  width: 100%;
  height: 2px;
  background-color: white;
  margin: 40px 0;
}

.project-section__description {
  color: #fff;
  font-family: "Source Code Pro", monospace;
  font-size: 25px;
  font-weight: 500;
  margin-top: 40px;
}




.asia-image {
  height: 65vw;
  position: relative;
  background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.asia1 {
  height: auto;
  width: 10vw;
  position: absolute;
  top: -9%;
  left: 10%;
}

.asia2 {
    height: auto;
   width: 10vw;
  position: absolute;
  bottom: -5%;
  right: 10%;
}




.projects-grid {
  display: flex;
  /*grid-template-columns: repeat(5, 280px);*/
  /*gap: 45px;*/
  flex-wrap: wrap;
  /*justify-content: space-between;*/
  gap: 1.25%;
}

.project-card {
  width: 19%;
  margin-bottom: 100px;
}

.project-image {
    cursor: pointer;
  width: 100%;
  /*height: 280px;*/
  aspect-ratio: 1;
  margin-bottom: 8px;
  /*background-color: #d9d9d9;*/
}

.project-title {
    cursor: pointer;
     white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  color: #fff;
  font-family:
    "Druk Cyr",
    -apple-system,
    sans-serif;
  font-size: 35px;
  font-weight: 500;
  margin-bottom: 8px;
}

.project-author {
    cursor: pointer;
  color: #fff;
  font-family: "Source Code Pro", monospace;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}

.project-group {
    cursor: pointer;
  color: #fff;
  font-family: "Source Code Pro", monospace;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
}

.project-button {
  width: 100%;
  height: 30px;
  border: 1px solid #fff;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.button-text-card {
  color: #fff;
  font-family: "Source Code Pro", monospace;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}



.new_works {
  padding: 50px 0 130px 0;
  background-color:  rgb(18, 18, 18); ;
}

.new_works-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-animation-wrapper {
    margin-top: 7px;
    position: relative;
    display: flex;
    align-items: center;
    transition: width 0.3s ease-in-out;
}

.new_works-header:not(:hover) .header-white-rectangle {
    transition: all 0.6s ease-in-out 0.03s;
}

.header-image {
  position: relative;
  z-index: 2;
  transition: all 0.6s ease 0.036s;
}

.new_works-header:hover .header-image {
    /*fill: black;*/
}

.header-white-rectangle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  height: 100%;
  width: 0;
  transition: all 0.6s ease;
  transform-origin: left;
  z-index: 1;
}

.header-line {
  flex-grow: 1;
  height: 3px;
  background-color: white;
  transition: transform 0.6s ease;
  transform-origin: right;
    margin-top: 7px;
}

.new_works-header:hover .header-image {
    transform: translateX(1273px);
}

/* Hover animations */
.new_works-header:hover .header-animation-wrapper {
    /*position: absolute;*/
    display: flex;
    /*justify-content: right;*/
    width: 80%;
    text-align: right;
    /*right: 0;*/
  /*transform: translateX(calc(100vw - 100% - 300px));*/
}

.new_works-header:hover .header-white-rectangle {
  width: 1300px;
  transform: translateY(-50%) scaleX(1);
}

.new_works-header:hover .header-line {
  transform: scaleX(0);
}

.new_works-header-text {
  font-size: 24px;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1600px) {
    .new_works-header:hover .header-image {
        transform: translateX(1018px);
    }

    .new_works-header:hover .header-white-rectangle {
         width: 1040px;
    }
}

@media (max-width: 1400px) {
    .new_works-header:hover .header-image {
        transform: translateX(836px);
    }

    .new_works-header:hover .header-white-rectangle {
         width: 860px;
    }
}

@media (max-width: 1200px) {
    .new_works-header:hover .header-image {
        transform: translateX(657px);
    }

    .new_works-header:hover .header-white-rectangle {
         width: 680px;
    }
}

@media (max-width: 991px) {
      .new_works-header:hover .header-image {
    transform: translateX(460px);
  }

  .new_works-header:hover .header-white-rectangle {
    width: 485px;
  }
}

/* Add responsive adjustments */
@media (max-width: 768px) {
  .new_works-header:hover .header-image {
    transform: translateX(361px);
  }

  .new_works-header:hover .header-white-rectangle {
    width: 375px;
  }
}

.new_works-header-text {
  color: #fff;
  font-family: Druk Cyr;
  font-size: 100px;
  font-weight: 500;
}

.header-line {
  width: 100%;
  height: 2px;
  background-color: white;
}


.custom-rectangle {
    width: 100%;
    height: 100%;
  }

/*------------------*/

.authors-grid {
  gap: 1.3%;
  display: flex;
  flex-wrap: wrap;
}

.section-authors {
  background: rgb(18, 18, 18);

  padding-bottom: 270px;
}

.author-card {
  width: 24%;
  display: flex;
  gap: 4%;
  margin-bottom: 40px;
}

.author-image-wrapper {
  width: 49%;
  display: flex;
  flex-direction: column;

}

.author-image {
    pointer-events: none;
  background-size: cover;
    background-position: 50%  0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
}

.author-name {
  margin-top: 4px;
  color: rgb(255, 255, 255);
  font-family: Source Code Pro;
  font-size: 23px;
  font-weight: 500;
  text-wrap: nowrap;
}
.manager-image {
  height: 100%;
}

.author-work {
  width: 49%;
  min-height: 0;
  height: 80%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgb(255, 255, 255);
    cursor: pointer;
}

.gallery-header-svg-mobile {
  position: absolute;
  right: 0;
  bottom: 5px;
  display: none;
}

.gallery-header-animation {
  position: absolute;
  height: 20vw;
        right: 28.5px;
    bottom: 0px;
    width: 77px;
  background: white;
  transform: translateY(0);
  transition: transform 1.0s ease;
}

.gallery-header-animation.scrolled {
    transform: translateY(15vw);
}

@media (max-width: 1600px) {
  .gallery-header-animation {
    right: 21.5px;
    bottom: 0px;
    width: 64px;
  }
}

@media (max-width: 1400px) {
    .gallery-header-animation {
        right: 16.5px;
        width: 56px;
    }
}

@media (max-width: 1200px) {
          .gallery-header-animation {
            right: 12.6px;
            width: 46px;
        }

  .author-card {
    width: 32%;
  }

  .authors-grid {
    gap: 2%;
  }

  .projects-grid {
  gap: 1.333%;
}

.project-card {
  width: 24%;
  /*margin-bottom: 100px;*/
}
}

@media (max-width: 996px) {
  .projects-grid {
  gap: 2%;
}

  .project-card {
    width: 32%;
    /*margin-bottom: 100px;*/
    margin-bottom: 70px;
  }

  .project-title {
    font-size: 26px;
  }

  .project-author {
    font-size: 18px;
  }

  .project-group {
    font-size: 13px;
  }

  .new_works-header-text {
    font-size: 80px;
  }

  .section-authors {

    padding-bottom: 160px;
  }

      .gallery-header-animation {
        right: 6.5px;
        width: 35px;
    }

}

@media (max-width: 768px) {

    
    .header__title {
        font-size: 1.2rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .project-section__title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .project-section__description {
        font-size: 1rem;
        /*text-align: center;*/
        padding: 0 15px;
    }
    
    .projects-grid {
        /*grid-template-columns: 1fr;*/
        /*gap: 20px;*/
        /*padding: 0 15px;*/
    }
    
    .project-card {
        /*width: 100%;*/
        margin-bottom: 20px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-author, .project-group {
        font-size: 1rem;
    }
    
    .button-text-card {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .asia-image {
        height: 75vh;
        background-image: url("../images/asia_mobile.png") !important;
    }
    

    
    .header-container {
        padding: 20px 15px;
    }
    
    .description {
        padding: 20px 15px 80px 15px;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .author-card {
        width: 100%;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .new_works-header-text {
        font-size: 50px;
    }
    
    .header-line {
        width: 100%;
    }
    
    .gallery-header-svg-mobile {
        width: 20vw;
        height: 20vw;
    }

    .header-image {
        width: 30px;
        height: 45px;
    }


      .gallery-header-animation  {
    right: -1px;
    width: 26px;
    height: 20vw;
  }
}

@media (max-width: 576px) {
    .gallery-header-text2 {
        display: none;
    }

    .gallery-header-text-mobile {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

  .section-authors {
    padding-bottom: 40px;
  }

  .author-name {
    font-size: 3vw;
  }

  .author-card {
    margin-bottom: 17px;
  }

  .projects-grid {
    gap: 4%;
  }

  .project-card {
    width: 48%;
    margin-bottom: 25px;
  }

  .project-title {
    font-size: 25px;
  }

  .project-author {
    font-size: 15px;
  }

  .project-group {
    font-size: 10px;
  }

  .new_works-header {
      gap: 10px;
    margin-bottom: 20px;
  }

  .new_works-header-text {
    font-size: 27px;

  }

  .button-text-card {
    font-size: 15px;
  }

  .header-image {
    width: 22px;
    height: 28px;
  }
  .header-animation-wrapper {
      margin-top: 0;
  }

  .header-animation-wrapper {
      pointer-events: none;
  }

  .header-line {
      margin-top: 0;
  }

  .project-card {
    margin-bottom: 25px;
  }

  .new_works {
    padding: 30px 0 45px 0;
  }

  .gallery-header-text2 {
    display: none;
  }

  .gallery-header-text-mobile {
    display: block;
    left: 10px;
  }

  .header-container {
    height: 225vw;
    max-height: 1000px;
  }

  .header__title {
    width: 57%;
      text-align: left;
    font-size: 6vw;
    margin-left: 11%;
    margin-bottom: 10px;
      padding: 0;
  }

  .gallery-header {
    position: relative;
  }

  .project-section__title {
    border-top: 1px solid white;

    font-size: 28vw;
    padding: 0px 0 10px 0;
    margin-top: 10px;
      margin-bottom: 20px;
    line-height: 1;
  }

  .asia1 {
      top: -5%;
  }

  .asia2 {
      bottom: -4%;
  }

  .mobile-back {
    background-image: url('../images/gallery_project.png');
    background-clip: text;
    color: transparent;
      text-wrap: nowrap;
  }

  .project-section__description {
    font-size: 10px;
    margin-top: 0px;
  }

  .description {
    padding-bottom: 70px;
  }

  .gallery-header-svg-mobile {
    display: block;
  }



    /*  .gallery-header-animation {*/
    /*    display: none;*/
    /*}*/

  .gallery-header-animation  {
    left: 17.5px;
    width: 34.5px;
    height: 30vw;
  }

  .gallery-header-animation.scrolled {
    transform: translateY(25vw);
}

    .new_works-header:hover .header-image {
    transform: translateX(79vw);
  }

  .new_works-header:hover .header-white-rectangle {
    width: 80vw;
  }

}

@media (max-width: 450px) {

    .gallery-header-animation  {
    left: 14px;
    width: 21px;
  }

    .gallery-header-text-mobile {
        max-width: 180px;
    }

}



