/* Medium screens (640px) */
@media all and (min-width:40em) { 
  html { 
  font-size: 100%; 
  }
   
}

 
/* Large screens (1024px) */
@media all and (min-width:64em) { 
  html { 
  font-size: 120%; 
  }
  
  	.overlay p {
	font-size:1rem;
	line-height:1.5rem;
	padding:1rem 7rem 0 0;
	}

	.overlay p:last-child {
	font-size:1rem;
	}
	
	
	h1 {
	font-size: 2.3rem !important;
	}

	h1 span {
	padding: 0 0 0.6rem 0.1rem;
	font-size: 1.5rem !important;
	}
		
	.large{
	font-size:2rem !important;
	line-height:2.3rem !important;
	}
	
	.small{
	font-size:1rem !important;
	line-height:1.5rem !important;
	}
}

/* Large screens (1900px) */
@media all and (min-width:118.750em) { 
  html { 
  font-size: 140%; 
  }
  
}
