*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #111;
    overflow: hidden;
}
/* .container{
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
} */

.container {
    position: relative;
    width: 90%; /* Use percentage to make it responsive */
    max-width: 500px; /* Maximum width */
    height: auto; /* Adjust height automatically */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Added padding for better spacing */
}

.container i{
    position: absolute;
    inset: 0;
    border: 2px solid #fff;
    transition: 0.5s;
}
.container i:nth-child(1){
    border-radius: 25% 75% 41% 59% / 51% 36% 64% 49%;
    animation: animate 6s linear infinite;
}
.container i:nth-child(2){
    border-radius: 42% 58% 84% 16% / 51% 60% 40% 49%;
    animation: animate 4s linear infinite;
}
.container i:nth-child(3){
    border-radius: 58% 42% 64% 36% / 26% 60% 40% 74%;
    animation: animate2 10s linear infinite;
}
@keyframes animate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
@keyframes animate2{
    0%{
        transform: rotate(360deg);
    }
    100%{
        transform: rotate(0deg);
    }
}
.container:hover i{
    border: 6px solid var(--clr);
    filter: drop-shadow(0 0 20px var(--clr));
}

.container .login {
    position: relative; /* Changed from absolute for better flow control */
    width: 100%; /* Full width of the container */
    max-width: 300px; /* Maximum width to maintain design integrity */
    height: auto; /* Height adjusts to content */
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px; /* Padding for inner spacing */
}

.container .login h2{
    color: #fff;
    font-size: 2em;
}
.container .login .inputBox{
    position: relative;
    width: 100%;
}
.container .login .inputBox input{
    position: relative;
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #fff;
    background: transparent;
    font-size: 1.2em;
    color: #fff;
    outline: none;
    box-shadow: none;
    border-radius: 40px;
}

/*  */
.container .login .inputBox input {
    padding: 15px 20px; /* Increased padding for better touch interaction */
    border-radius: 30px; /* Smoother border radius */
}

.container .login .inputBox input[type="submit"] {
    padding: 10px 20px; /* Adequate padding for clickable area */
}
/*  */
.container .login .inputBox input::placeholder{
    color: rgba(255,255,255,0.75);
}
.container .login .inputBox input[type="submit"]{
    background: linear-gradient(45deg, #ff357a,#fff172);
    border: none;
    font-size: 1.2em;
    cursor: pointer;
}
.container .login .links{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.container .login .links a{
    color: #fff;
    text-decoration: none;
}
@media (max-width: 768px) {
    .container {
        width: 100%; /* Full width on small screens */
        padding: 10px; /* Reduce padding */
    }

    .container .login {
        padding: 10px; /* Reduce padding in login */
    }

    .container .login h2 {
        font-size: 1.5em; /* Smaller font size for headings */
    }
}
