body {
    font-family: Arial, sans-serif;
    background: linear-gradient(45deg, #ff00cc, #00ffcc, #cc00ff, #ff00cc);
    background-size: 400% 400%;
    animation: gradientAnimation 15s infinite;
    overflow-x: hidden;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.con {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(255,255,255,0.5);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 90%;
    height: 90%;
    cursor: default;
}

.back{
    position: relative;
    cursor: default;
}
.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
    cursor: default;
}


h2 {
    text-align: center;
    color: #333;
}
form {
    margin: 0 auto;
}
label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"]{
    width: calc(100% - 16px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type="submit"]{
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}
button {
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}
input[type="submit"]:hover, button:hover {
    background-color: #0056b3;
}
.error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

#popup {
    display: none;
        cursor: default;
    position: fixed;
    top: 10%;
    right: 0;
    background-color: #4CAF50;
    color: #fff;
    padding: 20px;
    border-radius: 10px 0 0 10px;
    transform: translateY(-50%);
    z-index: 1000;
}

/* Popup styles */
.popup {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark background */
    z-index: 9999; /* Ensure it's on top of other content */
    justify-content: center;
    align-items: center;
}

/* Popup content */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

/* Close button */
.popup-close {
    font-size: 30px;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

/* Button to trigger the popup */
#openPopupBtn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

#openPopupBtn:hover {
    background-color: #45a049;
}
