html {
    height: 100%;
    margin: 0 20px;
}

body {
    height: 100%;
    margin: 0;
}

.search {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search > .return {
    font-size: 1.375rem;
    position: absolute;
    top: 8%;
    left: 14%;
}

.search > .inner {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
}

.search > .inner > .header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 40px;
}

.search > .inner > .header > .title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.search > .inner > .header > .input_container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    border: 2px solid #9e9e9e;
}

.search > .inner > .header > .input_container > input {
    font-size: 1.2rem;
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 14px;
    padding-right: 8px;
    text-overflow: ellipsis;
    background-color: rgba(0, 0, 0, 0);
}

.search > .inner > .header > .input_container > .clear {
    display: none;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    fill: #444444;
    padding: 9px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
}

.search > .inner > .header > .input_container > .clear:hover {
    fill: #000000;
}

.search > .inner > .header > .input_container > .clear > .symbol {
    width: 24px;
    height: 24px;
    display: block;
}

.search > .inner > .content > .placeholder {
    display: flex;
    justify-content: center;
}

.search > .inner > .content > .placeholder > .frame {
    width: 60%;
    min-width: 320px;
    border: 1px solid #ddd;
}

.search > .inner > .content > .placeholder > .frame > .header {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.search > .inner > .content > .placeholder > .frame > .header > .badge {
    margin-right: 8px;
}

.search > .inner > .content > .placeholder > .frame > .header > .badge > svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: #505050;
}

.search > .inner > .content > .placeholder > .frame > .header > .url {
    color: #505050;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search > .inner > .content > .placeholder > .frame > img {
    width: 100%;
    display: block;
}

.search > .inner > .content > #results {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

.search > .inner > .content > #results li {
    margin: 20px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.search > .inner > .content > #results li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.search > .inner > .content > #results .title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.search > .inner > .content > #results a {
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.search > .inner > .content > #results a:hover {
    text-decoration: underline;
}

.search > .inner > .content > #results .snippet {
    color: #000000;
    line-height: 1.6;
    margin-bottom: 12px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.search > .inner > .content > #results .highlight {
    background-color: #ffeb3b;
}

.search > .inner > .content > #results .path > a {
    font-size: 0.875rem;
    color: #424242;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.search > .footer {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #606060;
    text-align: center;
    padding: 12px 0;
    margin-top: auto;
}

@media only screen and (max-width: 1600px) {
    .search > .return {
        left: 12%;
    }
}

@media only screen and (max-width: 1400px) {
    .search > .return {
        left: 10%;
    }
}

@media only screen and (max-width: 1280px) {
    .search > .return {
        left: 8%;
    }
}

@media only screen and (max-width: 1080px) {
    .search > .return {
        left: 4%;
    }
}

@media only screen and (max-width: 800px) {
    .search > .return {
        position: relative;
        text-align: center;
        margin-top: 20px;
        top: 0;
        left: 0;
    }

    .search > .inner {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 360px) {
    .search > .inner > .content > .placeholder > .frame {
        min-width: unset;
        width: 100%;
    }
}
