@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Irish+Grover&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
body {
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background-color: #e0eae8;
  height: 100vh;
  justify-content: center;
  font-family: inter;
}
* {
  padding: 0;
  margin: 0;
  border: 0;
}
main {
  width: 100%;
  height: 100%;
  overflow: scroll;
}
.flex {
  width: 100%;
  height: 100%;
  opacity: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  align-items: center;
  box-sizing: border-box;
}

.title {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  padding-bottom: 24px;
}
.success-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 400px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  transform: scale(0.1);
  animation: zoomIn 2s ease-out forwards;
}

.title {
  color: #4361EE;
   font-family: "Inter", sans-serif;;
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 10px;
  animation: bounce 1s ease-in-out;
}

h3 {
  font-size: 20px;
   font-family: "Inter", sans-serif;;
  font-weight: 400;
  color: #333;
  margin-bottom: 10px;
}
.second-div h4 {
   font-family: "Inter", sans-serif;;
  font-size: 24px;
  color: #ffffff;
}
.second-div span {
   font-family: "Inter", sans-serif;;
  font-size: 16px;
  color: #ffffff;
}
p {
  font-size: 16px;
   font-family: "Inter", sans-serif;;
  font-weight: 400px;
  color: #666;
  margin: 5px 0;
}
.backbtn {
  width: 90%;
  background-color: #4361EE;
  border-radius: 12px;
  margin-top: 20px;
  padding: 10px;
  opacity: 0.5;
  cursor: pointer;
  transform: scale(0.9);
}
.backbtn a {
  color: #fff;
  font-family: Inter;
  font-weight: 400;
  font-size: 20px;
  line-height: 24.2px;
  letter-spacing: 0%;
  text-decoration: none;
}
.backbtn:hover{
    opacity: 0.9;
    transform: scale(1);
}
/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.1);
  }
 
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@media screen and (max-width: 600px) {
    main{
        padding: 0;
    }
  .success-content {
    width: 100%;
  }
  .form-container {
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
}
