body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', 'Barlow', 'Helvetica Neue' !important;
    scroll-behavior: smooth !important;
}

p {
    font-size: 16px;
}


/* navbbar */
.navb {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.7) 75%,
        rgba(0, 0, 0, 0.7) 90%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1000;
    padding: 10px 0;
}

.navb.black-bg {
    background: black;
}

.navb.scrolled {
    background: black;
    padding: 10px 0 5px 0;
    transition: background 0.5s ease-in-out, padding 0.5s ease-in-out, height 0.5s ease-in-out;
}

.navb-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.navb-logo img {
    height: 80px;
    transition: height 0.5s ease-in-out;
}

.navb.scrolled .navb-logo img {
    height: 50px;
}

.navb-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    text-transform: uppercase;
}

.navb-menu ul {
    padding: 0;
}


.navb-menu li {
    margin: 0 15px;
    position: relative;
}

.navb-menu li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.navb-menu li a {
    background-image: linear-gradient(
        to right,
        #ff0000 ,
        #ff0000  50%,
        #FFF 50%
    );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
}

.navb-menu li a:before {
    content: '';
    background: #ff0000;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

.navb-menu li a:hover {
    background-position: 0;
}

.navb-menu li a:hover::before {
    width: 100%;
}

.navb-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 100%;
    background-color: #FFF;
}

.navb-toggle {
    display: none; /* Hide the toggle button by default */
    background: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.navb-toggle:focus {
  outline: none !important;
}

/* Dropdown Menu */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Position the dropdown below the navbar */
    left: 0;
    min-width: 152px;
    z-index: 1;
    text-align: center; /* Center the text */
    height: auto; /* remove fixed height */
    background-color: black;
}

.dropdown-content li {
    padding: 8px 0; /* mais espaçamento para melhor toque */
    text-decoration: none;
    display: block;
    background-color: black;
    border-bottom: 1px solid #222; /* separação visual */
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content li a {
    color: white;
    display: block; /* Ensure the links are block elements */
    font-size: 13px;
}

.dropdown-content li a:hover {
    background-color: #54b3d6;
}

@media (max-width: 1000px) {
    .navb-menu {
        display: none;
    }

    .navb-toggle {
        display: block;
    }

    .navb-toggle.active + .navb-menu {
        display: flex;
        flex-direction: column;
        background: #000;
        padding: 10px 0;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        align-items: center; /* CENTRAR O CONTEÚDO */
        text-align: center;  /* CENTRAR O TEXTO */
    }

    .navb-container {
        padding: 5px 20px 5px 20px;
    }

    .navb-menu.active .dropdown-content {
        display: block !important;
        position: relative;
        width: 100%;
        box-shadow: none;
        margin: 0;
        padding-left: 0;  /* remover padding que pode desalinha */
        background-color: #000;
        height: auto;
        text-align: center; /* CENTRAR O TEXTO */
    }

    .navb-menu li {
        margin: 7px 0px;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .dropdown-content li {
        border-bottom: 0px solid #222;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center; /* CENTRAR OS LINKS */
        padding: 0px;
        height: 20px;
    }

    .dropdown-content li:last-child {
        border-bottom: none;
    }

    .dropdown-content li a {
        font-size: 16px;
        padding-left: 0;
        text-align: center; /* CENTRAR TEXTO */
        width: 100%;
        display: inline-block;
    }
}

/* end of navbbar */


/* body */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 28px; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.5s ease-in-out;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container while maintaining its aspect ratio */
    z-index: -1;
}

.content {
    background-color: rgba(255, 255, 255, 0.8); /* 80% transparent white */
    padding: 10px 25px;
    width: 60%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.widget-wrap {
    display: flex;
    align-items: center;
}

.widget-title{
    text-align: left;
    font-size: 2em;
    font-weight: bold;
}

.textwidget p {
    font-size: 16px;
}

.text-cont {
    margin-right: 20px;
    
}

.image-intro-container {
    text-align: right;
}

.responsive-intro-image {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .content {
        margin-top: 150px;
    }

    .section {
        min-height: 150vh;
    }

    .widget {
        text-align: center;
    }

    .widget-title {
        text-align: center;
    }

    .widget-wrap {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .image-intro-container {
        order: -1;
        text-align: center;
    }

    .responsive-intro-image {
        max-width: 40%;
        height: auto;
    }
}

@media (max-height: 1536px) {
    .section {
        min-height: 100vh;
    }
}

@media (max-height: 1024px) {
    .section {
        min-height: 120vh;
    }
}


@media (max-width: 768px) {
    .section {
        min-height: 130vh;
    }
    
    .content {
        width: 90%; /* Increase width for better readability */
        padding: 10px 20px; /* Adjust padding */
        background-color: rgba(255, 255, 255, 0.8);
    }

    .widget-title {
        font-size: 1.5em; /* Adjust font size for widget titles */
    }

    .textwidget p {
        font-size: 1em; /* Adjust font size for text paragraphs */
    }

    .responsive-intro-image {
        max-width: 40%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .content {
        width: 95%; /* Increase width further for smaller screens */
        padding: 15px 25px; /* Adjust padding */
        margin: 50px 10px 10px 10px;
    }

    .widget-title {
        font-size: 1.3em; /* Further adjust font size for widget titles */
    }

    .textwidget p {
        font-size: 1.2em; /* Further adjust font size for text paragraphs */
    }

    .responsive-intro-image {
        max-width: 50%;
        height: auto;
    }

    .section {
        min-height: 135vh;
    }
}

.content-section {
    background-color: #EEE;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.here {
    position: relative;
    cursor: grab;
    color: #ff0000;
    text-decoration: none;
}

.here:hover {
    text-decoration: none !important;
    color: red;
}

h1 {
    font-size: 3em;
    margin: 0;
}

.button {
    background-color: transparent;
    border: 2px solid black;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: black;
    color: white;
}

.btn-danger:hover {
    background-color: black !important;
    color: white !important;
    border-color: black !important;
}

.flag-image {
    width:20px;
    height:auto;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 5px;
}

.text-bilingual {
    position: relative;
}

.body-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 80%;
    background-color: #000;
}

/* end of body */

/* Default iframe styles (for larger screens) */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile screen adjustments */
@media (max-width: 767px) {
    .video-container {
      padding-bottom: 75%; /* Adjusted aspect ratio for mobile */
    }
}

/* footer */
.footer {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White font color */
    text-align: center; /* Center align text */
    height: 60px; /* Fixed height */
    display: flex;
    align-items: center; /* Vertically center the content */
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensure space between left and right content */
    margin: 0 auto; /* Center the footer content */
    padding-left: 165px;
    width: 100%; /* Ensure it takes full width */
}

.footer-left,
.footer-right {
    flex: 1;
    align-items: center;
}

.footer-left p,
.footer-right p
 {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove any padding */
}

@media (max-width: 768px) {
    .footer {
        height: auto; /* Allow auto height */
        padding: 10px 0; /* Add padding */
    }

    .footer-content {
        flex-direction: column; /* Stack items vertically */
        padding-left: 0; /* Remove left padding */
    }

    .footer-left,
    .footer-right {
        flex: none; /* Remove flex property */
        margin-bottom: 10px; /* Add bottom margin */
    }

    .footer-right {
        margin-bottom: 0; /* Remove bottom margin for the last item */
    }

    .footer p {
        font-size: 0.9em; /* Reduce font size */
    }
}

@media (max-width: 480px) {
    .footer {
        text-align: center; /* Ensure text is centered */
    }

    .footer-content {
        padding-left: 0; /* Ensure no left padding */
    }

    .footer p {
        font-size: 0.8em; /* Further reduce font size */
    }
}
/* End of footer */


/* About page */
.container-custom {
    width: 60%;
    margin: 0 auto;
}

.about-section {
    text-align: center;
}

.about-section h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.group-photo {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 20px;
}

.text-justify {
    text-align: justify;
}

.about-content p {
    font-size: 1em;
    line-height: 1.6;
}

.about-content a {
    color: #d91e18;
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

.container-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-group {
    width: 100%;
    max-width: 900px; /* Adjust as needed */
    margin-bottom: 15px;
}

.book-section {
    padding: 20px 0;
    background-color: #ffffff;
}

.book-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 2%;

}

@media (max-width: 480px) {
    .container-custom {
        width: 90%; 
    }
}

.contact-text .pt, 
.contact-text .slash, 
.contact-text .es {
  display: inline;
}

/* Style for smaller screens */
@media (max-width: 600px) {
  .contact-text .pt, 
  .contact-text .slash, 
  .contact-text .es {
    display: block;
    text-align: center;
    font-size: 0.9em;
  }
  
  .contact-text .slash {
    display: none;
  }
}

/* End of About */


/* WORKERS */
.title {
    text-align: left;
    font-size: 2.5em;
    font-weight: bold;
    width: 60%;
    margin: 40px auto 20px auto;
}

@media (max-width: 768px) {
    .title {
        text-align: center;
        font-size: 2em;
        width: 80%; /* Increase the width for better readability */
    }
    
    .sub-tit {
        text-align: center;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5em;
        width: 90%;
    }
}

.custom-container {
    max-width: 60%;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .custom-container {
        max-width: 80%; 
    }
}

.img-block {
    position: relative;
    height: 100%;
    margin-bottom: 30px;
}

.img-block img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-block {
    text-align: center;
    margin-top: 10px;
}

.here-link {
    color: #ff0000;
    text-decoration: none;
}

.here-link:hover {
    color: #000;
    text-decoration: none;
}

@media (max-width: 768px) {

    .custom-container {
        flex: 0 0 100%;
        margin: 0 auto;
    }

    .img-block {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* End of WORKERS */


/* Editions */
.sub-tit {
    color: #000;
    width: 60%;
    margin: -20px auto 30px auto;
    font-weight: 600;
}

.sub-title {
    color: #ff0000;
    font-size: 1.5em;
    font-weight: bold;
}

.day {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 25px;
}

.program {
    width: 60%;
    margin: 0 auto; /* Centers the container */
}

@media (max-width: 480px) {
    .program {
        width: 80%;
    }
}

.program-container {
    width: 100%;
}

.text-start li {
    list-style-type: square;
}

.text-start ul {
    padding: 20px;
}

.responsive-img {
  max-width: 100%;
  height: auto;
}


/* Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    grid-gap: 10px; /* space between grid items */
    width: 100%;
}

.grid-item {
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    height: 200px; /* Set a fixed height for all grid items */
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the entire grid item without stretching */
    display: block;
    margin: 0 auto;
}

.grid-link {
    text-decoration: none;
}

@media (max-width: 768px) {
    .grid-item {
        height: 150px; /* Further reduced height for small screens */
    }
}

@media (max-width: 480px) {
    .grid-item {
        height: 120px; /* Further reduced height for extra small screens */
    }
}
/* End of Editions */


/* BLOG */
.content-wrapper {
    max-width: 80%;
    margin: 0 auto;
}

.content-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 40px;
}

.text-container {
    flex: 1;
    padding-right: 20px;
}

.image-container {
    flex: 1;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.blog-line {
    height: 0.5px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.article-title {
    color: #ff0000;
}

.article-meta {
    font-size: 16px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
}

.article-line {
    height: 0.5px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .content-wrapper {
        max-width: 90%;
    }

    .content-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-container {
        padding-right: 0;
        padding-bottom: 20px;
    }

    .image-container {
        width: 100%;
    }

    .article-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .blog-line {
        margin-bottom: 30px;
    }

    .text-container p {
      text-align: justify;
      text-justify: inter-word;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        max-width: 95%;
    }

    .article-title {
        font-size: 1.5em;
    }

    .text-container {
        padding-bottom: 10px;
    }
}
/* End of BLOG */