body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-size: cover;
    background-color: #0A2961;
    font-family: Arial, sans-serif;
}

.container {
    top: 0;
    right: 0;
    bottom: 0;
    width: 30vw;
    display: flex;
    padding: 50px;
    position: absolute;
    flex-direction: column;
    justify-content: center;
    background-color: #EFEFEF;

}

.img-conteiner {
    width: 55vw;
    height: 100vh;
}

.img-conteiner img {
    width: 75%;
    height: 75%;
    object-fit: cover;
    margin: 80px 0 0 100px;
}

h2 {
    color: #333;
    text-align: start;
}
p {
    font-size: 18px;
    color: #838383;
    font-weight: 500;
    margin: -10px 0 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    color: #555;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}

input {
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

button {
    width: 40%;
    border: none;
    padding: 10px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    background-color: #153259;
    transition: background-color 0.5s;
}

button:hover {
    background-color: #275a9c;
}

button:active {
    animation: clickAnimation 0.1s;
}

.forgot-password {
    font-size: 14px;
    margin-left: 7px;
    color: #797979ff;
    text-decoration: none;
}

.error-message {
    padding: 8px;
    color: #721c24;
    font-weight: 500;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    animation: fadeIn 0.5s ease-in;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.success-message {
    color: green;
    text-align: center;
    margin-bottom: 15px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes clickAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .container {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        padding: 20px;
        position: fixed;
    }

    .container img{
        width: 80%;
        margin: -20px auto 30px auto;
    }


    .img-conteiner {
        display: none;
    }

    .error-message {
        width: 100%;
        box-sizing: border-box;
    }

    form {
        width: 90%;
        align-items: center;
    }

    input {
        width: 100%;
        box-sizing: border-box;
    }

    button {
        width: 100%;
        box-sizing: border-box;
    }
}