header {
    background-image: url(../../images/docs/docs-banner.jpg)
}

#banner {
    color: #fff;
    text-align: center;
    padding: 80px 0;
    position: relative
}

#banner h1 {
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .2)
}

#banner p {
    color: #fff;
    font-size: 20px;
    opacity: .8
}

#searchbar {
    --input-height: 50px;
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: auto
}

#searchbar input {
    width: 100%;
    height: var(--input-height);
    border-radius: calc(var(--input-height) / 2);
    border: 0;
    padding: 0 50px 0 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    outline: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2)
}

#searchbar input.expanded {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

#searchbar i {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 14px;
    color: #000
}

#search-result {
    position: absolute;
    max-height: 220px;
    width: 100%;
    border-radius: 0 0 calc(var(--input-height) / 2) calc(var(--input-height) / 2);
    z-index: 1;
    overflow: auto;
    text-align: left;
    line-height: 2em;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .2);
    -ms-overflow-style: none;
    scrollbar-width: none
}

#search-result::-webkit-scrollbar {
    display: none
}

#search-result li {
    border-bottom: 1px solid #e8e8e8;
    padding: 0 20px;
    background: #fff
}

#search-result li::before {
    display: none
}

#search-result li:last-child {
    padding: 10px 20px;
    background: #1a1a1a;
    box-shadow: inset 0 7px 3px -5px rgba(0, 0, 0, .1);
    border-bottom: 0;
    font-weight: 700
}

#search-result li:last-child a {
    color: #fff
}
#topics {
    padding: 80px 0;
    width: 90%;
    margin: auto
}

#topics h2 {
    text-align: center;
    margin-bottom: 20px
}

#topics-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px
}

#topics .card {
    display: block;
    width: 300px;
    min-height: 250px;
    margin: 10px;
    padding: 40px 30px;
    text-align: center
}

#topics .card i {
    font-size: 40px
}

#topics .card h3 {
    margin: 20px 0
}

#forum-banner {
    max-width: 500px;
    padding: 40px;
    border: 1px solid var(--primary-color)
}

#forum-banner h2 {
    margin-bottom: 30px;
    text-align: center
}
