*{
   margin: 0;
    padding: 0;
}
:root {
    --dark: #000;
    --light: #f9f4eb;
    --light2: #f0ece5;
    --accent-1: #e5d9f6;
    --accent-2: #ffd2f3;
    --accent-3: #fcdca6;
}

 h1{
    font-size: 1.5rem;
    font-weight: 500;
 }

 p{
    font-size: 1.1rem;
    font-weight: 500;
 }

 span{
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
 }

 .about {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark);
    color: var(--light);
    height: 100svh;
    margin: 0;
 }

 .hero-cards{
   /* position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%); */
   height: 50svh;
   display: flex;
   justify-content: center;
   gap: 1rem;

 }

 .hero-cards .card{
   /* flex: 1; */
   width: 180px;
   position: relative;
   aspect-ratio: 5/7;
   padding: 0.5rem;
   border-radius: 0.5rem;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
 
 }

 .card-title{
   width: 100%;
   display: flex;
   justify-content: space-between;
 }

 .hero-cards .card span{
   font-size: 0.7rem;

 }

 .hero-cards .card#hero-card-1{
   background-color: white;
   transform-origin: top right;
   z-index: 2;

 }

  .hero-cards .card#hero-card-2{
   background-color: white;
   z-index: 1;

 }

  .hero-cards .card#hero-card-3{
   background-color: white;
   transform-origin: top left;
   z-index: 0;

 }

 .cards {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100svh;
   display: flex;
   justify-content: center;
   z-index: -1;
   opacity: 0;
 }

.cards-container{
   position: relative;
   width: 75%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 4rem;
}

.cards-container .card{
   flex: 1;
   position: relative;
   aspect-ratio: 5/7;
   perspective: 1000px;
}

.cards-container .card .card-wrapper{
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%);
   width: 100%;
   height: 100%;
   animation: floating 2s infinite ease-in-out;
}

@keyframes floating{

   0%{
      transform: translate(-50%,-50%);
   }

   50%{
      transform: translate(-50%,-55%);
   }

   100%{
      transform: translate(-50%,-50%);
   }
}

#card-1 .card-wrapper{
   animation-delay: 0s;
}
#card-2 .card-wrapper{
   animation-delay: 0.25s;
}
#card-3 .card-wrapper{
   animation-delay: 0.5s;
}

.flip-card-inner{
   position: relative;
   width: 100%;
   height: 100%;
   transform-style: preserve-3d;
}

.flip-card-front, .flip-card-back{
   position: absolute;
   width: 100%;
   height: 100%;
   border-radius: 1rem;
   backface-visibility: hidden;
   overflow: hidden;
}

.flip-card-front{
   padding: .5rem;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   align-items: center;
}

#card-1 .flip-card-front{
   background-color: white;
   justify-content: center;
}

#card-2 .flip-card-front{
   background-color: white;
      justify-content: center;
}

#card-3 .flip-card-front{
   background-color: white;
      justify-content: center;
}

.flip-card-back{
   padding: 1rem;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   /* align-items: center; */
   gap: 2rem;
   background-color: #fff;
   transform: rotateY(180deg);

}

.card-copy{
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
}

.card-copy p{
   flex: 1;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 0.4rem;
   font-size: 0.85rem;
   background-color: var(--light2);
   border-radius: .3rem;
}

.card-logos {
   display: flex;
   flex-direction: row;
   justify-content: center;
   gap: 0.5rem;
}

.skill-icon {
   font-size: 1.3rem;
   line-height: 1;
}

#card-1{
   z-index: 2;
}

#card-2{
   z-index: 1;
}

#card-3{
   z-index: 0;
}

.cards-container .card{
   opacity: 0;
}

.skills-ghost-icons {
   position: absolute;
   inset: 0;
   pointer-events: none;
   overflow: hidden;
   z-index: -1;
}

.skills-ghost-icon {
   position: absolute;
   color: var(--dark);
   transform-origin: center;
}