/* gallery */
.gallery-section {
    width: 100%;
    
    margin-top: 56px;


}

.gallery-section__title {
    font-family: Qanelas;
    padding: 12px 0;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
    width: 100%;
    background: linear-gradient(90deg, #FF5F6D 0%, #FFC371 100%), linear-gradient(90deg, #43C3F7 0%, #5163B0 100%);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.35);
    border-radius: 3px;
    text-align: center;
}

.gallery-section__gallery {
    width: 100%;
    display: flex;
}

.gallery-section__gallery-category {
    width: 270px;
}

.gallery-section__section {
    padding: 0;
    width: 270px;
}

.gallery-section__section-name {
    list-style: none;
    height: 40px;
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
    color: #757575;
    padding-left: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    transition: ease 0.2s;
    cursor: pointer;
}

.gallery-section__section-name.active {
    background: #9D0034;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    color: #fff; 
    transition: ease 0.2s;
}

.gallery-section__section-name:hover {
    background: #F2F2F2;
    border-radius: 3px;
    transition: ease 0.2s;
}

.gallery-section__section-name.active:hover {
    background: #9D0034;
}

.gallery-section__wrap-image img,
.gallery-section__wrap-image {
    width: 270px;
    height: 201px;
    border-radius: 8px;
    position: relative;
}

.gallery-section__wrap-image img {
    position: absolute;
}

.gallery-section__wrap-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 30px 30px;
    overflow: hidden;
    transition: ease 0.2s;
}

.gallery-section__section-images {
    flex-wrap: wrap;
    display: flex;
    /* justify-content: space-between; */
    width: 100%;
}

.gallery-section__wrap-link {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}


.gallery-section__wrap-image::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #222222;
    opacity: 0.3;
    border-radius: 8px;
    left: 0;
    transition: ease 0.2s;
}

.gallery-section__description {
    color: #fff;
    width: 196px;
    text-align: center;
    z-index: 1;
    transition: ease 0.2s;
}

.gallery-section__wrap-image:hover::after,
.gallery-section__wrap-link:hover ~ .gallery-section__description {
    opacity: 0;
}

.gallery-section__description-title {
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 40px;
    color: #FFFFFF;
}

.gallery-section__description-desc {
    margin: 0;
    font-weight: bold;
    font-size: 26px;
    text-transform: lowercase;
}

.gallery-section__section-title {
    margin-left: 30px;
    font-size: 18px;
    line-height: 22px;
    color: #BDBDBD;
    text-align: left;
}

.gallery-section__gallery-tab {
    display: none;
}

.gallery-section__gallery-tab.active {
    display: block;
   
    animation-duration: 0.3s;
    animation-name: gallery-active-tab;

}

@keyframes gallery-active-tab {
    from{
        opacity: 0;
    }

  20% {
    opacity: 0.2;
  }

  40% {
    opacity: 0.4;
  }

  60% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.gallery-section-select {
    padding: 6px 16px;
    background: url(/upload/unfold.svg) 95% / 7% no-repeat #F2F2F2;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    width: 92%;
    margin: 24px 0 24px 4%;
    display: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 36px;
    color: #717475;
    font-size: 18px;
}

@media (max-width: 425px) {
    .gallery-section__gallery-category {
        display: none;
    }
    
    .gallery-section-select {
        display: block;
    }

    .gallery-section__wrap-image {
        width: 45%;
        height: 140px;
        margin: 0 0 8px 8px;

    }

    .gallery-section__description-desc {
        display: none;
    }

    .gallery-section__title {
        border-radius: 0;
    }

    .gallery-section__section-images {
        margin-left: 8px;
    }

    .gallery-section__wrap-image img {
        width: 100%;
        height: 100%;
    }

    .gallery-section {
        overflow: hidden;
    }
}