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

body {
    height: 100vh;
    background: linear-gradient(to right,
            #10002b,
            /*#5217b1 , #d6d335*/
            #7b2cbf,
            #10002b);
    font-family: "Bubblegum Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
}

.logo {
    position: absolute;
    height: 40px;
    padding: 0px 10px;
    left: 0%;
}

#logo {
    display: flex;
    align-items: center;
}

.logoText {
    padding: 0px 60px;
    font-weight: 600;
    font-size: 25px;
    margin-top: 5px;
}

ul {
    display: flex;
    align-items: center;
}

.nav-links li:first-child {
    margin-right: auto;
}

nav li {
    display: flex;
    list-style: none;
    padding: 0 20px;

}

a {
    text-decoration: none;
    color: #fff;
}

/* .bgText {
    position: absolute;
    display: flex;
    text-align: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    top: 30%;
    left: 50%;
    z-index: 1;
    font-size: 350px;

} */

#container {
    position: absolute;
    width: 50%;
    min-width: 580px;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    background-color: #11001c;
    padding: 50px 10px;
    border-radius: 10px;
    display: grid;
    justify-items: center;
    box-shadow: 4px 4px 10px 5px rgb(224, 170, 255, 0.2);
}

h3,
input,
p {
    color: #ecd1f9;
}

input[type="text"] {
    width: 90px;
    padding: 20px 0px;
    text-align: center;
    margin-top: 21px;
    border-radius: 10px;
    border: 2px solid #202020;
    color: #5a20b8;
    background-color: #fff;
    font-weight: 600;
    font-size: 20px;
}

#btn {
    width: 160px;
    padding: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 8px;
    border: 2px solid #202020;
    background-color: #5217b1;
    color: #ffffff;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;

    &:hover {
        background-color: #6f1bd6;
        color: #fff;
        cursor: pointer;
        font-weight: bolder;
        box-shadow: 4px 4px 10px 5px rgb(224, 170, 255, 0.2);
        transform: scale(1.05);
    }
}

#background {
    position: absolute;
    width: 60%;
    height: 60%;
    min-width: 580px;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  
    z-index: 1; /* Place it above the body but below the container */
    backdrop-filter: blur(5px); /* Add blur effect for glassmorphism */
}
#reset-btn {
    width: 160px;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Light border */
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
    backdrop-filter: blur(5px); /* Add blur effect to the button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
#reset-btn:hover {
    background: rgba(255, 255, 255, 0.2); /* Slightly more opaque on hover */
    border-color: rgba(255, 255, 255, 0.3); /* Lighten border on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}
#close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    color: rgba(255, 255, 255, 0.248);
    border: rgba(255, 0, 0, 0.5);
    border-radius:3px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.3s;
}

#close-btn:hover {
    color: #fff;
    background: rgba(255, 0, 0, 0.882);
    transform: scale(1.1);
}


/* Shake Animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25%,
    75% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(10px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.bounce {
    animation: bounce 0.5s ease-in-out;
}