/* 
OBS: Use semântica quando possível

Escreva aqui as modificações de cada versão do css 

V1: Nessa versão foi Criada o header, o nav e o main, também foi colocado a imagem de fundo no body

V1.1:Reajustei a centralização do main além de aumentar a altura para que ficasse melhor para colocar o contéudo, também foi criado um quadro de section para colocar os botões do nav, usei um margin-top para poder criar um espaçamento entre cada um dos quadros, usei o footer para fazer um local para colocar 2 sections para usar como botões para trafegar entre paginas alem de aplicar a imagem de fundo, também dentro do main e dos outros quadros com exeção dos sections, complementei os sections colocando um hover em cada e colocando um transition para que o hover tivesse um animação mais suave

V1.3.5:Reajuste da velocidade do aumento de tamanho no botões do section, adição da propriedade pra quando ficar responsoivo manter tamanho igual

V1.6:ajuste de molde para parecer com o index 

V1.9:colocação de fonte a adição de uma espaço para um resumo sobre o que e a página projetos, ajuste para os botões subir e descer a página com transição suave, adição da logo e do site e da fonte que sera usada em toda a página

deixar responsivo
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: as;
    src: local('../fontes/Asimovian-Regular.woff2'), url('../fontes/Asimovian-Regular.woff2') format('woff2');
}

@font-face {
    font-family: ale;
    src: local('../fontes/AlegreyaSC-Regular.woff2'), url('../fontes/AlegreyaSC-Regular.woff2') format('woff2');
}


h1 {
    font-family: as;


}

body {
    background-image: url("../imagens/bg1.png");
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    background-color: #0F121F;

    min-height: 100vh;

    font-family: Arial, sans-serif;
    color: white;
    overflow-x: hidden;

}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    font-size: 16px;
}

header {
    background-color: #692A23;
    border: 6px solid #D5AB21;
    float: center;
    margin-left: -14px;
    background-image: url("../imagens/bg1.png");
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    box-shadow: 0 0 30px #180120;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 1.5rem;
    height: 200px;
    display: flex;
    justify-content: center;
}

h1 {
    margin-top: 35px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 110vh;
    margin-top: -7px;
    margin-left: -2px;
    padding: 1.5rem;
    background-image: url("../imagens/bg1.png");
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    background-color: #692a23;
    box-shadow: 0 0 25px #000000;
    z-index: 50;
    overflow-y: auto;
    transition: transform 0.3s ease;
    border: 6px solid #D5AB21;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: rgb(110, 52, 42);
    color: white;
    border: 4px solid #D5AB21;
    padding: 0.8rem 1.2rem;
    font-size: 2rem;
    border-radius: 6px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.tbotoes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    margin-right: -50px;
}

.botoes {
    width: 70%;
    background-color: rgb(199, 164, 154);
    border: 4px solid #46253c;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 1rem;
    transition: transform 0.3s ease-in-out;
    min-height: 120px;
}

.tbotoes p {
    color: rgb(7, 0, 15);
    text-decoration: none;
    font-family: fantasy;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.botoes img {
    width: 40px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.botoes:hover {
    transform: scale(1.06);
    background-image: linear-gradient(130deg, rgb(250, 250, 250), rgb(199, 164, 154));
}

main {
    width: 70%;
    height: 7000px;
    background-color: #692A23;
    border: 6px solid #D5AB21;
    border-radius: 30px;
    float: center;
    margin-top: 10px;
    margin-left: 280px;
    margin-top: 2rem;
    margin-right: 2rem;
    padding: 2rem;
    background-image: url("../imagens/bg1.png");
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
}

article {
    width: 80%;
    height: 40%;
    background-color: #692A23;
    border: 6px solid #D5AB21;
    border-radius: 30px;

}

section {
    width: 80%;
    height: 350PX;
    background-color: #692A23;
    border: 6px solid #D5AB21;
    border-radius: 30px;
}

@media (max-width: 1024px) {


    article {
        width: 80%;
        height: 46%;
    }

    nav {
        width: 180px;
    }

    main {
        margin-left: 200px;
        margin-right: 1rem;
        width: 85%;
    }

    .botoes {
        min-height: 100px;
    }

    section {
        width: 80%;
    }

}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        transform: translateX(-100%);
        width: 250px;
    }

    nav.active {
        transform: translate(0);
    }

    main {
        margin-left: 1rem;
        margin-right: 1rem;
        margin-top: 5rem;
    }

    header {
        padding: 1rem;
    }

    .tbotoes {
        margin-top: 4rem;
    }


}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
        border-width: 5px;
    }

    .botoes {
        min-height: 90px;
        padding: 0.8rem;
    }

    .botoes img {
        width: 50px;
        height: 50px;
    }
}