:root {
    --color-standard-top: #000;
    --color-standard-bottom: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:#ececec;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: white;
}

/* Responsividade geral */
header,
nav,
main,
footer {
    width: 100%;
    margin: 0 auto;
}

header {

    width: 100%;
    background: linear-gradient(90deg,  #ecc440, #fffa8a, #ddac17,#ffff95);
    background-size: 300% 100%;
    animation: changeColor 10s ease infinite;
    position: relative;
    overflow: hidden;
}



@keyframes changeColor {
    0% {
        background-position: 100% 0;
    }

    50% {
        background-position: 0% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

@keyframes glowing {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 0.8;
    }
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: rgb(0, 0, 0);
    z-index: 1;
}

.logo {
    width: 40px;
    height: 40px;
}


.submenu li {
    padding: 10px 20px;
}


/* Menu visível para desktop */
.menu {
    display: flex;
    list-style: none;
}

.topnav {
    overflow: hidden;

}

.topnav a {
    float: left;
    display: block;
    color: #000000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {

    color: rgb(255, 255, 255);
}

.topnav a.active {

    color: rgb(0, 0, 0);
}

.topnav a.active:hover {

    color: rgb(255, 255, 255);
}

.topnav .icon {
    display: none;
}




.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #333;
    padding: 10px 0;
    color: white;

}

.marquee {
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.title-photos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: space-around;
    margin-top: 40px;
}

.title {
    color: rgb(0, 0, 0);
    text-align: center;
    margin-bottom: 20px;

}

/* Carrossel */
.carousel-container {
    width: 100%;
    max-width: 700px;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.carousel img {
    width: 100%;
    display: none;
}

.carousel img.active {
    display: block;
}

.gradient-separator {
    border: 0;
    height: 2px;
    background: linear-gradient(to right,#ecc440, #fffa8a, #ddac17,#ffff95);
    margin: 30px 100px;
}


.dbv-news {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 40px;
}

/* Estilizando a seção de notícias */
.news {
    display: flex;
    flex-direction: row;
    padding: 20px;
    border-radius: 8px;
    /* Borda arredondada */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra para destacar a seção */
    margin-bottom: 20px;
    /* Espaço entre as seções */
    align-items: flex-start;
    margin: 0 100px;
}

/* Estilizando a imagem das notícias */
.imgnew {
    margin-right: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra na imagem */
}

/* Estilo para o conteúdo textual */
.txtnews {
    max-width: 800px;
}

.txtnews h1 {
    font-size: 2rem;
    color: #000000;
    /* Cor escura para o título */
    margin-bottom: 15px;
    font-weight: bold;
}

.txtnews p {
    font-size: 1rem;
    color: #e8c400;
    line-height: 1.6;
    margin-bottom: 15px;
}

.txtnews h2 {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
    color: #000000;
    border-bottom: 2px solid transparent;
    padding: 5px 0;
    transition: border-bottom 0.3s ease;
}

.txtnews h2:hover {
    border-bottom: 2px solid #000000;
}

.txtnews .arrow {
    font-size: 1rem;
    margin-left: 10px;
    color: #000000;
    /* Cor da seta */
}


.txtnews .content {
    display: none;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.txtnews .active+.content {
    display: block;
}

.txtnews .content.active {
    background-color: #f1f1f1;
}


/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-info p,
.footer-links a {
    margin: 5px 0;
    font-size: 14px;
}


/* CSS pagina "Desbravadores" */


.nav-dbvpg {

    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center; 
}


.menu-dbvpg {
    display: flex;
    gap: 20px;
}

.menu-dbvpg a {
    color: #fff; /* Cor do texto */
    text-decoration: none; 
    font-size: 1.2em; 
}    

.menu-dbvpg a:hover {
    color: black;
}

.dbvpg section {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
    color: white;
}

/* Títulos das seções */
.dbvpg section h2 {
    font-size: 2em;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Imagem */
.dbvpg .imgnew {
    float: left;
    margin-right: 20px;
    border-radius: 8px;
}

/* Footer */
.dbvpg footer {
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.atv{
    display: flex;
    flex-direction: column;
    background-color: #201863;
    width: 50%;
    justify-content: space-around;
    & h1{
        text-align: center;
    }
    & h2{
        text-align: center;
    }
}

/* Layout Responsivo */
@media (max-width: 768px) {
    .dbvpg .imgnew {
        float: none;
        display: block;
        margin: 0 auto;
    }

    .dbvpg section {
        padding: 10px;
    }

    #contact-form {
        margin: 50px;
    }
}


/* Responsividade */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
    }

    .title img {
        width: 300px;
    }

    .carousel-container {
        max-width: 100%;
    }

    section .txtnews {
        margin: 10px;
    }

    .hamburger {
        display: flex;
    }

    .menu {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .menu.active {
        display: flex;

    }

    .menu li {
        padding: 15px;
        border-bottom: 1px solid #fff;
    }

    .menu li a {
        color: white;
    }

}

@media (max-width: 480px) {
    .menu>li {
        padding: 10px;
    }

    .title h1,
    .title h2 {
        font-size: 1.2em;
    }

    .footer-info p {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;

    }
}

@media screen and (max-width: 768px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: -15px;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .news {
        flex-direction: column;
        margin: 0;
    }

    .imgnew {
        margin: 0 auto 20px;
        /* Centralizando a imagem no mobile */
        display: block;
    }

}