:root {
    --gradiente: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Google Sans", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header - Apresentação */
header {
    background: var(--gradiente);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

header p {
    font-size: 18px;
    margin-bottom: 20px;
}

.menu {
  display: none;
  background-color: transparent;
  transition: transform 0.3s ease, opacity ease;
}

.menu.active .menuOpen {
  display: none !important;
}

.menu.active .menuClose {
  display: block !important;
}

@media (max-width: 768px){
  .menu {
    display: flex;
  }
  
  .navMenu {
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0px;
  }
  
  .navMenu.active {
    max-height: 300px;
  }
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

/* Navegação */
nav {
    background:#2c3e50;
    padding: 15px 20px;
    position: sticky;
    top: 0;
}
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav button[data-lang] {
    background: transparent;
    border: none;
    color: white;
    font-size: 10px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border-radius: 5px;
    font-weight: bold;
    font-family: "Google Sans", sans-serif;

    
}

nav button[data-lang]:hover {
    background: rgba(255,255,255, 0.2);
    transform: scale(1.1);
}

.sobre-conteudo {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 30px;
    font-size: 16px;
    border-left: 5px solid #667eea;
}



/* Container com Grid */
.projetos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.projeto {
    display: flex;
    gap: 30px;
    align-items: stretch;
    background: #f4f4f4;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    width: 100%;
    box-sizing: border-box;
}

.projeto-screenshot {
    flex: 0 0 40%;
}

.projeto-screenshot img {
    border-radius: 8px;
    max-width: 100%;
}

.projeto-informacoes {
    flex: 1;
}

.projeto h3 {
    color: #667eea;
    margin-bottom: 10px;
}

.projeto a {
    color: #667eea;
    font-weight: bold;
    transition: color 0.3s;
}

.projeto a:hover:not(.btn-projeto){
    color: #764ba2;
}

ol, ul {
    margin-left: 20px;
    padding-left: 20px;
}

/* Botão do Projeto */
.projeto .btn-projeto {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.projeto .btn-projeto:hover {
    background: #764ba2;
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    .projetos-container {
        grid-template-columns: 1fr;
    }
    
    #projetos h2 {
        font-size: 28px;
    }
}

.icon-godot {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.icon-vscode {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

#contato a{
    color: #667eea;
    font-weight: bold;
    transition: color 0.3s;
}
#contato a:hover{
    color: #764ba2;
}

#FormularioContato label{
    display: block;
    color: #8987a2;
}

#FormularioContato button{
    border: none;
    color: white;
    background: #667eea;
    transition: background 0.3s;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    padding: 12px;
}

#FormularioContato button:hover {
    background: #764ba2;
}

#FormularioContato input, #FormularioContato textarea{
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    font-size: 1em;
    border: 1px solid #cccccc;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #3498db;
    margin: 0 10px;
}

.build-info{
    font-size: 12px;
    margin-top: 10px;
}

.build-info a{
    color: #667eea;
    font-weight: bold;
    transition: color 0.3s;

}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    header h1 {
        font-size: 32px;
    }
    
    nav a {
        display: block;
        margin: 10px 0;
    }
    
    section {
        padding: 40px 15px;
    }

    .projeto {
        flex-direction: column;
        gap: 15px;
    }

    .projeto-informacoes {
        flex: 1;
    }

    .projeto-screenshot img{
        width: 100%;
        max-width: 300px;
    }

    .projeto-screenshot{
        min-width: unset;
        flex: 0 0 auto;
        width: 100%;
    }
}

 .botao_repositorio{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;

    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.botao_repositorio:hover {
    background: #555;
}

.botao_repositorio img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}