@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: fade .6s ease;
}


@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h3  ,h2 {
    color: white;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
}
h3  {

    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 10px 25px rgba(0, 114, 255, .35);
    padding:13px;
    border-radius: 50%;
    margin-bottom: 10px;
    }
label {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 13px 15px;
    border: none;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    background: rgba(255, 255, 255, .9);
    transition: .3s;
}

input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .4);
}

input::placeholder {
    color: #777;
}

.btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    text-align: center;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
    user-select: none;
    box-shadow: 0 10px 25px rgba(0, 114, 255, .35);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 114, 255, .45);
}

.btn:active {
    transform: scale(.97);
}
a{
    color: white;
    text-decoration: none;
    background-color:#7066e0;
    padding: 5px;
    border-radius: 5px ;
}
.login , .signup {
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    transition: .3s;
}

.main a :hover {
    background: rgba(255, 255, 255, .15);
}

@media(max-width:500px) {
    .main {
        width: 90%;
        padding: 25px;
    }

    h3 {
        top: 40px;
        font-size: 28px;
    }
}
footer{
    color: black;
}
.copyrights{
    width: 100%;
    text-align: center;
    margin-top: 25px;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
}
/* Tablet */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .main {
        max-width: 100%;
        padding: 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        padding: 12px;
        align-items: center;
    }

    .container {
        max-width: 100%;
    }

    .main {
        max-width: 100%;
        padding: 25px 20px;
        border-radius: 15px;
    }

    h1,
    h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    input,
    .btn,
    a {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 12px;
    }

    img {
        width: 120px;
        margin: 0 auto;
    }
}

/* Small Phones */
@media (max-width: 320px) {
    .main {
        padding: 20px 15px;
    }

    h1,
    h2 {
        font-size: 1.3rem;
    }

    input,
    .btn,
    a {
        font-size: 14px;
        padding: 10px;
    }

    img {
        width: 90px;
    }
}