/* CSS Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #edebe9;
    --bg-tertiary: #d2d0ce;

    --text-1: #000000;
    --text-2: #3c3c4399;
    --text-3: #3c3c434c;
    --text-4: #3c3c4c2d;

    --accent-1: #fa0000;
    --accent-2: #c60006;
    --accent-3: #900006;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #121212;
        --bg-secondary: #242424;
        --bg-tertiary: #363636;

        --text-1: #ffffff;
        --text-2: #ebebf599;
        --text-3: #ebebf54c;
        --text-4: #ebebf528;

        --accent-1: #ff5762;
        --accent-2: #ff858d;
        --accent-3: #ff9ea5;
    }
}
@keyframes blinds {
    from {
        max-height: 0;
    } to {
        max-height: 100vh;
    }
}
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    } to {
        transform: translateX(0);
    }
}
/* body */
* {
    box-sizing: border-box;
}
html {
    font-size: 1rem;
}
body {
    background: var(--accent-1);
    color: var(--text-1);
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
::placeholder {
    color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
}
h1, h2 {
    font-weight: 700;
}
h3, h4 {
    font-weight: 600;
}
h5, h6 {
    font-weight: 500;
}
b {
    color: var(--accent-3);
}
hr {
    border-top: 1px solid #37474f;
    margin-top: 20px;
    max-width: 100%;
    width: 400px;
}
a {
    color: var(--accent-3);
}
a:hover {
    color: var(--accent-2);
}

/* Header com o sitemap e busca */
.header-bar {
    background: var(--accent-1);
    color: var(--bg-primary);
    padding: 8px 10%;
    z-index: 99;
}
.header-bar .fa-map::before {
    margin-right: 1ch;
}
.header-bar a {
    align-items: center;
    color: var(--bg-primary);
    display: inline-flex;
    height: 100%;
    vertical-align: middle;
}
.header__search {
    align-items: center;
    background: var(--accent-2);
    color: var(--bg-secondary);
    border-radius: 1.5rem;
    display: flex;
    float: right;
    height: 1.5rem;
    max-width: 200px;
    padding: 0 .75rem;
    width: 50%;
}
.header__search:focus-within {
    background: var(--accent-3);
}
.header__search input[type=search] {
    background-color: transparent;
    border-radius: 0;
    outline: none;
    width: 100%;
    font-size: 1rem;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    line-height: normal;
    border: none;
    height: 1rem;
    margin: 0;
}
.header-bar input[type=search]:focus {
    border-bottom: none;
}
.header-bar label {
    font-size: 1em;
    color: var(--bg-tertiary);
}
.header-bar form .material-icons {
    font-size: 1em;
}

/* Navegação */
nav {
    line-height: initial;
}
nav ul li a {
    color: inherit;
}
nav ul a:hover {
    background-color: unset;
}
.navbar {
    align-items: stretch;
    background: var(--bg-primary);
    box-shadow: none;
    color: var(--accent-2);
    display: flex;
    flex-direction: row;
    height: auto;
    justify-content: space-between;
    min-height: 6vh;
    padding: 0 10%;
    position: sticky;
    top: 0;
    z-index: 999;
}
.navbar__logo {
    align-items: center;
    color: #fff;
    display: inline-flex;
    height: 6vh;
    margin: auto 0;
    padding: 0.2rem;
}
.navbar__logo img {
    height: 100%;
}
.navbar__logo img:hover {
    transform: rotate(360deg);
}
.navbar__links-desktop {
    align-items: stretch;
    display: flex;
    float: right;
    list-style-type: none;
    margin: 0;
}
.navbar__links-desktop a {
    align-items: center;
    display: flex;
    padding: 1ch;
    height: 100%;
}
.navbar__links-desktop a:hover {
    background: var(--bg-secondary);
}
.dropdown {
    position: relative;
}
.dropdown:hover .dropdown__hidden, .dropdown__hidden:hover {
    display: flex;
}
.dropdown:active .dropdown__hidden {
    display: flex;
}
.dropdown__hidden {
    align-items: stretch;
    animation: blinds 1s ease-out;
    background: var(--bg-secondary);
    border-radius: 0 1em 1em 1em;
    color: var(--text-2);
    position: absolute;
    display: none;
    flex-direction: column;
    min-width: 16ch;
    overflow: hidden;
    width: auto;
    z-index: 999;
}
.dropdown__hidden a {
    display: block;
    float: left;
    line-height: initial;
    padding: 1rem;
}
.dropdown__hidden a:hover {
    background: var(--accent-1);
    color: var(--bg-primary);
}
.navbar .dropdown-button{
    align-items: center;
    display: flex;
}
.navbar .fas {
    height: auto;
    line-height: inherit;
    margin-left: 10%;
    vertical-align: middle;
}
nav .dropdown-content li {
    color: unset;
}
nav .dropdown-content a {
    color: unset;
}
#hamburger-button {
    align-items: center;
    color: var(--accent-1);
    display: none;
    text-align: center;
}
#hamburger-button svg {
    width: 1.5rem;
    height: 1.5rem;
}
#close-menu {
    align-self: flex-end;
    cursor: pointer;
    display: none;
    padding: 2ch;
}

main {
    background: var(--bg-primary);
}

/* ==========================================================================
    Footer
   ========================================================================== */
.footer {
    background-color: #363636;
    color: #fff;
}
.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 20px 10%;
}
.footer .img-footer {
    display: block;
    max-width: 200px;
    margin: 0 auto;
}
.footer .pet {
    font-size: 1.2rem;
    font-style: normal;
    font-weight: bold;
}
.footer a {
    color: #fff;
}
.footer a:hover {
    text-decoration: underline;
}
.footer .footer__social-icons {
    display: flex;
    flex-direction: row;
    margin: 1rem auto;
}
.social-icons .social-icons__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 0.5rem;
    padding: 0;
    border: 2px solid white;

    border-radius: 999px;
    color: white;
    font-size: 1.2rem;
    line-height: calc(2.5rem - 4px);
    text-align: center;
}
.social-icons .social-icons__icon:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    text-decoration: none;
}
.footer .footer__logos {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.footer .footer__logos a {
    flex-grow: 1;
    max-height: 5rem;
    margin: 1rem;
    width: 100%;
}
.footer .footer__logos img {
    display: block;
    margin: 0 auto;
    max-height: 5rem;
    max-width: 100%;
}
.footer .footer__copyright {
    overflow: hidden;
    min-height: 2.4rem;
    padding: .7rem 10%;
    color: #cccccc;
    background-color: #242424;
    font-size: 1rem;
}
.footer .footer__creditos {
    float: right;
}
@media only screen and (max-width: 960px){
    .navbar__links-desktop {
        align-items: stretch;
        animation: slideInLeft ease-in 0.3s;
        background: var(--bg-primary);
        color: var(--text-1);
        display: none;
        flex-direction: column;
        height: 100vh;
        justify-content: flex-start;
        left: 0;
        padding: 0;
        position: fixed;
        top: 0;
        transition: transform ease-out 0.3s;
        width: 100vw;
        z-index: 999;
    }
    .navbar__links-desktop a {
        height: unset;
        margin: 0 5%;
    }
    .navbar .dropdown__hidden {
        position: relative;
        width: 100%;
    }
    .navbar {
        padding: 0 1rem;
    }
    #hamburger-button {
        display: flex;
    }
    #close-menu {
        display: block;
    }
}

@media (prefers-color-scheme: dark) {
    hr {
        border-color: #ececec;
    }
    b {
        color: #FF6666;
    }
    .heading {
        color: white;
    }
    .breadcrumb:last-child {
        color: white;
    }
}