@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --bg: #a3dff8;
  --border: #b4b4b8;
  --button: #720455;
  --label: #ff8911;
  --error: #d04848;
  --buttonPrimary: #e258b6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.flex {
  display: flex;
}

.jsb {
  justify-content: space-between;
}

.jc {
  justify-content: center;
}

.ac {
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: scale(0) rotate(0deg);
  }

  to {
    transform: scale(1) rotate(360deg);
  }
}

body {
  background-color: var(--bg);
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0px 0px 20px -1px rgba(0, 0, 0, 0.1);
  width: 80%;
}

.left {
  padding: 80px;
  animation: fadeIn 0.8s linear;
}

h1 {
  margin-bottom: 30px;
  font-size: 26px;
  color: var(--button);
}

.form-group:not(:last-child) {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--label);
}

.right h2{
    font-family: "Montserrat", sans-serif;
}

input {
  width: 100%;
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid var(--border);
}

input:focus {
  border: 1px solid var(--button);
}

.error {
  margin-top: 10px;
  font-size: 13px;
  color: var(--error);
}

.forgot {
  text-align: right;
  margin-top: 10px;
  font-size: 13px;
}

button {
  padding: 15px 40px;
  font-size: 20px;
  position: relative;
  border: none;
  margin-bottom: 30px;
}

.btn3 {
  z-index: 1;
  transition: all 0.3s;
  border-radius: 5px;
  background: var(--buttonPrimary);
}

.btn3::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--button);
  z-index: -1;
  opacity: 0;
  transition: all 0.3s;
  border-radius: 5px;
}

.btn3:hover::before {
  opacity: 1;
  transform: rotate(25deg);
}

.btn3:hover {
  color: #fff;
}

.btn3 span {
  position: relative;
  color: transparent;
}

.btn3 span::before {
  content: 'L';
  position: absolute;
  color: #000;
  transition: all 0.3s;
  font-size: 16px;
  top: 0;
}

.btn3:hover span::before {
  font-size: 36px;
  transform: translate(-50%, -30%) rotate(360deg);
  color: #fff;
}

.left,
.right {
  width: 50%;
}

.right {
  background: url('../img/bg/5.png');
  border-radius: 0 25px 25px 0;
}

.card {
  width: calc(100% - 100px);
  height: calc(100% - 100px);
  background: rgba(61, 25, 109, 0.8);
  flex-direction: column;
  padding: 30px;
  border-radius: 25px;
  gap: 5px;
  position: relative;
}

.card h2{
    font-size: 30px;
}

.card p{
    color: #fff;
}

.img-box {
  width: 200px;
  height: 200px;
  align-self: center;
}

.img-box img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0) rotate(0deg);
  animation: rotate 0.5s 1.3s forwards;
}

h2 {
  font-size: 22px;
  color: #fff;
  text-align: justify;
  line-height: 1.2;
  opacity: 0;
  animation: bounce 0.3s 1s forwards;
}

.credit{
    font-size: 12px;
    color: #fff;
    position: absolute;
    bottom: 10px;
}

@media (max-width: 1100px) {
  body {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
}

@media (max-width: 900px) {
  .left,
  .right {
    padding: 30px;
  }

  .card {
    padding: 20px;
    width: 100%;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .container {
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
  }

  body{
    padding: 30px 0;
  }

  .credit{
    position: relative;
  }
}
