@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background-color:#041237;
    min-height:100vh;
    padding:30px 20px;
    
}

.container{
    max-width:1200px;
    margin:auto;
}

h1{
    text-align:center;
    font-size:2.8rem;
    margin-bottom:10px;
    font-weight:600;
}

.subtitle{
    text-align:center;
    color:#9db4ff;
    margin-bottom:35px;
}

.form-box{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,0.1);

    border-radius:25px;
    padding:25px;

    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:15px;

    margin-bottom:30px;
}

.form-box input,
.form-box select{
    padding:14px;
    border:none;
    border-radius:14px;
    background:#0e235f;
    color:white;
    font-size:15px;
    outline:none;
}

.form-box input::placeholder{
    color:#b9c6ff;
}

.form-box button{
    background:linear-gradient(
    135deg,
    #4f7cff,
    #6b8dff
    );

    border:none;
    color:white;
    font-weight:600;

    border-radius:14px;
    cursor:pointer;

    transition:.3s;
}

.form-box button:hover{
    transform:translateY(-3px);
}

.content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,0.1);

    border-radius:25px;
    padding:25px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.2);
}

.card h2{
    margin-bottom:20px;
    font-size:1.3rem;
}

ul{
    list-style:none;
}

li{
    background:#0f2463;

    border-left:5px solid #4f7cff;

    padding:15px;
    border-radius:14px;

    margin-bottom:15px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    transition:.3s;
}

li:hover{
    transform:translateX(5px);
}

.delete-btn{
    background:#ff5757;
    color:white;

    border:none;
    border-radius:10px;

    padding:10px 15px;

    cursor:pointer;
}

.delete-btn:hover{
    opacity:.85;
}

@media(max-width:900px){

    .content{
        grid-template-columns:1fr;
    }

}

@media(max-width:600px){

    h1{
        font-size:2rem;
    }

    .form-box{
        grid-template-columns:1fr;
    }

}
