body {
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}

.container {
    /* position: relative; */
    text-align: center;
    color: white;
    width: 80%;
    margin: 0 auto;
}

.aibutton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    /* font-weight: bold;  */
}

.small-text {
    font-size: 18px;
    margin-top: 5px;
    color: white;
}

#ripple-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.ripple {
    position: absolute;
    color: white;
    opacity: 1;
    transition: all 4s ease;
}

.button-container {
    position: fixed;
    top: 20px;
    left: 10%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 9999;
}

.auth-button,
.blog-button {
    font-size: 16px;
    opacity: 0.5;
    transition: opacity 0.3s;
    padding: 11px 22px;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    text-decoration: none;
    background-color: white;
    color: black;
}

.auth-button:hover,
.blog-button:hover,
.auth-button:active,
.blog-button:active {
    opacity: 1;
}

.modal {
    display: none;
    /* display: flex; */
    position: fixed;
    z-index: 10000;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    x
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#email,
#password,
#confirmPassword,
#invitationCode {
    border: none;
    border-bottom: 2px solid #888;
    background-color: transparent;
    margin: 10px 0;
    outline: none;
    height: 40px;
    color: #333;
    padding: 5px;
    font-size: 18px;
    width: 100%;
}

#email::placeholder,
#password::placeholder,
#confirmPassword::placeholder,
#invitationCode::placeholder {
    color: #9b9a9a;
    font-size: 20px;
    opacity: 1;
}

.find-password-button {
    color: black;
    /* Black text color */
    background-color: transparent;
    /* No background color */
    padding: 0;
    /* Remove padding */
    border: none;
    /* No border */
    margin-top: 20px;
    /* Increased space above the button */
    margin-bottom: 20px;
    /* Increased space below the button */
    cursor: pointer;
    /* Cursor changes to pointer on hover */
    text-align: left;
    /* Align text to left */
    display: block;
    /* Block display for full-width line */
    font-size: 16px;
    /* Font size */
}


.find-password-button:hover {
    text-decoration: underline;
    /* Underline on hover for emphasis */
}



#tips {
    color: red;
    height: 2em;
    font-size: 14px;
    word-wrap: break-word;
    /* This will break the text to next line */
    white-space: normal;
    /* This will allow the text to break into new lines */
    margin-top: 8px;
    margin-bottom: 24px;
    max-width: 100%;
    overflow-wrap: break-word;

}

#tips {
    /* font-size: calc(8px + 1vw); */
    /* Adjusting base font size for responsiveness */
    /* Using 100% to ensure it fits the width */
}

#loginForm {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

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


#loginButtons {
    display: flex;
    flex-direction: row;
    /* Changed from column to row */
    gap: 10px;
    /* Adjust gap as necessary */
    align-items: center;
    /* Ensures buttons are vertically centered */
    margin-top: 20px;
}

#signUpBtn,
#logInBtn {
    height: 50px;
    width: 50%;
    /* Make both buttons equal width */
    font-size: 20px;
    border: none;
}

#signUpBtn {
    background-color: lightgrey;
    color: black;
}

#logInBtn {
    background-color: black;
    color: white;
}


.action-button:hover {
    cursor: pointer;
}

.action-button:disabled {
    color: grey;
}




.notification {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    z-index: 1000;
}

.notification-content {
    background-color: #4caf50;
    color: white;
    padding: 16px;
    border-radius: 4px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.close-notification {
    color: white;
    float: right;
    font-size: 22px;
    cursor: pointer;
}

.close-notification:hover {
    color: #ddd;
}


.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    background-color: black;
    padding: 10px 0;
    font-size: 12px;
}

.footer a {
    color: white;
    text-decoration: none;
}


@media (max-width: 768px) {
    .ripple {
        font-size: 16px;
    }

    .aibutton {
        font-size: 36px;
        top: 38.2%;
        /* Vertically center in a unique position */
    }

    .small-text {
        font-size: 14px;
        margin-top: 60px;
        /* Increased margin-top for spacing */
    }

    #email,
    #password,
    #confirmPassword {
        font-size: 22px;
        /* Larger font size for better readability */
        margin-bottom: 24px;
        /* Increase margin-bottom for better separation */
    }

    input[type="password"],
    .find-password-button {
        min-height: 48px;
        /* Ensures larger touch area */
        padding: 15px 20px;
        /* Increase padding for larger touch area */
    }

    .button-container {
        flex-direction: column;
        /* Stack buttons vertically */
        bottom: 24%;
        /* Adjust position from bottom */
        top: unset;
        left: 50%;
        /* Center align the container */
        transform: translateX(-50%);
        /* Correct horizontal centering */
        width: 90%;
        /* Increase width to avoid squeezing buttons */
        gap: 15px;
        /* Ensure there's space between buttons */
    }

    .auth-button,
    .blog-button {
        font-size: 14px;
        padding: 10px 20px;
        /* Increase padding for a larger touch area */
        width: 100%;
        /* Full width to avoid squeezing */
    }

    #password,
    .find-password-button {
        padding: 12px;
        /* Increased padding */
        margin: 12px 0;
        /* Increase margin to reduce mis-taps */
    }
}