.Performance {

    margin: 150px 30px 50px 30px
}

.Performance_title_wrapper {
    display: flex;
    flex-direction: row;
}

.Performance_position {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.Performance_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 70%;
}

.Performance_title_h1 {
    margin-top: 32px;
    width: 748px;
    height: auto;
    background: linear-gradient(
            145deg,
            #80E5FF 0px,
            #545C9E 40%,
            #545C9E 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 56px;
    letter-spacing: 2px;
    font-weight: 550;
}

.Performance_title_h2 {
    color: #545C9E;
    font-size: 20px;
    width: 529px;
    padding: 5px;
}

.Performance_Content {
    width: 930px;
    height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.Performance_Bentos {
    display: flex;
    justify-content: flex-start;
    margin-top: 60px;
}

.Performance_Bento_1 {
    width: 220px;
    height: 140px;
    border-radius: 20px;
    margin: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    background-image: url('/assets/image/home_desktop/Performance/Dots.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;  /* прижимаем всё к верху слева */
    justify-content: flex-start;
    flex-direction: column;

    position: relative;
    overflow: hidden;
}

.Performance_Blur_img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 300px;
    transform: translate(-50%, -50%);
    transition: transform 1s ease;
    transform-origin: center center;
    z-index: 0;
}

.Performance_Bento_1:hover .Performance_Blur_img {
    transform: translate(-50%, -50%) rotate(90deg);
}

.Performance_Bento_1 div {

    margin: 12px;
    width: 95%;
    position: relative;
    z-index: 1;
    text-align: left; /* выравнивание текста по левому краю */
}

.Performance_Bento_1_body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start; /* прижимает контент влево */
}

.Performance_h1 {
    color: #545C9E;
    font-size: 35px;
}

.Performance_h3 {
    color: #465478;
    font-size: 16px;
    width: 147px;
    height: 42px;
}

.Performance_h3_color {
    color: #465478;
}
.Performance_footer_wrapper1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
     /*width: 500px;*/
    margin-top: 35px;
    flex-direction: column;
}
.Performance_footer_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
     width: 500px;
    margin-top: 35px;
    flex-direction: row;
}
.Performance_line{
    width: 902px;
    height: 1px;
    background-color: rgba(84, 92, 158, 0.38);
}

/* ====== Адаптив ====== */
@media (max-width: 1024px) {
    .Performance_title_h1 {
        font-size: 42px;
    }
    .Performance_h1 {
        font-size: 36px;
    }
    .Performance_title_wrapper{
        display: flex
    ;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .Performance_Bentos{
        justify-content: space-around;
    }
}
.Performance_line{
    width: 100%;
    height: 1px;
    background-color: rgba(84, 92, 158, 0.38);
}

@media (max-width: 768px) {
    .Performance_Content {
        width: auto;
        height: auto;

    }

    .Performance_title_h1 {
        width: 100%;
        font-size: 32px;
    }
    .Performance_title_h2 {
        width: 100%;
    }
    .Performance_title_wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .Performance_position {
        width: 100%;
    }
     .Performance_wrapper {
        width: 100%;
         align-items: center;
    }
    .Performance_Bentos {
        margin-top: 0;
        justify-content: center;
        flex-direction: column;
    }
    .Performance_Bento_1 {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .Performance_line{
        width: 100%;
        height: 1px;
        background-color: rgba(84, 92, 158, 0.38);
    }

    .Performance_footer_wrapper {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .Performance {
        margin: 80px 15px 40px 15px;
    }
    .Performance_title_h1 {
        font-size: 26px;
        letter-spacing: 1px;
    }
    .Performance_h1 {
        font-size: 24px;
    }
    .Performance_h3 {
        font-size: 14px;
    }
    .Performance_footer_wrapper {
        flex-direction: column;
        gap: 10px;
    }
}