﻿.background-image {
    background-image: url('../images/Background-Desktop_2x.png');
    background-size: cover; /* Ensures the image scales to fit the content */
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 85vh; /* Ensures the background covers the viewport initially */
    display: flex; /* Allows the content to define the height */
    flex-direction: column; /* Ensures content stacks vertically */
}

.main-container {
    display: flex; /* Enables Flexbox for alignment */
    flex-direction: column; /* Aligns items vertically */
    /* justify-content: center; /* Centers child elements horizontally */
    /* align-items: center; /* Centers child elements vertically */
    padding-top: 50px;
}

.sub-container {
    width: 80%; /* Occupies 80% of the parent div */
    max-width: 1400px; /* Optional: Set a maximum width for responsiveness */
    margin: 0 auto; /* Centers the div horizontally */
}

#welcome {
    padding-right: 10%; /* Adds a 20% margin to the right */
}

#welcome .header {
    line-height: 110%;
    font-size:64px;
}

/* Default layout for desktop */
.welcome-top-left-div {
    width: 100%; /* Default width when the right div is visible */
    float: left;
}

.gradient-text {
    background: linear-gradient(to right, #0078D4, #C03BC4, #FF5C39);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Ensures the gradient is clipped to the text content */
    /* background-clip: text;
    text-fill-color: transparent; */
}

.col-container-2 {
    padding: 20px;
    /* max-width: 80%; /* Set a maximum width */
    margin: 0 auto; /* Center the form horizontally */
}

.form-container {
    /*background-color: #edefed;*/
    /*border-radius: 8px;*/
    /* background-color: rgba(253, 244, 220, 0.8); */
    background-color: rgba(240, 240, 240, 0.8);
    padding: 30px; 
    /* border-radius: 8px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

@media (min-resolution: 1dppx) {
    .sub-container {
        width: 90%; /* Occupies 90% of the parent div */
        margin-bottom: 100px;
    }
}

@media (max-width: 1200px) {
    .sub-container {
        width: 90%; /* Occupies 90% of the parent div */
        margin-bottom: 50px;
    }

    .row.mb-3 .col-md-6 {
        width: 100%; /* Make each column take the full width */
        display: block; /* Stack the fields vertically */
    }

    .row.mb-3 .overflow-field {
        margin-top: 1rem;
    }

    #welcome {
        padding-right: 5%;
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    #welcome {
        padding-right: inherit;
        padding-left: 0px;
    }
}

@media (max-width: 480px) {
    .background-image {
        background-image: linear-gradient(#def3fd, #f7fcff, #fffaf7, #e8ecec);
    }

    .main-container {
        padding: 0px;
    }

    .sub-container {
        width: 100%; /* Occupies 100% of the parent div */
    }

    .mob-show {
        display: block; /* Ensure the right div is visible */
        text-align: center; /* Center the image horizontally */
    }

    .welcome-top-left-div {
        width: 50%; /* Extend the left div to full width */
        padding-top: 50px;
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .welcome-bottom {
        padding-right: calc(var(--bs-gutter-x) * .5);
    }

    .form-container {
        padding: 15px;
    }

    .mob_padding_T0 {
        padding-top: 0px;
    }

    .mob_padding_R0 {
        padding-right: 0px;
    }

    .mob-w50pct {
        width: 50%;
    }

    #welcome {
        padding-right: 0px;
    }
}


