*{
    margin-top: 0%;
    padding: 0;
    box-sizing: border-box;

}

body{
    color: white;
    background-color: black;
    font-family: 'Times New Roman', Times, serif;
}

body h1{
    text-align: center;
}

.center{
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2%;
    flex-wrap: wrap;
}

.container {
    padding: 0px 50px;
    background-color: dodgerblue;
}

nav a:hover{
    color: black;
}

ul{
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    align-items: center;
    padding: 16px;
}

a{
    color: white;
    text-decoration: none;
}

.logo img{
    margin-top: 10px;
}

.wraper-header{
    padding: 30px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

.ad-image {
  width: 250px;
  margin-left: auto;   /* centraliza horizontalmente */
  margin-right: auto;
  position: relative;
}

.ad-image img {
  width: 150px;
  height: 150px;
  display: block;
  border-radius: 30%;
  margin-left: auto;
  margin-right: auto;
}



.logo img {
  width: 150px;
  height: auto;
  border-radius: 100%;
  margin-left: 30%;
}



.menu-main{
    width: 100%;
    background-color:dodgerblue;
    padding: 8px;
}


.menu-main a:hover{
    text-decoration: underline;
    
}

button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    color: white;
    background-color: #1a1a1a;
    border: 2px solid dodgerblue;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

button:hover {
    background-color: dodgerblue;
    color: black;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}




.noticias-wraper-1{
    display: flex;
    width: 100%;
}

.noticia-destaque{
    cursor: pointer;
    width: 60%;
    padding-top: 20%;
    background-color: #222;
    border: 2px solid white;
    position: relative;
}

.noticia-destaque-single{
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.noticia-destaque-single h3{
    padding: 10px;
    color: black;
}

.noticia-destaque a{
    color: white;
}



.outras-noticias-1{
    display: flex;
    width: 40%;
    flex-wrap: wrap;
}

.outras-noticias-2{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.outras-noticias-1-single{
    cursor: pointer;
    width: 50%;
    padding-top: 30%;
    background-size: cover;
    background-position: center;
    border: 2px solid white;
    background-color: #222;
    position: relative;
}


.outras-noticias-2-single{
    cursor: pointer;
    width: 25%;
    padding-top: 14%;
    background-size: cover;
    background-position: center;
    border: 2px solid white;
    background-color: #222;
    position: relative;
}

.outras-noticias-1-single h3{
    padding: 10px;
    color: white;
    width: 100%;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.6);
    
        
}

.outras-noticias-2-single h3{
    padding: 10px;
    color: white;
    width: 100%;
    height: 40px;
    background-color: rgb(0,0,0,0.6);
       
}


footer {
    display: flex;
    flex-direction: column; /* Organiza os itens verticalmente */
    align-items: center;     /* Centraliza os itens horizontalmente */
    justify-content: center;
    background-color: white;
    height: 250px;
    color: black;
}

footer img {
    width: 25px;
    height: 25px;
    display: block;
    margin-top: 100px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

footer a {
    text-align: center;
    color: black;
    text-decoration: none;
}

footer a:hover {
    color: fuchsia;
}

footer p {
    margin-top: 2px;
    margin-bottom: 2px;
    
}

footer .copyright {
    margin-top: 10px;
    font-family: 'Times New Roman', Times, serif;
    
}



/*------RESPONSIVIDADE------*/

@media (max-width: 768px) {
  .center {
    flex-direction: column;
    padding: 0 5%;
  }

  .wraper-header {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    width: 180px;
    height: 180px;
    margin-left: 0;
    margin-top: 50%;
  }

  .menu-main nav ul {
    flex-direction: column;
    align-items: center;
  }

  button {
    width: 90%;
    max-width: 300px;
    margin: 10px auto;
    font-size: 16px;
    padding: 14px 20px;
  }

  .noticias-wraper-1 {
    flex-direction: column;
  }

  .noticia-destaque,
  .outras-noticias-1 {
    width: 100%;
    padding-top: 60%; /* Menor proporção para celular */
  }

  .outras-noticias-1-single {
    width: 100%;
    padding-top: 50%;
  }
  
}
  

/* Tablets: 1 imagem por linha */


/* Responsividade para telas até 600px */
@media (max-width: 600px) {
  .ad-image {
    width: 250px;      /* reduz tamanho da imagem */
    margin-left: auto; /* mantém centralizado */
    margin-right: auto;
    border-radius: 0%;
  }
}

.iframe-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; /* ocupa a altura total da tela */
  padding: 1rem;
  box-sizing: border-box;
}

.responsive-iframe {
  width: 90vw;
  height: 80vh;
  max-width: 400px;
  max-height: 600px;
  border: none;
}

  




 
  





