
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.file_upload {
    background-color: white;
    height: auto;
    width: 100%;
    color: black;
    padding: 20px; /* Adjust inner padding */
}

.file_upload_title {
    font-size: 85px;
    text-align: left;
    padding-left: 2vw; /* Responsive padding */
    margin-top: -2vh; /* Responsive margin */
}

.form_input {
    background-color: #435aa0;
    height: auto; /* Let content dictate height */
    max-width: 100%; /* Ensure responsiveness */
    margin: 0 2vw; /* Responsive margin */
    padding: 2vw; /* Responsive padding */
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form_input_content {
    line-height: 2.5vw; /* Responsive line height */
}





.uploadTextForDifferentScreenSizes {
    font-size: 34px;
    line-height: 50px;
    padding-bottom: 30px;
}

.uploadTextForDifferentScreenSizes2 {
    font-size: 18px;
    padding-bottom: 70px;
}





.fileUploadButton::file-selector-button,
.fileUploadSubmitButton {
    color: black;
    background-color: white;
    padding: 18px; 
    cursor: pointer;
    text-align: center;
    border-color: grey;
    border-radius: 5px;
    border-style: outset;

    font-size: 16px;
} 

.fileUploadButton::file-selector-button:hover,
.fileUploadSubmitButton:hover {
    color: white;
    background-color: black;
}

.whatIsYourTargetAttribute {
    color: white;
    background-color: #030061;
    padding: 2vw; 
    margin-top: 3vh; 
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    padding-bottom: 40px;
}

.target_attribute_title {
    font-size: 25px;
}

.whatIsYourTargetAttributeInput {
    /* Responsive padding */
    padding: 0.5vw; 

    margin-top: 50px;
    width: 210px;
    height: 33px;
}

.whatIsYourTargetAttributeSubmit {
    padding: 0.5vw; /* Responsive padding */
    margin-left: 1vw; /* Responsive margin */

    width: 100px;
    height: 33px;

    border-color: grey;
    border-radius: 5px;
    border-style: outset;
}

.whatIsYourTargetAttributeSubmit:hover {
    color: white;
    background-color: black;
}



/* Extra small devices (phones) */
@media (max-width: 575.98px) {
    .file_upload_title {
        font-size: 40px;
    }

    .form_input {
        padding: 20px;
    }

    .uploadTextForDifferentScreenSizes {
        font-size: 30px;
        line-height: 50px;
        padding-bottom: 30px;
    }

    .uploadTextForDifferentScreenSizes2 {
        line-height: 25px;
    }

    .fileUploadButton::file-selector-button {
        margin-top: 50px;
        margin-bottom: 15px; /* to add space between the file select, an file upload button */
    }
    
    .whatIsYourTargetAttribute {
        padding: 20px;
        padding-bottom: 30px;
    }
    
    .target_attribute_title {
        font-size: 21px;
        line-height: 40px;
        padding-bottom: 20px;
    }

    .whatIsYourTargetAttributeInput {
        margin-top: 35px;
        margin-bottom: 20px; /* Add margin to create a gap */
        width: 200px;
        height: 35px;
    }

    .whatIsYourTargetAttributeSubmit {
        height: 35px;
    }
}

/* Small devices (tablets and larger phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .file_upload_title {
        font-size: 45px;
    }

    .form_input {
        padding: 20px;
    }

    .uploadTextForDifferentScreenSizes {
        font-size: 31px;
        line-height: 50px;
        padding-bottom: 20px;
    }

    .uploadTextForDifferentScreenSizes2 {
        font-size: 16px;
        line-height: 25px;
    }

    .fileUploadButton::file-selector-button {
        margin-top: 50px;
        margin-bottom: 15px; /* to add space between the file select, an file upload button */
    }

    .fileUploadButton::file-selector-button,
    .fileUploadSubmitButton {
        padding: 20px; 
        font-size: 15px;
    }

    .whatIsYourTargetAttribute {
        padding: 20px;
        padding-bottom: 30px;
    }
    
    .target_attribute_title {
        font-size: 15px;
    }

    .whatIsYourTargetAttributeInput {
        margin-top: 35px;
        margin-bottom: 20px; /* Add margin to create a gap */
        width: 190px;
        height: 33px;
    }

    .whatIsYourTargetAttributeSubmit {
        height: 33px;
    }
}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .file_upload_title {
        font-size: 50px;
    }

    .form_input {
        padding: 20px;
        padding-left: 35px;
    }

    .uploadTextForDifferentScreenSizes {
        font-size: 33px;
        line-height: 50px;
        padding-bottom: 20px;
    }

    .uploadTextForDifferentScreenSizes2 {
        font-size: 18px;
        line-height: 25px;
    }

    .fileUploadButton::file-selector-button {
        margin-top: 50px;
        margin-bottom: 15px; /* to add space between the file select, an file upload button */
    }

    .fileUploadButton::file-selector-button,
    .fileUploadSubmitButton {
        padding: 20px; 
        font-size: 15px;
    }

    .whatIsYourTargetAttribute {
        padding: 20px;
        padding-bottom: 30px;
    }
    
    .target_attribute_title {
        font-size: 17px;
    }

    .whatIsYourTargetAttributeInput {
        margin-top: 35px;
        margin-bottom: 0px; /* Add margin to create a gap */
        width: 190px;
        height: 33px;
    }

    .whatIsYourTargetAttributeSubmit {
        height: 33px;
    }
}

/* Large devices (desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .file_upload_title {
        font-size: 65px;
    }

    .form_input {
        padding: 20px;
        padding-left: 35px;
    }

    .uploadTextForDifferentScreenSizes {
        font-size: 38px;
        line-height: 50px;
        padding-bottom: 25px;
    }

    .uploadTextForDifferentScreenSizes2 {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 20px;
    }

    .fileUploadButton::file-selector-button {
        margin-top: 50px;
        margin-bottom: 15px; /* to add space between the file select, an file upload button */
    }

    .fileUploadButton::file-selector-button,
    .fileUploadSubmitButton {
        padding: 20px; 
        font-size: 15px;
    }

    .whatIsYourTargetAttribute {
        padding: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .target_attribute_title {
        font-size: 20px;
    }

    .whatIsYourTargetAttributeInput {
        margin-top: 55px;
        margin-bottom: 0px; /* Add margin to create a gap */
        width: 190px;
        height: 33px;
    }

    .whatIsYourTargetAttributeSubmit {
        height: 33px;
    }
}

/* Extra large devices (large desktops) */
@media (min-width: 1200px) {
    /* Your styles for extra large screens */
}





/* Defining the css for loading spin: */

/* Add this style for the overlay */
.overlay {
    backdrop-filter: blur(3px);

    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.593); /* Semi-transparent black */
    z-index: 1000;
}

/* Add this style for the loading container */
.loading-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1001;
}  

/* Add this style for the loading circle */
.loading-circle {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px; /* Adjust spacing between circle and text */

    margin-top: 110px; /* Adjust spacing between circle and text */
}

/* Add this style for the "Almost there..." text */
#loadingText {
    font-size: 16px;
    color: rgb(255, 255, 255);
    margin-left: -35px; /* Adjust the value as needed to move the text to the left */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}





/* Wrapper for countdown text, countdown, and loading */
#countdownWrapper {
    position: fixed;
    top: 45%; /* Adjust as needed for vertical centering */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1001;
}

#countdown {
    font-size: 28px;
    font-weight: bold;
    color: white;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1001;
}

#countdownText {
    font-size: 28px;
    font-weight: bold;
    color: white;

    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1001;
}
