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

body {
   background-color: rgb(255, 255, 255);
   display: flex;
   flex-direction: column;
   font-family: Arial, sans-serif;
   line-height: 1.6;
   background-color: #fdf6e3;
}

.container-header {
   background-color: #e20614;
   height: 6rem;
   width: 100%;
   display: flex;
   gap: 0.33rem;
   align-items: center;
   justify-content: space-between;
   padding: 0 4rem;
   position: relative;
}


.container-headerimg {
   height: 75%;
   display: flex;
   flex-direction: row;
   align-items: center;
   width: 30%;
}

.container-headerimg img {
   max-height: 100%;
   max-width: 100%;
   margin-right: 0.5rem;
}


.divisor {
   background-color: rgb(255, 255, 255);
   height: 5rem;
   width: 0.2rem;
   margin: 0 300px;
}


.icon_menu {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   align-items: center;
   width: 35px;
   height: 24px;
   cursor: pointer;
   margin-right: 1rem;
}


.line1, .line2, .line3 {
   background-color: white;
   height: 4px;
   width: 100%;
   border-radius: 2px;
}

.menu-dropdown {
   display: none;
   background-color: #9a1915;
   position: absolute;
   top: 70px;
   right: 80px;
   width: 150px;
   border-radius: 8px;
   z-index: 10;
}

.menu-dropdown ul {
   list-style: none;
   padding: 20px;
   margin: 0;
   flex-direction: column;
}

.menu-dropdown ul li {
   margin: 0.1rem;
}

.menu-dropdown ul li a {
   text-decoration: none;
   color: rgb(255, 255, 255);
   font-size: 16px;
   display: block;
}

.menu-dropdown ul li a:hover {
   background-color: rgba(255, 255, 255, 0.356);
   padding: 9px;
   border-radius: 3px;
   margin-right: 4px;
}


.nav {
   width: 62%;
   display: flex;
   flex-direction: row;
   align-content: center;
   justify-content: center;
   align-items: center;
   gap: 5rem;
}


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

nav ul li {
   display: inline;
}

nav ul li a {
   text-decoration: none;
   color: white;
   font-size: 1.2rem;
}


.barra-icones {
   display: flex;
   background-color: #e30613;
   justify-content: center;
   width: 100%;
   margin-top: auto;
}

.icones {
   display: flex;
   justify-content: space-between;
   gap: 2rem;
   margin-left: 0.5rem;
}

.icones img {
   height: 30px;
   width: 30px;
}

.divisor-footer {
   background-color: rgb(255, 255, 255);
   height: 6rem;
   width: 0.2rem;
}


footer {
   display: flex;
   flex-direction: row;
   justify-content: space-around;
   align-items: center;
   gap: 1rem;
   width: 100%;
   height: 100%;
   background-color: #9a1915;
   color: white;
   flex-wrap: wrap;
   margin-top: auto;
}


.banner {
   width: 100%;
   height: 25rem;
   margin-top: 5px;
}


.conteudo {
   padding: 20px;
   margin-top: 5px;
   max-width: 1200px;
   margin-left: auto;
   margin-right: auto;
   background-color: white;
   border-radius: 8px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.title-text {
   font-size: larger;
   font-family: Georgia, 'Times New Roman', Times, serif;
}

.escrita {
   font-family: Georgia, 'Times New Roman', Times, serif;
   font-size: medium;
}

h1 {
   color: #e02d18;
   font-size: 2rem;
   margin-bottom: 20px;
}

h2 {
   color: #ffffff;
   font-size: 1.5rem;
   margin-top: 30px;
}

.conteudo1 {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   margin-top: 30px;
}

.materia {
   flex: 1 1 200px;
   padding: 10px;
   background-color: #f9f9f9;
   border: 1px solid #ddd;
   border-radius: 8px;
   text-align: center;
}

.materia h3 {
   color: #e02d18;
   font-size: 1.2rem;
   margin-bottom: 10px;
}

.materia p {
   color: #333;
   margin-bottom: 10px;
}

.materia img {
   max-width: 100%;
   height: auto;
   border-radius: 8px;
}

img {
   border-radius: 20px;
   margin-bottom: 2px;
   margin-top: 20px;
}


@media (max-width: 1200px) {
   .container-header {
       padding: 0 2rem;
   }

   .nav {
       width: 100%;
       flex-direction: column;
       gap: 2rem;
   }

   .container-headerimg {
       width: 40%;
   }

   .icon_menu {
       margin-right: 1rem;
   }

   .barra-icones {
       flex-direction: column;
   }

   .icones {
       gap: 2rem;
   }

   footer {
       flex-direction: column;
   }

   .conteudo {
       max-width: 100%;
       margin: 20px;
   }
}


@media (max-width: 768px) {
   .container-header {
       flex-direction: column;
       padding: 0 1rem;
       height: auto;
       align-items: flex-start;
   }

   .container-headerimg {
       width: 50%;
   }

   .nav {
       flex-direction: column;
       width: 100%;
       gap: 3rem;
   }

   .menu-dropdown {
       right: 10px;
   }

   .materia {
       flex: 1 1 100%;
   }

   footer {
       flex-direction: column;
       align-items: flex-start;
   }

   .barra-icones {
       flex-direction: column;
   }

   .icones {
       gap: 2rem;
   }

   .conteudo {
       padding: 15px;
   }

   .title-text {
       font-size: 1.5rem;
   }

   h1 {
       font-size: 1.8rem;
   }

   h2 {
       font-size: 1.3rem;
   }
}


@media (max-width: 480px) {
   .container-header {
       padding: 0 1rem;
       height: auto;
       flex-direction: column;
   }

   .container-headerimg {
       width: 60%;
   }

   .nav ul {
       gap: 2rem;
       flex-direction: column;
   }

   .menu-dropdown {
       right: 5px;
       width: 120px;
   }

   .materia {
       flex: 1 1 100%;
       padding: 5px;
   }

   footer {
       flex-direction: column;
       align-items: flex-start;
       gap: 1rem;
   }

   .barra-icones {
       flex-direction: column;
   }

   .icones {
       gap: 1rem;
   }

   .conteudo {
       padding: 10px;
   }

   .title-text {
       font-size: 1.2rem;
   }

   h1 {
       font-size: 1.6rem;
   }

   h2 {
       font-size: 1.1rem;
   }
}
