body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}
   
#ghlink {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    margin-top: 25px;
    font-size: 22px;
    width: 100%; /* Full width */
    justify-content: center; /* Center horizontally */
}

#ghlink h5 {
    margin: 0; 
}

#logo {
    display: block;
    max-width: 200px; /* Adjust width as needed */
    max-height: 100px; /* Adjust height as needed */
    margin: 0 auto 20px; /* Centers the logo horizontally and adds some bottom margin */
    object-fit: contain; /* Ensures the logo maintains its aspect ratio */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.dropzone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropzone:hover {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.05);
}

.file-input {
    display: none;
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-icon {
    color: #888;
    margin-bottom: 15px;
}

.image-preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.original-image-container,
.processed-image-container {
    text-align: center;
}

.original-image-container img,
#processedCanvas {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.processed-image-wrapper {
    position: relative;
    display: inline-block;
}

.download-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #45a049;
}

.download-btn svg {
    stroke: white;
}

@media (max-width: 768px) {
    .image-preview-container {
        grid-template-columns: 1fr;
    }
}