@import url('https://fonts.googleapis.com/css2?family=Georama:wght@400;500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lakki+Reddy&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin:0 auto;
  font-family: 'Georama', sans-serif;
  font-weight: 400;
  font-size: 1.5em;
  max-width: 1200px;
  background-color: white;
  background-image: url("/img/back.jpg");
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  width: auto\9; /* ie8 */
}

.wrap {
  background-color: white;
  box-shadow: 12px 0 15px -4px rgba(31, 73, 125, 0.8), -12px 0 8px -4px rgba(31, 73, 125, 0.8);
  -moz-box-shadow: 12px 0 15px -4px rgba(31, 73, 125, 0.8), -12px 0 8px -4px rgba(31, 73, 125, 0.8);
  -webkit-box-shadow: 12px 0 15px -4px rgba(31, 73, 125, 0.8), -12px 0 8px -4px rgba(31, 73, 125, 0.8);
  -o-box-shadow: 12px 0 15px -4px rgba(31, 73, 125, 0.8), -12px 0 8px -4px rgba(31, 73, 125, 0.8);
}

.content {
  margin: 0 10px 0 15px;
}

.caption {
  font-family: 'Lakki Reddy', cursive;
  font-weight: 600;
  font-size: 1.2em;
  text-align: center;
  text-shadow: none;
}

h1 {
  margin-top: 1.3em;
  margin-bottom: 1em;
  font-family: 'Lakki Reddy', cursive;
  text-align: center;
  font-weight: 600;
  font-size: 1.8em;
  background-image: linear-gradient(0deg, rgb(170, 82, 19) 27%, rgb(208, 178, 55) 100%);
  background-size: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-text-fill-color: transparent; 
}

.top-h1 {
  font-size: 3em;
  margin-top: .7em;
  margin-bottom: 0;
}

.mid-h1 {
  margin: 0px;
}

/*Heading Shake Effect*/

h1:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
      transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
      transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
      transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
      transform: translate3d(4px, 0, 0);
  }
}

p {
  margin: 1px 5px 1px 5px;
  text-indent: 30px;
  line-height: 1.6em;
}

.center {
  text-align: center;
}

figure {
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
  margin: 0.5em;
  padding: 0.5em;
}

.img-right {
  float: right;
  margin: 0 1em .8em 0;
}

.img-left {
  float: left;
  margin: 0 1em .8em .5em;
}

.info-right {
  float: right;
  width: auto;
  margin: 0 0 1em 0;
}

.line {
  width: 80%;
  height: 15px;
  margin: 3em auto;
  background: radial-gradient(rgba(170,82,19,1) 0%, rgba(208,178,55,1) 20%, rgba(255,255,255,1) 100%);
  border-radius: 15px;
}

table {
  border-collapse: collapse;
  margin: 0 auto;
}

td, th {
  font-size: .7em;
  line-height: 1.3em;
  border: 1px solid #aa5213;
  padding: 10px;
  text-align: center;
}

tr:nth-child(even) {
  background-color: #ffffe0;
}

table h3 {
  margin: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  background-image: linear-gradient(0deg, rgba(170,82,19,1) 27%, rgba(208,178,55,1) 100%);
  background-size: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent; 
  -moz-text-fill-color: transparent;
}

.clear-float {
  clear: both;
  margin-bottom: 1em;
}

/* Flip card start */
.flip-card {
  background-color: transparent;
  margin: 15px;
  width: 276px;
  height: 230px;
  float: left;
  perspective: 1000px;
}

/* 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;
}

/* 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;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #ffffff;
  color: #000000;
}

/* Style the back side */
.flip-card-back {
  background-color: #ffffff;
  color: #000000;
  transform: rotateY(180deg);
  text-align: center;
  font-style: italic;
  text-indent: 0;
}

.flip-h1 {
  margin: 1em 0 0 0;
  padding: 0;
}

.BLB {
  width: 100%;
  color: blue;
  margin-bottom: 2em;
}

.BLB h3 {
  text-align: center;
  margin-bottom: .3em;
}

.BLB select {
  color: blue;
  border: 2px #aa5213 solid;
  border-radius: 10px;
  font-size: 1em;
  margin: .5em;
  padding: .3em;
  width: 40%;
}

#Criteria {
  color: blue;
  border: 2px #aa5213 solid;
  width: 90%;
  font-size: 1em;
  margin: 0 .5em 0 .5em;
  padding: .3em;
  border-radius: 10px;
}

.BLB input::placeholder {
  color: blue;
  opacity: .6;
}

.subbtn {
  color: blue;
  border: 2px #aa5213 solid;
  font-size: 1em;
  padding: .3em;
  border-radius: 10px;
  background-color: transparent;
  cursor: pointer;
}

.footer p {
  text-align: center;
  font-size: .8em;
  position: relative;
  width: 100%;
  background-color: #ffffff;
  margin: 0 auto;
  padding-top: 1em;
  padding-bottom: .5em;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(208,178,55,1) 27%, rgba(170,82,19,1) 100%);
}

#pot {
  bottom: 15%;
  position: relative;
  animation: linear infinite;
  animation-name: run;
  animation-duration: 15s;
}

@keyframes run {
  0% {
    left: 0;
  }
  48% {
    -webkit-transform: rotateY(0deg); 
  }
  50% { 
    left: calc(100% - 175px);
    -webkit-transform: rotateY(180deg); 
  }
  98% {
    -webkit-transform: rotateY(180deg); 
  }
  100% {
    left: 0;    
     -webkit-transform: rotateY(0deg);
  }
}

.agent {
  float: right;
 }