/** Montserrat-Alt1 Bold **/
@font-face {
    font-family: "Montserrat-Alt1";
    font-weight: 700;
    font-style: normal;
    src: url("webfonts/ttf/MontserratAlt1-Bold.ttf");
}


/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #2f343e;
}

.container {
    max-width: 1200px;
    margin: 0 auto; /* Centraliza o container horizontalmente */
}

.header {
    background-color: #141516;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
    position: sticky;
    top: 0;
    padding: auto;
    
    
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

.navbar .header-brand {
    margin: 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

.navbar .header-brand img {
    width: 48px;
    height: 48px;
}

.navbar .header-brand span {
    height: 100%;
    font-family: "Montserrat-Alt1", 'sans-serif';
    font-weight: 700;
    font-style: normal;
    text-align: center;
    font-size: 2.5rem;
    margin-top: 5px;
}

.intro {
    position: relative;
    height: 90vh;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.intro::before {
    content: " ";
    position: absolute;
    opacity: 0.1;
    z-index: -1;
    height: 90vh;
    width: 100%;
    background: url('images/reverse_logo.svg') center no-repeat;
}

.intro h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.5rem;
}

.portfolio {
    background-color: #141516;
    padding: 4rem 2rem;
}

.about {
    padding: 4rem 2rem;
}

.footer {
    text-align: center;
    padding: 2rem;
    background-color: #141516;
    color: #fff;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
}


/* Estilo de Imagens */
.popout {
    transition: transform 0.3s ease;
}

.popout:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .navbar .header-brand img {
        width: 40px;
        height: 40px;
    }
    
    .navbar .header-brand span {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 70px; /* Abaixo do cabeçalho */
        right: 20px;
        width: 150px;
        background-color: #ffffff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        color: #000000;
    }
    
    .nav-links.active {
        display: flex;
    }

    .intro::before {
        background-size: 70%;
    }
}