@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.home {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #0c0f0d;
    padding: 20px;
    position: relative;
    font-family: 'Roboto Mono', monospace;
}

.home p {
    color: #ffffff;
    text-shadow: 0px 0px 10px #ffffff;
    font-size: 16px;
    margin-bottom: 5px;
}

.blink-dots {
    display: inline-block;
    margin-left: 5px;
    opacity: 0;
    animation: blink 1s infinite;
}

.progress-bar-container {
    margin-top: 20px;
    width: 100%;
    height: 15px;
    background-color: #333;
    position: relative;
    display: none;
}

.progress-bar {
    height: 100%;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px #ffffff;
    width: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.textarea-container {
    width: 100%;
    flex-grow: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

#hacker-textarea {
    width: 100%;
    text-shadow: 0px 0px 10px #ffffff;
    height: 100%;
    box-sizing: border-box;
    font-family: 'Roboto Mono', monospace;
    background-color: transparent;
    color: #ffffff;
    border: none;
    outline: none;
    resize: none;
    font-size: 16px;
    flex-grow: 1;
    white-space: pre-wrap;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

#modal {
    display: none;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 999;
}

#modal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}