@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;
    }
  h1 {
    color: rgb(240, 11, 11);
    text-align: center;
    font-family: 'Bungee Shade', cursive;
    font-size:40px;
   }
  h2 {
    color: rgb(243, 45, 45);
    text-align: center;
    font-size:18px;
  }
   .choice
  {
    text-align: center;
    font-size: 18px;
    color: rgb(221, 40, 16);
  }
  label,select
{
    display: inline-block;
    vertical-align: middle;
} 

  .cardBox {
    float: left;
    font-size: 1.1em;
    perspective: 800px;
    transition: all 0.4s ease 0s;
    width: 23%;
    padding:1%;
  }
  .card {
    background: #666666;
    cursor: pointer;
    height: 230px;
    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: #f67703;
    color: black;
  }
 
  .cardBox:nth-child(3) .card .front {
    background: #f9b000;
    color: #f5dda6;
  }
 
  .cardBox:nth-child(4) .card .front {
    background: #f14508;
    color: #000;
  }
 
  .cardBox:nth-child(5) .card .front {
    background: #ec890d; 
    color: #000;
  }

  .cardBox:nth-child(6) .card .front {
    background: #f93124;
    color: #000;
  }

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

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

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


  @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-color:rgb(245, 71, 18);
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: 0.2s ease-in all;
    width: 100px;
    height:30px;
    margin:2%;
  }
  
  button:focus { outline: none;}
  button:hover {background: rgba(245, 71, 18, 0.5);}
 

ul {
  list-style-type: none;
  margin: 0;
  padding: 0.5em;
  overflow: hidden;
  background:rgb(245, 71, 18);
}

li {
  float: left;
}

li a {
  display: block;
  color: rgb(255, 254, 254);
  text-align: center;
  padding: 8px 8px;
  text-decoration: none;
}

li a:hover:not(.active) {
  background-color:#f0b29f;
}

li a.active {
  color: rgb(247, 244, 242);
  background-color: #f87c7c
;
}

  .btn-group {
    display: block;
    margin: 0 auto;
    justify-content: center;
  }