@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");

*{
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 12px;
   	background:   #ebeef1;
    overflow-x: hidden;
}

header{
    width: 100vw;
    height: 100vh;
    display: grid;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    grid-template-columns: 1fr;
}

header .content{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header .text{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding-bottom: 80px;
}

.text h2{
    font-size: 4rem;
    color: #fff;
    font-weight: bold;
}

.text p{
    font-size: 1rem;
    color: #fff;
}

main{
    width: 100%;
    padding: 0px;
    margin: 0px;
}

/* SECTION ABOUT */

main .about{
    width: 100%;
    height: auto;
    padding: 50px 30px;
}

/* TARJETA */

.about .card{
	position: relative;
	min-width: 80%;
    height: 250px;
	box-shadow: inset 5px 5px 5px rgba(0,0,0,.05),
			 	inset -5px -5px 15px rgba(255,255,255,.5),
			 	5px 5px 5px rgba(0,0,0,.05),
			 	-5px -5px 5px rgba(255,255,255,.5);
	border-radius: 15px;
    padding: 10px;
}

.about .card .box{
	position: absolute;
  left: 50%;
  transform: translateX(-50%);
	bottom: 20px;
	background:  #ebeef1;
	border-radius: 15px;
	box-shadow: 0 10px 20px rgba(0,0,0,.1);
	transition: .5s;
  object-fit: cover;
  width: 90%;
  animation: levitar 3s ease-in-out infinite;
}

@keyframes levitar {
    0% {
        transform: translate(-50%, 0); /* Posición inicial: no hay desplazamiento vertical */
    }
    50% {
        transform: translate(-50%, -20px); /* En la mitad de la animación, sube 15px */
    }
    100% {
        transform: translate(-50%, 0); /* Al final de la animación, vuelve a la posición inicial */
    }
}

/* DESCRIPCION */

.about .description{
    width: 100%;
    height: auto;
    padding: 30px 0px;
    color: #000;
    text-align: center;
}

.description h2{
    font-size: 2rem;
    font-weight: bolder;
    margin-bottom: 20px;
}

.description p{
    font-size: 1rem;
    font-weight: 400;
}

/* From Uiverse.io by Anita3761520000 */ 
.pyramid-loader {
  position: relative;
  width: 100vw;
  height: 150px;
  display: block;
  transform-style: preserve-3d;
  transform: rotateX(-20deg);
}

.wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotateY(360deg);
  }
}

/* MIEMBROS DEL EQUIPO */

.carrusel {
  width: 100%;
  height: auto;
  position: relative;
  overflow-x: scroll;
}

.carrusel ul{
  width: 400%;
  height: auto;
  display: flex;
  flex-wrap: nowrap;
}

.carrusel ul li{
  width: 25%;
}

.carrusel ul .container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.carrusel ul .container .card {
  position: relative;
  width: 320px;
  height: 440px;
  box-shadow: inset 5px 5px 5px rgba(0,0,0,0.05),
              inset -5px -5px 5px rgba(255,255,255,0.5),
              5px 5px 5px rgba(0,0,0,0.05),
              -5px -5px 5px rgba(255,255,255,0.5);
  border-radius: 15px;
  margin: 30px;
}

.carrusel ul .container .card .box {
  position: absolute;
  left: 50%;
  transform: translateY(-50%);
  background: #ebf5fc;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  width: 90%;
  height: 96%;
  animation: levitar 3s ease-in-out infinite;
}

.carrusel ul .container:nth-child(1) .card:hover .box
{
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  background: linear-gradient(45deg, rgba(16, 52, 166, 1) 18%, rgba(17, 30, 108, 1) 85%);
}

.carrusel ul .container:nth-child(2) .card:hover .box
{
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  background: linear-gradient(45deg, rgba(60, 158, 255, 1) 13%, rgba(0, 109, 217, 1) 84%);
}

.carrusel ul .container:nth-child(3) .card:hover .box
{
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  background: linear-gradient(45deg, rgba(155, 32, 191, 1) 8%, rgba(103, 0, 154, 0.9528186274509804) 60%);
}

.carrusel ul .container:nth-child(4) .card:hover .box
{
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  background: linear-gradient(45deg, rgba(0, 150, 136, 1) 8%, rgba(0, 200, 83, 0.95) 60%);
}

.carrusel ul .container .card .box .content {
  padding: 20px;
  text-align: center;
}

.carrusel ul .box .content picture img {
    width: 120px;       
    height: 120px;      
    object-fit: cover;  
    border-radius: 50%; 
}

.carrusel ul .container .card .box .content h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.carrusel ul .container .card .box .content h3 {
  font-size: 1.2rem;
  font-style: italic;
  color: #000cad;
  z-index: 1;
  transition: 0.5s;
  background-image: linear-gradient(45deg, rgba(16, 52, 166, 1) 18%, rgba(17, 30, 108, 1) 85%);
  -webkit-background-clip: text;
  background-clip: text; 
  color: transparent;
  margin-bottom: 5px;
}

.carrusel ul .container .card .box .content p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #777;
  z-index: 1;
  transition: 0.5s;
}

.carrusel ul .container .card:hover .box .content h2,
.carrusel ul .container .card:hover .box .content p
{
    color:#fff
}

.carrusel ul .container .card:hover .box .content h3
{
 color:rgb(250, 225, 65)
}

.carrusel ul .container .card .box .content .social-links a .fa-brands.fa-instagram {
  color: #000cad; /* Un color típico de Instagram, puedes elegir el que quieras */
  font-size: 35px;
  margin-top: 20px;
 }

.carrusel ul .container .card:hover .box .content .social-links a .fa-brands.fa-instagram {
    color: #fff;
}


/* PIRAMIDE 3D */

.pyramid-loader .wrapper .side {
  width: 100px;
  height: 100px;
  /* you can choose any gradient or color you want */
  /* background: radial-gradient( #2F2585 10%, #F028FD 70%, #2BDEAC 120%); */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  transform-origin: center top;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.pyramid-loader .wrapper .side1 {
  transform: rotateZ(-30deg) rotateY(90deg);
  background: linear-gradient(to bottom right, #1afbf0, #da00ff);
}

.pyramid-loader .wrapper .side2 {
  transform: rotateZ(30deg) rotateY(90deg);
  background: linear-gradient(to bottom right, #1afbf0, #da00ff);
}

.pyramid-loader .wrapper .side3 {
  transform: rotateX(30deg);
  background: linear-gradient(to bottom right, #1afbf0, #da00ff);
}

.pyramid-loader .wrapper .side4 {
  transform: rotateX(-30deg);
  background: linear-gradient(to bottom right, #1afbf0, #da00ff);
}

.pyramid-loader .wrapper .shadow {
  width: 60px;
  height: 60px;
  background: #8b5ad5;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  transform: rotateX(90deg) translateZ(-40px);
  filter: blur(12px);
}



