

/*Mobile-------------------------------------*/
@media only screen and (max-width: 799px) {
  .contain {
    display: flex;
    justify-content: center;
    background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgb(4,76,108, 0.75), 
      rgb(4,76,108, 0.45) 
    ),
    /* bottom, image */
   
    url(/public/assets/k2-min.jpg);
    
    height: 100vh;

    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .cta-text {
    align-self: center;
    padding-right: 1.5em;
    padding-left: 1.5em; 
    text-align: center; 
    padding-bottom: 4em;
  }
  .heading-text {
    font-size: 2.25em; 
  }
  .subheading {
    font-size: 1.1em;  
    padding: 1em 1em 0 0; 
  }
  .cta-btn-container {
    padding-top: 3em;
    
  }
  .cta-btn {
    text-decoration: none;
    font-size: 1.1em; 
    background-image: linear-gradient(to right top, var(--sec-blue), rgba(16,181,214,1));
    color: white;
    padding: 0.5em 1.5em;
    border-radius: 4em;
    display: inline-block; /* responsive */ 
    
  }
} 

/*Tablet-------------------------------------*/
@media only screen and (min-width: 800px) and (max-width: 1099px) {
  .contain {
    padding-top: 3em;
    display: flex;
    justify-content: center;
    background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgb(4,76,108, 0.75), 
      rgb(4,76,108, 0.45) 
    ),
    /* bottom, image */
   
    url(/public/assets/k2-min.jpg);
    
    height: 100vh;

    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .cta-text {
    align-self: center;
    padding-left: 5em;
    padding-top: 3em; 
    padding-bottom: 4em;
  }
  .heading-text {
    font-size: 3em; 
  }
  .subheading {
    font-size: 1.7em; 
    padding: 1em 1em 0 0; 
  }
  .cta-btn-container {
    padding-top: 3em;
  }
  .cta-btn {
    text-decoration: none;
    font-size: 1.5em;  
    background-image: linear-gradient(to right top, var(--sec-blue), rgba(16,181,214,1));
    color: white;
    padding: 0.5em 1.5em;
    border-radius: 4em;
  }
}

/*Desktop-------------------------------------*/
@media only screen and (min-width: 1100px) {

  .contain {
    padding-top: 3em;
    display: flex;
    justify-content: center;
    background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgb(4,76,108, 0.75), 
      rgb(4,76,108, 0.45) 
    ),
    /* bottom, image */
   
    url(/public/assets/k2-min.jpg);
    
    height: 100vh;

    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .cta-text {
    align-self: center;
    padding-left: 7em;
    padding-right: 7em;
    padding-bottom: 4em;
    color: white;
  }
  .heading-text {
    font-size: 4.1em;
    font-family: 'Montserrat', sans-serif;
  }
  .subheading {
    font-size: 1.65em; 
    padding: 1em 3em 0 0;
  }
  .cta-btn-container {
    padding-top: 3em;
    
  }
  .cta-btn {
    text-decoration: none;
    font-size: 1.6em; 
    background-image: linear-gradient(to right top, var(--sec-blue), rgba(16,181,214,1));
    color: white;
    padding: 0.5em 1.5em;
    border-radius: 4em;
    
  }
}



