* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}

/* .main-page,.main-page__aside {
    display: flex;
} */

.main-page_aside {

    overflow-x: hidden;
    overflow-y: scroll;
    width: 200px;
    /* min-width: 310px; */
    background: #20252f;
    flex-direction: column;
    position: relative;
    top: 0;

    bottom: 0;
}

#main-page_aside {
    width: 40px;
    /* Take full width of the container */
    flex: 1;
    /* Sidebar takes up available space */
    background-color: #f4f4f4;
    /* Light background for the sidebar */
    padding: 10px;
    /* Padding around sidebar content */

    /* Optional: rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    /* Optional: shadow */
    height: 100%;
    /* Ensure sidebar fills the full height */
    overflow-y: auto;
    /* Allow scrolling if content exceeds the sidebar height */
}

.main-page_aside::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari, and Opera */
}

.main-page_aside {
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}


.main-page__logo a {
    width: 100%;
    height: 64px;
    display: flex;
    margin-left: 50%;
    padding: 50px 0;
    align-items: center;
    justify-content: start;
}

.padding_horizontal_24 {
    display: flex;

    padding-left: 20%;
    margin-top: -7%;
    width: 100%;
    height: auto;
   
}

.main-page__upload-files {
    background: #2e333e;
    border-radius: 8px;
    margin-bottom: 8px;
    text-align: center;
    padding: 24px;

}

#linkonly {
    height: 50vh;
}

#linkonly2 {
    margin-top: 18%;
}

.layout__position-relative {
    position: relative;
}

.button {
    position: relative;
    display: inline-flex;
    box-sizing: border-box;
    padding: 0;
    border: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    outline: 0 none;
    user-select: none;
    vertical-align: middle;
    visibility: visible;
    color: #42a5f5;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.28571;
    text-shadow: none;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all .5s ease-out;
}

.layout__overflow-hidden {
    overflow: hidden;
}

svg:not(:root) {
    overflow: hidden;
}

.svg {
    display: inline-block;
    flex-shrink: 0;
    fill: currentColor;
    pointer-events: none;
    transform: translateZ(0);
    vertical-align: middle;
}

.input_type_file {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: solid transparent;
    border-width: 0 0 1000px 1000px;
    cursor: pointer;
    opacity: 0;
}

.input {
    display: inline-block;
    box-sizing: border-box;
    appearance: none;
    outline: none;
    color: #2c353c;
    font-weight: 400;
    line-height: 1.38462;
    height: 40px;
    padding: 10px 16px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #cccfd2;
    resize: none;
}

.main-page__upload-files .title {
    font-weight: 500;
    color: #fff;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 16px;
    padding-top: 8px;
}

.link_theme_primary {
    color: #42a5f5;
    transition: color .3s;
}

.link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: Arial, Tahoma, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.28571;
    text-decoration: none;
    user-select: none;
    outline: 0 none;
}

.layout__overflow-hidden {
    overflow: hidden;
}

.layout__position-relative {
    position: relative;
}

.main-page__upload-files .description {
    font-size: 14px;
    line-height: 16px;
    color: #828282;
    display: block;
}

.form-control:focus {
    box-shadow: none !important;
}

input[type=text],
input[type=email] {
    width: 100%;
}

label {
    font-size: 18px;
    font-family: sans-serif;
}

/* main-page__article */

/* .navbar {
    z-index: 998;
    position: absolute;
    right: 16px;
    top: 16px;
    border-radius: 6px;
} */



.upload-container {
    text-align: center;
}

.progress-container {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 200px;
}

.progress-bar {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 10px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.progress-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

#fileNameDisplay {
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#fileNameDisplaylink {
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#file-form {
    display: none;
}

.dropdown-menu {
    margin-top: 0;
}

.dropdown-item {
    clear: both;
    width: auto;
    white-space: normal;
    transition: border-color 0.3s;
    /* Smooth transition for border color */
}

.with-border {
    border: 1px solid transparent;
    /* Initially, no border */
    border-radius: 0.25rem;
    /* Optional: Add border radius for rounded corners */
}

.with-border:hover,
.with-border:focus {
    border-color: #504c4c;
    /* Border color on hover or focus */
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    overflow-y: auto;
    /* Enable scrolling if the content is taller than the viewport */
    scrollbar-width: thin;
    /* Optional: Customize scrollbar width for Firefox */
}

/* Optional: Customize scrollbar appearance for WebKit browsers (Chrome, Safari) */
.popup-overlay::-webkit-scrollbar {
    width: 8px;
}

.popup-overlay::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    /* Change scrollbar thumb color */
    border-radius: 10px;
}


.popup-overlay .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.columns-list {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.column {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.column p {
    font-size: 1.25rem;
}

.column ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.column ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .column {
        margin-bottom: 1.5rem;
    }

    .popup-overlay .columns-list {
        padding: 20px;
    }

    .popup-overlay .close-btn {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .column {
        padding: 15px;
    }

    .column h3 {
        font-size: 1.25rem;
    }

    .column p {
        font-size: 1rem;
    }
}



/* new css  */
.upload-container {
    text-align: center;
}

.progress-container {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 200px;
}

.progress-bar {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 10px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.progress-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}






#fileNameDisplay {
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#fileNameDisplaylink {
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#file-form {
    display: none;
}

.dropdown-menu {
    margin-top: 0;
}

.dropdown-item {
    clear: both;
    width: auto;
    white-space: normal;
    transition: border-color 0.3s;
    /* Smooth transition for border color */
}

.with-border {
    border: 1px solid transparent;
    /* Initially, no border */
    border-radius: 0.25rem;
    /* Optional: Add border radius for rounded corners */
}

.with-border:hover,
.with-border:focus {
    border-color: #504c4c;
    /* Border color on hover or focus */
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    overflow-y: auto;
    /* Enable scrolling if the content is taller than the viewport */
    scrollbar-width: thin;
    /* Optional: Customize scrollbar width for Firefox */
}

/* Optional: Customize scrollbar appearance for WebKit browsers (Chrome, Safari) */
.popup-overlay::-webkit-scrollbar {
    width: 8px;
}

.popup-overlay::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    /* Change scrollbar thumb color */
    border-radius: 10px;
}


.popup-overlay .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.columns-list {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.column {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.column p {
    font-size: 1.25rem;
}

.column ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.column ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .column {
        margin-bottom: 1.5rem;
    }

    .popup-overlay .columns-list {
        padding: 20px;
    }

    .popup-overlay .close-btn {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .column {
        padding: 15px;
    }

    .column h3 {
        font-size: 1.25rem;
    }

    .column p {
        font-size: 1rem;
    }
}

/* new Carousel */
/* =============================== */

html,
body {
    height: 100%;
    /* Ensure body and html take full height */
    margin: 0;
    /* Remove default margin */
}

/* ================================================================*/
/* Apply to the container to create a flexible layout */
.containers {
    display: flex;
    padding: none;
    /* Use Flexbox layout */
    justify-content: space-around;
    /* Space the items apart */
    gap: 50px;
    /* Space between the sidebar and carousel */
    width: 100%;
    padding: 20px;
    /* Optional padding for some space around content */
    box-sizing: border-box;
    /* Ensure padding is included in the width and height calculation */

    background-image: url('https://images.unsplash.com/32/Mc8kW4x9Q3aRR3RkP5Im_IMG_4417.jpg?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTJ8fGhpZ2glMjByZXMlMjBiYWNrZ3JvdW5kfGVufDB8fDB8fHww');
    /* Replace 'your-image-url.jpg' with the actual path to your image */

    background-repeat: no-repeat;
    /* Prevent the background from repeating */

    background-size: cover;
    /* Ensure the image covers the entire container */

    background-position: center;
    /* Center the image within the container */
}





/* Carousel - Right side */
#carouselDarkVariant {
    flex: 2;
    /* Carousel takes up more space */
    width: 100%;
    /* Ensure full width */
    margin-top: -20px;
    /* Add some space at the top if needed */
    border-radius: 8px;
    /* Optional: rounded corners */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    /* Optional: shadow */
    height: 128vh;
    /* Ensure carousel fills the full height of the viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vertically and horizontally center carousel */
    overflow: hidden;
    /* Hide any part of the image that goes outside the container */
}

/* Carousel image adjustments */
.carousel-inner img {
    border-radius: 8px;
    /* Optional: rounded corners for images */
    object-fit: cover;
    /* Ensure images cover the space without distorting */
    height: 1400px;
    /* Make the image fill the full height of the carousel */
    width: 100%;
    /* Ensure the image covers the full width */
}

.carousel-inner img {
    width: 100%;
    height: auto;
    /* Ensures the image maintains its aspect ratio */
}

/* Optional: Center the carousel controls */
.carousel-control-prev,
.carousel-control-next {
    z-index: 5;
    /* Ensure controls are visible */
}



/* ======================================= */
/* send mail and get link css */
/* ======================================= */
/* Container for Get Link button */
#getLinkContainer {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    /* Adjust as needed */
}

/* Styling the Get Link button */
#getLinkButton {
    padding: 0.5rem 1rem;
    width: 100%;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#getLinkButton:hover {
    background-color: #e0a800;
    /* Hover effect */
}

#getLinkButton:active {
    background-color: #c69500;
    /* Active effect */
}

/* Container for Send Mail button */
#sendMailContainer {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    /* Adjust as needed */
}

/* Styling the Send Mail button */
#sendMailButton {
    padding: 0.5rem 1rem;
    width: 100%;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#sendMailButton:hover {
    background-color: #e0a800;
    /* Hover effect */
}

#sendMailButton:active {
    background-color: #c69500;
    /* Active effect */
}

/* end send mail and get link css */
/* ======================================= */
/* media queries Carousel */
/* ======================================= */
/* Default layout adjustments (applies to all devices unless overridden in media queries) */
#main-page_aside {
    width: 40px;
    flex: 1;
}

#carouselDarkVariant {
    flex: 2;
    width: 100%;
    height: 110vh;
}

/* Small devices (phones, portrait mode) */
@media (max-width: 576px) {
    #main-page_aside {
        width: 100%;
        margin-bottom: 20px;
        height: auto;
        /* Allow sidebar content to adjust height */
    }

    #carouselDarkVariant {
        height: 70vh;
        /* Reduce height for smaller screens */
        margin-top: 0;
        /* Remove extra margin */
    }

    #carouselDarkVariant .carousel-inner img {
        height: 300px;
        /* Adjust image height for small screens */
    }
}

/* Medium devices (tablets, landscape mode) */
@media (min-width: 577px) and (max-width: 768px) {
    #main-page_aside {
        width: 25%;
        /* Sidebar occupies less width */
    }

    #carouselDarkVariant {
        height: 90vh;
        /* Slightly taller carousel */
    }

    #carouselDarkVariant .carousel-inner img {
        height: 500px;
        /* Adjust image height */
    }
}

/* Large devices (desktops, laptops) */
@media (min-width: 769px) and (max-width: 1200px) {
    #main-page_aside {
        width: 30%;
        /* Adjust sidebar width */
    }

    #carouselDarkVariant {
        height: 100vh;
        /* Full viewport height */
    }

    #carouselDarkVariant .carousel-inner img {
        height: 1000px;
        /* Adjust image height */
    }
}

/* Extra-large devices (large desktops, 4K screens) */
@media (min-width: 1201px) {
    #main-page_aside {
        width: 20%;
        /* Narrow sidebar for extra-large screens */
    }

    #carouselDarkVariant {
        height: 110vh;
        /* Maintain default height */
    }

    #carouselDarkVariant .carousel-inner img {
        height: 1400px;
        /* Default image height */
    }
}

/* end media queries Carousel */
/* ======================================= */
/* end media queries Carousel */
/* ======================================= */
/* Default layout adjustments (applies to all devices unless overridden in media queries) */

#upload-form {
    max-height: 500px;
    /* Adjust the height based on your design */
    overflow-y: auto;
    /* Enables vertical scrolling */
    padding-right: 15px;
    /* To avoid content being hidden behind scroll */
}

/* #upload-form, #file-form {
    max-height: 500px; 
    overflow-y: auto;  
    padding-right: 15px; 
} */


/* Choose an option */
/* ========================================= */
    /* Outer container shifted to top */
    #chooseoption {
        display: flex;
        justify-content: center;
        align-items: flex-start; /* Align to top */
        padding-top: 20px; /* Space from top */
        height: 100vh;
        background: #1a1a1a;
    }

    /* Main option box */
    #options {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 16px;
        padding: 30px 50px;
        width: 350px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
        text-align: center;
        color: #e0e7ff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Heading text */
    #options-text {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 25px;
        letter-spacing: 0.07em;
        color: white;
    }

    /* Buttons */
    #sendMailBtn,
    #getLinkBtn {
        display: block;
        width: 100%;
        padding: 12px 28px;
        font-size: 1rem;
        font-weight: 700;
        color: white;
        background: linear-gradient(45deg, #2563eb, #3b82f6);
        border: none;
        border-radius: 30px;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.6);
        transition: all 0.3s ease;
        margin-bottom: 15px;
    }

    #sendMailBtn:hover,
    #getLinkBtn:hover {
        background: linear-gradient(45deg, #3b82f6, #60a5fa);
        box-shadow: 0 8px 20px rgba(96, 165, 250, 0.8);
        transform: translateY(-3px);
    }

    #sendMailBtn:active,
    #getLinkBtn:active {
        background-color: #003f7f;
    }