/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .s2{
    background: linear-gradient(to bottom, 
        #BA0BCF 0%, #BA0BCF 10%, /* First color, 1/3 of the screen height */
        #20212A 10%, #20212A 100% /* Second color, 2/3 of the screen height */
    );
    
  }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .s2{
    background: linear-gradient(to bottom, 
        #BA0BCF 0%, #BA0BCF 20%, /* First color, 1/3 of the screen height */
        #20212A 20%, #20212A 100% /* Second color, 2/3 of the screen height */
    );
    
  }

} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .s2{
    background: linear-gradient(to bottom, 
        #BA0BCF 0%, #BA0BCF 33%, /* First color, 1/3 of the screen height */
        #20212A 33%, #20212A 100% /* Second color, 2/3 of the screen height */
    );
    
  }
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  
  .s2{
    background: linear-gradient(to bottom, 
        #BA0BCF 0%, #BA0BCF 33%, /* First color, 1/3 of the screen height */
        #20212A 33%, #20212A 100% /* Second color, 2/3 of the screen height */
    );
    
  }

}