.page-h1 {
    font-size: 32px;
}

.project-card-content {
    background: url(/img/bg-body.webp) center top/cover no-repeat;
    margin: 0;
    padding: 0 0 60px;
}

.project-page-button_back {
    padding: 60px 100px 100px;
    margin: 0;
}

.project-card-float_block {
    margin: -100px 60px 200px;
    padding: 0;
    background: #F9F6EE;
    z-index: 1;
}

.project-card-float_block-top_content {
    display: flex;
    flex-direction: column;
    padding: 160px 200px;
}

.portfolio-card {
    background: #F9F6EE;
    margin-top: 140px;
    margin-bottom: 60px;
    padding: 80px 200px 200px;
}

.portfolio-card-content {
    display: flex;
    flex-direction: row;
    gap: 100px;
}

.portfolio-card-content-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 50%;
}

.portfolio-card-description {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10%;
}

.portfolio-card-description-text ul li {
    margin-bottom: 10px;
}

.text_red {
    color: #781C2E;
}

.project-card-float_block-bottom_content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 0 160px 0;
    /* gap: 30px; */
}

.bottom_content-col-left {
    width: 60%;
    display: flex;
    align-items: flex-start;
    padding-right: 30px;
}

.bottom_content-col-right {
    width: 40%;
    display: flex;
    align-items: flex-end;
    padding-left: 30px;
}

.bottom_content-col-left-p {
    padding-left: 30px;
    width: 40%;
}

.bottom_content-col-right-p {
    max-width: 40%;
    padding-right: 30px;
}

.bottom_content-col-right img,
.bottom_content-col-left img {
    max-width: 100%;
}


/* GRAPHIC PROJECT CARD */

.project-card-float_block-content {
    display: flex;
    flex-direction: column;
    padding: 160px 0;
}

.project-card-float_block-content h1 {
    padding: 0 40px 0 230px;
    margin-bottom: 200px;
}

.graphic-project-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.graphic-project-col {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sub-col {
    width: 48%;
    display: flex;
}

.graphic-project-col img {
    width: 100%;
    height: fit-content;
}

.img-2 {
    margin-top: 250px;
}

.img-4 {
    margin-top: 110px;
}

.graphic-project-content-bottom {
    display: flex;
    justify-content: flex-end;
    padding: 30px 200px 30px 30px;
}

.graphic-project-content-bottom p {
    width: 22%;
}



/* CAROUSEL */

.carousel {
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    position: relative;
    padding-bottom: 60px;
}

.carousel-train {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.carouselSlides {
    flex: 0 0 33.333%;
    min-width: 33.333%;
    display: block;
    box-sizing: border-box;
    padding: 10px;
    flex-shrink: 0;
    object-fit: contain;
}

.carousel-button {
    border: none;
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4em;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.slider-small-button {
    border: none;
    display: inline-block;
    height: 100%;
    background: none;
    padding: 20px;
    font-family: "Kodchasan", sans-serif;
    font-size: 4em;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.slider-small-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.prev-btn {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(-0%, -50%)
}

.next-btn {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%)
}

/* Стили для точек навигации */
.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
    background-color: #717171;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-btn {
    position: absolute;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    padding: 20px;
}

.lightbox-btn:hover {
    color: #ddd;
}

.lightbox-prev {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-exit {
    right: 5%;
    top: 5%;
}

/* CAROUSEL */