:root {
  --primary: black;
  --secondary: black;
  --dark: #212121;
  --light: #F3F3F3;
}

* {
  margin: 0;
  padding: 0;
}

body {
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    background: linear-gradient(315deg, rgba(94, 0, 87, 1) 3%, rgba(20, 62, 104, 1) 38%, rgba(21, 114, 108, 1) 68%, rgba(115, 22, 22, 1) 98%);
    animation: gradient 35s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(255 255 255 / 5%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 50s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 36s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 50s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}
@keyframes rotate-card-color {
  0% {
    background-color: hsl(0 15% 55%);
  }
  10% {
    background-color: hsl(36 15% 55%);
  }
  20% {
    background-color: hsl(72 15% 55%);
  }
  30% {
    background-color: hsl(108 15% 55%);
  }
  40% {
    background-color: hsl(140 15% 55%);
  }
  50% {
    background-color: hsl(172 15% 55%);
  }
  60% {
    background-color: hsl(204 15% 55%);
  }
  70% {
    background-color: hsl(236 15% 55%);
  }
  80% {
    background-color: hsl(272 15% 55%);
  }
  90% {
    background-color: hsl(308 15% 55%);
  }
  100% {
    background-color: hsl(359 15% 55%);
  }
}

@keyframes rotate-card_text-color {
  0% {
    color: hsl(0 20% 40%);
  }
  10% {
    color: hsl(36 20% 40%);
  }
  20% {
    color: hsl(72 20% 40%);
  }
  30% {
    color: hsl(108 20% 40%);
  }
  40% {
    color: hsl(140 20% 40%);
  }
  50% {
    color: hsl(172 20% 40%);
  }
  60% {
    color: hsl(204 20% 40%);
  }
  70% {
    color: hsl(236 20% 40%);
  }
  80% {
    color: hsl(272 20% 40%);
  }
  90% {
    color: hsl(308 20% 40%);
  }
  100% {
    color: hsl(359 20% 40%);
  }
}
@keyframes rotate-card_letter-spacing {
	0% {
	letter-spacing: 0rem;
	}
	50% {
	letter-spacing: 0.5rem;
	}
	100% {
	letter-spacing: 0rem;
	}
}

.card {
  margin: 23vh auto;
  width: 80vw;
  height: 60vh;
  perspective: 1000px;
  
}

.card__inner {
  width: 100%;
  height: 100%;
  transition: transform 0.4s;
  transform-style: preserve-3d;
  cursor: pointer;
  position: relative;
  
}

.card__inner.is-flipped {
  transform: rotateY(180deg);
}


.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.2);
}

.card__face--front {
/*   background-image: linear-gradient(to bottom right, var(--primary), var(--secondary)); */
/* animation: rotate-card-color 50s infinite; */
background-color: rgba(0,0,0,0.3);

  display: flex;
  align-items: center;
  justify-content: center;
}

.card__face--front h2 {
  color: rgba(255,255,255,0.75);
    font-size: 1.4em;
  line-height: 1.4;
/*   letter-spacing:   clamp( 0.3rem, -0.5615384615384615rem + 4.923076923076923vw, 1.1rem ); */
   animation: rotate-card_letter-spacing 5s ease infinite;
  justify-content: center;
  font-variant: small-caps;
}

.card__face--back {
/*   background-color: var(--light); */
background-color: rgba(255,255,255,0.1);
  transform: rotateY(180deg);
}

.card__content {
  width: 100%;
  height: 100%;
  
  
}

.card__header {
  position: relative;
  padding: 30px 30px 40px;
}

.card__header:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom left, var(--primary) 10%, var(--secondary) 115%);
  z-index: -1;
  border-radius: 0px 0px 50% 0px;
}

.pp {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background-color: #FFF;
  border: 5px solid #FFF;
  object-fit: cover;
}

.card__header h2 {
  color: #FFF;
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
 
}

.card__body {
  padding: 30px;
}

.card__body p {
	font-family: monospace;
/*   animation: rotate-card_text-color 50s infinite; */

  /*font-weight: 600;*/
  text-align: center;
  /*margin-left: 100px;*/
  /*margin-right: 100px;*/
  /*background-color: lightcoral;*/
  position: fixed;
  top:50%;
  left:50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
  /*width: 60%;*/
}

.card__body p {
  color: white;
  font-size: clamp( 0.57rem, -0.0007692307692309663rem + 3.2615384615384624vw, 1.1rem );
  line-height: 1.3em;
  letter-spacing: 0.1rem;
  justify-content: center;
  

}

.card__body p::first-letter {
	font-size: 1.6em;
}

div p.hide {
  /*visibility: hidden;*/
  color: #F3F3F3;
}

/*.container {*/
/*  height: 100%;*/
/*  position: absolute;*/
/*  overflow: hidden;*/
/*  width: 100%;*/
/*}*/

/*.content {*/
/*  position: relative;*/
/*  margin: 20% auto;*/
/*}*/

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}



