.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
    background-color: #ffffff !important;
}

img {
    margin-top: -5em; /* Converted from px to em */
}

.left {
    flex: 1;
    background-color: #5C9BBC;
    padding: 2em; /* Converted from px to em */
    border-radius: 0 2em 2em 0; /* Adjusted to em */
    display: block;
}

.welcome {
    color: #ffffff;
    font-size: 1.8em; /* Converted to em for scalability */
    margin-top: 0em; /* Converted to em */
    font-weight: 400;
    line-height: 1.3; /* More scalable than px */
    text-align: center;
}

.right {
    flex: 1;
    background-color: #ffffff;
    padding: 2em; /* Converted from px to em */
    border-radius: 2em; /* Converted from px to em */
    position: relative;
    z-index: 1;
}

.navbar {
    height: 2.5em; /* Converted from px to em */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: bold;
}

.navbar a {
    color: #333333;
    font-size: 1.125em; /* Converted from px to em */
    text-decoration: none;
    padding: 0.3125em; /* Converted from px to em */
    border: solid 1px #A367AB !important;
    border-radius: 0.1875em; /* Converted from px to em */
    margin-left: 0.625em; /* Converted from px to em */
    transition: background-color 0.3s, color 0.3s;
}

.navbar a:hover {
    background-color: #A367AB;
    color: white !important;
}

.head {
    color: #333333;
    font-size: 2em; /* Adjusted for better readability */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 1em; /* Adjusted margin */
}

.subdomain-help-text {
    color: #6c757d; /* Universally accepted muted grey for help text */
    font-family: 'Roboto', sans-serif; /* Match the font with the rest of the HTML */
    font-size: 0.875em; /* Slightly smaller than the default font size for subtlety */
    line-height: 1.5; /* Ensure good readability */
    margin-bottom: 0.1em;
    display: block; /* Ensure it spans full width */
}

.head img {
    width: 20%; /* Adjusted for better responsiveness */
    display: block;
    margin: 0 auto;
}

.info {
    font-size: 1.4em; /* Adjusted font size for scalability */
    line-height: 1.5; /* Adjusted line height */
    color: #333333;
    margin-bottom: 2em; /* Adjusted margin */
    text-align: center;
    max-width: 100%;
}

.sign-up {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.or {
    font-size: 1.125em; /* Converted from px to em */
    text-align: center;
    color: #333333;
}

.btn-choiceGoogle, .btn-choiceEmail {
    color: #333333;
    width: 100%; /* Full width for better responsiveness */
    max-width: 15em; /* Added max-width */
    padding: 1em 1.25em; /* Converted to em */
    border-radius: 0.75em; /* Converted to em */
    text-align: center;
    font-weight: bold;
    font-size: 1.125em; /* Converted from px to em */
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-choiceEmail {
    background-color: #A367AB;
    color: #ffffff;
    border: none;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.btn-choice:hover {
    color: #817a7a; /* Change text color on hover */
}

/* Password input adjustments */
/* Input field base styles */
.fname, .lname, .email, .password, .subdomain {
    width: calc(100% - 2.5em); /* Adjust the width to leave space for the icon */
    padding: 1em; /* Ensures adequate padding inside the input */
    font-size: 1em;
    border: 1px solid #333333;
    border-radius: 5px;
    margin-bottom: 1em; /* Space between fields */
}

.create {
    color: #ffffff;
    width: 100%; /* Full width for responsiveness */
    max-width: 15em; /* Added max-width */
    padding: 1em 1.25em; /* Converted to em */
    font-weight: 700;
    font-size: 1.375em; /* Converted from px to em */
    background-color: #A367AB;
    border: none;
    border-radius: 0.1875em; /* Converted from px to em */
    margin-top: 1em;
    cursor: pointer;
}

.create:hover {
    background-color: #ffffff;
    color: #333 !important;
    border: solid 1px #A367AB;
}

@media only screen and (max-width: 768px) {
    .left {
        display: none;
    }

    .right {
        border-radius: 0;
    }

    .info {
        font-size: 1em; /* Smaller font size for smaller screens */
        line-height: 1.5;
    }

    .head {
        margin-top: 0.0em;
    }

    .fname, .lname, .email, .password {
        width: 85%; /* Adjusted width */
        margin-top: 0.2em; /* Added some space above each field */
        margin-bottom: 0.2em; /* Increased bottom margin for spacing */
    }
}

/* Password container adjustments */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%; /* Full width to match other inputs */
}

/* Eye slash icon inside the password input */
.eye-slash {
    position: absolute;
    right: 10px; /* Right alignment within the container */
    height: 100%; /* Full height of the container to center vertically */
    display: flex;
    align-items: center; /* Centers the icon vertically */
    cursor: pointer;
    color: #3f3e40;
    padding-right: 0.8em;
}


.xpandvideo {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    padding: 1em; /* Provides some space around the video */
}

xpandvideo video {
    border: 2px solid #5c9bbc;
    border-radius: 20px;
    background-color: #2b5671;
    padding: 0;
    max-width: 100%; /* Ensures the video is responsive and does not overflow its container */
    height: auto; /* Maintains aspect ratio while adjusting to the width */
}

.subdomain-container {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
}

#subdomain {
    width: 200px; /* Adjust width as needed */
    margin-right: 10px; /* Space between input and button */
}

#checkAvailabilityButton {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none; /* Remove border */
    padding: 10px 15px; /* Add padding */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth transition */
}

#checkAvailabilityButton:hover {
    background-color: #45a049; /* Darker green on hover */
}