@import url('https://fonts.googleapis.com/css2?family=Fira+Monoo&display=swap');

:root {
    font-family: "Fira Mono", monospace;
}


body {
    background-color: #16161C;
    width: 100%;
    max-width: 1200px;
    /* Optional: You can limit the width */
    margin: 0 auto;
    /* Horizontally center the content */
    display: block;
    font-family: 'Fira Mono', monospace;
    color: #6C6F93;
    padding: 0;
}

#generate-btn {
    animation: glow 1.5s infinite;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 2px #09F7A0;
    }

    50% {
        text-shadow: 0 0 10px #09F7A0;
    }

    100% {
        text-shadow: 0 0 2px #09F7A0;
    }
}

body>* {
    margin: 10px auto;
    width: 100%;
    /* Ensures content stretches full width */
    display: block;
    font-family: 'Fira Mono', monospace;
    color: #6C6F93;
    font-size: 16;
}

.text a:hover {
    color: #27D796;
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #E9436F;
    font-weight: bold;
}

a {
    color: #09F7A0;
    text-decoration: none;
}

a:hover {
    color: #27D796;
}

p {
    color: #E95379;
}

code {
    background-color: #2E303E;
    color: #FAB28E;
    padding: 2px 4px;
    border-radius: 3px;
}

button {
    background-color: #232530;
    color: #09F7A0;
    border: 2px solid #21BFC2;
    padding: 10px 20px;
    font-family: 'Fira Mono', monospace;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1C1E26;
}

input,
textarea {
    background-color: #1A1C23;
    color: #6C6F93;
    border: 1px solid #2E303E;
    padding: 10px;
    width: auto;
    box-sizing: border-box;
    border-radius: 5px;
}

input:focus,
textarea:focus {
    border-color: #FAB28E;
}

/* Content block styling */
.content-block,
footer {
    background-color: #1C1E26;
    color: #E95379;
    padding: 5px 10px;
    /* Add padding for content spacing */
    border-radius: 5px;
    margin: 10px auto;
    width: 60%;
    /* Keeps sections centered */
    max-width: 100%;
    border: 1px solid #E95379;
}

/* Links inside the blocks */
.content-block a,
footer a {
    color: #FAB28E;
    text-decoration: none;
}

.content-block a:hover,
footer a:hover {
    text-decoration: underline;
}

/* Styling for text */
.text {
    font-family: 'Fira Mono', monospace;
    font-size: 14px;
    opacity: 1;
    line-height: 1;
    text-align: center;
    /* Center the text content */
}

.text-phase {
    color: #FAB28E;
    margin-bottom: 2px;
    margin-top: 5px;
    font-family: 'Fira Mono', monospace;
    font-size: 16px;
    transition: opacity 1s ease-in-out;
    opacity: 1;
    line-height: 1;
    text-align: center;
    font-weight: bold;
    /* Center the text content */
}

.text h2 {
    color: #FAB28E;
    display: inline-block;
    position: relative;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    font-size: 16px;
}

.text h2::after {
    font-size: 16px;
    content: "";
    display: block;
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, #E9436F, #F09383, #FAC29A, #F09383, #E9436F);
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    /* Ensures consistent sizing */
}

.text hr {
    border: none;
    border-top: 2px solid #27D796;
    width: 75%;
    margin: 2px auto;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

/* Keygen block styling */
#generate-btn {
    display: inline-block;
    /* Keeps buttons inline */
    background-color: #232530;
    color: #09F7A0;
    border: 2px solid #21BFC2;
    padding: 10px 20px;
    font-family: 'Fira Mono', monospace;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    margin-top: 5px
}

#generate-btn:hover {
    background-color: #1C1E26;
}

#keygen-output {
    color: #FAB28E;
    font-family: 'Fira Mono', monospace;
    margin-top: 10px;
}

#music-progress {
    width: 60%;
    transition: all 0.1s linear;
}

progress {
    appearance: none;
    -webkit-appearance: none;
    height: 3px;
    border: 1px solid #232530;
    background-color: #1C1E26;
    border-radius: 1px;
    overflow: hidden;
}

progress::-webkit-progress-bar {
    background-color: #1C1E26;
}

progress::-webkit-progress-value {
    background-color: #09F7A0;
}

.ascii-art {
    color: transparent;
    background: linear-gradient(to bottom, #E9436F, #F09383, #FAC29A, #FAC29A, #F09383, #E9436F);
    -webkit-background-clip: text;
    background-clip: text;
    text-align: left;
    margin: 10px auto;
    font-family: 'Fira Mono', monospace;
}

.text-highlight {
    display: inline;
    text-align: left;
    color: #09F7A0;
}

.fade-out-highlight {
    opacity: 0;
}

.fade-in-highlight {
    opacity: 1;
}

.separator-highlight {
    display: inline;
    color: #FAB28E;
}

hr.gradient-line {
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, #E9436F, #F09383, #FAC29A, #F09383, #E9436F);
    margin: 10px auto;
    width: 60%;
}

#ascii-artz pre {
    color: transparent;
    background: linear-gradient(to bottom, #E9436F, #F09383, #FAC29A, #FAC29A, #F09383, #E9436F);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 20px;
    font-weight: bolder;
    letter-spacing: 1px;
    margin: 0px;
    animation: fade-in-out 0.3s ease-in-out infinite alternate;
    text-align: center;
}

@keyframes fade-in-out {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}