* {
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.appointment {
  min-height: 100vh;
  width: 100%;
  max-width: 1100px;
  display: flex;
  margin: auto;
  /* flex-direction:row; */
  align-items: center;
  justify-content:center;
  gap: 40px;
  padding: 20px;
}

.appointment .image-box {
  width: 50%;
  height: 580px;
    margin-top: 80px;
  box-shadow: 1px green;
}

.appointment .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.appointment .container {
  width: 50%;
  padding: 30px;
  border-radius: 20px;
}

.appointment .title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

.appointment .input-box {
  margin-bottom: 18px;
}

.appointment .input-box span {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #444;
}

.appointment .input-box input,
.appointment .input-box textarea,
.appointment .input-box select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 15px;
}

.appointment .input-box input:focus,
.appointment .input-box textarea:focus,
.appointment .input-box select:focus {
  border-color: #9b59b6;
}

.appointment textarea {
  resize: none;
  height: 80px;
}

.appointment .button input {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.appointment .button input:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .appointment {
    flex-direction: column;
    background:
      linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)),
      url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRBJCW9DZlt5e9mRKam-vtuDreM7lZuVpbYEjP-aamYTEzIOLBx92Ymww&s");
    background-size: cover;
    background-position: center;
    animation: bgMove 10s ease-in-out infinite alternate;

    @keyframes bgMove {
      0% {
        background-position: left center;
      }
      100% {
        background-position: right center;
      }
    }
  }

  .appointment .image-box,
  .appointment .container {
    width: 100%;
  }

  .appointment .image-box img {
    height: 300px;
  }
}
/* body {
} */
