* {
    box-sizing: border-box;
    font-family: "Arial", sans-serif; 
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px; /* Increased base font size for better readability */
    min-height: 100%;
}

body {
    background: rgba(255, 255, 255, 1);
    background-image: url(image/gradient.png); 
    background-size: cover;
}

.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px; /* Increased height for better spacing */
    background: rgba(255, 255, 255, 0.8); /* Added some transparency */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Softer shadow */
    padding: 0 20px; /* Added horizontal padding */
}

.nav {
    flex-grow: 1;
}

.nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    height: 100%;
    background: transparent;
    gap: 20px;
}

.nav li {
    margin: 0 30px;
}

.nav li a {
    display: block;
    font-size: 1rem;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transition */
    border-radius: 8px; /* Rounded corners for hover effect */
}

.nav li a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #007bff; /* Highlight color on hover */
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.github {
    display: flex;
    align-items: center;
}

.github img {
    width: 35px;
    height: auto;
    margin-right: 8px;
}

.main-content {
    padding: 100px 40px 40px;
    overflow-y: auto;
    text-align: center;
}

.content h1 {
    font-size: 2.5rem; 
    font-weight: 700;
    line-height: 1.2;
    margin-top: 5%;
    margin-bottom: 10px;
    color: #212529;
}

.content h2 {
    font-size: 2.5rem; 
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #212529;
}

.content sub {
    font-size: 1.1rem;
    font-weight: 300;
    color: #6c757d;
}

div.droppable {
    margin: 40px auto;
    width: 100%;
    max-width: 480px; /* Use max-width for responsiveness */
    padding: 40px; /* Increased padding */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed #007bff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.droppable:hover {
    background-color: #f8f9fa;
    border-color: #0056b3;
}

.droppable svg {
    width: 40px;
    height: auto;
    margin-bottom: 15px; /* Spacing between icon and text */
    color: #007bff;
}

.text_guide {
    font-size: 1.25rem;
    font-weight: 500;
    color: #007bff;
    text-align: center;
    margin: 0; /* Removed unnecessary margins */
}

div.result {
    margin: 20px auto;
    width: 100%;
    max-width: 480px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background-color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 12px; /* Add gap between elements */
}

div.fname {
    font-size: 1.1rem;
    font-weight: bold;
    color: #343a40;
}

div.ftime {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

div.images {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
div.img {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: bold;
    color: #495057;
}

div.main {
    padding: 0; /* Removed padding */
}
div.images.error  div.actuations, div.images.error div.exposures, div.images.all div.notvalid, div.images.expos div.actuations, div.images.expos div.notvalid, div.images div.nosupport {
    display: none;
}
div.images.nosup > * {
    display: none;
}
div.images.nosup div.nosupport {
    display: block !important;
}
.result h2 {
    font-size: 1.5em;
    margin: 0 0 8px 0; /* Adjusted margin */
    color: #212529;
}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    z-index: 9999;
}

.popup-content {
    background-color: #fff;
    max-width: 800px;
    margin: 100px auto;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.popup-content h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #212529;
}

.popup-content table {
    width: 85%;
    border-collapse: collapse;
    margin: 20px auto;
}
