


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

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    background: #faf7f2;
    color: #222;
}

/* MAIN WRAPPER — CENTERED WEBSITE */
.wrap {
    max-width: 1100px;
    margin: 0 auto;         
    padding: 20px;          
    text-align: center;
}

h1 {
    font-size: 20px;
    margin-bottom: 6px;
}

p.note {
    margin: 6px 0 12px;
    color: #555;
}


.responsive-img {
    width: 100%;
    height: auto;
    display: block;
}


#frameOptions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

#frameOptions img {
    width: 100px;
    max-width: 28vw;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 6px;
    transition: all 0.2s ease;
}

#frameOptions img:hover {
    transform: scale(1.05);
}

#frameOptions img.selected {
    border: 3px solid #5d472d;
}

/* Canvas Area */
.canvas-area {
    display: inline-block;
    background: #ddd;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

canvas {
    display: block;
    max-width: 100%;
    height: auto;
    cursor: grab;
    border-radius: 6px;
    background: #000;
}


.controls {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.file-label {
    background: #f5bd60;
    color: #5d462c;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
}

.file-label:hover {
    background: #5d472d;
    color: #ffffff;
}

.file-label input[type=file] {
    display: none;
}

button {
    background: #5d472d;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

button:active {
    transform: translateY(1px);
}

.hint {
    font-size: 13px;
    color: #444;
    margin-top: 10px;
}

.status {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}


@media (max-width: 768px) {
    h1 {
        font-size: 18px;
    }
    #frameOptions img {
        width: 80px;
        max-width: 35vw;
    }
    .controls {
        flex-direction: column;
        align-items: center;
    }
    button,
    .file-label {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 16px;
    }
    p.note {
        font-size: 14px;
    }
    #frameOptions img {
        width: 70px;
        max-width: 40vw;
    }
}




.footer-container {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 40px 20px;
    }
    .footer {
        width: 100%;
        max-width: 1100px;
        background: #6b4a2b;
        border-radius: 14px;
        padding: 40px 20px;
        text-align: center;
    }
    .footer h2 {
        color: #fff;
        font-size: 24px;
        margin-bottom: 25px;
        font-weight: 600;
    }
    .footer-icons {
        display: flex;
        justify-content: center;
        gap: 35px;
    }
    .footer-icons a {
        background: #f7d9a1;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        text-decoration: none;
        font-size: 26px;
        color: #333;
        transition: 0.3s;
    }
    .footer-icons a:hover {
        transform: scale(1.15);
    }
    @media(max-width: 480px) {
        .footer h2 {
            font-size: 10px;
        }
        .footer-icons a {
            width: 30px;
            height: 30px;
            font-size: 14px;
        }
    }
 
 







    