/**
 * Theme Name:        Raizes
 * Theme URI:         https://
 * Description:       Tema para a plataforma do Instituto Raizes
 * Version:           1.0.0
 * Author:            Bárbara Tavares
 * Author URI:        https://github.com/b-tavares
 * Tags:              classic-theme
 * Text Domain:       hubesenfi
 * Domain Path:       /assets/lang
 * License:           GNU General Public License v2.0 or later
 */

/*General*/
@charset "UTF-8";

a,
ul,
li,
p {
    text-decoration: none;
    list-style-type: none;
    margin:0 !important;
}

/*Fonts*/
body {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

p, a, span, li {
    font-family: 'Poppins', sans-serif;
}

/*Header*/
#navbar {
    background-color: white;
}

.navbar-light .navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}
.navbar-nav li a {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    color: #000;;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    
}

.navbar-nav li a::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f48120;
    transition: width 0.3s ease;
}

.navbar-nav li a:hover {
    color: #f48120;
}

.navbar-nav li a:hover::before {
    width: 100%;
}

.navbar-nav .current-menu-item a,
.navbar-nav .current-page-item a {
    color: #f48120;
}

.navbar-nav .current-menu-item a::before,
.navbar-nav .current-page-item a::before {
    width: 100%;
}
#navbar {
    padding: 1rem;
    display: flex;
    justify-content: space-between !important;
}
ul#menu-header {
    display: flex;
    gap: 2rem;
    align-items: end;
}
img.custom-logo {
    max-height: 8vh;
    width: auto;
}

/*Hero*/
.hero {
    position: relative;
    overflow: hidden;
    height: 85vh;
}

.post-thumbnail {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100%; 
    position: absolute; 
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.65); 
}

.page-content {
    position: relative;
    z-index: 1; 
    padding: 4.5rem;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    color: white; 
    align-content: end;

}

.page-content h1 {
    font-size: clamp(3rem, 5vw, 5rem); 
    color: #faf3e0;
    font-weight: 700;
}

.page-content p {
    font-size: clamp(1rem, 2vw, 2rem);
    color: #faf3e0;
    font-weight: 400;
    line-height: 1.5;
    padding-right: clamp(1.5rem, 5vw, 10rem); 
}

/*Footer*/
#footer {
    background-color: #faf3e0;
}

.footer-top {
    min-height: 40vh;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 3rem 1rem 2rem 1rem;
}

.footer-logo img {
    height: 10vh;
    width: auto;
}

.contact-info i {
    color: #ffca05;
    margin: 0 5px 0 0;
}

.contact-info a,
.contact-info p {
    font-size: clamp(.8rem, 1vw, 1rem);
    font-weight: 300;
    color: black;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.contact-info a:hover {
    text-decoration: underline; 
    color: #f48120;
    text-decoration-color: #f48120;
}

.footer-nav a,
.footer-nav li {
    text-decoration: none;
    list-style: none; 
    line-height: 1.7rem;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    font-size: 1rem; 
    position: relative;
    transition: color 0.3s ease;
    margin: 8px 0; 
}

.footer-nav a::before {
    content: '';
    position: absolute;
    top: 100%; 
    left: 0;
    width: 0; 
    height: 2px; 
    background-color: #f48120;
    transition: width 0.3s ease; 
}

.footer-nav a:hover {
    color: #f48120;
}

.footer-nav a:hover::before {
    width: 100%; 
}

.footer-nav li:last-child {
    margin: 0;
}

.footer-nav a:hover {
    text-decoration: none;
}

.social-icons{
    display: flex;
}

.social-icons a {
    text-decoration: none;
    color: #f48120; 
    display: inline-block; 
    transition: transform 0.3s ease, color 0.3s ease; 
}

.social-icons a i {
    font-size: 2rem;
    transition: color 0.3s ease; 
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons a:hover i {
    color: #a5cd39;
    transition: color 0.3s ease;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    background-color: black;
    color: #faf3e0;
    position:relative;
    bottom: 0;
}
.footer-bottom p {
    font-size: 1rem;
}

.footer-bottom a {
    color: #faf3e0;
    text-decoration: underline !important;
}

.footer-bottom a:hover {
    color: #ffca05;
}

/*General Page*/
.general-page .content{
    padding: 2rem 0rem 2rem 0rem;
    background-color: white;
}

.thumbnail-page {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    max-height: 50vh;
    overflow: hidden;
}
.thumbnail-page img {
    width: 100%; 
    height: auto;
    max-width: 100%;
    display: block; 
}
.general-page .content h1,
.blog-posts .page-header h1{
    color: #a5cd39;
    font-weight: 600;
}

/*Single Post*/
.entry-footer {
    background-color: #a5cd39;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
}

.link-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 15px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.link-container p {
    margin: 0;
    font-size: 2rem;
    color: #000;
    font-weight: 300;
    padding-left: 20px;
}

.link-strong {
    font-weight: 600;
}

.link-container:hover {
    background-color: #fff;
}

.button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 50%;
    background-color: transparent;
    color: #000;
    font-size: 24px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.4s ease;
}

.button-link:hover {
    background-color: #000;
    color: #fff;
}

.button-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-ppage {
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 50%;
    padding: 12px;
    cursor: pointer;
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    outline: none;
}

.back-ppage:hover {
    background-color: #a5cd39;
    border-color: #a5cd39;
}

.button-icon i {
    font-size: 24px;
    transition: color 0.3s;
}

.link-container:hover .button-icon i {
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.back-ppage:hover .button-icon i {
    color: white;
    transform: translateX(-4px);
    transition: transform 0.6s ease;
}

.entry-header .entry-title {
    font-size: 24px;
    font-weight: bold;
    text-align: justify;
    margin-bottom: 10px;
}

.entry-meta {
    color: #f48120;
    font-weight: 800 !important;
    font-size: 14px;
}

.entry-content {
    display: flex;
    flex-direction: column;
    text-align: justify;
    margin-bottom: 20px;
}

.entry-title a {
    color: #000;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #f48120;
}

.entry-title a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f48120;
    transition: width 0.3s ease;
}

.entry-title a:hover::after {
    width: 100%;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #a5cd39;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #a5cd39;
    border-radius: 30px;
}

.read-more:hover {
    background-color: #a5cd39;
    color: #fff;
}

.read-more .button-icon {
    margin-left: 10px;
}

.read-more .button-icon i {
    font-size: 20px;
    transition: transform 0.3s;
}

.read-more:hover .button-icon i {
    transform: translateX(5px);
}

.entry-foot {
    display: flex;
    justify-content: flex-end;
}

.blog-post {
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination .page-numbers {
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 50%;
    transition: color 0.3s;
}

.pagination .page-numbers:hover {
    color: #f48120;
}

.pagination .current {
    color: #f48120;
}

.pagination .prev, .pagination .next {
    font-weight: bold;
    text-decoration: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 50%;
    margin: 0 5px;
    transition: color 0.3s;
}

.pagination .prev:hover, .pagination .next:hover {
    color: #f48120;
}
