.Logo {
    width: 120px;
    height: 60px;
    position: fixed;
    top: 20px;
    left: 40px;
}
.Logo img {
    height: 50px;
}
.Main-Page {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.register-image {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.register-image .auth-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.register-form {
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50%;
}
.Form-Container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    width: 80%;
    height: 90%;
    gap: 20px;
}
.form-details {
    display: flex;
    align-items: left;
    justify-content: flex-start;
    flex-direction: column;
    width: 80%;
    height: 90%;
    gap: 15px;
}
.form-details input {
    font-family: var(--text-font);
    margin-bottom: 10px;
}
.form-details h1 {
    font-family: var(--head-font);
    font-size: 25px;
    font-weight: bolder;
}
.form-details p {
    color: var(--text-faded);
    margin-bottom: 30px;
}
.form-details h5 {
    font-family: var(--head-font);
    color: var(--text-faded);
    text-align: center;
    font-size: 15px;
    font-weight: 400;
}

#resendOtpBtn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    margin-left: 4px;
}
#resendOtpBtn:disabled {
    color: var(--text-faded);
    cursor: not-allowed;
}
.form-details label {
    color: var(--dark);
    font-size: 16px;
    font-family: var(--head-font);
    font-weight: 500;
}
.form-details input {
    width: 96%;
    padding: 8px;
    font-size: 14px;
}
.form-details input::placeholder {
    color: #888;
    font-size: 13px;
}
.button-div {
    width: 96%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.button-div button {
    cursor: pointer;
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    border: none;
    color: var(--light);
    font-size: 15px;
    margin-top: 25px;
    font-family: var(--head-font);
    text-transform: uppercase;
    font-weight: 700;
}
.register-form h5 a {
    color: var(--accent-dull);
}

.Text-floating {
    display: flex;
    align-items: left;
    justify-content: center;
    flex-direction: column;
    width: 35%;
    position: fixed;
    bottom: 20px;
    left: 40px;
}
.Text-floating h1 {
    color: var(--light);
    font-size: 25px;
    margin-bottom: 10px;
    font-family: var(--head-font);
}
.Text-floating p {
    color: var(--bg-dark);
}
.spec {
    width: 96%;
    text-align: center;
    margin: 5px 0;
    color: var(--accent-dull);
}

@media screen and (max-width: 800px) {
    .Logo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .Text-floating {
        position: absolute;
        top: 130px; /* pushes below logo */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
        z-index: 2;
    }

    .Text-floating h1 {
        font-size: 20px;
    }

    .Text-floating p {
        font-size: 14px;
    }

    .Main-Page {
        flex-direction: column;
        height: 150vh;
    }
    .register-image {
        width: 100%;
        height: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .register-form {
        width: 100%;
        height: 100%;
    }
    .Form-Container {
        padding: 15px 0px;
        width: 100%;
        height: 100%;
    }
    .Form-Container h5 {
        padding: 10px;
    }
    .form-details {
        width: 90%;
        height: 90%;
        gap: 15px;
    }
    .form-details p {
        margin-bottom: 15px;
    }
    .form-details input {
        width: 100%;
        padding: 8px 5px;
        font-size: 12px;
    }
    .button-div {
        width: 100%;
        margin: 15px 0px;
    }
}
