
@font-face {
    font-family: 'Touney';
    src: url('fonts/Tourney/static/Tourney-Regular.ttf') format('woff2');
    font-weight: normal;
    font-style: normal;
}

header {
    padding-bottom: 0;
}

main {
    margin: 0 auto;
    max-width: 780px;;
}


.titulo {
    text-align: center;
    font-family: 'Touney';
    /*text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);*/
}

.botao-sandwich {
    --pico-color: var(--pico-h1-color);
    color: red;
}

.area-logo-bugburn {
    /* perspective: 60%; /* Adiciona perspectiva para o efeito 3D */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.logo-rotativa {
    animation: girar-horizontal 5s linear infinite;
    transform-style: preserve-3d;
    width: 15%;
    max-width: 150px;
    justify-content: center;
}

@keyframes girar-horizontal {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

/* Trecho de código para nav bar 1 */
nav{
    margin: 27px auto 0;
    display: flex;
    position: relative;
    width: 490px;
    height: 50px;
    background-color: #34495e;
    border-radius: 8px;
    font-size: 0;
}

nav a{
    line-height: 50px;
    height: 100%;
    font-size: 15px;
    display: inline-block;
    position: relative;
    z-index: 1;
    text-decoration: none;
    text-align: center;
    color: white;
    cursor: pointer;
}

nav .animation {
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 0;
    transition: all 2s ease 0s;
    border-radius: 8px;
}

a:nth-child(1){
    width: 100px;
}

a:nth-child(2){
    width: 110px;
}

a:nth-child(3){
    width: 130px;
}

a:nth-child(4){
    width: 150px;
}

nav .start-home, a:nth-child(1):hover~.animation{
    width: 100px;
    left: 0; /*Esse valoar é o somatório dos elementos da esquerda*/
    background-color: #1abc9c;
}

nav .start-sobre, a:nth-child(2):hover~.animation{
    width: 110px;
    left: 100px; /*Esse valoar é o somatório dos elementos da esquerda*/
    background-color: #e74c3c;
}

nav .start-servicos, a:nth-child(3):hover~.animation{
    width: 130px;
    left: 210px; /*Esse valoar é o somatório dos elementos da esquerda*/
    background-color: #3498db;
}

nav .start-contato, a:nth-child(4):hover~.animation{
    width: 150px;
    left: 340px;
    background-color: #e74c3c;
}

/*estilo para botoes de ilumincação*/
.botoes-fixos {
    position: fixed;
    z-index: 15;
    right: 2rem;
    top: 1rem;
    display: block;
    unicode-bidi: isolate;
}

/*Simulação de terminal para página inicial*/
/* Estilo da janela que simula um terminal */
.terminal-window {
    max-width: 600px;
    margin: 10px auto;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', Courier, monospace;
  }

  /* Cabeçalho da janela (barra superior) */
  .terminal-header {
    background: #444;
    border-radius: 6px 6px 0 0;
    padding: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
  }

  /* Botões do cabeçalho (estilo macOS) */
  .terminal-header .btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
  }
  .terminal-header .btn.red {
    background: #ff5f56;
  }
  .terminal-header .btn.yellow {
    background: #ffbd2e;
  }
  .terminal-header .btn.green {
    background: #27c93f;
  }

  /* Corpo da janela (área do terminal) */
  .terminal-body {
    background: black;
    padding: 20px;
    color: white; /* Cor dourada */
    position: relative;
    border-radius: 0 0 6px 6px;
  }

  /* Efeito de digitação para o texto do terminal */
  .terminal-text {
    white-space: nowrap;
    overflow: hidden;
    width: 0;
  }

  .typing {
    display: inline-block;
    white-space: nowrap;
    width: 0;
  }








/*rodapé*/
footer {
    padding-left: 10px;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-right: 10px;
}
footer p {
    margin-bottom: 0;
}

/* Estilo padrão para o botão (desktop) */
.menu-toggle {
    display: none; /* Oculta o botão em telas maiores */
    color: var(--pico-color);
}

/* Esconde o menu por padrão em telas menores */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column; /* Define os links na vertical */
        position: absolute; /* Para posicionar o menu abaixo do botão */
        top: 60px; /* Ajuste conforme necessário */
        left: 0;
        right: 0;
        background-color: #34495e; /* Mesmo fundo do menu */
        border-radius: 8px;
        z-index: 10;
    }

    .nav-links a {
        margin: 5px 0;
        text-align: center;
        width: 100%;
    }

    /* Exibe apenas o botão */
    .menu-toggle {
        display: block;
        font-size: 24px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 11; /* Certifica-se de que está acima do menu */
        position: relative;
        margin: 10px;
    }

    /*botão de luz*/
    .search-and-account {
        top: .95rem;
    }
}
