* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eef2ff;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.image-section {
    flex: 7;
    position: relative;
    overflow: hidden;
}

.image-section img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
}

.login-section {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #eef2ff;
}

.login-section h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.login-section form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-section label {
    margin-bottom: 5px;
    font-size: 16px;
    color: #555;
}

.login-section input {
    width: 80%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-section, .login-section {
        width: 100%;
        height: 50%;
    }

    .login-section input, .login-section button {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .login-section input, .login-section button {
        width: 100%;
    }

    .login-section h1 {
        font-size: 20px;
    }

    .login-section label, .login-section input, .login-section button {
        font-size: 14px;
    }
}




@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
  margin: 0;
  padding: 0;
  /* user-select: none; */
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
.content{
  width: 400px;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
}
.content .text{
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 35px;
  color: #595959;
}
.field{
  height: 50px;
  width: 100%;
  display: flex;
  position: relative;
  margin-bottom: 15px;
}
.field:nth-child(2){
  margin-top: 20px;
}
.field input{
  height: 100%;
  width: 100%;
  padding-left: 30px;
  outline: none;
  border: none;
  font-size: 18px;
  background: #e2e5f0;
  color: #595959;
  border-radius: 15px;
  box-shadow: inset 2px 2px 5px #BABECC,
              inset -5px -5px 10px #ffffff73;
}
.field input:focus{
  box-shadow: inset 1px 1px 2px #BABECC,
              inset -1px -1px 2px #ffffff73;
}
.field span{
  position: absolute;
  color: #595959;
  width: 50px;
  line-height: 50px;
}
.field label{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 30px;
  pointer-events: none;
  color: #666666;
  opacity: 1; /* Базовая прозрачность */
  transition: all 0.3s ease; /* Плавная анимация */
}
.field input:valid ~ label{
  opacity: 0;
}
/* Эффект при наведении на поле ввода */
.field input:focus ~ label {
  opacity: 0; /* Уменьшаем прозрачность  */
  transition: all 0.3s ease;
  color: #333; /* Меняем цвет текста */
}

.forgot-pass{
  text-align: center;
  margin: 10px 0 10px 5px;
}
.forgot-pass a{
  font-size: 16px;
  color: #3498db;
  text-decoration: none;
}
.forgot-pass:hover a{
  text-decoration: underline;
}
.login-section button{
  margin: 25px 0;
  width: 70%;
  height: 50px;
  font-size: 18px;
  line-height: 50px;
  font-weight: 550;
  background: #d6daf0;
  border-radius: 25px;
  border: none;
  outline: none;
  cursor: pointer;
  color: #595959;
  box-shadow: 2px 2px 5px #BABECC,
             -5px -5px 10px #ffffff73;
}
.login-section button:hover{
  color: #595959;
  text-decoration: underline;
  background: #d8d9dd;

}
.login-section button:focus{
  color: #595959;
  text-decoration: underline;
  box-shadow: inset 2px 2px 5px #BABECC,
             inset -5px -5px 10px #ffffff73;
}

.my-card-body {
  flex: 1 1 auto;
  min-height: 1px;
}