@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Felipa&display=swap');
body {
    color: #666;
    margin: 0;
    padding: 0;
    background: linear-gradient(#f3e8f0, #eaf1f0);
  }
  h1 {
    color: rgb(221, 16, 102);
    text-align: center;
    font-family: 'Bungee Shade', cursive;
    font-size:50px;
  }
  h2 {
    color: rgb(221, 16, 102);
    text-align: center;
    font-size:20px;
  }
  p {
     font-size: 1.5em;
  }
  .choice
  {
    text-align: center;
    font-size: 20px;
    color: rgb(221, 16, 102);
  }
  label,select 
{
    display: inline-block;
    vertical-align: middle;
} 
  .cardBox {
    float: left;
    font-size: 1.1em;
    perspective: 800px;
    transition: all 0.4s ease 0s;
    width: 22%;
    padding:1%;
  }
  .card {
    background: #666666;
    cursor: pointer;
    height: 250px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease 0s;
    width: 100%;
  }
  .card .front,
  .card .back {
    backface-visibility: hidden;
    box-sizing: border-box;
    color: white;
    display: block;
    
    height: 100%;
    padding: 0.2em;
    position: absolute;
    text-align: center;
    width: 100%;
    justify-content: center;
  }
 
  .cardBox:nth-child(2) .card .front {
    background: #929AFF;
    color: white;
  }
 
  .cardBox:nth-child(3) .card .front {
    background: #B48CDC;
    color: white;
  }
 
  .cardBox:nth-child(4) .card .front {
    background: #DC8CD4;
    color: white;
  }
 
  .cardBox:nth-child(5) .card .front {
    background: #A087EF;
    color: white;
  }

  .cardBox:nth-child(6) .card .front {
    background: #9375C7;
    color: white;
  }

  .cardBox:nth-child(7) .card .front {
    background: #D296EC;
    color: white;
  }

  .cardBox:nth-child(8) .card .front {
    background: #CC99CC;
    color: white;
  }

  .cardBox:nth-child(9) .card .front {
    background: #D57AC0;
    color: white;
  }


  @media screen and (max-width: 767px) {
    .cardBox {
      margin-left: 2.8%;
      margin-top: 3%;
      width: 46%;
    }
    .card {
      height: 285px;
    }
    .cardBox:last-child {
      margin-bottom: 3%;
    }
  }
  @media screen and (max-width: 480px) {
    .cardBox {
      width: 94.5%;
    }
    .card {
      height: 260px;
    }
  }

  
button {
    border: 0px;
    background: #b4136c;
    border-radius: 4px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: 0.2s ease-in all;
    width: 100px;
    height:30px;
    margin:2%;
  }
  
  button:focus { outline: none;}
  button:hover {background: rgba(134, 62, 62, 0.3);}
 

  ul {
    list-style-type: none;
    margin: 0;
    padding: 0.5em;
    overflow: hidden;
    background:rgb(220, 177, 245);
  }
  
  li {
    float: left;
  }
  
  li a {
    display: block;
    color: rgb(103, 15, 161);
    text-align: center;
    padding: 10px 12px;
    text-decoration: none;
  }
  
  li a:hover:not(.active) {
    background-color:#eab2f5;
  }
  
  li a.active {
    color: rgb(247, 245, 248);
    background-color: #d09af4;
  }
  
  .btn-group {
    display: block;
    margin: 0 auto;
    justify-content: center;
  }