@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap");
/* font-family: 'Comfortaa', cursive; */
body {
    overflow: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Comfortaa', cursive;
    animation: background-animation 20s infinite linear;
    position: relative;
}

.background {
    text-align: center;
    color: white;
    animation: fade-in 2s ease-in-out;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    overflow: hidden; 
    animation: typing-animation 5s steps(30) infinite, blink-animation 1s infinite step-end;
    white-space: nowrap;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}


@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes background-animation {
    0% {
        background: radial-gradient(circle, #241379, #06051f);
    }
    25% {
        background: radial-gradient(circle, #2185bf, #06051f);
    }
    50% {
        background: radial-gradient(circle, #1fbce1, #06051f);
    }
    75% {
        background: radial-gradient(circle, #b62f56, #06051f);
    }
    100% {
        background: radial-gradient(circle, #d5764c, #06051f);
    }
}

@keyframes typing-animation {
    0%, 100% {
        width: 0;
    }
    25%, 75% {
        width: 100%;
    }
}

@keyframes blink-animation {
    0%, 100% {
        border-right: 0.15em solid white;
    }
    50% {
        border-right: none;
    }
}

.custom-button,
.user-login-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    width: 250px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    white-space: nowrap;
    border-radius: 30px;
    color: white;
    border: 2px solid white;
    overflow: hidden;
}

.div {  
    width: 22%;  
    overflow: hidden;
    margin: auto;
    padding: 20px;  
    background: radial-gradient(transparent, rgba(255, 255, 255, 0.2));;  
    border-radius: 20px;
    text-align: center;
    color: #fff;
}

.footer-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
}

.user-login-button {
    position: absolute;
    top: 10px; 
    right: 10px;
    padding: 5px 10px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.custom-button:hover,
.user-login-button:hover {
    background-color: white;
    color: #241379;
}
  
.logo img {
    max-width: 200px;
    height: auto;
    filter: saturate(0%) brightness(3207%);
}
.modal{
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    place-items: center;
    pointer-events: none;
    opacity: 0;
}
  
.modal-visible{
    opacity: 1;
    pointer-events: auto;
}
.bg{  
    width: 382px;  
    overflow: hidden;
    margin: auto;
    padding: 20px;  
    animation: background-animation 20s infinite linear;
    border-radius: 20px;
    text-align: center;
    color: white;
}
.global-input {
    background: #000000;
    color: hsl( 245 calc( 1 * 45.1%) 43.7% / 1);
    font-family: 'Comfortaa', cursive;
    padding: 15px;
    width: 300px;
    text-align: center;
    border: none;
    border-radius: 20px;
    resize: horizontal;
}
.bg button{
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: #ffffff;
    font-family: 'Comfortaa', cursive;
    height: 30px;
    border-radius: 20px;
    text-align: center;
}