@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');


html,body{
    /* background-color: rgb(17, 17, 17); */
    background-color: #F9DAD0;
    /* color:white; */
    color: #52528C;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100dvw;
    height:100dvh;
    overflow: hidden;
    font-family: "Poppins",Arial, Helvetica, sans-serif;
}

h1{
  margin:16px 24px 8px;
  color: #454576;

}

h3{
  text-align: center;
  margin:0;
}

.guidelines{
  margin:8px 8px 16px;
}

.guidelines p{
margin:0;
text-align: center;
}


.intro-card{
  background-color: #C5DCA0;
    width: 300px;
    height: 600px;
    box-sizing: border-box;
    /* border: 1px solid #f1f1f1; */
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    border-radius: 24px;
    padding:16px;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    box-shadow: rgba(55, 55, 55, 0.2) 0px 7px 16px 0px;
    gap:8px;
}

.intro-card h2{
  margin:0;
}

.intro-card h3{
  margin:0;
  font-size: 16px;
}

.bodyPart{
  /* background-image: url('bodyPositions/bodyGefira.png'); */
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  /* flex:1; */
  /* margin:24px 0 8px; */
}

.questionPart{
  /* margin: 8px 0 24px; */
}


.intro-card img{
  width:100%;
  height:100px;
  object-fit: contain;
}

 /* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
 .flip-card {
    background-color: transparent;
    width: 300px;
    height: 600px;
    box-sizing: border-box;
    /* border: 1px solid #f1f1f1; */
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    border-radius: 24px;

  }


  
  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: rgba(55, 55, 55, 0.2) 0px 7px 16px 0px;
    border-radius: 24px;



  }
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: #bbb;
    color: black;
  }

  .flip-card-front img{
    width:100%;
    height:100%;
    object-fit: cover;
  }
  
  /* Style the back side */
  .flip-card-back {
    /* background-color: rgb(34, 34, 34); */
    background-color: #F5F2B8;

    /* color: white; */
    color: #454576;

    transform: rotateY(180deg);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:64px;
    box-sizing: border-box;
    border-radius: 24px;

  } 

  .flip-card-back img{
    width:100%;
    height:100%;
    object-fit: contain;

    /* position:absolute; */
  }

  button,.button{
    margin:24px;
    /* height:48px; */
    padding:16px 48px;
    font-family: "Poppins",Arial, Helvetica, sans-serif;
    /* background-color: rgb(58, 58, 58); */
    background-color: rgb(252, 140, 140);
    border:none;
    color:rgb(1, 1, 96);
    border-radius: 24px;
    box-shadow: rgba(12, 12, 12, 0.2) 0px 8px 16px 0px;
    text-decoration:none ;
  }

  button:hover, button:active{
    transform:scale(1.1);
  }


  .bounce {
    animation: bounce 2s ease-in;
  }
  @keyframes bounce {
      70% { transform:translateY(0%); }
      80% { transform:translateY(-15%); }
      90% { transform:translateY(0%); }
      95% { transform:translateY(-7%); }
      97% { transform:translateY(0%); }
      99% { transform:translateY(-3%); }
      100% { transform:translateY(0); }
  }