/* Страница Портфолио */

.portfolio__containers {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.portfolio__title {
    font-size: 38px;
    line-height: 45px;
    color: #292929;
    margin: 50px 0 50px;
    text-align: center;
}
.portfolio .wrap {
    align-items: start;
}

.portfolio__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.portfolio__list__item {
    display: flex;
    flex-direction: column;
    max-width: 379px;
    /* height: 380px; */
    border-radius: 16px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 5px 17px 3px rgba(0, 0, 0, 0.2);
    background-image: url('/img/portfolio/portfolio-bg.webp');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 100% 100%;
    margin-bottom: 50px;
}

.portfolio__list__item__img-block {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    height: 213px;
    overflow: hidden;
    border-radius: 16px;
}

.portfolio__list__item__img-wrap {
    position: absolute;
    display: flex;
    height: 100%;
    width: 50%;
}

.portfolio__list__item__img-wrap-left {
    left: 0;
    justify-content: start;
}

.portfolio__list__item__img-wrap-right {
    right: 0;
    justify-content: end;
    overflow: hidden;
}

.portfolio__list__item__img {
    min-width: 379px;
    width: 379px;
    height: 100%;
    -webkit-user-select: none;
    user-select: none;
    border-radius: 16px;
}

.portfolio__list__item__img__separator {
    position: absolute;
    right: -1px;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.portfolio__list__item__img__separator__line {
    height: 100%;
    width: 3px;
    background-color: #367aca;
}

.portfolio__list__item__img__separator__area {
    width: 45px;
    height: 45px;
    background-color: #367aca;
    border-radius: 10px;
    position: absolute;
    background-image: url('/img/portfolio/whiteArrowLeft.png'), url('/img/portfolio/whiteArrowRight.png');
    background-repeat: no-repeat, no-repeat;
    background-size: 25px 25px, 25px 25px;
    background-position: 0 50%, 100% 50%;
}

.portfolio__list__item__offer {
    padding: 40px 40px 40px 40px;
    text-align: center;
    /* border-radius: 16px; */
    box-shadow: 0px 20px 20px -13px rgb(0 0 0 / 19%);
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    height: 130px;
}

.portfolio__list__item__offer__title {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #383838;
    text-align: center;
}

.portfolio__list__item__offer__desc {
    font-size: 14px;
    font-weight: 500;
    color: #383838;
    text-align: center;
}

.portfolio__sidebar {
    width: 25%;
}

.portfolio__sidebar__banner-wrap, .portfolio__sidebar__banner {
    width: 100%;
    border-radius: 16px;
}

.portfolio__sidebar__banner-wrap {
    padding: 10px;
    border: 1px solid #09b97f;
    margin-bottom: 30px;
}

.portfolio__sidebar__banner {
    background-image: url('../img/portfolioBg.webp');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
}

.portfolio__sidebar__banner__line {
    width: 100%;
}

.portfolio__sidebar__banner__title {
    font-size: 14px;
    text-align: center;
    width: 230px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 60px;
    color: #09b97f;
}

.portfolio__sidebar__banner__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 50px;
    margin: auto;
    font-size: 13px;
    margin-bottom: 80px;
}

.portfolio__sidebar__banner__img {
    width: 100%;
}

.portfolio .stocks__item {
    width: 100%;
    height: 150px;
    padding: 15px 20px 15px 10px;
    margin-bottom: 0;
}

.portfolio .stocks__item__month {
    width: 120px;
}

.portfolio .stocks__item__img {
    width: 107px;
    margin-right: 15px;
}

.portfolio .stocks__item__offer__title {
    font-size: 14px;
    margin-bottom: 15px;
}

.portfolio .stocks__item__offer__intro {
    margin-bottom: 25px;
}

.portfolio .stocks__item__offer__intro, .portfolio {
    font-size: 8px !important;
}

.portfolio .stocks__item__btn {
    width: 110px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
}

.portfolio__operation {
    /* border-radius: 16px;
    box-shadow: 0px -20px 20px -13px rgb(0 0 0 / 19%); */
    padding-top: 50px;
}

.portfolio__operation-problem {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    height: 120px;
}

.portfolio__problem__title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #fbf2f3;
    width: 250px;
    border-radius: 16px;
    padding: 10px 0;
    margin-bottom: 10px;
}

.portfolio__problem__title__icon {
    width: 20px;
    margin-right: 10px;
}

.portfolio__problem__title-text {
    font-size: 12px;
    font-weight: 700;
    color: #383838;
}

.portfolio__problem__description {
    font-size: 12px;
    font-weight: 500;
    color: #383838;
    text-align: center;
    padding: 0 20px;
}

.portfolio__operation-solution {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.portfolio__solution__title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #edfaf1;
    width: 250px;
    border-radius: 16px;
    padding: 10px 0;
    margin-bottom: 10px;
}

.portfolio__solution__title__icon {
    width: 20px;
    margin-right: 10px;
}

.portfolio__solution__title-text {
    font-size: 12px;
    font-weight: 700;
    color: #383838;
}

.portfolio__solution__description {
    font-size: 12px;
    font-weight: 500;
    color: #383838;
    text-align: center;
    padding: 0 20px;
}

@media (max-width: 970px) {
    .portfolio__operation-problem {
        height: auto;
    }
}

@media (max-width: 580px) {
    .portfolio__title {
        font-size: 28px;
    }
}
