@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.box {
    display: flex;
    align-items: center;
    height: 350px;
    width: 450px;
    flex-direction: column;
    border-radius: 15px;
    border: 1px solid rgba(177, 176, 176, 0.2);
    outline: none;
    animation: boxEntry 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    height: 100px;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.text {
    font-size: 12pt;
    margin-left: 25px;
    width: 400px;
}

form {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

label {
    font-weight: 550;
    margin-bottom: 0;
    margin-left: 0;
}

.input-group {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column; 
}

.input-group .email-descriptor {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: rgb(50, 50, 50);
    margin-left: 25px; 
    margin-bottom: 6px; 
}

input {
    width: 400px;
    height: 40px;
    margin-left: 25px;
    border: 1px solid rgb(90, 90, 90);
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
    padding: 0 12px; 
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: transparent;
    transition: border 0.1s ease;
}

.input-group label.float {
    position: absolute;
    left: 37px; 
    top: 48.5px; 
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: rgb(130, 130, 130);
    pointer-events: none; 
    transition: all 0.2s ease;
    background-color: white;
    padding: 0 4px; 
}

input:focus {
    border: 3.5px solid #000; 
}

input:focus + label.float,
input:not(:placeholder-shown) + label.float {
    top: 28.5px;
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

button {
    height: 40px;
    width: 400px;
    margin-left: 25px;
    border-radius: 20px;
    border: 2px solid rgba(24, 107, 184, 0.856);
    color: rgb(4, 108, 184);
    background-color: white;
    cursor: pointer;
}

button:hover {
    background-color: rgba(4, 108, 184, 0.1);
}

@keyframes boxEntry {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}