@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    background-color: #0f0f11;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    position: relative;
    background-color: #242526;
    width: 500px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
    color: #fff;
    gap: 15px;
}

form input[type=text], form input[type=password] {
    background-color: #3a3b3c;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 20px;
    height: 35px;
    padding: 15px 40px 15px 15px;
    width: 250px;
}

.group-buttons {
    display: flex;
    gap: 20px;
}

form button {
    background-color: #007bff;
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    border-radius: 20px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
}

form button:hover {
    background-color: #0069d9;
}

form button .imgBox {
    position: relative;
    display: flex;
    align-self: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    pointer-events: none;
}

form button .imgBox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
}

form a {
    text-decoration: none;
    color: #fff;
    background-color: #dc3545;
    border: none;
    outline: none;
    border-radius: 20px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
}

form a:hover {
    background-color: #c82333;
}

form a .imgBox {
    position: relative;
    display: flex;
    align-self: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

form a .imgBox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
}

.message {
    display: none;
    color: red;
    position: absolute;
    top: 400px;
}

.user-icon {
    position: absolute;
    height: 20px;
    width: 20px;
    filter: invert(1);
    left: 345px;
    top: 115px;
}

.pass-icon {
    position: absolute;
    height: 20px;
    width: 20px;
    filter: invert(1);
    left: 345px;
    top: 295px;
}

.code-icon {
    position: absolute;
    height: 20px;
    width: 20px;
    filter: invert(1);
    left: 345px;
    top: 205px;
}