/*

*****************************************
**                                     **
**     ---------------------------     **
**      BOTONES CSS / CSS BUTTONS      **
**     ---------------------------     **
**        a pen by Antolín 2016        **
**         http://ntln.esy.es          **
**                                     **
**                                     **
*****************************************

- CLASES:

	• Botón: class="btn"

	• Tamaño / size:

		- S: class="w-S"
		- M: class="w-M"
		- L: class="w-L"
		- XL: class="w-XL"

	• Forma / shape:

		- Square: class="br-0"

		- Esquinas redondeadas / round corners:
			. class="br-1"
			. class="br-2"
			. class="br-3"
			. class="br-4"

		- Oval: class="br-5"

		- Fancy: class="br-6"

		- Tab:
			. class="br-7"
			. class="br-8"
			. class="br-..."

	• Styles: 

		- class="stl-1"
		- class="stl-..."

	
* MODO DE USO *******************************************************
*                                                                   *
*   Link tag for <head>------------------------------------------   *
*                                                                   *
*   <link rel="stylesheet" href="botones_CSS.css">                  *
*                                                                   *
*   -------------------------------------------------------------   *
*                                                                   *
*   HTML CODE----------------------------------------------------   *
*                                                                   *
*   <a href="#" class="btn [tamaño] [forma] [style]" >CLIC ME</a>   *
*                                                                   *
*   -------------------------------------------------------------   *
*                                                                   *
*********************************************************************

*/

/**********
CLASE BOTÓN
***********/

@import url('https://fonts.googleapis.com/css?family=Work+Sans:200,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Oswald:300,400,500,600,700&display=swap');

.boton {
  text-align: center;
  margin: 0 auto;
  padding: 1em 2em;
  line-height:1em;
  text-decoration: none !important;
  display: inline-block;
}

/************
CLASES TAMAÑO
*************/

.w-S {
  font-size: .5em;
}

.w-M {
  font-size: 1.1em;
}

.w-L {
  font-size: 1.3em;
	line-height: 2.3rem;
}

.w-XL {
  font-size: 2em;
}

/***********
CLASES FORMA
************/

.br-0 {
  border-radius: 0px;
}

.br-1 {
  border-radius: .25em;
}

.br-2 {
  border-radius: .5em;
}

.br-3 {
  border-radius: 1em;
}

.br-4 {
  border-radius: 2em;
}

.br-5 {
  border-radius: 50%;
}

.br-6 {
  border-radius: 25%;
}

.br-7 {
  border-radius: 0 1em 1em 0;
}
.br-8 {
  border-radius: 1em 0 0 1em;
}
.br-9 {
  border-radius: 2em 2em 0 0;
}
.br-10 {
  border-radius: 0 0 2em 2em;
}
.br-11 {
  border-radius: 2em 2em 0;
}
.br-12 {
  border-radius: 2em 2em 2em 0;
}
.br-13 {
  border-radius: 0 2em 2em;
}
.br-14 {
  border-radius: 2em  0 2em 2em;
}

.br-15 {
  border-radius: 0 2em;
}

.br-16 {
  border-radius: 2em 0;
}

.br-17 {
  border-radius: 0 0 2em 0;
}

.br-18 {
  border-radius: 0 2em 0 0;
}

.br-19 {
  border-radius: 2em 0 0 0;
}

.br-20 {
  border-radius:  0 0 0 2em;
}

/************
BUTTON STYLES
*************/

/**********
stl-1-green
***********/

.stl-1-green {
  background-color: transparent;
  border: 1px solid #4eb151;
  color: #4eb151;
  transition-duration: .4s;
}
.stl-1-green:hover{  
  background-color: #4eb151;
  color: white;
}
.stl-1-green:active{  
  background-color: #275929;
  color: #4eb151;	
}

/*********
stl-1-blue
**********/

.stl-1-blue {
  background-color: #2691d9;
  color: white !important;
}
.stl-1-blue:hover{  
  background-color: #e65e2d;
  color: white !important;

}
.stl-1-blue:active{  
  background-color: #13496c;
	
  color: white !important;
}

.stl-1-blue:visited {
  color: white !important;
}

/*********
stl-1-red
**********/

.stl-1-red {
  background-color: transparent;
  border: 1px solid #ec1313;
  color: #ec1313;
  transition-duration: .4s;
}
.stl-1-red:hover{  
  background-color: #ec1313;
  color: white;
}
.stl-1-red:active{  
  background-color: #760a0a;
  color: #ec1313;
}

/*********
stl-1-yellow
**********/

.stl-1-yellow {
  background-color: transparent;
  border: 1px solid #ffd11a;
  color: #ffd11a;
  transition-duration: .4s;
}
.stl-1-yellow:hover{  
  background-color: #ffd11a;
  color: white;
}
.stl-1-yellow:active{  
  background-color: #806600;
  color: #ffd11a;
}

/*********
stl-1-white
**********/

.stl-1-white {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  transition-duration: .4s;
}
.stl-1-white:hover{  
  background-color: white;
  color: rgba(0,0,0,.5);
}
.stl-1-white:active{  
  background-color: #bfbfbf;
  color: white;
}

/*********
stl-1-black
**********/

.stl-1-black {
  background-color: transparent;
  border: 1px solid black;
  color: black;
  transition-duration: .4s;
}
.stl-1-black:hover{  
  background-color: black;
  color: white;
}
.stl-1-black:active{  
  background-color: #404040;
  color: #bfbfbf;
}

/*********
stl-1-pink
**********/

.stl-1-pink {
  background-color: transparent;
  border: 1px solid #ff0080;
  color: #ff0080;
  transition-duration: .4s;
}
.stl-1-pink:hover{  
  background-color: #ff0080;
  color: white;
}
.stl-1-pink:active{  
  background-color: #800040;
  color: #ff0080;
}

/*********
stl-1-purple
**********/

.stl-1-purple {
  background-color: transparent;
  border: 1px solid #9933ff;
  color: #9933ff;
  transition-duration: .4s;
}
.stl-1-purple:hover{  
  background-color: #9933ff;
  color: white;
}
.stl-1-purple:active{  
  background-color: #400080;
  color: #9933ff;
}

/*********
stl-1-orange
**********/


.stl-1-orange {
  background-color: #e65e2d;
  color: white !important;
}
.stl-1-orange:hover{  
  background-color: #c64d28;
  color: white !important;

}
.stl-1-orange:active{  
  background-color: #13496c;
	
  color: white !important;
}

.stl-1-orange:visited {
  color: white !important;
}

/*********
stl-2
**********/

.stl-2 {
  background-color: #2691d9;
  border: 1px solid #2691d9;
  color: white;
  transition-duration: .2s;
}
.stl-2:hover{  
  border-radius: 2em;
}
.stl-2:active{  
  background-color: #13496c;
  color: #2691d9;
}

/*********
stl-3
**********/

.stl-3 {
  background-color: #2691d9;
  border: 1px solid #2691d9;
  color: white;
  transition-duration: .2s;
}
.stl-3:hover{  
  -webkit-animation-name: tembleque;  
          animation-name: tembleque;
  -webkit-animation-duration: .5s;
          animation-duration: .5s;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
}
.stl-3:active{  
  -webkit-transform: scale(.85,.85);  
          transform: scale(.85,.85);
}

/*********
stl-4
**********/

.stl-4 {
  background-color: #2691d9;
  border: 1px solid #2691d9;
  color: white;
  transition-duration: 1s;
}
.stl-4:hover{  
  -webkit-transform: rotateY(360deg);  
          transform: rotateY(360deg);
}
.stl-4:active{  
  background-color: #13496c;
  color: #2691d9;
}

/*********
stl-5
**********/

.stl-5 {
  background-color: #2691d9;
  border: 1px solid #2691d9;
  color: white;
  transition-duration: .5s;
}
.stl-5:hover{  
  -webkit-animation-name: gelatinahover;  
          animation-name: gelatinahover;
  -webkit-animation-duration: .5s;
          animation-duration: .5s;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
}
.stl-5:active{  
  -webkit-transform: scale(.85,.85);  
          transform: scale(.85,.85);
}

/*********
stl-6
**********/

.stl-6 {
  background-color: #2691d9;
  border: 1px solid #2691d9;
  color: white;
  transition-duration: .5s;

}
.stl-6:hover{  
  -webkit-animation-name: redondeo;  
          animation-name: redondeo;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  box-shadow: 1px 2px 5px rgba(0,0,0,.5);
  background: radial-gradient(ellipse at center, #92d4f4 3%,#2691d9 100%);
}
.stl-6:active{  
  -webkit-transform: scale(.85,.85);  
          transform: scale(.85,.85);
  background: linear-gradient(to right, #2691d9 0%,#006696 43%,#006696 57%,#2691d9 100%);
}

/*********
stl-7
**********/

.stl-7 {
  background-color: #2691d9;
  border: 1px solid #2691d9;
  color: white;
  transition-duration: .5s;

}
.stl-7:hover{  
  -webkit-animation-name: bote;  
          animation-name: bote;
  -webkit-animation-duration: .4s;
          animation-duration: .4s;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
  /*animation-iteration-count: infinite;
  box-shadow: 1px 2px 5px rgba(0,0,0,.5);*/
}
.stl-7:active{  
  -webkit-transform: scale(.3,.9);  
          transform: scale(.3,.9);
  background: linear-gradient(to right, #2691d9 0%,#006696 43%,#006696 57%,#2691d9 100%);
}

/*********
stl-8
**********/

.stl-8 {
  background-color: #2691d9;
  border: 1px solid #2691d9;
  color: white;
  transition-duration: .5s;

}
.stl-8:hover{  
  -webkit-animation-name: strech;  
          animation-name: strech;
  -webkit-animation-duration: .4s;
          animation-duration: .4s;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
  /*animation-iteration-count: infinite;
  box-shadow: 1px 2px 5px rgba(0,0,0,.5);*/
}
.stl-8:active{  
  -webkit-transform: scale(.3,.9);  
          transform: scale(.3,.9);
  background: linear-gradient(to right, #2691d9 0%,#006696 43%,#006696 57%,#2691d9 100%);
}

/**********
ANIMACIONES
***********/

@-webkit-keyframes gelatinahover {
    0%   {-webkit-transform: scale(1,1);transform: scale(1,1);}
    50%  {-webkit-transform: scale(1.3,1.3);transform: scale(1.3,1.3);}
    100% {-webkit-transform: scale(1,1);transform: scale(1,1);}
}

@keyframes gelatinahover {
    0%   {-webkit-transform: scale(1,1);transform: scale(1,1);}
    50%  {-webkit-transform: scale(1.3,1.3);transform: scale(1.3,1.3);}
    100% {-webkit-transform: scale(1,1);transform: scale(1,1);}
}

@-webkit-keyframes tembleque {
    0%   {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    13%  {-webkit-transform: rotateZ(10deg);transform: rotateZ(10deg);}
    26% {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    39% {-webkit-transform: rotateZ(-8deg);transform: rotateZ(-8deg);}
    52% {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    62% {-webkit-transform: rotateZ(6deg);transform: rotateZ(6deg);}
    72% {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    82% {-webkit-transform: rotateZ(-4deg);transform: rotateZ(-4deg);}
    92% {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    100% {-webkit-transform: rotateZ(2deg);transform: rotateZ(2deg);}
}

@keyframes tembleque {
    0%   {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    13%  {-webkit-transform: rotateZ(10deg);transform: rotateZ(10deg);}
    26% {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    39% {-webkit-transform: rotateZ(-8deg);transform: rotateZ(-8deg);}
    52% {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    62% {-webkit-transform: rotateZ(6deg);transform: rotateZ(6deg);}
    72% {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    82% {-webkit-transform: rotateZ(-4deg);transform: rotateZ(-4deg);}
    92% {-webkit-transform: rotateZ(0deg);transform: rotateZ(0deg);}
    100% {-webkit-transform: rotateZ(2deg);transform: rotateZ(2deg);}
}

@-webkit-keyframes redondeo {
    0%   {border-radius: 1em 1em 1em 1em}
    12.5%  {border-radius: 1.5em 1em 1em 1em}
    25% {border-radius: 2em 1.5em 1em 1em}
    37.5% {border-radius: 1.5em 2em 1.5em 1em}
    50% {border-radius: 1em 1.5em 2em 1.5em}
    62.5% {border-radius: 1em 1em 1.5em 2em}
    75%   {border-radius: 1em 1em 1em 1.5em}
    87.5%  {border-radius: 1em 1.5em 2em 1.5em}
    100% {border-radius: 1em 1em 1em 1em}
}

@keyframes redondeo {
    0%   {border-radius: 1em 1em 1em 1em}
    12.5%  {border-radius: 1.5em 1em 1em 1em}
    25% {border-radius: 2em 1.5em 1em 1em}
    37.5% {border-radius: 1.5em 2em 1.5em 1em}
    50% {border-radius: 1em 1.5em 2em 1.5em}
    62.5% {border-radius: 1em 1em 1.5em 2em}
    75%   {border-radius: 1em 1em 1em 1.5em}
    87.5%  {border-radius: 1em 1.5em 2em 1.5em}
    100% {border-radius: 1em 1em 1em 1em}
} 

@-webkit-keyframes bote {
    0%   {-webkit-transform: scale(1,1);transform: scale(1,1);}
    20%  {-webkit-transform: scale(.6,1.5);transform: scale(.6,1.5);}
    30% {-webkit-transform: scale(.3,2);transform: scale(.3,2); -webkit-transform: translate(0,-1em); transform: translate(0,-1em);}
    40% {-webkit-transform: scale(.6,1.5);transform: scale(.6,1.5); -webkit-transform: translate(0,-2em); transform: translate(0,-2em);}
    45%   {-webkit-transform: scale(1,1);transform: scale(1,1); -webkit-transform: translate(0,-2em); transform: translate(0,-2em);}
    50%  {-webkit-transform: scale(.6,1.5);transform: scale(.6,1.5); -webkit-transform: translate(0,-2em); transform: translate(0,-2em);}
    60% {-webkit-transform: scale(.3,2);transform: scale(.3,2); -webkit-transform: translate(0,-2em); transform: translate(0,-2em);}
    70% {-webkit-transform: scale(.6,1.5);transform: scale(.6,1.5);}
    80% {-webkit-transform: scale(1,1);transform: scale(1,1);}
    89% {-webkit-transform: scale(1,1);transform: scale(1,1); -webkit-transform: translate(0,0); transform: translate(0,0);}
    90% {-webkit-transform: scale(1.5,.5);transform: scale(1.5,.5); -webkit-transform: translate(0,.5em); transform: translate(0,.5em);}
    99% {-webkit-transform: scale(1,1);transform: scale(1,1); -webkit-transform: translate(0,.5em); transform: translate(0,.5em);}
    100% {-webkit-transform: scale(1,1);transform: scale(1,1);}
} 

@keyframes bote {
    0%   {-webkit-transform: scale(1,1);transform: scale(1,1);}
    20%  {-webkit-transform: scale(.6,1.5);transform: scale(.6,1.5);}
    30% {-webkit-transform: scale(.3,2);transform: scale(.3,2); -webkit-transform: translate(0,-1em); transform: translate(0,-1em);}
    40% {-webkit-transform: scale(.6,1.5);transform: scale(.6,1.5); -webkit-transform: translate(0,-2em); transform: translate(0,-2em);}
    45%   {-webkit-transform: scale(1,1);transform: scale(1,1); -webkit-transform: translate(0,-2em); transform: translate(0,-2em);}
    50%  {-webkit-transform: scale(.6,1.5);transform: scale(.6,1.5); -webkit-transform: translate(0,-2em); transform: translate(0,-2em);}
    60% {-webkit-transform: scale(.3,2);transform: scale(.3,2); -webkit-transform: translate(0,-2em); transform: translate(0,-2em);}
    70% {-webkit-transform: scale(.6,1.5);transform: scale(.6,1.5);}
    80% {-webkit-transform: scale(1,1);transform: scale(1,1);}
    89% {-webkit-transform: scale(1,1);transform: scale(1,1); -webkit-transform: translate(0,0); transform: translate(0,0);}
    90% {-webkit-transform: scale(1.5,.5);transform: scale(1.5,.5); -webkit-transform: translate(0,.5em); transform: translate(0,.5em);}
    99% {-webkit-transform: scale(1,1);transform: scale(1,1); -webkit-transform: translate(0,.5em); transform: translate(0,.5em);}
    100% {-webkit-transform: scale(1,1);transform: scale(1,1);}
} 

@-webkit-keyframes boteActive {
    0% {-webkit-transform: scale(1,1);transform: scale(1,1);} 
    25% {-webkit-transform: scale(.3,2);transform: scale(.3,2);}
    50% {-webkit-transform: scale(1,1);transform: scale(1,1);}
    75% {-webkit-transform: scale(1.5,1);transform: scale(1.5,1);}
    100% {-webkit-transform: scale(1,1);transform: scale(1,1);}
} 

@keyframes boteActive {
    0% {-webkit-transform: scale(1,1);transform: scale(1,1);} 
    25% {-webkit-transform: scale(.3,2);transform: scale(.3,2);}
    50% {-webkit-transform: scale(1,1);transform: scale(1,1);}
    75% {-webkit-transform: scale(1.5,1);transform: scale(1.5,1);}
    100% {-webkit-transform: scale(1,1);transform: scale(1,1);}
}

@-webkit-keyframes strech {
    0% {-webkit-transform: scale(1,1);transform: scale(1,1);} 
    25% {-webkit-transform: scale(.3,2);transform: scale(.3,2);}
    50% {-webkit-transform: scale(1,1);transform: scale(1,1);}
    75% {-webkit-transform: scale(1.5,1);transform: scale(1.5,1);}
    100% {-webkit-transform: scale(1,1);transform: scale(1,1);}
}

@keyframes strech {
    0% {-webkit-transform: scale(1,1);transform: scale(1,1);} 
    25% {-webkit-transform: scale(.3,2);transform: scale(.3,2);}
    50% {-webkit-transform: scale(1,1);transform: scale(1,1);}
    75% {-webkit-transform: scale(1.5,1);transform: scale(1.5,1);}
    100% {-webkit-transform: scale(1,1);transform: scale(1,1);}
}

/*************************/
/*    ESTILOS DEL PEN    */
/*************************/


.pen{

  text-align:center;
}

.descripcion {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
}
.flex-container {
  display: flex;
  flex-direction:column;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 1em;
}
.sizes {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  background-color: white;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, .3);
  padding: 2em 1em;
}
.contenedorgeneral{
  width: 90%;
  max-width: 1200px;
  margin: 0px auto;
  padding: 0px;
}
.contenedortipos{
  display:flex;
  flex-direction: row;
  justify-content: space-around;
  align-content: flex-start;
  flex-wrap: wrap;
}
.tarjeta {
  box-sizing: border-box;
  background-color: white;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, .3);
  padding: 2em 1em;
}
.tipo {
  padding: 1em;
}
.clase{
  font-family: monospace;
  color:#999;
}
/*************************/
/*    FIN ESTILOS PEN    */
/*************************/