p.p1  {
  color: black;
  font-size: 14px;      
  font-family: Poppins SemiBold;
  }

p.p2  {
  color:  #508d97;
  font-size: 18px;      
  font-family: Poppins SemiBold;
  }
  
.sombra {
box-shadow: 3px 3px 5px 3px #999;
}


h1 {
  color: green;
    font-size: 14px; /* px quiere decir 'píxeles': el tamaño de la fuente base  */
  font-family: Poppins SemiBold; /*   fonts */
     
}

  /*-------------caracteristicaas del boton */  
  
.button {

  background-color: #AD0000;  
  border: 3;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 4px;
  cursor: pointer;
  font-family: Poppins SemiBold;
  
}

.button1 {border-radius: 5px;}
.button2 {border-radius: 4px;}
.button3 {border-radius: 8px;}
.button4 {border-radius: 12px;}
.button5 {border-radius: 50%;}
 

 

 
  
.text-frame {
	color: black;
	max-width: 960px;
	margin: auto auto;
	background-color: rgba(255,255,255,0.5);
	background-image: linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.5));
	border-radius: 12px;
	padding: 4px 12px;
	font-weight: bold;
	font-size:24px;
	font-family: Poppins SemiBold;
  
}

.text-frame2 {
	color: black;
	max-width: 960px;
	margin: auto auto;
	background-color: rgba(255,255,255,0.5);
	background-image: linear-gradient(rgba(255,255,255,0.6),rgba(255,255,255,0.5));
	border-radius: 12px;
	padding: 4px 12px;
	font-weight: bold;
	font-size:14px;
	 font-family: Poppins SemiBold;
  
}

.font-18 {
	font-size: 18px;
}

.text-frame a {
	text-decoration: none;
	font-weight: bold;
	color: white;
	text-shadow: 0px 1px 3px rgba(255,255,255,0.6)
	
	}
	
	
	*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-image: url(../image/fondo.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 330vh;
}

h2{
    text-align: center;
    font-size: 40px;
    font-family: arial;
    margin-top: 80px;
    color: aqua;
    text-shadow: 0px 0px 6px black;
}

.content-all{
    width: 210px;
    margin: auto;
    perspective: 800px;
    position: relative;
    margin-top: 50px;
}

.content-carrousel{
    width: 100%;
    position: absolute;
    animation: rotar 12s infinite linear;
    transform-style: preserve-3d;
}

.content-carrousel:hover{
    animation-play-state: paused;
    cursor: pointer;
}


.content-carrousel figure{
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0px 0px 0px 0px black;
    transition: all 300ms;
    
}

.content-carrousel figure:hover{
    box-shadow: 0px 0px 0px 0px black;
    transition: all 400ms;
}

.content-carrousel figure:nth-child(1){transform: rotateY(0deg) translateZ(300px);}
.content-carrousel figure:nth-child(2){transform: rotateY(30deg) translateZ(300px);}
.content-carrousel figure:nth-child(3){transform: rotateY(60deg) translateZ(300px);}
.content-carrousel figure:nth-child(4){transform: rotateY(90deg) translateZ(300px);}
.content-carrousel figure:nth-child(5){transform: rotateY(120deg) translateZ(300px);}
.content-carrousel figure:nth-child(6){transform: rotateY(150deg) translateZ(300px);}
.content-carrousel figure:nth-child(7){transform: rotateY(180deg) translateZ(300px);}
.content-carrousel figure:nth-child(8){transform: rotateY(210deg) translateZ(300px);}
.content-carrousel figure:nth-child(9){transform: rotateY(240deg) translateZ(300px);}
.content-carrousel figure:nth-child(10){transform: rotateY(270deg) translateZ(300px);}
.content-carrousel figure:nth-child(11){transform: rotateY(300deg) translateZ(300px);}
.content-carrousel figure:nth-child(12){transform: rotateY(330deg) translateZ(300px);}

.content-carrousel img{
    width: 100%;
    transition: all 300ms;
}

.content-carrousel img:hover{
    transform: scale(1.2);
    transition: all 300ms;
}


@keyframes rotar{
    from{
        transform: rotateY(0deg);
    }to{
        transform: rotateY(360deg);
    }
}



	
	

