@import url('https://fonts.googleapis.com/css2?family=Patua+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: auto !important;
}

body {
font-family: "Noto Serif", serif;
font-weight: 400;
font-style: normal;
background-color: #f8f9fa;
min-height: 100vh;
display: flex;
flex-direction: column;
}

.h1, h1 {
font-size: 1.75rem;
color: #2c3e50;
}

.h2, h2 {
font-size: 1.5rem;
}

.h3, h3 {
font-size: 1.25rem;
}

.h4, h4 {
font-size: 1.15rem;
}

a {
color: #600;
text-decoration: none;
}

a:hover {
color:#600;
text-decoration: underline;
}

a:focus {
color:#600;
text-decoration: none;
}


b, strong {
    font-weight: 600;
}

.clear {
    clear: both;
}

.mt-5 { margin-top: 3rem !important; }

.navbar-brand {
font-family: "Patua One", serif;
font-weight: 400;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.navbar-slogan {
    font-size: 0.95rem;
    color: #ffffff;
    margin-top: 10px;
    font-weight: 400;
    text-transform: none;
}

.navbar {
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, #900 0%, #650707 100%);
}

.search-box {
    max-width: 500px;
    margin: 0 auto;
}

.search-form {
    max-width: 500px;
    margin: 0 auto;
}
.search-input {
    /*border-radius: 30px 0 0 30px !important;*/
    border: 1px solid #ced4da;
}
.search-btn {
    /*border-radius: 0 30px 30px 0 !important;*/
}

.sugestoes-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
}

.sugestoes-box .sugestao-item {
    display: block;
    padding: 8px 12px;
    color: #4819d2;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.sugestoes-box .sugestao-item:hover {
    background: #f8f9fa;
    font-weight: 500;
}

.form-control:focus {
    border-color: #ffd3d3;
    box-shadow: none;
}

/* No Mobile */
@media (min-width: 575.98px) {
    .search-form {
        margin-top: 0px;
    }
    .navbar-slogan {
        font-size: 0.95rem;
    }
}

.mark-link {
    background-color: #fbfbfb;
    color: #900;
    padding: 0.25em 0.65em;
    border-radius: 6px;
    margin: 0 0.35em 0.35em 0;
    display: inline-block;
    font-weight: 400;
    font-size: 1rem;
    border: 1px solid #ddd;
}
.mark-link a {
    color: #600;
    text-decoration: none;
}
.mark-link a:hover {
    color: #600;
    text-decoration: underline;
}

.mark-no-link {
    background-color: #fbfbfb;
    padding: 0.25em 0.65em;
    border-radius: 6px;
    margin: 0 0.35em 0.35em 0;
    display: inline-block;
    /* font-weight: 500; */
    color: #292929;
    font-size: 1rem;
    border: 1px solid #ddd;
}


.word-list a {
    text-decoration: none;
    margin: 0 !important;
    color: #495057;
    font-weight: 500;
}
.word-list a:hover {
    color: #600;
}
.word-item {
    background: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.2s;
    
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.word-item:hover {
    background: #fff5f5;
    border-color: #900;
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.word-alfa {
    background: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.2s;
    
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}
.word-alfa:hover {
    background: #f5fffa;
    border-color: #198754;
    /*transform: translateY(-2px);*/
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.not-found { color: #673ab7; }

.letter-link { text-decoration: none; font-weight: 600; color: #495057; }
.letter-link.active { color: #115535; }
.word-link { color: #495057; text-decoration: none; }
.word-link:hover { color: #115535; }


.anto-card {
/*border-left: 4px solid #0d6efd;*/
margin-bottom: 1.5rem;
}
.anto-list {
list-style: none;
padding: 0;
font-size: 1.15rem;
}
.anto-list li {
display: inline;
}
.anto-list li::after {
content: ", ";
}
.anto-list li:last-child::after {
content: "";
}


/*PAG*/

.page-link {
    color: #900;
    font-size: .75rem;
    font-weight: 700;
}

.page-link:hover {
    color: #600;
}

.active>.page-link, .page-link.active {
    background-color: #198754;
    border-color: #500;
}


footer {
}

.footer {
    margin-top: 0rem;
    color: #212529 !important;
    text-align: left;
    background-color: #f3f3f3 !important;
    padding: 2rem 0;
    font-size: .9rem;
}
.footer a {color: #900;transition: color 0.2s;}
.footer a:hover {color: #900;text-decoration: underline;}
.footer h5 {/* color: #fff; *//* font-weight: 600; */font-size: .9rem;}
.footer hr {
border-top-color: #a7a7a7;
}
.nav-link {
}

#scrollup {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    z-index: 1000;
    border: none;
    border-radius: .25rem;
    background: #b5b5b5;
    color: #fff;
    font-size: 30px;
    text-align: center;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    outline: none
}

#scrollup:hover {
    background: #600;
}

.a2a_svg {
    height: 24px !important;
    line-height: 24px !important;
    width: 24px !important;
}
/****/

main {
    min-height: 50vh;
}

#sidebar {
    margin-top: 0px;
    position: sticky;
    top: 20px;
    font-size: .85rem;
}

@media (max-width: 768px) {
    #sidebar {
        margin: 0 !important;
        margin-top: 40px !important;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 960px;
    }
}