body {
    font-family: Roboto, Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
}

footer {
    bottom: 1em;
    position: absolute;
    text-align: center;
    width: 100%;
}

header {
    text-align: center;
    top: 1em;
}

.row {
    display: inline-flex;
    height: 100vh;    
    width: 100%;
}

.row .item:not(.small) {
    flex-grow: 1;
    overflow-y: auto;
}

.row .item.small {
    flex: 0 0 10vw;
}

.item.content-container {
    align-items: center;
    display: flex;
    height: 80%; /*80vh;*/
}

.content {
    flex: auto;
    margin: auto;
}

button {
    background-color: #2596be;
    color: #fff;
    font-size: medium;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button.yanbe-copy {
    background-color: #576a79;
}

button:disabled {
    background-color: #7398a9;
}

.right {
    float: right;
}

.yanbe-analysed {
    padding: 4px;
}

.yanbe-static {
    color: darkgray;
}

.input-box {
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
}

.input-box input {
    background-color: #f4f4f4;
    border: none;
    font-size: medium;
    margin-left: 1em;
    outline: none;
    width: 100%;
}

.input-box.valid:focus-within {
    border-color: #2596be;
}

.input-box:focus-within {
    border-color: #7398a9;
}

.input-box span i {
    color: #2596be;
}

#yanbe-logo img {
    height: 6vh;
}

div.yanbe-button-row {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
}

div:has(div.yanbe-inderminate-progressbar) {
    margin-bottom: 2em;
    margin-top: 2em;
    padding-bottom: 2em;
    padding-top: 2em;
}

div.yanbe-inderminate-progressbar,
.yanbe-inderminate-progressbar:before {
    height: 3px;
    width: 100%;
    margin: 0;
}

div.yanbe-inderminate-progressbar {
    background-color: #e3edef;
    display: -webkit-flex;
    display: flex;
}

div.yanbe-inderminate-progressbar:before {
    background-color: #2596be;
    content: '';
    -webkit-animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

div.yanbe-source {
    text-align: center;
}

img.yanbe-source {
    max-height: 250px;
}

@-webkit-keyframes running-progress {
    0% {
        margin-left: 0px;
        margin-right: 100%;
    }

    50% {
        margin-left: 25%;
        margin-right: 0%;
    }

    100% {
        margin-left: 100%;
        margin-right: 0;
    }
}

@keyframes running-progress {
    0% {
        margin-left: 0px;
        margin-right: 100%;
    }

    50% {
        margin-left: 25%;
        margin-right: 0%;
    }

    100% {
        margin-left: 100%;
        margin-right: 0;
    }
}