* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif,"orbitton" ;
}
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, #000814, #074e9a, #1437d4, #3a1ce2);
    background-image: url("https://images.pexels.com/photos/1631677/pexels-photo-1631677.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: rgb(15, 13, 20);
    overflow: hidden;
    position: relative;
    flex-direction: column;
    z-index:0;
   background-blend-mode: darken;
}


.container {
    position: relative; /* Establish a context for the pseudo-element */
    width: 450px;
    padding: 1.5rem;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 20px 35px rgba(6, 16, 20, 0.9);
    z-index: 1; /* Ensure the content appears above the background */
    overflow: hidden; /* Clip the pseudo-element to the container's shape */
    background: rgba(255, 255, 255, 0.1); /* Optional translucent overlay */
}
.container h1{
    font-size: 38px;
    font-family:'Times New Roman', Times, serif ;
    
}

.container::before {
    content: ""; /* Required for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://as2.ftcdn.net/v2/jpg/02/91/31/65/1000_F_291316531_v4kkfLT9P9toRLQ4pngRrCTRXtto8m1t.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(5px); /* Apply blur effect */
    z-index: -1; /* Place behind the container content */
}



form {
    margin: 0 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 1.3rem;
    margin-bottom: 0.4rem;
}

input {
    color: inherit;
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #757575;
    padding-left: 1.5rem;
    font-size: 15px;
}

.input-group {
    padding: 1% 0;
    position: relative;

}

.input-group i {
    position: absolute;
    color: black;
}

input:focus {
    background-color: transparent;
    outline: transparent;
    border-bottom: 2px solid hsl(327, 90%, 28%);
}

input::placeholder {
    color: transparent;
}

label {
    color: #757575;
    position: relative;
    left: 1.2em;
    top: -1.3em;
    cursor: auto;
    transition: 0.3s ease all;
}

input:focus~label,
input:not(:placeholder-shown)~label {
    top: -3em;
    color: hsl(327, 90%, 28%);
    font-size: 15px;
}

.recover {
    text-align: right;
    font-size: 1rem;
    margin-bottom: 1rem;

}

.recover a {
    text-decoration: none;
    color: rgb(125, 125, 235);
}

.recover a:hover {
    color: blue;
    text-decoration: underline;
}

button {
    font-size: 1.1rem;
    padding: 8px 0;
    border-radius: 5px;
    outline: none;
    border: none;
    width: 100%;
    background: rgb(125, 125, 235);
    color: white;
    cursor: pointer;
    transition: 0.9s;
}

button:hover {
    background: #07001f;
}

.or {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-align: center;
}

.icons {
    text-align: center;
}

.icons i {
    color: rgb(125, 125, 235);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    border: 2px solid #dfe9f5;
    margin: 0 15px;
    transition: 1s;
}

.icons i:hover {
    background: #07001f;
    font-size: 1.6rem;
    border: 2px solid rgb(125, 125, 235);
}

.links {
    display: flex;
    justify-content: space-around;
    padding: 0 4rem;
    margin-top: 0.9rem;
    font-weight: bold;
}

#signUpButton,
#signInButton {
    color: rgb(125, 125, 235);
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: bold;
}

#signUpButton:hover,
#signInButton:hover {
    text-decoration: underline;
    color: blue;
}

.messageDiv {
    background-color: hsl(327, 90%, 28%);
    color: white;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    font-size: 1rem;
    opacity: 0;
    animation: fadeOut 7s forwards;

}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 80%;
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
        padding: 1rem;
    }

    input {
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }

    label {
        left: 1.5rem;
    }

    .icons i {
        padding: 0.6rem 1.2rem;
        font-size: 1.3rem;
    }

    .links {
        padding: 0 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
        padding: 1rem;
    }

    .form-title {
        font-size: 1.3rem;
        padding: 0.8rem;
    }

    input {
        padding-left: 1rem;
        font-size: 0.8rem;
    }

    label {
        left: 1rem;
    }

    .icons i {
        padding: 0.5rem 1rem;
        font-size: 1.2rem;
    }

    .links {
        padding: 0 1.5rem;
        font-size: 0.8rem;
    }
}