.projects {
    padding: 60px 0;
    overflow: hidden;
}

.projects__title {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.projects__title h2 {    
    text-align: center;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
		margin-bottom: 0;
}

.projects__all {
	display: flex;
	align-items: center;
	gap: 10px;
    position: absolute;
    right: 0;
    font-size: 16px;
    line-height: 150%;
    font-family: "Montserrat", sans-serif;;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
}

.projects__all:hover {
    color: #ff00ff;
    cursor: pointer;
}

.projects__item {
    background: linear-gradient(106.63deg, rgba(160, 100, 255, 0.3) 0.51%, rgba(160, 100, 255, 0) 0.52%, rgba(35, 11, 74, 0.3) 100%), rgba(0, 24, 58, 0.7);
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 20px;
		padding-top: 0;
		padding-bottom: 0;
}

.projects__info {
    max-width: 780px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 438px;
    gap: 27px;
    position: relative;
}

.projects__text {
    padding: 30px 0 0 30px;
    max-width: 380px;
}

.projects__links {
    position: absolute;
    right: 30px;
    top: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

.projects__image-title {
    margin-bottom: 30px;
}

.projects__image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 60px;
}

.projects__image img {
    max-width: 430px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}

.projects__button {
    position: absolute;
    left: 0;
    bottom: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.projects__video, .projects__presentation {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -99;
    width: 100%;
    height: 100%;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.projects__video {
    background: #000;
}

.projects__presentation .slider {
    height: 440px;
}

.projects__presentation .slider img {
    height: 443px;
    -o-object-fit: cover;
    object-fit: cover;
}

.projects__presentation .slick-prev,
.projects__presentation .slider__arrow_left {
    width: 34px;
    height: 34px;
    background: url("../../img/projects/prev.svg") no-repeat center center/70% auto, linear-gradient(222.75deg, rgba(150, 0, 255, 0.5) 2.23%, rgba(150, 0, 255, 0.1) 95.76%);
    border-radius: 8px;
    opacity: 1;
    left: 711px;
    top: inherit;
    bottom: 78px;
    z-index: 9;
}

.projects__presentation .slick-prev::before,
.projects__presentation .slider__arrow_left::before {
    font-size: 0;
}

.projects__presentation .slick-next,
.projects__presentation .slider__arrow_right {
    width: 34px;
    height: 34px;
    background: url("../../img/projects/next.svg") no-repeat center center/70% auto, linear-gradient(222.75deg, rgba(150, 0, 255, 0.5) 2.23%, rgba(150, 0, 255, 0.1) 95.76%);
    border-radius: 8px;
    opacity: 1;
    right: inherit;
    top: inherit;
    left: 711px;
    bottom: 34px;
    z-index: 9;
}

.projects__presentation .slick-next::before,
.projects__presentation .slider__arrow_right::before {
    font-size: 0;
}

.close,
.close-presentation {
    width: 34px;
    height: 34px;
    position: absolute;
    left: 30px;
    top: 34px;
    background: url("../../img/projects/back.svg") no-repeat center center, linear-gradient(222.75deg, rgba(150, 0, 255, 0.5) 2.23%, rgba(150, 0, 255, 0.1) 95.76%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 9;
}

.close:hover,
.close-presentation:hover {
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

.maximize-presentation {
    width: 34px;
    height: 34px;
    position: absolute;
    right: 30px;
    top: 34px;
    background: url("../../img/projects/maximize.svg") no-repeat center center, linear-gradient(222.75deg, rgba(150, 0, 255, 0.5) 2.23%, rgba(150, 0, 255, 0.1) 95.76%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 9;
}

.maximize-presentation:hover {
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

.copy {
    display: block;
    width: 28px;
    height: 28px;
    background: url("../../img/projects/share.svg") no-repeat 0 0;
    position: relative;
    z-index: 99;
}

.copy:hover {
    cursor: pointer;
}

.copy svg {
    display: none;
}

.like {
    display: block;
    width: 28px;
    height: 28px;
    background: url("../../img/projects/like.svg") no-repeat 0 0;
    position: relative;
    z-index: 99;
}

.like:hover {
    cursor: pointer;
}

.like svg {
    display: none;
}

.button-projects,
.button,
.button_type_presentation,
.button_type_video {
    background: linear-gradient(315deg, rgba(160, 100, 255, 0.2) 0%, rgba(10, 0, 25, 0.2) 100%), rgba(255, 255, 255, 0.05);
    
    -webkit-filter: none;
    filter: none;
    border-radius: 10px;
		padding: 10px 20px;
    font-weight: 600;
		font-size: 16px;
		line-height: 140%;
		color: #dcdcf0;
    font-family: "Montserrat", sans-serif;    
    width: 200px;
    text-align: center;
}

.button-projects:hover,
.button:hover {
    background: linear-gradient(272.96deg, rgba(255, 0, 255, 0.5) 0%, rgba(255, 0, 255, 0.25) 100%), rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.projects-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 18px 40px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.projects-list__item {
    width: 250px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

.projects-list__link:hover {
    cursor: pointer;
}

.projects-list__link:hover img {
    -webkit-box-shadow: 0px 0px 10px rgba(0, 25, 240, 0.3), 0px 0px 20px rgba(240, 0, 250, 0.3);
    box-shadow: 0px 0px 10px rgba(0, 25, 240, 0.3), 0px 0px 20px rgba(240, 0, 250, 0.3);
    border-radius: 10px;
}

.copy-inf {
    position: fixed;
    top: 20px;
    left: calc(45% - 120px);
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 8px;
    background: linear-gradient(222.75deg, rgba(150, 0, 255, 0.5) 2.23%, rgba(150, 0, 255, 0.1) 95.76%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    color: #ffffff;
    z-index: 99100;
}

.projects .flipster {
    overflow-y: hidden;
    padding-bottom: 70px;
}

.projects .flipster--maximize {
    height: 760px;
}

.projects .flipster__item {
    -webkit-filter: blur(2px);
    filter: blur(2px);
    max-width: 780px;
    width: 100%;
}

.projects .flipster__item--current {
    -webkit-filter: blur(0);
    filter: blur(0);
}

.projects .flipster__item--current .projects__item {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.projects .flipster__item.maximize {
    -webkit-transform: scale(1.489);
    transform: scale(1.489);
    margin-top: 120px;
}

.projects .flipster__button {
    top: inherit;
    bottom: 10px;
    margin: 0;
    width: 30px;
    height: 30px;
}

.projects .flipster__button svg {
    display: none;
}

.projects .flipster__button--prev {
    left: 50%;
    background-image: url("../../img/left.svg");
    -webkit-transform: translate(-50px, 0);
    transform: translate(-50px, 0);
}

.projects .flipster__button--next {
    right: 50%;
    background-image: url("../../img/right.svg");
    -webkit-transform: translate(50px, 0);
    transform: translate(50px, 0);
}

.projects .flipster__nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 9;
}

.projects .flipster__nav__link {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.projects .flipster__nav__link::after {
    background: #fff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    left: 0;
    top: 0;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.projects .flipster__nav__item--current > .projects .flipster__nav__link::after,
.projects .flipster__nav__link:hover::after,
.projects .flipster__nav__link:focus::after {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    background: #ff00ff;
}

.owl-carousel .owl-item {
    padding: 0;
}

.owl-carousel .owl-pic {
    background: none;
    margin: 0;
    border: 0;
    border-top: 0;
    border-bottom: 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    height: 100%;
}

.owl-carousel .owl-item.center .owl-pic {
    opacity: 1;
    border: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.owl-carousel .owl-item.center + .owl-item {
    position: relative;
    z-index: -1;
}

.owl-carousel .owl-pic img {
    width: 100%;
    height: 100%;
    -webkit-transition: 0.3s opacity ease, 0.3s -webkit-transform ease;
    transition: 0.3s opacity ease, 0.3s -webkit-transform ease;
    transition: 0.3s opacity ease, 0.3s transform ease;
    transition: 0.3s opacity ease, 0.3s transform ease, 0.3s -webkit-transform ease;
    opacity: 1;
    -o-object-fit: cover;
    object-fit: cover;
    min-height: 438px;
}

.owl-carousel .owl-item .owl-pic:hover img,
.owl-carousel .owl-item.center .owl-pic img {
    opacity: 1;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    position: absolute;
    cursor: pointer;
    font-size: 0px !important;
    color: #fff !important;
    right: 34px;
    -webkit-transition: 0.3s opacity ease;
    transition: 0.3s opacity ease;
    opacity: 1;
    margin: 0;
    padding: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    z-index: 9;
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
    opacity: 1;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-prev:hover {
    background: url("../../img/projects/prev.svg") no-repeat center center/70% auto, linear-gradient(222.75deg, rgba(150, 0, 255, 0.5) 2.23%, rgba(150, 0, 255, 0.1) 95.76%) !important;
    bottom: 80px;
}

.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-next:hover {
    background: url("../../img/projects/next.svg") no-repeat center center/70% auto, linear-gradient(222.75deg, rgba(150, 0, 255, 0.5) 2.23%, rgba(150, 0, 255, 0.1) 95.76%) !important;
    bottom: 30px;
}

.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 99;
}

@media (max-width: 1200px) {
    .projects-list {
        gap: 18px;
    }
}

@media (max-width: 1111px) {
    .projects-list {
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
}

@media (max-width: 900px) {
    .projects__image {
        display: none;
    }

    .projects__title {
        font-size: 20px;
        line-height: 32px;
    }

    .projects__title span {
        font-size: 32px;
        line-height: 40px;
    }

    .projects__title h2 {
        font-size: 38px;
        line-height: 38px;
        text-align: left;
        padding-right: 100px;
    }

    .projects__text {
        padding-right: 35px;
    }

    .projects .projects .flipster {
        padding-bottom: 30px;
    }

	.projects .flipster__item img {
		max-width: 100%;
		object-fit: cover;
		object-position: left;
	}

    .button {
        font-size: 18px;
        line-height: 24px;
        padding: 5px 15px;
        width: 140px;
    }
}

@media (max-width: 700px) {
    .projects__item {
        border: 1px solid #453d51;
        background-position: 50% 50%;
        background-size: cover;
        min-height: 470px;
    }

    .projects__nav {
        bottom: 70px;
    }

    .projects__info {
        height: 470px;
    }

    .projects__title {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .projects-list__item {
        width: 200px;
    }
}

@media (max-width: 500px) {
    .projects__text {
        padding: 30px 10px;
        max-width: 320px;
    }

    .projects__title {
        margin-bottom: 20px;
    }

    .projects__title h2 {
        font-size: 22px;
        line-height: 26px;
        padding-right: 150px;
    }

    .projects__button {
        gap: 10px;
    }

    .projects .projects .flipster {
        padding-bottom: 50px;
    }

    .projects-list__item {
        width: 150px;
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 380px) {
    .projects__text {
        padding: 30px 10px 0 10px;
        max-width: 280px;
        font-size: 16px;
        line-height: 22px;
    }

    .button {
        width: 120px;
        font-size: 16px;
        padding: 5px 10px;
    }
}

.modal-projects {
    position: fixed;
    inset: 0;
    /*display: -webkit-box;*/
    /*display: -ms-flexbox;*/
    /*display: flex;*/
    /*-webkit-box-align: center;*/
    /*-ms-flex-align: center;*/
    /*align-items: center;*/
    cursor: pointer;
    overflow-x: hidden;
    overflow-y: auto;
    top: -100%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    display: none;
}

.modal-projects .modal__block {
    position: relative;
    width: 1180px;
    padding: 49px 0 49px 35px;
    margin: auto;
    margin-top: 130px;
    background-color: #280046;
    border-radius: 20px;
    cursor: default;
}

.modal-projects .modal__container {
    height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #fff #280046;
}

.modal-projects .modal__container::-webkit-scrollbar {
    width: 8px;
}

.modal-projects .modal__container::-webkit-scrollbar-track {
    background: none;
}

.modal-projects .modal__container::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-radius: 20px;
    border: 3px solid transparent;
}

.modal-projects .modal__close {
    background: none;
    position: absolute;
    right: 12px;
    top: 13px;
}

.modal-projects.visible {
    top: 0;
    /* left: 0; */
    z-index: 9999;
    display: block;
}

@media (max-width: 1200px) {
    .modal-projects .modal__block {
        max-width: 98%;
    }
}

@media (max-width: 700px) {
    .modal-projects .modal__block {
        padding-left: 10px;
    }

    .modal-projects .modal__container {
        padding-right: 10px;
    }
}
.projects__cover {
    border-radius: 22px;
}

.flipster--carousel .flipster__item {
  perspective: 1200px;
  opacity: 1;
}