html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100vw;
    font-family: Arial, sans-serif;
}

#ui-container {
    display: flex;
    flex-direction: row; /* Stack the items vertically */
    justify-content: space-evenly; /* Distribute space evenly between items */
    align-items: center; /* Center items horizontally */
    gap: 80px; /* Add space between elements */
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center container */
    border-radius: 10px;
    color: white;
}

footer {
    position: absolute;
    bottom: 0;
    width: 85%;
    height: 100px; /* Height of the footer */
    z-index: 1;
  }

  footer .nav-link {
    color:rgb(255, 255, 255) !important; /* Blue color for links */
    text-decoration: none !important;
    font-size: 12px;
  }



  footer .text-center {
    color:rgb(255, 255, 255) !important;
    font-size: 7px;
  }
  
  footer a:hover {
    color:rgb(250, 0, 0) !important; /* Red color on hover */
  }

#fileNameDisplay {
    padding: 0px;
    margin: 0px;
    font-size: 12px;
}

/* Dropdown Menu */
#customDropdown {
    position: relative;
    display: inline-block;
    text-align: center;
    z-index: 5;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 5;
}

.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 5;
    width: 60px;
    padding: 5px 0;
    text-align: center;
    top: 30px; /* Ensure it's visible under the button */
    left: 50%;
    transform: translateX(-50%); /* Center the dropdown */
}

.dropdown-content .dropdown-item {
    display: flex;
    justify-content: center; /* Center icons */
    align-items: center;
    padding: 5px;
    z-index: 5;
}


.dropdown-content .dropdown-item:hover {
    background-color:rgb(68, 68, 68);
    z-index: 5;
}

#customDropdown:hover .dropdown-content {
    display: block;
    z-index: 5;
}

#customDropdown .dropdown-item img {
    width: 40px;
    height: auto;
    z-index: 5;
}

input, button, select {
    padding: 10px;
    font-size: 16px;
    font-family: helvetica, arial, sans-serif;
    z-index: 5;
}

#customFileUpload, #convertBtn, #formatSelect {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    z-index: 5;
    
}

#customFileUpload:hover, #convertBtn:hover {
    transform: scale(1.1);
}

/* Mobile Responsive Layout */
@media (max-width: 480px) {
    #ui-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    #customFileUpload, #convertBtn, #customDropdown {
        flex: 1;
        text-align: center;
    }

    #customDropdown {
        width: 80px;
    }

    #customFileUpload img, #convertBtn img {
        width: 50px;
        height: auto;
    }

    #customDropdown:hover .dropdown-content {
        display: block;
    }

    #ui-container {
        top: 55%;
        left: 55%;
        gap: 30px;
        
    }
    
    footer {
        width: 93%;

      }

    
}
