#top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#title {
    font-size: 72px;
    margin-top: 50px;
}

#mainBox {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    border: 5px solid black;
    min-height: 400px;
}

#passwordForm {
    margin: 20px;
    min-width: 75%;
    text-align: center;
}

.step {
    margin-bottom: 0px;
}

#passwordBox {
    margin-top: 0px;
    width: 100%;
    font-size: 16px;
}

#progressBar {
    width: 100%;
    display: none;
    margin-top: auto;
}

#speed {
    display: none;
}

#buttonsBox {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 20px;
}

#selectFileBox {
    text-align: center;
    width: 100%;
    margin-top: 0px;
}

.button {
    color: white;
    background-color: black;
    font-weight: bold;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    height: 75px;
    width: 25%;
}

#outputBox {
    display: none;
    font-size: 20px;
    margin-bottom: 30px;
}

#downloadLink {
    display: none;
    margin: 20px;
}

#bottom {
    width: 75%;
    margin: auto;
    margin-top: 150px;
}

#streamingSpan, #nonStreamingSpan {
    display: none;
}

p {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 30px;
}

.passwordError {
    position: relative;
    animation-name: passwordError;
    animation-duration: 200ms;
    animation-iteration-count: 3;
    border: 2px solid red;
    border-radius: 4px;
}

@keyframes passwordError {
    0% { left: 0px; }
    12% { left: 5px; }
    25% { left: 10px; }
    37% { left: 5px; }
    50% { left: 0px; }
    62% { right: 5px; }
    75% { right: 10px; }
    87% { right: 5px; }
    100% { left: 0px; }
}

.passwordErrorTitle {
    animation-name: passwordErrorTitle;
    animation-duration: 3s;
}

@keyframes passwordErrorTitle {
    20% { color: red; }
    80% { color: red; }
}
