body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0f0c29;
  background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);
  background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
}

.id-card {
  width: 300px;
  height: 400px;
  perspective: 1000px;
  border-radius: 60px;
}

.id-content {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 40px;
  transition: transform 2s;

}

.id-card:hover .id-content {
  transform: rotateY(180deg);
}

.idfront,
.idback {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 40px;
}

.idfront {
  background-color: rgb(0, 0, 0);
}

.idback {
  background-color: rgb(232, 229, 225);
  transform: rotateY(180deg);
  font-family: 'Cinzel', serif;
  line-height: 70px;
}


#form {
  text-align: center;
  background-color: rgb(53, 33, 109);
  height: 300px;
  width: 300px;
  margin-top: 20px;
  text-align: center;
  border-radius: 30px;
  background: #0F2027;
  background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);
  background: linear-gradient(to right, #2C5364, #203A43, #0F2027);
}

img {
  border-radius: 40px;
}

.input {
  border: 2px solid rgb(196, 118, 131);
  margin-top: 20px;
  padding: 3px;
  background-color: #c2fbd7;
  border-radius: 5px;
}

.input::placeholder {
  color: rgb(0, 130, 26);
}

#myfile {
  background-color: #c2fbd7;
  color: #286900;
  border-radius: 20px;
}

.submit {
  margin-top: 20px;
  background-color: #c2fbd7;
  border-radius: 100px;
  box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset, rgba(44, 187, 99, .15) 0 1px 2px, rgba(44, 187, 99, .15) 0 2px 4px, rgba(44, 187, 99, .15) 0 4px 8px, rgba(44, 187, 99, .15) 0 8px 16px, rgba(44, 187, 99, .15) 0 16px 32px;
  color: green;
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.submit:hover {
  box-shadow: rgba(44, 187, 99, .35) 0 -25px 18px -14px inset, rgba(44, 187, 99, .25) 0 1px 2px, rgba(44, 187, 99, .25) 0 2px 4px, rgba(44, 187, 99, .25) 0 4px 8px, rgba(44, 187, 99, .25) 0 8px 16px, rgba(44, 187, 99, .25) 0 16px 32px;
  transform: scale(1.05) rotate(-1deg);
}