*{
    margin:0;
    padding:0;
}

body{
    background:#f7f8fc;
}

.container{
    width:95%;
    margin:20px auto;
}
.container_1{
    width: 100%;
    background:#fff;
    padding: 20px;
}

/* Header */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

header h2{
    font-size:26px;
}

.login-btn{
    padding:12px 35px;
    border:none;
    border-radius:30px;
    background:#dce9ff;
    color:#2868d8;
    cursor:pointer;
    font-weight:bold;
}

/* Search */

.search-container{
    background:#fff;
    padding:20px;
    border-radius:15px;
    display:flex;
    gap:15px;
    align-items:center;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    margin-bottom:25px;
}

.search-box{
    flex:1;
    position:relative;
}

.search-box input{
    width:80%;
    height:50px;
    border:none;
    background:#f2f2f2;
    border-radius:10px;
    padding:0 45px 0 18px;
    outline:none;
    font-size:16px;
}

.search-box i{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    color:gray;
}

.search-btn{
    width:140px;
    height:50px;
    border:none;
    border-radius:10px;
    background:#6d19ff;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.search-btn:hover{
    background:#5710d8;
}

/* Cards */

.card-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.card{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card h3{
    font-size:18px;
    margin-bottom:15px;
}

.card p{
    margin-bottom:12px;
    color:#555;
}

/* Responsive */

@media(max-width:768px){

    .search-container{
        flex-direction:column;
        align-items:stretch;
    }

    .search-btn{
        width:100%;
    }

    header h2{
        font-size:22px;
    }
}