@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-color: #eeeeee;
    --background-color: #17171a;
    --border-color: #080808;
    --blue-color: #43d1f9;
    --background-color-2: #0f0f11;
    --font-family: 'Josefin Sans', sans-serif;
    --color-neutral-0: #0e0c0c;
    --color-neutral-10: #171717;
    --color-neutral-30: #a8a29e;
    --color-neutral-40: #f5f5f5;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    width: 100vw;
    color: var(--font-color);
    background-color: var(--background-color-2);
}

a, button, img {
    user-select: none;
    cursor: pointer;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 2rem 2rem 2rem;
    height: 100px;
    font-family: var(--font-family);
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    position: relative; /* Para posicionar o menu em relação ao header */
    z-index: 1000; /* Garante que o header fique acima do menu */
}

header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--font-color);
    text-decoration: none;
    font-family: "Raleway", sans-serif;
}

header .logo img {
    height: 40px;
}

header .nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header .nav-menu li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    padding: 0.2rem 1rem;
}

header .nav-menu li a {
    text-decoration: none;
    padding: 5px 10px;
    margin-inline: 8px;
    border-radius: 3px;
    border: solid 1px transparent;
    color: #6bacbe;
    font-weight: 500;
}

.last-btn {
    text-decoration: none;
    padding: 12px 20px;
    margin-inline: 8px;
    border-radius: 10px;
    border: solid 1px var(--blue-color);
    color: var(--font-color);
    font-weight: 700;
    font-size: 14px;
    transition: all .25s cubic-bezier(.645,.045,.355,1);
    font-family: Raleway, sans-serif;
}

.last-btn:hover {
    background-color: var(--blue-color);
}

/* Estilo do ícone de hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1100; /* Acima do menu */
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--font-color);
    border-radius: 2px;
    transition: all 0.3s ease; /* Animação suave para o X */
}

/* Media Queries */
@media (max-width: 1100px) {
    header .nav-menu li a {
        padding: 8px 5px;
        margin-inline: 4px;
        font-size: 14px;
    }
}

@media screen and (max-width: 940px) {
    header .logo img {
        height: auto;
        max-width: 130px;
    }

    header .nav-menu li a {
        padding: 8px 5px;
        margin-inline: 4px;
        font-size: 14px;
    }

    .last-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 750px) {


    /* Esconde a nav por padrão */
    header .nav-menu {
        display: none;
        position: fixed; /* Menu fixo na tela */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Preenche toda a altura da tela */
        background-color: var(--background-color-2); /* Fundo do menu */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 900; /* Abaixo do header, mas acima do conteúdo */
        opacity: 0; /* Para animação de entrada */
        transition: opacity 0.3s ease;
    }

    /* Mostra o menu quando ativado */
    header .nav-menu.active {
        display: flex;
        opacity: 1;
    }

    header .nav-menu ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    header .nav-menu li {
        flex-direction: column;
        margin: 2rem 0;
        width: 100%;
        padding: 0;
    }

    header .nav-menu li a {
        font-size: 24px;
        padding: 10px;
        margin-inline: 0;
        display: block;
        width: 100%;
    }

    /* Mostra o hambúrguer */
    .hamburger {
        display: flex;
    }

    .last-btn {
        display: none;
    }

    /* Transforma o hambúrguer em X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg); /* Linha superior vira \ */
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0; /* Esconde a linha do meio */
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg); /* Linha inferior vira / */
    }
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--color-neutral-0);
    font-family: var(--font-family);
    width: 100%;
    height: auto;
    color: var(--color-neutral-40);
}

.footer-link {
    text-decoration: none;
}

#footer_content {
    /* background-color: var(--color-neutral-10); */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 3.5rem;
}

#footer_contacts img {
    height: 70px;
}

#footer_social_media {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

#footer_social_media .footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    color: var(--color-neutral-40);
    border-radius: 50%;
    transition: all 0.4s;
}

#footer_social_media .footer-link i {
    font-size: 1.25rem;
}

#footer_social_media .footer-link img{
    height: 20px;
    width: 20px;
    object-fit: cover;
    filter: invert(100%);
}
#footer_social_media .footer-link:hover {
    opacity: 0.8;
}

#instagram {
    background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

#youtube {
    background-color: #ff2424;
}

#telegram {
    background-color: var(--blue-color);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

footer h3{
    font-weight: 700;
    font-family: var(--font-family);
}

.footer-list .footer-link {
    color: var(--color-neutral-30);
    transition: all 0.4s;
    font-weight: 400;
}

.footer-list .footer-link:hover {
    color: var(--blue-color);
}

#footer_subscribe {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#footer_subscribe p {
    color: var(--color-neutral-30);
}

#input_group {
    display: flex;
    align-items: center;
    background-color: var(--color-neutral-0);
    border-radius: 4px;
}

#input_group input {
    all: unset;
    padding: 0.75rem;
    width: 100%;
    background-color: var(--color-neutral-10);
}

#input_group button {
    background-color: var(--blue-color);
    border: none;
    color: var(--color-neutral-40);
    padding: 0px 1.25rem;
    font-size: 1.125rem;
    height: 100%;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    transition: all 0.4s;
}

#input_group button:hover {
    opacity: 0.8;
}

#footer_copyright {
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
    padding: 1.5rem;
    font-weight: 100;
}
 
@media screen and (max-width: 1000px) {
    #footer_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 626px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 2rem;
    }
}