.rettangolo-container{
    width: 100vw;
    height: 449px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.img-rect{
    max-width: 641px;
    height: inherit;
}
.text-rect-container{
    width: 100%;
    height: initial;
    background-color: #0097E8;
    padding: 141px 0 128px 0;
}

.items-text-container{
    padding: 0 124px;
    display: flex;
    align-items: center;
    gap: 48px;
}
.title-rect{
    width: 437px;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}
.arrow-rect{
    width: 86px;
    height: 86px;
    cursor: pointer;
}

@media screen and (min-width:1550px) {
    .rettangolo-container{
        margin: 0 auto;
    }
}

@media screen and (max-width: 1331px) {
    .text-rect-container{
        padding: 141px 0 128px 0;
       
    }
    .items-text-container{
        gap: 24px;
        padding: 0 62px;
    }
    
}

@media screen  and (max-width:1245px){
    .rettangolo-container{
        flex-direction: column;
        height: auto;
    }
    
    .img-rect{
        max-width: 100%;
    }
}

@media screen  and (max-width:640px){
    .text-rect-container{
        padding: 64px 0 32px 0;
      
    }
    .items-text-container{
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 10px;
        padding: 0 15px;
    }
    .title-rect{
        width: 100%;
        font-size: 1.3rem;
    }
    .arrow-rect{
        width: 43px;
        height: 43px;
        margin-left: auto;
    }
}