@font-face {
    font-family: "OCR-B";
    src: url("./fonts/ocrbfont.ttf")format("truetype");
}

.container {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.image-container {
    width: 400px;
    height: 400px;
}

.image-container canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.row div {
    flex: 1;
    margin-right: 10px;
}

.row div:last-child {
    margin-right: 0;
}

button {
    padding: 10px 15px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    background: linear-gradient(to right, #FF0000 0%, #FF8000 17%, #FFFF00 33%, #00FF00 50%, #00FFFF 67%, #0080FF 83%, #0000FF 100%);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}