body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header, footer {
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    flex-grow: 1;
}

.toolbar {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.tool-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 24px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    width: 50px;
    height: 50px;
}

#imageInput {
    display: none;
}

#imageContainer {
    position: relative;
    margin-top: 20px;
}

#imageContainer img {
    max-width: 100%;
    height: auto;
}

.checkbox-container {
    position: absolute;
    transform: translate(-50%, -50%);
}

.checkbox-container input {
    margin: 0;
    width: 20px;
    height: 20px;
}

.strikethrough::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 5px);
    width: 200px;
    height: 2px;
    background-color: red;
}

#thumbnailContainer {
    display: flex;
    overflow-x: auto;
    margin-top: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 5px;
    cursor: pointer;
}

.thumbnail.active {
    border: 2px solid blue;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .tool-button {
        font-size: 20px;
        width: 40px;
        height: 40px;
    }

    .checkbox-container input {
        width: 15px;
        height: 15px;
    }
}