body {
    font-family: Arial, sans-serif;
    background-color: #1b1c23;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    background-image: radial-gradient(circle, #262a35 0.05vw, transparent 0.1vw);
    background-size: 15px 15px;
    user-select: none;
    cursor: auto !important;
}
textarea{
    position: absolute;
    top: 15%;
    left: 3%;
    width: 28.5%;
    height: 46%;
    margin-bottom: 10px;
    padding: 1.5vw;
    font-size: 14px;
    background-color: #262a35;
    outline: none;
    border: none;
    border-radius: 1vw;
    color: white;
    resize: none;
    visibility: hidden;
}

select{
    position: absolute;
    top: 70%;
    left: 3%;
    width: 31.5%;
    height: 5.5%;
    color: white;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 0.80vw;
    background-color: #262a35;
    outline: none;
    border: none;
    border-radius: 1vw;
    font-family: monospace;
    cursor: pointer;
    visibility: hidden;
}

#generateBtn {
    position: absolute;
    top: 79%;
    left: 14%;
    background-color: #5568DF;
    color: #FFFFFF;
    border: none;
    height: 6%;
    width: 8%;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85vw;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    visibility: hidden;
}

#generateBtn:hover {
    background-color: #4454C4;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

#generateBtn:active {
    background-color: #333F9F;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#code-container {
    position: absolute;
    top: -0.7%;
    left: 41%;
    width: 59vw;
    height: 45vw;
    margin: 0.1vw auto;
    background: #20222c;
    /* border: 1px solid white; */
    text-align: left;
    font-size: 0.9vw;
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 0.05vw;
    overflow: auto;
    outline: none;
    background-image: radial-gradient(circle, #1b1c23 0.05vw, transparent 0.1vw);
    background-size: 15px 15px;
    visibility: hidden;
}
.code-output {
    display: block;
    overflow: hidden;
    white-space: pre-wrap;
    border-right: none;
    font-family: monospace;
}
@keyframes pulseDots {
    0% { content: ' '; }
    33% { content: '.'; }
    66% { content: '..'; }
    100% { content: '...'; }
}
.loading-dots::after {
    content: '';
    display: inline-block;
    animation: pulseDots 1.5s infinite;
}
#header{
    position: absolute;
    top: 0;
    left: 0;
    height: 10%;
    width: 100%;
}

#title{
    font-family: "Poppins", serif;
    position: absolute;
    color: white;
    font-size: 2vw;
    font-weight: 700;
    text-decoration: none;
    top: 45%;
    left: 3.25%;
}

#about{
    font-family: "Poppins", serif;
    position: absolute;
    color: white;
    font-weight: 600;
    text-decoration: none;
    top: 61%;
    font-size: 1.1vw;
    left: 22%;
}

#about:hover{
    text-decoration: underline;
    cursor: pointer
}

#faq{
    font-family: "Poppins", serif;
    position: absolute;
    color: white;
    font-weight: 600;
    text-decoration: none;
    top: 61%;
    font-size: 1.1vw;
    left: 26.75%;
}

#faq:hover{
    text-decoration: underline;
    cursor: pointer;
}

#contact{
    font-family: "Poppins", serif;
    position: absolute;
    color: white;
    font-weight: 600;
    text-decoration: none;
    top: 61%;
    font-size: 1.1vw;
    left: 30%;
}

#contact:hover{
    text-decoration: underline;
    cursor: pointer;
}

#leftcontainer{
    position: absolute;
    top: -0.2vw;
    left: 38%;
    height: 100%;
    width: 62%;
    background-color: #20222c;
    border-bottom-left-radius: 4%;
    border-top-left-radius: 4%;
    background-image: radial-gradient(circle, #1b1c23 0.1vw, transparent 0.1vw);
    background-size: 15px 15px;
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.3);
}

#code-container::-webkit-scrollbar {
    width: 0.5vw;
    background: transparent;
}
#code-container::-webkit-scrollbar-track {
    background: #20222c;
}
#code-container::-webkit-scrollbar-thumb {
    background: #5568DF;
    border-radius: 5px;
}

#version{
    font-size: 0.90vw;
    font-family: monospace;
    color: white;
    position: absolute;
    top: 91%;
    left: 25.5%;
    font-weight: 100;
}

#termsofservice{
    font-size: 0.90vw;
    font-family: monospace;
    color: white;
    position: absolute;
    top: 91%;
    left: 15.5%;
    cursor: pointer;
    font-weight: 100;
    text-decoration: none;
}

#termsofservice:hover {
    text-decoration: underline;
    cursor: pointer;
}

#privacypolicy{
    font-size: 0.90vw;
    font-family: monospace;
    color: white;
    position: absolute;
    top: 91%;
    left: 6.5%;
    cursor: pointer;
    font-weight: 100;
    text-decoration: none;
}

#privacypolicy:hover {
    text-decoration: underline;
    cursor: pointer;
}

#copyright{
    font-size: 0.85vw;
    font-family: monospace;
    color: white;
    position: absolute;
    top: 94.5%;
    left: 8.5%;
    font-weight: 100;
}

#ultimate{
    font-size: 3.6vw;
    font-family: monospace;
    color: white;
    position: absolute;
    top: 25%;
    left: 12%;
    font-weight: 600;
    animation: fadeInUp 2s forwards;
}
#openingdiv{
    position: absolute;
    top: 10%;
    left: 0;
    height: 80%;
    width: 35%;
    background-color: #1b1c23;
    background-image: radial-gradient(circle, #262a35 0.05vw, transparent 0.1vw);
    background-size: 15px 15px;
}

#ctabutton {
    position: absolute;
    top: 71%;
    left: 38%;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-family: "Poppins", serif;
    font-weight: 600;
    color: #ffffff;
    background-color: #5568DF;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(85, 104, 223, 0.3);
    animation: fadeInManipulated 1.5s forwards;
}

#ctabutton:hover {
    background-color: #4454C4;
    box-shadow: 0 6px 15px rgba(85, 104, 223, 0.5);
    text-decoration: underline;
}

#ctabutton:active {
    background-color: #333F9F;
    box-shadow: 0 2px 5px rgba(85, 104, 223, 0.2);
}

#ctabutton img {
    width: 0.85vw;
    height: 0.85vw;
    margin-left: 8px;
}

#subtextopening{
    font-family: monospace;
    font-size: 1.2vw;
    color: gray;
    position: absolute;
    top: 53%;
    left: 21%;
}

#ultimatetext{
    color: #5568DF;
}


#copyBtn {
    position: absolute;
    top: 92%;
    left: 96%;
    background-color: #5568DF;
    color: #FFFFFF;
    border: none;
    height: 2.5vw;
    width: 2.5vw;
    font-size: 0.85vw;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: inline-flex; /* Use inline-flex to keep it inline but allow flexbox properties */
    align-items: center; /* Vertically center the image */
    justify-content: center; /* Horizontally center the image */
    padding: 5px; /* Add some padding for better visual appearance */
}

#copyBtn img {
    max-height: 100%;
    max-width: 100%;
}

#copyBtn:hover {
    background-color: #4454C4;
}

#copyBtn:active {
    background-color: #333F9F;
}

#duplicateContainer {
    position: absolute;
    top: -0.7%;
    left: 38%;
    width: 59vw;
    height: 41.5vw;
    background: transparent;
    color: white;
    text-align: left;
    font-family: monospace;
    font-size: 0.9vw;
    padding: 3vw;
    border-radius: 2vw;
    text-align: left;
    white-space: pre-wrap;
    overflow: hidden;
}

#generateBtn.disabled {
    background-color: #555; /* Gray background */
    color: #888; /* Darker gray text */
    cursor: not-allowed; /* Change cursor to "not-allowed" */
}

/* Animations BEGIN*/

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2vw);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2vw);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeInManipulated {
    0% {
        opacity: 0;
    }
    60% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOutManipulated {
    0% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


@keyframes fadeInManipulated {
    0% {
        opacity: 0;
    }
    60% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* Animations END */

.container {
	height: 100vh;
	width: 100%;
	display: flex;
    position: absolute;
    background: #1b1c23;
    background-image: radial-gradient(circle, #20222c 0.1vw, transparent 0.1vw);
    background-size: 15px 15px;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: inset 0 0 50vw rgba(0, 0, 0, 0.8);
    animation: loadscreenfadeout 20s forwards;
}

.loader-wrapper {
    height: 60%;
    width: 50%;
    position: absolute;
    top: 20%;
    left: 25%;
    background-color: transparent;
    display: flex;
    flex-direction: column;  /* Stack elements vertically */
    align-items: center;  /* Center horizontally */
    text-align: center;  /* Ensures text alignment */
}

#designinfo {
    display: inline-block;
    transform: scale(1.15);
    font-family: monospace;
    animation: fadeIndesigninfo 14s forwards;
    position: absolute;
    top: 57%;
}

#designlogoinfo {
    display: inline-block;
    transform: scale(6, 5.75);
    font-family: "Poppins", serif;
    font-weight: 800;
    animation: fadeInManipulated 1.5s forwards;
    position: absolute;
    top: 35%;
}

@keyframes fadeIndesigninfo {
    0% {
        opacity: 0;
    }
    85% {
        opacity: 0;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes loadscreenfadeout {
    0% {
        opacity: 1;
    }
    98% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.progress {
  background: rgba(255,255,255,0.1);
  justify-content: flex-start;
  border-radius: 100px;
  align-items: center;
  position: absolute;
  display: flex;
  top: 64.9%;
  left: 35%;
  height: 0.2%;
  width: 30%;
}

.progress-value {
  animation: load 15s normal forwards;
  box-shadow: 0 10px 40px -10px #fff;
  border-radius: 0.5vw;
  background: #fff;
  height: 0.35vw;
  width: 0;
}

@keyframes load {
  0% { width: 0; }
  100% { width: 100%; }
}

#generateBtn.disabled {
    background-color: #555; /* Gray background */
    color: #888; /* Darker gray text */
    cursor: not-allowed; /* Change cursor to "not-allowed" */
}

#pauseBtn {
    position: absolute;
    top: 85%;
    left: 96%;
    background-color: #5568DF;
    color: #FFFFFF;
    border: none;
    height: 2.5vw;
    width: 2.5vw;
    border-radius: 50%;
    font-size: 1vw;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

#pauseBtn:hover {
    background-color: #4454C4;
}

#pauseBtn:active {
    background-color: #333F9F;
}