.device-container {
    margin-bottom: -250px;
    z-index: -1;                 
}

.device-container .device-size {
    float: right;
    transform: scale(0.8);
    margin-top: -100px;
}

@media (max-width: 992px) {
    .device-container {
        display: flex;
        margin-bottom: -300px;
    }

    .device-container .device-size {
        float: right;
        transform: scale(0.7);
        margin-top: -150px;
    }    
}

@media (max-width: 767px) {
    .device-container {
        display: flex;
        justify-content: center;
        margin-bottom: -250px;  
        padding-left: 0;
        padding-right: 0;           
    }

    .device-container .device-size {
        float: initial;
        transform: scale(0.8);
        margin-top: -100px;
    }    
}