/* 파일변환기 CSS 코드 시작 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

#image-converter {
    width: 100%;
    max-width: 1200px;  /* 최대 너비를 설정하여 전체 화면을 사용하도록 */
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.file-input {
    display: none;
}

.file-label {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-block;
}

.file-label:hover {
    background-color: #0056b3;
}

#format {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

#convert {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px auto;
}

#convert:hover {
    background: #218838;
}

#download {
    display: none;
    background: #ffc107;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
    display: inline-block;
}

#download:hover {
    background: #e0a800;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    #image-converter {
        padding: 20px;
        width: 100%;
        margin: 10px;
    }

    #image-converter h1 {
        font-size: 20px;
    }

    #image-converter p,
    #image-converter ul li {
        font-size: 14px;
    }

    #image-converter button {
        font-size: 14px;
    }

    #image-converter a {
        font-size: 14px;
    }
}
/* 파일변환기 CSS 코드 끝 */