* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    font-family: 'Montserrat', sans-serif;
    display: flex;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

img {
    width: 250px;
    margin-top: 0;
    margin-bottom: 20px;
}

.loginForm span {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    position: relative;
}

    .loginForm span input {
        width: 100%;
        font-size: 1rem;
        padding: 15px 0 10px 60px;
        border: none;
        outline: none;
        background: none;
        border-bottom: 1px solid rgb(211, 211, 211);
    }

    .loginForm span p {
        position: absolute;
        top: 50%;
        left: 60px;
        transform: translateY(-50%);
        font-size: 1rem;
        color: gray;
        z-index: -1;
        user-select: none;
        transition: 0.25s ease-in-out;
    }

    .loginForm span input:focus ~ p {
        transform: translateY(-200%);
        color: #dc272c;
        font-size: 0.6rem;
    }

    .loginForm span input:valid ~ p {
        transform: translateY(-200%);
        font-size: 0.6rem;
    }

    .loginForm span label .fas {
        color: #7d7d7d;
        font-size: 1.5rem;
        padding: 15px;
        position: absolute;
        top: 0;
        left: -2%;
        transition: 0.25s ease;
        cursor: pointer;
    }

        .loginForm span label .fas:hover {
            color: #6d6d6d;
        }

    .loginForm span input:focus ~ label .fas {
        color: #dc272c;
    }

span label::after {
    content: "";
    width: 0;
    height: 1px;
    background: #dc272d;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.5s ease-in-out;
}

.loginForm span input:focus ~ label::after {
    width: 100%;
}

.loginForm .btn {
    font-size: 1rem;
    padding: 15px;
    border: none;
    outline: none;
    color: #fff;
    width: 100%;
    cursor: pointer;
    background-color: #484545;
    margin: 40px 0 20px 0;
    border-radius: 40px;
    transition: 0.25s ease-in-out;
}

    .loginForm .btn:hover {
        background-color: #dc272c;
    }

.loginForm .link {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    text-decoration: none;
    color: gray;
    justify-content: center;
}

    .loginForm .link:hover {
        color: #dc272c;
    }

.popup-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #dc272c;
    color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
}

.fa {
    color: #fff;
    font-size: 1.5rem;
    padding: 5px;
    cursor: pointer;
    background-color: #dc272c;
}

.pop-btn {
    border: none;
}
