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

body {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #f2f2f2;
    color: #333;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.menu .logo {
    display: flex;
    margin-right: 50px;
    margin-left: 50px;
}

.menu .logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    padding: 5px;
}

.menu .logo h1 {
    padding-top: 15px;
    padding-left: 20px;
    font-size: 28px;
    font-weight: bold;
}

.menu .botoes {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-right: 50px;
    margin-left: 50px;
    font-size: 20px;
}

.menu .botoes a {
    text-decoration: none;
    color: #fff;
}

.menu .botoes a:hover {
    text-decoration: underline;
}

#menu-toggle {
    display: none;
}

#menu-close {
    display: none;    
}

main {
    padding: 30px;
}

section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
    text-align: center;
}

#home {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#home .imagem {
    flex: 1;
    margin-right: 80px;
}

#home .imagem img {
    border-radius: 50%;
    border: 5px solid #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#home .text {
    flex: 1;
    text-align: left;
}

#home .text h2 {
    font-size: 50px;
    margin-bottom: 20px;
}

#home .text p { 
    font-size: 18px;
    margin-bottom: 20px;
}

#tecnologias {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 50px 0;
}

#tecnologias h3 {
    font-size: 40px;
    margin-bottom: 20px;
}

#tecnologias ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
}

#tecnologias ul li img {
    width: 50px;
    height: 50px;
}

#projetos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 50px 0;
}

#projetos h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.projeto .nome {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 35px;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
}

.projeto .nome img {
    width: 50px;
    height: 50px;
}

.projeto .nome .arrow {
    width: 30px;
    height: 30px;
    transition: .2s;
}

.projeto .descricao {
    display: flex;
    flex-direction: column; 
    align-items: center;
    font-size: 25px;
    border-right: 1px solid #333;
    border-left: 1px solid #333;
    border-bottom: 1px solid #333;
    border-radius: 0 0 8px 8px;
    margin-top: -8px;
    padding: 0 10px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: .2s;
}

.projeto .descricao button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
}

.projeto .descricao button a {
    text-decoration: none;
    color: #333;
}

.projeto .descricao button img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

.projeto.ativo .descricao {
    height: fit-content;
    opacity: 1;
    padding: 10px;
}

#contato .contatos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

#contato h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

#contato ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
}

#contato ul li img {
    width: 50px;
    height: 50px;
}

footer {
    background-color: #333;
    color: #fff;    
    text-align: center;
    padding: 10px;        
}

@media (max-width: 768px) {
    .menu #menu-toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }

    .menu .botoes {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100%;
        background-color: #222;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }

    .menu .botoes a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
    }

    .menu .botoes.open {
        left: 0;
    }

    .menu .botoes #menu-close {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        align-self: flex-end;
        margin-bottom: 20px; 
    }

    .menu .logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .menu .logo img {
        width: 100px;
        height: 100px;
    }

    .menu .logo h1 {
        display: none;
    }

    section {
        flex-direction: column;
        padding: 20px;
    }

    #home .imagem {
        padding-left: 90px;
        margin-bottom: 20px;
    }

    #home .text {
        text-align: center;
    }

    #tecnologias ul {
        flex-wrap: wrap;
    }

    #tecnologias ul li img {
        width: 70px;
        height: 70px;
    }
}