body {
    font-family: Arial, sans-serif;
    background-color: #2c3e50;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}
.login-container, .small-screen-message {
    position: absolute;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.login-container {
    background-color: #34495e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
    transform: translateX(0);
    opacity: 1;
}
.login-container h2 {
    margin-bottom: 20px;
    color: #ecf0f1;
}
.form__group {
    position: relative;
    padding: 20px 0 0;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
}
.form__field {
    font-family: inherit;
    width: 100%;
    border: none;
    border-bottom: 2px solid #9b9b9b;
    outline: 0;
    font-size: 17px;
    color: #ecf0f1;
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;
}
.form__field::placeholder {
    color: transparent;
}
.form__field:placeholder-shown ~ .form__label {
    font-size: 17px;
    cursor: text;
    top: 20px;
}
.form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: #9b9b9b;
    pointer-events: none;
}
.form__field:focus {
    padding-bottom: 6px;
    font-weight: 700;
    border-width: 3px;
    border-color: #3498db;
}
.form__field:focus ~ .form__label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: #3498db;
    font-weight: 700;
}
.form__field:required, .form__field:invalid {
    box-shadow: none;
}
.input-container {
    position: relative;
    width: 100%;
}
.input-container button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    border: none;
    background: none;
    cursor: pointer;
}
.input-container button img {
    width: 100%;
    height: 100%;
}
.small-screen-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ecf0f1;
    transform: translateX(0);
    opacity: 0;
}
.small-screen-message img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}
@media (max-width: 380px) {
    .login-container {
        display: none;
        transform: translateX(-100%);
        opacity: 0;
    }
    .small-screen-message {
        display: flex;
        transform: translateX(0);
        opacity: 1;
    }
}