#file-list {
  opacity: 1;
  transition: opacity 0.3s ease;
}
#file-list.fade-out {
  opacity: 0;
}
#fileListElement {
  transition: opacity 0.3s ease;
}

.fade-out {
  opacity: 0;
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
        } 50% {
        box-shadow: 0 0 15px 10px rgba(255, 0, 0, 0.6);
        } 100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
        }
    }
@media (max-width: 48em) {
    .file-item {
        width: calc(100% - 2em);
        flex-direction: column;
        align-items: flex-start
        }
    .file-link {
        flex-grow: 1
        }
    .button {
        margin-top: 1em;
        width: 100%;
        text-align: center
        }
    }
@keyframes FadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        } to {
        opacity: 1;
        transform: translateY(0);
        }
    }
@keyframes FadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        } to {
        opacity: 0;
        transform: translateY(20px);
        }
    }
@keyframes fadeIn {
    from {
        opacity: 0;
        } to {
        opacity: 1;
        }
    }
@keyframes fadeOut {
    from {
        opacity: 1;
        } to {
        opacity: 0;
        }
    }
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
        } 50% {
        box-shadow: 0 0 15px 10px rgba(255, 0, 0, 0.6);
        } 100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
        }
    }
@media (max-width: 48em) {
    .file-item {
        width: calc(100% - 2em);
        flex-direction: column;
        align-items: flex-start
        }
    .file-link {
        flex-grow: 1
        }
    .button {
        margin-top: 1em;
        width: 100%;
        text-align: center
        }
    }
@keyframes FadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        } to {
        opacity: 1;
        transform: translateY(0);
        }
    }
@keyframes FadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        } to {
        opacity: 0;
        transform: translateY(20px);
        }
    }
@keyframes fadeIn {
    from {
        opacity: 0;
        } to {
        opacity: 1;
        }
    }
@keyframes fadeOut {
    from {
        opacity: 1;
        } to {
        opacity: 0;
        }
    }
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
        } 50% {
        box-shadow: 0 0 15px 10px rgba(255, 0, 0, 0.6);
        } 100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
        }
    }
@media (max-width: 48em) {
    .file-item {
        width: calc(100% - 2em);
        flex-direction: column;
        align-items: flex-start
        }
    .file-link {
        flex-grow: 1
        }
    .button {
        margin-top: 1em;
        width: 100%;
        text-align: center
        }
    }
@keyframes FadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        } to {
        opacity: 1;
        transform: translateY(0);
        }
    }
@keyframes FadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        } to {
        opacity: 0;
        transform: translateY(20px);
        }
    }
@keyframes fadeIn {
    from {
        opacity: 0;
        } to {
        opacity: 1;
        }
    }
@keyframes fadeOut {
    from {
        opacity: 1;
        } to {
        opacity: 0;
        }
    }
body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: "Courier New", Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0
    }
#app {
    text-align: center;
    width: 70%
    }
.hidden {
    display: none
    }
.file-item:hover {
    border-color: var(--hover-color);
    box-shadow: 0 0 1em var(--hover-color)
    }
.modal-content.alert {
    animation: pulse 2s infinite;
    border-radius: 0.5em
    }
#file-list {
    margin-top: 2em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
    }
.file-item {
    background-color: #161b22;
    border: 0.1em solid #30363d;
    border-radius: 0.375em;
    padding: 1em;
    margin: 1em;
    width: calc(50% - 2em);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box
    }
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translatex(-50%);
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 10px;
    display: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    text-align: center;
    z-index: 10000000;
    animation: fadeIn 0.5s ease-in-out, fadeOut 0.5s ease-in-out 1s
    }
.file-item img {
    width: 3em;
    height: 3em;
    margin-right: 1em
    }
.file-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    flex-grow: 1
    }
#confirm-download {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 0.1875em;
    cursor: pointer;
    padding: 0.5em 1em;
    font-size: 0.875em;
    white-space: nowrap;
    transition: background-color 0.3s, opacity 0.3s
    }
#confirm-download:not([disabled]):hover {
    background-color: #218838;
    opacity: 0.9
    }
#confirm-download:disabled {
    background-color: #555;
    cursor: not-allowed
    }
.expanded-content {
    margin-top: 1em;
    text-align: left;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0
    }
.expanded-content.expanded {
    max-height: 30em;
    opacity: 1
    }
.expanded-content a {
    display: block;
    color: white;
    margin-bottom: 0.5em
    }
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center
    }
.modal-content {
    background-color: #161b22;
    margin: auto;
    padding: 1em;
    border: 1px solid #30363d;
    width: 80%;
    max-width: 500px;
    text-align: center;
    color: #c9d1d9
    }
.modal-content h2 {
    color: #ff4d4d
    }
.modal-content input {
    margin-top: 1em;
    padding: 0.5em;
    width: 80%
    }
.modal-content button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 0.1875em;
    cursor: pointer;
    padding: 0.5em 1em;
    font-size: 0.875em;
    white-space: nowrap;
    margin-top: 1em;
    transition: background-color 0.3s
    }
.modal-content button:disabled {
    background-color: #555;
    cursor: not-allowed
    }
.button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 0.1875em;
    cursor: pointer;
    margin-left: 1em;
    padding: 0.5em 1em;
    font-size: 0.875em;
    white-space: nowrap;
    transition: background-color 0.3s, opacity 0.3s
    }
.button:hover {
    background-color: #218838;
    opacity: 0.9
    }
.button:focus {
    outline: none
    }
.button.pulse {
    animation: pulse 2s infinite
    }
#hosts-modal {
    display: none
    }
.modal.show, #hosts-modal.show {
    display: flex;
    animation: FadeIn 0.3s forwards
    }
.modal.hide, #hosts-modal.hide {
    animation: FadeOut 0.3s forwards
    }
#hosts-modal .modal-content {
    background-color: #161b22;
    margin: auto;
    padding: 1em;
    border: 1px solid #30363d;
    width: 80%;
    max-width: 500px;
    text-align: center;
    color: #c9d1d9
    }
.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1em
    }
.modal-buttons button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 0.1875em;
    cursor: pointer;
    padding: 0.5em 1em;
    font-size: 0.875em;
    white-space: nowrap;
    transition: background-color 0.3s;
    flex: 1;
    margin: 0 0.5em
    }
.modal-buttons button:hover {
    background-color: #218838;
    opacity: 0.9
    }
.modal-buttons button:disabled {
    background-color: #555;
    cursor: not-allowed
    }
.notification.show {
    display: block;
    opacity: 1
    }
.notification.hidden {
    display: none
    }
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center
    }
.modal-container.show {
    display: flex
    }
.modal-container.hide {
    display: none
    }
.button-container {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    border-radius: 0 0 0 50px;
    overflow: hidden;
    font-size: 20px;
    z-index: 9999
    }
.button-half {
    padding: 20px 30px;
    background-color: #1e232b;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    outline: none;
    font-size: 20px
    }
.left-button {
    border-radius: 0 0 0 25px
    }
.right-button {
    border-radius: 0 0 25px
    }
.button-half:hover {
    background-color: #003c7d;
    opacity: 0.9
    }
.online-button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 0.1875em;
    cursor: pointer;
    margin-left: 1em;
    padding: 0.5em 1em;
    font-size: 0.875em;
    white-space: nowrap;
    transition: background-color 0.3s, opacity 0.3s
    }
.online-button:hover {
    background-color: #218838;
    opacity: 0.9
    }