body {

  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;
}

@font-face {
  font-family:'Roboto';
  src: url('Roboto-Italic-VariableFont_wdth,wght.ttf') format('opentype');
}

@font-face {
  font-family:'Ubuntu';
  src: url('Ubuntu-Regular.ttf') format('opentype');

}


.container {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  grid-template-rows: 50px 150px 150px 150px 150px 250px 313px 300px;
  width: 100%;           /* Ocupa 100% em telas menores que Full HD */
    max-width: 1920px;     /* TRAVA: Não passa de Full HD */
    margin: 0 auto;
  

}

 #menu-lateral,#logo {
        display: none;
    }

.imagem-0 {
  object-fit: cover;
}

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #457d58;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-size: 16px;
  display: flex;
  align-items: center;
  width: 100%;           /* Ocupa 100% em telas menores que Full HD */
    max-width: 1920px;     /* TRAVA: Não passa de Full HD */
    margin: 0 auto;
}


.menu a {
  display: inline-block;
  padding: 17px 20px;
  text-decoration: none;
  color: #ffffff;
  position: relative;
  /* Importante para posicionar o pseudo-elemento */
}


.menu a:hover,
.menu a.active {
  padding: 17px 20px;
  text-decoration: none;
}


.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
}



.logo-dnf {
  margin-right: auto;
}

.imagem-0 {
  height: auto;
}






.titulo-quemsomos {
  grid-column: 1/5;
  grid-row: 2;
  color: #000000;
  margin-left: 40px;
  font-size: 45px;
  font-family: Helvetica, sans-serif;
}



.titulo-quemsomos::after {
  content: "";
  display: block;
  height: 8px;
  margin-left: 1%;
  width: 330%;
  border-radius: 3px;
  background: linear-gradient(90deg, #87a295 0%, #ffffff 100%);
  margin-top: 0;
  position: relative;
  top: -60px;
}



.texto-quemsomos {
  grid-column: 1/10;
  grid-row: 2/5;
  font-size: 26px;
  margin-top: 8%;
  margin-right: 10%;
  margin-left: 15%;
  text-align: justify;
  line-height: 1.5;
  color: #000000;
}

.nome-dnf{
  font-size: 28px;
}



.fundo-2 {
  background-color: #457d58;
  grid-column: 1/14;
  grid-row: 6/9;
}


.fundo-imagem {
  grid-column: 1/10;
  grid-row: 6/8;
}

.imagem-2{
  width: 150%;
  height: auto;
}

.color_balss {
  grid-column: 9/13;
  grid-row: 2/6;
}


.imagem-3 {
  width: 80%;
  height: auto;
  object-fit: cover;
  margin-top: 50px;
  margin-left: 130px;
}




  @media screen and (max-width: 1200px) {

  body {
    overflow-x: hidden;
  }

.container {
  grid-template-columns: repeat(13, 1fr);
  grid-template-rows: 50px 150px 150px 150px 150px 150px 100px 200px;
}
.logo-dnf {
  margin-right: auto;
}

.imagem-0 {
  height: auto;
}


.texto-quemsomos {
  grid-column: 2/12;
  grid-row: 2/7;
  font-size: 19px;
  margin-top: 8%;
  margin-left:5%;
  text-align: justify;
  line-height: 1.5;
  color: #000000;
}

.nome-dnf{
  font-size: 28px;
}

.color_balss {
  grid-column: 5/8;
  grid-row: 3/5;
}


.imagem-3 {
  width: 130%;
  height: 100%;
  object-fit: cover;
  margin-left: 14px;
  margin-top: 45%;
}

.fundo-imagem {
  grid-column: 3/5;
  grid-row: 6/8;
}

.imagem-2 {
  width: 400%;
  height: 140%;
  object-fit: cover;
  margin-top: auto;
}
  }


  
@media (max-width: 500px){
 body {
    overflow-x: hidden;
  }

.container {
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: 50px 150px 150px 150px 150px 150px 100px ;
}
   #menu-lateral,#logo {
        display: block;
    }



 :root {
            --menu-bg-color: #457d58;
            --text-color: #f0f0f0; /* Cor clara para ícones e texto */
        }

        /* --- Estilos Gerais (Opcional) --- */
     
        /* Cabeçalho Fixo */
        #main-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 60px;
            display: flex;
            justify-content: space-between; 
            align-items: center;
            padding: 0 20px;
            background-color: var(--menu-bg-color); 
            box-shadow: 0 2px 4px rgba(0,0,0,0.4);
            z-index: 1002;
            box-sizing: border-box;
        }

        /* --- Estilização do Logo (Ajustado para IMG) --- */
        #logo img {
            height: 50px; /* Define a altura da imagem */
            width: auto; /* Mantém a proporção */
            display: block;
            object-fit: cover;
        }

        /* --- Ícone Hambúrguer --- */
        #hamburguer-icon {
            position: relative;
            width: 30px;
            height: 25px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .bar {
            width: 100%;
            height: 4px;
            background-color: var(--text-color); 
            transition: 0.3s;
            border-radius: 2px;
        }

        /* --- Menu Lateral (A Telinha) --- */
        #menu-lateral {
            position: fixed;
            top: 0;
            right: 0;
            width: 250px; 
            height: 100%;
            background-color: var(--menu-bg-color); 
            padding-top: 60px; 
            box-shadow: -2px 0 5px rgba(0,0,0,0.7);
            z-index: 1000;
            
            transform: translateX(100%);
            transition: transform 0.4s ease-in-out;
        }

        #menu-lateral ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        /* Estilos dos Links dentro do Menu Lateral */
        #menu-lateral li a {
            display: block;
            padding: 15px 20px;
            text-decoration: none;
            color: var(--text-color); 
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        #menu-lateral li a:hover {
            background-color: #4b8067; 
        }

        /* --- Classes para Abrir/Fechar --- */
        .menu-aberto {
            transform: translateX(0) !important;
        }

        /* --- Animação do Ícone (Transforma em um 'X') --- */
        .hamburguer-aberto #bar1 {
            transform: translateY(10.5px) rotate(45deg);
        }

        .hamburguer-aberto #bar2 {
            opacity: 0;
        }

        .hamburguer-aberto #bar3 {
            transform: translateY(-10.5px) rotate(-45deg);
        }
.menu{
  display: none;
}


.texto-quemsomos {
  grid-column: 2/14;
  grid-row: 2/7;
  font-size: 14px;
  margin-top: 8%;
  margin-left:5%;
  text-align: justify;
  line-height: 1.5;
  color: #000000;
  
}

.nome-dnf{
  font-size: 28px;
}

.color_balss {
  grid-column: 4/12;
  grid-row: 4;
}


.imagem-3 {
  width: 100%;
  height: auto;
  margin-top: 0;
  object-fit: cover;
  
}

.fundo-2 {
  background-color: #457d58;
  grid-column: 1/15;
  grid-row: 6/9;
}

.fundo-imagem {
  grid-column: 1/11;
  grid-row: 6/9;
}

.imagem-2 {
  width: 140%;
  height: auto;
  object-fit: cover;
  margin-top: auto;
}
  }
