/*
Theme Name: Meu Tema Túlio
Theme URI: https://tulioft.devbonne.com
Author: Caio Cesar
Author URI: https://tuliofit.devbonne.com
Description: Meu tema personalizado para o site do Túlio.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tulio-tema
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
body {
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}
/* header */
.header_nav {
  display: flex; /* Usamos flexbox para alinhar */
  flex-direction: column;
  align-items: center; /* Centraliza a imagem e o menu */
  text-align: center;
  padding: 1rem;
}
.img-header {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid bisque;
}
.header_ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  & a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease; 
    position: relative;
    padding: 10px;
  }
}

.header_ul a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff0303;
    transition: width 0.3s ease;
}
.header_ul a:hover {
    color: var(--accent-color);
}
header h1 {
  font-size: 2.125rem;
  letter-spacing: 2px;
}

@media (max-width: 720px) {
    .site-header {
        width: 100%;
        max-width: 700px;
    }
    .header_nav {
        flex-direction: column;
        justify-content: center;
        align-items: center; 
        gap: 16px;
    }

    .img-header {
        width: 100px;
        height: 100px;
    }

    .header_ul {
        width: 100%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Cria 2 colunas de largura igual */
        gap: 1rem; /* Espaço entre os links */
        justify-content: center;
        text-align: center;
    }
}
