@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background-image: url("https://wallpapercave.com/wp/wp1860107.jpg");
  padding: 20px;
}

.main{
  display: flex;
  width: 100%;
  max-width: 969px;
  background: rgb(37 35 59 / 54%);
  box-shadow: 12px 15px 20px rgba(44, 41, 41, 0.857);
  border-radius: 60px;
  overflow: hidden;
  max-height: 643px;
  margin: 0 auto;
  color: whitesmoke;

}

.image-section {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-section img {
  width: 100%;
  height: 643px;
  object-fit: cover;
  display: block;
}

.login-section {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.login-header {
  margin-bottom: 40px;
}

.login-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f8f8f8;
  font-size: 1rem;
  margin-top: 8px;
}

.form-group label {
  font-size: 0.9rem;
  color: #666;
}

.forgot-password {
  text-align: right;
  margin-bottom: 25px;
}

.forgot-password a {
  color: #4444ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.submit-btn {
  background: #dd9966;
  color: white;
  border: none;
  padding: 15px;
  width: 100%;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #cc8855;
}

.alternative-login {
  margin-top: 30px;
  text-align: center;
}

.alternative-login p {
  color: #666;
  margin-bottom: 15px;
}


.create-account {
  text-align: center;
  margin-top: 20px;
}

.create-account a {
  color: #4444ff;
  text-decoration: none;
}

/* Media Queries for Responsiveness */

/* For Tablets (768px and below) */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .image-section {
    flex: 1;
    max-height: 300px; /* Limit the height of the image */
  }

  .image-section img {
    object-fit: cover;
  }

  .login-section {
    padding: 30px;
  }

  .login-header h1 {
    font-size: 2rem;
  }

  .submit-btn {
    padding: 12px;
  }
}

/* For Mobile Devices (480px and below) */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .col-md-12 {
    box-shadow: none; /* Remove shadow for simpler design on smaller devices */
    border-radius: 0;
  }

  .login-section {
    padding: 20px;
  }

  .login-header h1 {
    font-size: 1.8rem;
  }

  .form-group input {
    padding: 10px;
    font-size: 0.9rem;
  }

  .submit-btn {
    padding: 12px;
    font-size: 0.9rem;
  }

  .social-btn {
    width: 35px;
    height: 35px;
  }

  .social-btn img {
    width: 18px;
    height: 18px;
  }

  .create-account a {
    font-size: 0.9rem;
  }
}

.color-danger {
  color: red;
  font-size: 12px;
}


.social-login {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.social-login a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4285F4; /* Google Blue */
  color: white;
  font-size: 16px;
  padding: 17px 18px;
  border-radius: 30px;
  text-decoration: none;
  width: 234px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-login a:hover {
  background-color: #357ae8;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-login a img {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.social-login a:focus {
  outline: none;
  border: 2px solid #fbbc05;
}

.colors{
  color: #efefef;

}

.background{
  
  background-color: #232140c2;
  box-shadow: 0 4px 8px rgba(91, 107, 212, 0.822);
  border-radius: 30px;
}
  
.background :hover{
  background-color: #232140c2;
  box-shadow: 0 4px 8px rgba(91, 107, 212, 0.822);
  border-radius: 30px;
}
