@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", Helvetica, sans-serif;
}
*::-webkit-scrollbar {
    width: 5px;
}
*::-webkit-scrollbar-track {
    background-color: #b8b8b8;
}
*::-webkit-scrollbar-thumb {
    background-color: #e71d24;
    border-radius: 6px;
}
*::-webkit-scrollbar-thumb:hover {
    background-color: #7a1014;
}
body {
    background: #fff;
    font-family: "Inter", Helvetica, sans-serif;
}
header {
    position: fixed;
    display: flex;
    top: 0;
    width: 100%;
    align-items: center;
}
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  background-color: white !important;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 9999s ease-in-out 0s;
}
a {
    text-decoration: none;
}
.navigation {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 10px;
    gap: 10px;
}
.nav-menu {
    height: 35px;
    padding: 5px;
    width: 35px;
}
.img_icon {
    width: 35px;
    height: 35px;
}
.container {
    width: 100%;
    max-width: 600px;
    min-height: 100vh;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.container-search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin: 10px;
}
.logo-brand {
    display: flex;
    align-items: center;
}
.img_logo {
    width: 270px;
    height: 100%;
}
#search-results::-webkit-scrollbar {
    display: none;
}
.search-form {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 25px;
    border: 1px solid #f0f0f4;
    box-shadow: -2px 4px 4px rgb(0 0 0 / 4%);
    border-radius: .8rem;
    transition: all 0.2s ease;
}
.search-form:hover {
    background: #fff;
    box-shadow: 0px 3px 10px 0px rgb(31 31 31 / 8%);
}
.search-form input {
    font-size: 1rem;
    width: 100%;
    height: 60px;
    background: transparent;
    outline: none;
    border: none;
    color: #1f1f1f;
}
.search-form button {
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.search-icon {
    display: inline-block;
    height: 20px;
    width: 20px;
    color: #9aa0a6;
    fill: currentColor;
    transition: all 0.2s ease;
}
.search-form button:hover svg {
    color: #707070;
}
.row-button button {
    background-color: #fff;
    border: 1px solid rgb(233 67 53 / 60%);
    color: #e94335;
    margin: 11px 4px;
    padding: 0 16px;
    height: 36px;
    min-width: 55px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.2s ease;
}
.row-button button:hover {
    background-color: rgb(233 67 53 / 5%);
    border: 1px solid #e94335;
    color: #e94335;
}
.text-cta {
    background: linear-gradient(93deg, #fff -15.29%, #fff 56.25%, #ffe0e0 123.9%);
    display: flex;
    border-radius: .8rem;
    border: 1px solid #f1efff;
    margin: .6rem auto;
    padding: .6rem 1rem;
    font-size: 13px;
    color: #76767A;
}
.text-cta-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.text-cta-bold {
    font-weight: 600;
    color: #e94335;
}
#footer {
    width: 100%;
    display: flex;
    background: #fbfbfb;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
}
.listfooter {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: .6rem 0;
    border-bottom: 1px solid #f0f0f4;
    font-size: 12px;
    color: #76767A;
}
.menu-footer {
    color: #76767A;
}
.menu-footer:hover {
    text-decoration: underline;
}
.group_footer {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
}

/* Styles for search results */

#header-search {
    background: #fff;
    position: sticky;
    height: 60px;
    padding: 1.2rem 1.5rem;
    z-index: 99;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, .04), 0px 1px 4px 0px rgb(0 0 0 / 8%);
}
.header-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    gap: .8rem;
}
.header-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}
#header-search .img_logo {
    width: 150px;
    height: auto;
}
.header-content form {
    width: calc(715px + 0px);
    height: 40px;
    box-shadow: none;
    border-radius: .6rem;
}
.header-content .search-form input {
    height: 40px;
}
.container-result {
    display: flex;
    max-width: min(100%, 1500px);
    width: 100%;
    min-height: 75vh;
    padding: 15px 170px 35px 200px;
}
.main-column {
    max-width: 700px;
    position: relative;
    width: 100%;
    padding: 1.5rem;
}
.main-result {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.snippet {
    position: relative;
    width: 100%;
}
.link-result {
    display: block;
    font-size: 0.9rem;
    line-height: 1.3rem;
    width: 85%;
}
.site-wrapper {
    display: flex;
    align-items: center;
    gap: .6rem;
}
.favicon-wrapper {
    background: #f3f3f3;
    border-radius: .4rem;
    height: 30px;
    width: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.favicon-img {
    display: block;
    width: 20px;
    height: 20px;
}
.url-wrapper {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    width: 100%;
    position: relative;
}
.url-brand {
    color: #46464A;
    font-size: 14px;
}
.url-link {
    color: #76767A;
    font-size: 13px;
    line-height: 1.5;
}
.url-title {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.7;
    color: #a10d00;
}
.snippet a:hover .url-title {
    text-decoration: underline;
}
.area-detail {
    width: 85%;
    display: flex;
    gap: 8px;
}
.url-desc-star {
    color: #5e5e5e;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 5px;
}
.url-desc {
    color: #46464A;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.snippet-img {
    position: absolute;
    right: 0;
    bottom: 0;
    background: none;
    width: 100%;
    height: 90px;
    max-width: 90px;
    display: flex;
    border-radius: .4rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.thumbnail {
    display: flex;
    width: 90px;
    height: 90px;
}
.side-result {
    min-width: 410px;
    max-width: 410px;
    padding: 1.5rem;
    overflow: hidden;
    order: 0;
}
.content-side {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}
.side-brand {
    display: flex;
    gap: 15px;
    align-items: center;
}
.side-brand-img {
    display: block;
    width: 45px;
    height: 45px;
}
.side-brand-name {
    font-size: 22px;
    font-weight: 500;
    word-break: break-word;
}
.side-image {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 300px;
    border-radius: 16px;
    background: #ffe8e8;
    align-items: center;
    justify-content: center;
}
.side-image img {
    width: 100%;
}
.side-desc {
    border-radius: 16px;
    padding: 13px;
    color: #1f1f1f;
    background: #ffe8e8;
    line-height: 18px;
}
.side-link {
    position: relative;
    padding: 10px 0;
}
.side-link a {
    display: block;
    background-color: #fff;
    border: 1px solid rgb(233 67 53 / 60%);
    padding: 10px 20px;
    border-radius: 50px;
    color: #e94335;
}
.side-link a:hover {
    background-color: rgb(233 67 53 / 5%);
    border: 1px solid #e94335;
}
.side-table {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #f28e86;
    border-bottom: 1px solid #f28e86;
}
.side-list a {
    color: #a10d00;
    cursor: pointer;
}
.side-list a:hover {
    text-decoration: underline;
}
.side-rating {
    align-items: center;
    width: 100%;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #f28e86;
}
.side-rating-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 16px;
}
.side-rating-percent {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}
.side-rating-star {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}
.rating {
    color: #fbbc04;
    clip-path: polygon(6px 0, 4.31px 3.98px, 0 4.34px, 3.28px 7.18px, 2.29px 11.4px, 6px 9.16px, 9.71px 11.4px, 8.72px 7.18px, 12px 4.34px, 7.69px 3.98px, 6px 0, 20px 0, 18.31px 3.98px, 14px 4.34px, 17.28px 7.18px, 16.29px 11.4px, 20px 9.16px, 23.71px 11.4px, 22.72px 7.18px, 26px 4.34px, 21.69px 3.98px, 20px 0, 34px 0, 32.31px 3.98px, 28px 4.34px, 31.28px 7.18px, 30.29px 11.4px, 34px 9.16px, 37.71px 11.4px, 36.72px 7.18px, 40px 4.34px, 35.69px 3.98px, 34px 0, 48px 0, 46.31px 3.98px, 42px 4.34px, 45.28px 7.18px, 44.29px 11.4px, 48px 9.16px, 51.71px 11.4px, 50.72px 7.18px, 54px 4.34px, 49.69px 3.98px, 48px 0, 62px 0, 60.31px 3.98px, 56px 4.34px, 59.28px 7.18px, 58.29px 11.4px, 62px 9.16px, 65.71px 11.4px, 64.72px 7.18px, 68px 4.34px, 63.69px 3.98px, 62px 0);
    display: inline-block;
    width: 70px;
    height: 13px;
}
.noresult {
    display: flex;
    align-items: center;
}
.no-img {
    color: #474747;
    display: flex;
    font-size: 14px;
    line-height: 20px;
    align-items: flex-start;
    flex-direction: row;
}
.icon-no-img {
    height: 35px;
    line-height: 35px;
    width: 35px;
    border-radius: 8px;
    margin-right: 10px;
    background-color: #ffc1c1;
    color: #d30000;
    fill: currentColor;
    display: inline-block;
    position: relative;
    padding: 8px;
}
.icon-no-img svg {
    display: block;
    height: 100%;
    width: 100%;
}
.no-title {
    line-height: 1.5;
}
.no-result-text {
    color: #ea4335;
    font-size: 15px;
}
.no-result {
    color: #a40d00;
    font-size: 17px;
    font-weight: 600;
}
.pagination {
    width: 100%;
    margin-top: 30px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.pagination a {
    background-color: #fff;
    border: 1px solid rgb(233 67 53 / 60%);
    color: #e94335;
    margin: 0 15px;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}
@media screen and (max-width: 768px) {
    #header-search {
        height: 95px;
        padding: 0 .5rem;
    }
    .header-content {
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
        position: relative;
        gap: .5rem;
        align-items: baseline;
    }
    .header-content form {
        width: 100%;
        padding: 0 10px;
        max-width: inherit;
    }
    .header-wrapper .navigation {
        display: flex;
        position: absolute;
        top: 6px;
        right: 3px;
        padding: 0 5px;
        gap: 5px;
    }
    .header-wrapper .logo-brand {
        display: flex;
        padding: 0;
    }
    .container-result {
        padding: 0 1rem;
    }
    .main-column {
        padding: 1rem 0;
    }
    .snippet {
        display: block;
    }
    .link-result, .area-detail { 
        width: 100%;
    }
    .snippet-img {
        position: relative;
        display: inline-table;
        height: 60px;
        max-width: 60px;
    }
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    .side-result {
        display: none;
    }
    .pagination {
        font-size: 13px;
    }
    .pagination a {
        font-size: 13px;
        padding: 7px 12px;
        margin: 0 10px;
        border-radius: 5px;
    }
}

/* Styles for page results */

#header-page {
    background: #fff;
    position: sticky;
    height: 60px;
    padding: 1.2rem 1.5rem;
    z-index: 99;
    border-bottom: 1px solid #f0f0f4;
}
#header-page .img_logo {
    width: 135px;
    display: flex;
}
.separator-brand {
    background: #ff0000;
    display: block;
    width: 1px;
    height: 30px;
}
.page-title-name {
    line-height: 1;
}
.page-title-name a {
    color: #76767a;
    display: flex;
    align-items: center;
    line-height: 1.5;
}
.page-title-name a svg {
    width: 20px;
    height: 20px;
    color: #76767a;
    fill: currentColor;
    margin-right: 7px;
}
.page-title-name a:hover {
    text-decoration: underline;
}
.container-result.page {
    min-height: 100%;
    height: 100%;
}
.main-page-header {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.main-page-body {
    color: #1B1B1F;
    line-height: 1.5;
}
.main-page-body p {
    margin: 0 0 24px;
}
.main-page-body h2 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3rem;
    margin-bottom: .5em;
}
.main-page-body ul {
    margin: 0 0 24px 20px;
}
.footer-page {
    background: #fff;
    border-top: 1px solid #f0f0f4;
    color: #1b1b1f;
    padding: 15px 170px 35px 200px;
}
.content-footer-page {
    max-width: 700px;
    position: relative;
    width: 100%;
    padding: 1.5rem;
}
.block-footer h6 {
    color: #46464a;
    font-size: 14px;
    margin-bottom: 10px;
}
.flex-footer {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-size: 12px;
}
@media screen and (max-width: 768px) {
    #header-page {
        padding: 0 .5rem;
    }
    #header-page .header-content {
        flex-direction: row;
        align-items: center;
    }
    #header-page .img_logo {
        width: 120px;
    }
    .footer-page {
        padding: 0 .5rem;
    }
}

/* Styles for 404 */

.error404 .img_logo {
    width: 300px;
}
.error404 .error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.error h1 {
    font-size: 3rem;
    color: #9d0c00;
}
.error h3 {
    font-size: 16px;
    font-weight: 500;
    color: #e94335;
}
.error404 .row-button a {
    border-radius: 33px;
    background: #e94335;
    color: #FFF;
    padding: 10px 30px;
    height: auto;
    margin: 11px 0;
    border: 1px solid rgb(233 67 53 / 60%);
    font-size: 15px;
    transition: all 0.2s ease;
}