@charset "UTF-8";

@font-face {
  font-family: "Droid Sans";  
  src: local("Droid Sans"), url("../ttf/DroidSans.ttf") format("truetype");
  }
  
*,
*::after,
*::before {
  -webkit-box-sizing: border-box; 
  box-sizing: border-box; 
 } 
:root {    
	--system-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, "Droid Sans",Tahoma, Geneva, Verdana, Arial, Helvetica, sans-serif, serif;
	--text-rendering-speed: optimizeSpeed;
	--text-rendering-legibility: optimizeLegibility;
}
html{ 
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);	
} 
/* ************************* BODY */
 body {   
  text-rendering: var(--text-rendering-legibility); 
	margin: 0;
	padding: 0;
	min-height: 100vh;
	height: auto;
	max-width: 100vw;
	color: #353535;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);  
    background-color: #b3c7db;
    background-image: linear-gradient(135deg, #667eea 0%, #b3c7db 100%);    
	font: 1.2em / 1.5 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;	
	font-style: normal;
	font-variant: normal;
	text-decoration: none solid rgb(255, 255, 255);	

}
::selection { background-color: lightblue; }

/* .disabled {
	cursor: not-allowed;
	filter: grayscale(1);
	pointer-events: none;
	opacity: 0.8;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
} */
/* ************************* BTN UP */
a.btnUpOff {
	display: none;	
	}
a.btnUpOn {  
  display: inline-block; 
   color: rgba(102, 153, 255, 0.4);     
    font-size: 2.5em;
  position: fixed;  
  right:  20px;
  bottom: 20px; 
  z-index: 999; 
}   
a.btnUpOn:hover {
	color: rgba(102,155,255, 1);
}  
/* ************************* QUOTES */
blockquote#quoteCard {   
  background: rgb(235, 242, 249);
  color: #404040;
  padding: 30px 10px 20px 20px;  
   box-shadow: 0 2px 4px rgba(34, 34, 34, 0.9);   
  position: relative;
  display: inline-block;
  min-height: 180px;
  max-height: 200px;
  width: 350px; 
  margin: 0.4rem 0.5rem;  
  border-radius: 1px 8px 8px 1px;  
}
#quoteCard::before {
  font-family: serif;
  content: "\201C";  
  position: absolute;  
  top: -20px;
  left: 1px;
  font-size: 8em;
  line-height: 1;
  color: rgba(167, 166, 166, 0.18);
  font-weight: normal;
  z-index: 1;
}

#quoteCard #frase {   
  padding: .95rem 0 .5rem 0;
  /*margin: 0 0 5px 0;*/
  display: block;
  font-family: "Droid Sans", sans-serif;  
  font-size: calc(1vw + 0.3rem + 0.3em);
  line-height: 1.3;  
  font-weight: normal; 
text-shadow: 0 1px 1px #fff;
}
#quoteCard hr#decora {   
   width: 78%;
   height: 4px;
 background: linear-gradient(90deg, transparent, #e0b58e, transparent);
  border-radius: 2px;
  border-color: transparent;
  margin: 10px auto 6px auto;   
}
#autor {     
	display: block;
    color: #2d2d2d;	
	font-family: "Droid Sans", sans-serif;  
    font-size: 0.9rem;		
	text-align: right;
	letter-spacing: 1px;	
}
 #quoteCard #refreshIcon {	
	font-size: 1.6em;	
	position: absolute;
	width: 24px;
	height: 24px;
	top: -6px;
	right: 14px;
    display: block;	
    z-index: 1;	
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

#quoteCard #refreshIcon:hover,
#quoteCard #refreshIcon:focus {	 
	cursor: pointer;	
}
 
#quoteCard{
   overflow-y: scroll;
   overflow-x: hidden;
}
#quoteCard::-webkit-scrollbar{
 width: .4rem; 
}
#quoteCard::-webkit-scrollbar-thumb{
 background-color: slategray; 
 border: 1px solid #333;
}
#quoteCard::webkit-scrollbar-track{   
   background: none;
}

/*  ***************************** HEADER */ 
header {  
  width: 100%;  
  height: 210px;
  padding: 10px 30px; 
  background-image: linear-gradient(to right,  LightSteelBlue, white); 
    /* background:url(../img/chica-sonrie-al-recibir-libros-y-regalos.jpg); */
  background-position:  center center;
  background-size: cover; 
  display: flex;
  flex-direction: row;  
  justify-content: space-between;
  align-items: baseline;
}

/*  ***************************** FOOTER */  
footer {
	position: relative;
	bottom: 0;
	left: 0;
	margin: 0;
    margin-top: 2em;
	display: flex;	 
	flex-direction: row;
	align-content: center;	
	justify-content: space-evenly;
	flex-flow: wrap;
	padding: 1em 0.4em;
	max-width: 100%;
    width:  100%;
    min-height: 6em;    
	font-size: 1em;
    line-height: 1.5em;      
	color: #ffffff;
    background-color: #5f657d;
    box-shadow: inset 1px 1px 12px #1e1f20, -2px -2px 10px rgb(151, 147, 147); 
} 
footer h3 {
	font-size:1.5em; 
	color: rgba(0, 0, 0, 0.2);
	text-shadow: 0 1px 1px #fff;
}
footer div { display: block }
footer a,
footer a:link,
footer a:visited {
	margin: 10px;
	background-color: #2196f3;
	color: white;
	text-decoration: none;
	padding: 6px 8px;
	border-radius: 99999999em;
}
footer a:hover {
	color: #2196f3;
	background-color: white;
}
footer #autora {
	font-family: "FreestyleScript", cursive;
	font-size: calc(1vw + 0.7rem + 0.7em);
	color: #333333;
}   
