* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

:root {
  --color-primary: #fbbf24;
  --color-secondary: #363e58;
  --color-background: #f9fafb;
  --color-text: #374151;
  --color-accent: #ef4444;
  --color-plus: #ded9d6;
}
a {
  text-decoration: none;
}

body {
  margin: 0;
  height: 100vh;
  background: var(--color-background);
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  width: 900px;
  height: 500px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.left {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  position: relative;
  box-shadow:
    rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.1) 0px 8px 24px,
    rgba(17, 17, 26, 0.1) 0px 16px 56px;
}

.left:hover .img img {
  transform: scale(1.08);
}

.left .img {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.left .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.logo h1 {
  padding: 10px 0;
  font-size: 36px;
  color: var(--color-primary);
}

.logo h1 .andlogo {
  color: var(--color-secondary);
}

.logo p {
  font-size: 14px;
  opacity: 0.9;
  max-width: 250px;
  color: var(--color-text);
  margin-bottom: 5px;
}

.logo {
  background-color: var(--color-plus);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  border-radius: 10px;
}

.right {
  width: 60%;
  padding: 50px 60px;
}

.right h2 {
  margin-bottom: 25px;
  color: var(--color-accent);
}

.field {
  margin-bottom: 18px;
}

.field input {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.field input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 6px rgba(118, 75, 162, 0.4);
}

.btn {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: #ff6f61;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

#msg {
  margin-top: 15px;
  color: var(--color-accent);
  font-size: 14px;
  min-height: 20px;
}

.login-link {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.login-link a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: bold;
}

.login-link a:hover {
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .card {
    flex-direction: column;
    height: auto;
    width: 90%;
  }

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

  .left {
    padding: 40px 20px;
  }
}

.backtohome {
  position: absolute;
  top: 20px;
  left: 20px;
}
.backtohome a {
  color: var(--color-text);
  font-weight: bold;
  font-size: 14px;
}
.backtohome i {
  margin-right: 5px;
  font-size: 20px;
  color: var(--color-accent);
}
.backtohome:hover i {
  color: var(--color-primary);
}
