* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ApercuRegularPro', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--snow-white);
    color: #333;
}

.container {
    max-width: 960px;
    margin: auto;
    text-align: center;
}

.upload-area {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button {
    background-color: #222;
    color: #fff;
    border: none;
    outline: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

button:hover {
    background-color: darken(var(--christmas-red), 10%);
}

#base-image-display {
    position: relative;
    max-width: 600px;
    max-height: 600px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e9e9e9;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

#overlay-image {
    position: absolute;
    cursor: move;
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
    display: none;
}

.overlay-buttons {
    margin-top: 20px;
    display: none; /* Initially hidden */
}

.overlay-buttons button {
    background-color: #27ae60;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}

.overlay-buttons button:hover {
    background-color: #83d7a6;
}

/* responsive overlay buttons */
@media (max-width: 768px) {
    .overlay-buttons button {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .container {
        width: 100%;
    }
    #base-image-display {
        max-width: calc(100% - 20px);
        height: auto;
    }
    button {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
    }
}