:root {
    --search-form-width: 642px !important;
    --search-form-height: 56px !important;
    --site-footer-height: 93px; /* default for mobile */
}

:root.light {
    --body-bg: #EEF2F6 !important;
}

body {
    width: 100%;
    overflow-x: visible;
    font-family: var(--main-font);
    background-image: url("https://cdn.search.brave.com/serp/v1/static/img/c6ef02326ee2296d2de506274bda8758c639fa42cf6dd2a619284a5660a80dd8-box-bg-lighter.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

.home__main {
    --vp: calc(100vh - var(--site-footer-height));
    height: max(var(--vp), 750px) !important;
    min-width: 0 !important;
    overflow: visible;
    /* to remove once site gets more content */
    position: relative;
}

#searchbar-home {
    width: 100%;
    display: grid;
    place-items: center;
    z-index: auto;
    padding-top: calc(40vh - 114px);
}

.searchform-container {
    --searchbox-pl: 0px !important;
    --search-icon-width: 46px !important;
    --search-total-gap: 0 !important;
    margin-left: 0;
    width: 100%;
    max-width: calc(var(--search-form-width) + 2rem);
    padding-left: 1rem;
    padding-right: 1rem;
}

#search-icon {
    opacity: 0.5 !important;
}

#search-icon.no-display {
    display: flex !important;
}

.container-80 {
    max-width: 1400px;
    margin: auto;
}

#logo {
    display: block;
    margin-bottom: 42px;
    align-items: center;
    text-align: center;
    outline: none;
    border: 0;
}

#logo:focus {
    border: 0px;
    box-shadow: none;
    outline: none;
}

#logo #name {
    font-size: 1.5rem;
    color: var(--color-gray);
}

.logo-img {
    height: 72px;
}

p {
    font-family: var(--main-font);
    color: #7E8790;
}

#error {
    text-align: center;
    padding: 0 1rem;
    color: var(--color-primary);
    max-width: 600px;
}

#error-line {
    color: var(--color-gray-3);
    font-family: var(--brand-font);
    font-size: 27px;
    margin-bottom: 5px;
    font-weight: 400;
    line-height: 39px;
}

#settings-wrapper {
    z-index: 10;
    position: absolute;
    top: 15px;
    right: 15px;
    max-width: 1400px;
    margin: auto;
}
#settings-wrapper #settings{
    position: relative;
}

.notice {
    position: sticky;
    width: 100%;
    text-align: center;
    top: 75vh;
    font-size: 13px;
    margin-bottom: 10px;
    padding: 0 22px;
    color: var(--color-gray-2);
}

.footer {
    display: flex;
    flex-direction: column;
    height: var(--site-footer-height);
    justify-content: center;
    align-items: center;
    align-content: center;
    border-top: solid 1px var(--bg-2);
    background-color: var(--bg-0);
    color: var(--color-primary);
    font-family: var(--brand-font);
}

.footer a,.footer a:visited {
    color: currentColor
}

.footer p {
    padding: 0;
    margin: 0
}

.footer .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer .v-divider {
    padding: 0 0.8rem;
}

.footer .v-divider:last-of-type {
    display: none;
}

.footer .links a:last-of-type {
    width: 100%;
    text-align: center;
}

.footer .copyright {
    margin-right: 10px
}

@media(min-width: 530px) {
    .footer .links {
        display: block;
    }

    .footer .links a {
        width: auto;
    }

    .footer .v-divider {
        display: inline !important;
    }
}

@media(min-width: 640px) {
    :root {
        --site-footer-height: 50px;
    }
}

@media(min-width: 740px) {
    .footer {
        flex-direction: row;
    }

    .footer .copyright {
        padding-right: 1rem;
    }
}

@media(min-height: 260px) {
    .notice {
        top: 85vh;
    }
}

@media(min-width: 860px) {
    .notice {
        top: 92vh;
    }
}