/* ==========================
      Importação de Fonte
========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* ==========================
        Estilos Gerais
========================== */

html,
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: black;
    width: 100%;
    height: 7vh;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

.logo-header {
    display: flex;
    align-items: center;
}

.logo-header img {
    height: 50px;
    scale: 0.65;
}

nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    margin-left: 32vw;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-family: "Poppins", sans-serif;
    border-radius: 5px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    padding: 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #12d6c6;
}


/* =============================
 Estilizando o Submenu (Dropdown)
 ============================= */

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 10.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.menu-item:hover .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
    background-color: #000000;
}

.submenu li {
    display: block;
}

.submenu li a {
    display: block;
    width: 100%;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    border-radius: 3px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.submenu li a:hover {
    background-color: #44444480;
    padding-left: 20px;
}


/* ==========================
        Menu Mobile
========================== */

.a-mobile {
    display: none;
    font-family: "Poppins", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
}

.hamburguer {
    font-family: "Poppins", serif;
    font-optical-sizing: auto;
    font-size: 40px;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 4px;
    color: white;
    display: none;
}

.nav-mobile-1 {
    justify-content: space-between;
    align-items: center;
    height: 8vh;
    display: none;
    border: none;
    padding-top: 0px;
    list-style-type: none;
    margin: 0;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 32px;
    height: 3px;
    background-color: #ffffff;
    margin: 6px;
    transition: 0.3s;
}

.a-mobile-1 {
    display: none;
    font-family: "Poppins", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: rgb(95, 95, 95);
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
}


/* ==========================
      Estrutura de Notícias
========================== */

.all-noticies {
    width: 60%;
    padding: 0 20%;
    background-color: #dddd;
}

#main-screen {
    margin-top: 0;
}

#main-screen,
#main-screen2,
#main-screen3,
#main-screen4,
#main-screen5,
#main-screen6,
#main-screen7,
#main-screen8,
#main-screen9,
#main-screen10,
#main-screen11,
#main-screen12,
#main-screen13,
#main-screen14,
#main-screen15,
#main-screen16,
#main-screen17,
#main-screen18,
#main-screen19,
#main-screen20,
#main-screen21,
#main-screen22,
#main-screen23 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow: visible;
}

.news-banner {
    width: 100%;
    background-image: url('../assets/img/blog/ped.webp');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 5 / 2;
}

.news-banner2 {
    width: 100%;
    background-image: url('../assets/img/blog/podcast-reche.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 5 / 2;
}

.news-banner3 {
    width: 100%;
    background-image: url('../assets/img/home/Home02.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 5 / 2;
}

.news-banner4 {
    width: 100%;
    background-image: url('../assets/img/blog/entrevista-reche.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 5 / 2;
}

.news-banner5 {
    width: 100%;
    background-image: url('../assets/img/blog/grunner-etanol-video.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 5 / 2;
}

.news-banner6 {
    width: 100%;
    background-image: url('../assets/img/blog/ads-s.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 5 / 2;
}

.news-banner7 {
    width: 100%;
    background-image: url('../assets/img/blog/grunner-agrishow.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 5 / 2;
}


.news-banner8 {
    width: 100%;
    background-image: url('../assets/img/blog/grunner-lateral.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 4 / 2;
}

.news-banner9 {
    width: 100%;
    background-image: url('../assets/img/blog/asp-s.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    aspect-ratio: 5 / 2;
}


.news-article {
    padding: 0 5%;
    height: auto;
    background-color: #ffffff;
    width: 90%;
    margin: 0;
    position: relative;
    margin: 0.3rem 0;
    justify-content: center;
}

.news-banner {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 2rem;
}

.news-article h1,
.news-article h2 {
    font-family: "Poppins", sans-serif;
    color: #000000;
    margin-bottom: 1.5rem;
}

.news-article h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-top: 4rem;
}

.news-article h2 {
    font-size: 1em;
    font-weight: 500;
}

.news-article p {
    font-family: "Poppins", sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 1.5rem;
    max-width: 800px;
    text-align: justify;
    justify-self: center;
}

.link-noticias {
    text-decoration: none;
    color: #2542c6;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-noticias:hover {
    color: #13d5c2;
}


/* ==========================
            Footer
========================== */

.footer-copy {
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    background-color: #222;
    color: #fff;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-icons a {
    color: #ffffff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #23562e;
}


/* ==========================
    Responsividade Mobile
========================== */

@media (max-width: 900px) {
    .all-noticies {
        width: 95%;
        padding: 0 2.5%;
    }
    #main-screen,
    #main-screen2,
    #main-screen3 {
        height: auto;
    }
    .news-banner {
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100%;
        height: 30vh;
        aspect-ratio: 5 / 7;
    }
    .news-banner2 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner3 {
        background-size: cover;
        height: 50vh;
        background-image: url('../assets/img/home/Home11.webp');
    }
    .news-banner4 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner5 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner6 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner7 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner8 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner9 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner10 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner11 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner12 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner13 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner14 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner15 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner16 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner17 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner18 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner19 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner20 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner21 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner22 {
        background-size: cover;
        height: 30vh;
    }
    .news-banner23 {
        background-size: cover;
        height: 30vh;
    }
    .mobile-menu {
        display: block;
        padding: 10px;
    }
    .nav-list-mobile>li {
        margin-right: 0;
        opacity: 0;
        display: block;
        line-height: 1.2em;
    }
    .nav-list-mobile {
        position: absolute;
        top: 8vh;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: start;
        padding: 15px 25px;
        transform: translateX(100%);
        transition: transform 0.2s ease-in;
        overflow-y: auto;
        line-height: 1.2em;
    }
    ul {
        display: block;
    }
    .a-mobile {
        display: block;
        text-align: right;
    }
    .a-mobile-1 {
        display: block;
    }
    .hamburguer {
        display: block;
    }
    .main-mobile {
        display: block;
    }
    .mobile-menu div {
        display: block;
    }
    .nav-mobile-1 {
        display: flex;
    }
    .menu-item {
        display: none;
    }
    .submenu {
        display: none;
    }
    .cookie-consent {
        display: none;
    }
    .cookie-consent p {
        display: none;
    }
    .cookie-consent .btn {
        display: none;
    }
    .cookie-consent .btn:hover {
        display: none;
    }
    .navbar-desktop {
        display: none;
    }
    .logo-header {
        display: none;
    }
    .header-desktop {
        width: 100%;
        height: 8vh;
        padding: 0;
        margin: 0;
    }
    .imgformobile {
        display: block;
        max-width: 40vw;
        height: 7vh;
        padding-left: 10px;
        margin: 5px auto;
        transform: scale(0.8);
    }
    nav ul li a:hover {
        color: white;
    }
    .news-article {
        padding: 15px;
    }
    .news-article h1 {
        font-size: 1.8em;
    }
    .news-article p {
        font-size: 1em;
    }
}

.nav-list-mobile.active {
    transform: translateX(0);
    gap: 0;
    padding-right: 10px;
}

.has-submenu1 {
    position: relative;
}

.submenu1 {
    display: none;
}

.submenu1-active {
    display: block !important;
    text-align: right;
}

.submenu1-active li {
    margin: 0;
    padding: 0;
}

.submenu1 li {
    opacity: 1 !important;
    animation: none !important;
    margin: 0;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(0);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
}