/* Container and Layout */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.container:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.page-title {
    font-size: 36px;
    /* Larger size for emphasis */
    font-weight: 700;
    /* Bolder look */
    text-align: center;
    /* Center-align for prominence */
    background: linear-gradient(90deg, #3498db, #2ecc71);
    /* Eye-catching gradient */
    color: transparent;
    /* Hide text color to show gradient */
    background-clip: text;
    /* Ensure the gradient applies only to the text */
    -webkit-background-clip: text;
    /* For Safari */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    margin-bottom: 40px;
    /* More space below the title */
    text-transform: uppercase;
    /* Give it a modern, clean look */
    letter-spacing: 2px;
    /* Spaced out text for a professional look */
    animation: fadeIn 1.5s ease-out;
    /* Smooth fade-in animation */
    margin-top: 50px;
}

/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        /* Slight upward movement */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* Normal position */
    }
}

/* Drag-and-Drop Zone */
.drop-zone {
    border: 3px dashed #bdc3c7;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 30px;
    border-radius: 12px;
    transition: background-color 0.3s, border-color 0.3s;
}

.drop-zone p {
    margin: 0;
    font-size: 18px;
    color: #7f8c8d;
}

.drop-zone:hover {
    background-color: #ecf0f1;
    border-color: #2980b9;
}

.drop-zone.hover {
    background-color: #e0e4e8;
    border-color: #3498db;
    color: #2980b9;
}

/* Preview Container */
.preview-container img,
.preview-container video {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

/* Spinner */
.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Buttons */
.buttons-container {
    margin-top: 30px;
}

.btn {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: background 0.4s, transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn:hover {
    background: linear-gradient(135deg, #2ecc71, #3498db);
    transform: translateY(-5px);
    box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.btn:focus {
    outline: none;
    box-shadow: 0px 0px 0px 3px rgba(52, 152, 219, 0.4);
}

/* EXIF Output Styling */
.exif-output {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', Courier, monospace;
    max-height: 400px;
    overflow-y: auto;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.exif-output::-webkit-scrollbar {
    width: 8px;
}

.exif-output::-webkit-scrollbar-thumb {
    background-color: #95a5a6;
    border-radius: 5px;
}

.exif-output::-webkit-scrollbar-track {
    background-color: #ecf0f1;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .page-title {
        font-size: 22px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Styling for tool description */
.tool-description {
    font-family: 'Arial', sans-serif;
    color: #2c3e50;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.tool-description h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #34495e;
}

.tool-description p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Styling for supported file formats */
.file-formats {
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background: #f7f9fc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
    letter-spacing: 1px;
}

h4 {
    font-size: 22px;
    margin-top: 25px;
    color: #444;
}

.popular-section {
    background-color: #f1f4f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.popular-extensions {
    font-size: 22px;
    color: #007BFF;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-extensions .large-format {
    font-size: 26px;
    color: #000;
    font-weight: 600;
    margin-right: 10px;
}

.all-formats {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
}

.all-extensions {
    font-size: 16px;
    color: #555;
    display: block;
    margin-top: 10px;
    line-height: 1.8;
}

strong {
    font-size: 18px;
    color: #222;
}

.file-formats p {
    font-weight: bold;
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}

code {
    background-color: #f3f3f3;
    padding: 5px 10px;
    border-radius: 5px;
    display: block;
    margin-bottom: 15px;
    word-wrap: break-word;
}

code:hover {
    background-color: #e9f0f8;
}