Los códigos para diferenciar los distintos disposivos son los siguientes:
@media screen and (min-width:0px) and (max-width:479px) {/*Smartphone Vertical */}
@media screen and (min-width:480px) and (max-width:600px) {/*Smartphone Horizontal*/}
@media screen and (min-width:601px) and (max-width:900px) {/*Tablet Vertical */}
@media screen and (min-width:901px) and (max-width:1024px) {/*Tablet Horizontal*/}