@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url(./header.css);

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

/* Definição de rotas padrão */

.root {
    --bg-color: #FFFF;
    --secondary-color: #E30613;
    --third-color: #a12720;
    /*Tipografia*/
    --font-text: "Montserrat", sans-serif;
  }

  .montserrat {
    font-family: var(--font-text);
    font-optical-sizing: auto;
}

body {
    font-family: var(--font-text); 
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    background-color: #f5f5f5;
}

  /* Corpo da notícia */
main {
    max-width: 1000px;
    margin: 0 auto; /* margem horizontal e vertical */
    padding: 2rem;
    text-align: justify;
}

.tips-news h2{
    font-size: 2rem;
    color: black;
    font-weight: bolder;
    margin-bottom: 0.5rem;
}

.intro {
    margin: 1rem 0;
    font-size: 1.2rem;
    color: #555;
}

.author {
    font-size: small;
    color: #555;
    margin-bottom: 1rem;
}

.tips-news h2{
    font-size: 2rem;
    color: black;
    font-weight: bolder;
    margin-bottom: 0.5rem;
}

.tips-news h3 {
    font-size: 1.6rem;
    margin-top: 1.6rem;
}

.tips-news img {
    margin-bottom: 1em;
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 1rem;
    margin: 1rem 0;
    color: #555;
    margin-bottom: 1rem;
}

.out {
    margin: 1rem 0;
    font-size: 1.2rem;
    color: #555;
}

/* Footer */

footer {
    background-color: #a12720; 
    padding: 0; 
    margin: 0; 
    text-align: center;
    color: white;
    font-family: "Montserrat", sans-serif;
    position: relative; 
  }
  
  .social-media-container {
    background-color: #D71920; 
    padding: 0.6rem; 
    border-radius: 0.3rem;
    margin-bottom: -0.3rem; 
  }
  
  .social-media {
    display: flex;
    justify-content: center;
    gap: 20px; 
    background-color: #D71920;
    padding: 10px;
    border-radius: 5px;
    width: calc(100% + 20px);
    margin: 0 -10px;     box-sizing: border-box; 
  }
  
  .social-icon {
    width: 50px; 
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .social-icon img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
  }
  .addresses {
    display: flex;
    justify-content: space-around;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; 
    padding: 20px 0; 
    background-color: #b61818;
  }
  
  .address {
    flex: 1;
    max-width: 300px; 
    text-align: center;
    padding: 0.6rem; 
  }
  
  .divider {
    width: 2px;
    height: 60px;
    background-color: white;
    margin-left: 0.6rem;
    margin-right: 0.6rem;
  }

  
@media (max-width: 768px) {
    footer .addresses {
        flex-direction: column;
        gap: 1rem;
    }
    
    .divider{
      rotate: 90deg;
    }
    
    .social-media {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
}