
.puzzleSection {
    background: #F3F3F3;
    position: relative;
    padding-top: 2vh;
    margin-top: 2vh;
}

.puzzleSection__content {
    position: relative;
}


.puzzleSection__header_block {
    display: flex;
}

.puzzleSection__header_small_text_wrapper {
    margin-left: 30%;
    padding: 10px 0;
    border-top: 1px solid var(--color-darkBlue-light);
    border-bottom: 1px solid var(--color-darkBlue-light);
}
.puzzleSection__header_small_text_wrapper p {
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 1199px) {
    .puzzleSection__header_small_text_wrapper {
        margin-left: 0;
    }
}
@media (max-width: 991px) {
    .puzzleSection__header_big_text_wrapper h2{
        font-size: 36px;
    }
    .puzzleSection__header_small_text_wrapper p {
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .puzzleSection__header_big_text_wrapper h2{
        font-size: 24px;
    }
    .puzzleSection__header_big_text_wrapper,
    .puzzleSection__header_small_text_wrapper {
        margin: 8px 16px;
    }
    .puzzleSection__header_small_text_wrapper {
        padding: 20px 0;
    }
}
@media (max-width: 440px) {
    .puzzleSection__header_big_text_wrapper,
    .puzzleSection__header_small_text_wrapper {
        margin: 8px 0;
    }

}


.puzzleSection__puzzles_block {
    margin-top: 30px;
}

.puzzleSection__puzzles_block .row > .col {
    padding-left: 0.1vw !important;
    padding-right: 0.1vw !important;
}

.card-puzzle {
    height: 525px;
    border: none;
    position: relative;
    padding: 20px;
    border-radius: 10px;
}

.card-puzzle picture > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 10px;
}

.card-puzzle:not(.second) > img {
    padding-bottom: 20px;
}

.card-content {
    position: relative;
    z-index: 2;
}

.puzzle_header {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}
.card-puzzle.second .puzzle_header {
    font-size: 21px;
}

.puzzle_img_wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
}


.puzzle_item_number {
    padding-left: 20px;
    color: var(--color-text-darkBlue-light);
    font-family: var(--font-1);
    font-size: 16px;
}

.puzzle_text_wrapper {
    position: relative;
    padding: 20px 0;
    margin: 0 20px;
}
.puzzle_text_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 1px solid var(--color-darkBlue-light);
    width: 80%;
}

.puzzle_text_wrapper p {
    font-size: 16px;
    padding-right: 35px;
}

.puzzleSection__cardLink {
    position: absolute;
    z-index: 5;
    bottom: 10%;

    display: flex;
    align-items: center;

    font-weight: 600;
    padding-left: 20px;

}
.puzzleSection__cardLink img {
    margin-left: 10px;
    height: 12px;
}

.card-puzzle.sixth .puzzleSection__cardLink {
    padding: 0;
    bottom: 7%;
    left: 13%;
}

.card-puzzle.sixth .puzzleSection__cardLink img {
    height: unset;
}

@media (max-width: 1399px) {
    .card-puzzle.sixth .puzzleSection__cardLink {
        left: 16%;
    }
    .card-puzzle.sixth .puzzleSection__cardLink a {
        padding: 14px 50px;
    }
}

@media (max-width: 1199px) {
    .card-puzzle {
        height: 456px;
    }
    .puzzle_text_wrapper {
        margin: 0 10px;
    }

    .puzzle_text_wrapper::before {
        width: 90%;
    }

    .puzzle_text_wrapper p {
        font-size: 14px;
        padding-right: 15px;
    }

    .puzzle_header {
        font-size: 20px;
    }

    .puzzle_img_wrapper {
        padding-bottom: 30px;
    }
    .puzzle_img_wrapper img{
        width: 80px;
        height: 80px;
    }
    .puzzle_img_wrapper_first img {
        width: 100px;
    }

    .puzzleSection__cardLink {
        padding-left: 10px;
    }

    .card-puzzle.sixth .puzzleSection__cardLink {
        left: 9.5%;
    }
}

@media (max-width: 991px) {
    .card-puzzle.sixth .puzzleSection__cardLink {
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .card-puzzle.sixth .puzzleSection__cardLink a {
        padding: 18px 75px;
    }
}

@media (max-width: 767px) {
    .card-puzzle {
        width: 80%;
        height: 381px;
        margin: 0 10%;
    }
    .puzzle_img_wrapper {
        padding-bottom: 15px;
    }
    .puzzle_text_wrapper {
        padding: 10px 0;
    }



}
@media (max-width: 440px) {
    .card-puzzle {
        width: 95%;
        margin: 0 2.5%;
    }
    .puzzle_item_number {
        margin: 0;
    }
    .puzzle_header {
        font-size: 18px;
    }
    .card-puzzle.second .puzzle_header {
        font-size: 17px;
    }

    .puzzleSection__cardLink {
        bottom: 9%;
    }
    .card-puzzle.second .puzzleSection__cardLink {
        bottom: 7%;
    }
    .card-puzzle.sixth .puzzleSection__cardLink a {
        padding: 14px 65px;
    }
}



.puzzleSection {
    position: relative;
    z-index: 100;
}
/* CSS */
.puzzleSection__puzzles_block .card-puzzle {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Плавный переход */
}

.puzzleSection__puzzles_block .card-puzzle:hover {
    transform: scale(1.05); /* Увеличение */
}

@keyframes shake {
    0% { transform: rotate(0); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0); }
    75% { transform: rotate(-15deg); }
    100% { transform: rotate(0); }
}
