#root {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-align: center
}

:root {
    --light: #fff;
    --black: #000;
    --black-1: #333;
    --black-2: #555;
    --secondary: #bbb
}

body {
    background-color: var(--light);
    color: var(--black);
    font-family: Arial, sans-serif;
    text-align: center
}

a {
    text-decoration: none;
    color: var(--black-1)
}

.App {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 1rem
}

h1 {
    margin-bottom: 0 !important
}

.subtitle {
    margin: 0 auto 1rem;
    font-size: 1rem;
    line-height: 1.6em;
    color: var(--black);
    width: 90%;
    display: block
}

.form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 2rem;
    width: 95%;
    max-width: 1204px
}

.form {
    padding: 10px 10px 5rem !important;
    height: 100%;
    max-width: 100%
}

.drop-container {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    margin: 0 0 20px
}

.drop-zone {
    position: relative !important;
    border: 2px dashed var(--secondary);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background-color: var(--light);
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: auto
}

.drop-zone:hover {
    border: 2px dashed var(--black)
}

.drop-zone p {
    margin: 10px 0 0;
    color: var(--secondary)
}

.upload-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center
}

.upload-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem
}

.file-info {
    position: absolute;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: auto;
    max-width: 90%;
    word-break: break-all;
    padding-bottom: 3px
}

.file-name {
    color: var(--black) !important
}

.input-container {
    display: flex;
    align-items: center;
    padding: 0;
    justify-content: center;
    margin-bottom: 2rem
}

.input-container input {
    flex: 1;
    background-color: var(--light);
    color: var(--black);
    font-size: 1rem;
    border: solid 1px var(--secondary);
    height: 50px;
    border-radius: 4px;
    padding: 0 10px;
    max-width: 450px
}

.input-container input:hover,
.input-container input:focus {
    outline: none;
    border: solid 1px var(--black)
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 3rem
}

button {
    background-color: var(--black);
    color: var(--light);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer
}

button:hover {
    background-color: var(--black-1)
}

button {
    font-size: 16px
}

.footer {
    margin-top: 3rem;
    padding-bottom: 1rem
}

.github-repo {
    display: inline-block;
    background-color: var(--black-1);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 1rem
}

.github-repo:hover {
    background-color: var(--black)
}

.github-repo span {
    margin: 0 10px;
    color: var(--light);
    font-size: 1rem
}

.github-repo .github-icon {
    color: var(--light);
    margin-bottom: -2.5px
}

@media (max-width: 567px) {
    .btn-container {
        justify-content: space-between
    }

    .drop-zone {
        width: 100%
    }

    .drop-zone,
    button,
    a {
        cursor: default !important
    }
}
