*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#fafafa;

    color:#222;

    font-family:
        Inter,
        Arial,
        sans-serif;

}

.container{

    max-width:900px;

    margin:auto;

    padding:50px 20px;

}

header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 54px;
    font-weight: 700;
}

.logo span {
    vertical-align: middle;
}

.subtitle {
    margin-top: 12px;
    color: #666;
    font-size: 18px;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px;
    font-size: 18px;
    background: none;
}

.search-box button {
    width: 70px;
    border: none;
    cursor: pointer;
    font-size: 22px;
    background: #3b82f6;
    color: white;
    transition: .2s;
}

.search-box button:hover {
    background: #2563eb;
}

#loading {
    display: none;
    margin: 25px 0;
    color: #666;
    text-align: center;
}

#results {
    margin-top:30px;
}

.result {
    background: white;
    padding: 20px;
    margin-bottom: 18px;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
    transition: .2s;
}

.result:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.result h3 {

    margin-bottom: 10px;

}

.result h3 a {

    color: #2563eb;

    text-decoration: none;

}

.result h3 a:hover{

    text-decoration: underline;

}

.result p {
    line-height: 1.6;
    color: #444;
}

.result small {
    display: block;
    margin-top: 10px;
    color: #888;
    word-break: break-all;
}

footer {
    margin-top: 50px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

footer a {
    color: #777;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media(max-width:700px) {
    .logo {
        font-size: 42px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
        height: 55px;
    }
}