/* General body styling */
body {
    font-family: Arial, sans-serif;
    background: url("assets/background.png") no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Overlay effect for a darker background overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

header {
    padding: 20px;
    font-size: 24px;
}

.upload-section, .editor {
    margin: 20px auto;
    max-width: 500px;
}

canvas {
    border: 2px solid #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #2b2d42;
    display: block;
    margin: 20px auto;
    max-width: 100%;
}

.tools button {
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    margin: 5px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.tools button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    background-color: #fff;
    color: #000;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
}

/* Filter options styling */
.filter-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
}

/* Filter option and preview styling */
.filter-option {
    display: inline-block;
    text-align: center;
    margin: 10px;
}

.filter-preview {
    width: 60px; /* Adjust size as needed */
    height: auto;
    display: block;
    margin: 0 auto 5px;
}

.filter-options button {
    background-color: #f44336;
    padding: 10px;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-options button:hover {
    background-color: #d32f2f;
}
