/* css externo */

/* Definir as cores tema dark */
/* Raiz */
:root,
:root[data-theme='dark'] {
    --cor-fundo: #d84ccf;
    --cor-text0: #fdfcfc;
    --menu-link: rgb(12, 12, 12);
    --cor-borda: rgb(76, 12, 76);
    --cor-cabeçalho: rgb(240, 139, 240);

}

:root[data-theme='light'] {

    --cor-fundo: #f0aff0;
    --cor-texto: #f759f7;
    --menu-link: rgb(18, 18, 18);
    --cor-borda: rgb(244, 236, 244);
    --cor-cabeçalho: rgb(240, 139, 240);
}

/* Reset css = Padronizar */
/* Seletor Universal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}

/* Inverter Cor Logo = Filtro */
html[data-theme='light'] .logo {
    filter: invert(1);
}




body {
    /* hexadecimal */
    background: var(--cor-fundo);
    /* cor do fundo */
    color: var(--cor-text0);
    /* cor de texto */
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: var(--menu-link);
    text-decoration: none;
}

ul {
    list-style: none;
    /* estilo de lista */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--cor-fundo);
    border-bottom: 5px solid var(--cor-borda);
    position: fixed;
    z-index: 9999;
    /* camadas */

}

.menu-desktop {
    display: none;
    /* Esconde o menu desktop */
}

/* NAV = UL // OL */
.menu {
    display: flex;
    /* em linha // horizontal */
    gap: 1rem;
    /* 16px */
    align-items: center;
}

/* LI = listas */
.menu-item {
    width: 100%;
}

.menu-link {
    display: flex;
    align-items: center;
}

.menu-text {
    color: var(--menu-link);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Menu Hamburguer 
botao menu mobile*/
#menuHamburger {
    margin-left: 1rem;
}

.btn-menu-mobile {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--cor-texto);
    display: flex;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.menu-mobile {
    /* NAV */
    position: fixed;
    top: 0;
    right: 0;
    background: var(--cor-fundo);
    width: 75%;
    height: 100vh;
    /* viewPort Altura */
    border-left: 1px solid var(--cor-borda);
    max-width: 320px;
    display: flex;
    flex-direction: column;
    padding-top: 4rem;
    transition: .3s ease-in-out;
    transform: translateX(100%);
}

/* ativar o Menu Mobile */
.menu-mobile.active {
    transform: translateX(0%);
}

.menu-mobile

/* nav */
.menu-list {
    /* Ul */
    display: flex;
    flex-direction: column;
    /* EIXO Y = Vertical */
    gap: 1rem;
    width: 100%;
    padding: 1rem 1rem 2rem;
}

.menu-mobile .menu-item {
    width: 100%;
    text-align: center;
}

.menu-mobile .menu-link {
    padding: 0.5rem 0;
    display: inline-block;
    font-size: 1rem;
}

.logo {
    width: 3.25rem;
    /* Cumprimento */
    height: 3.90rem;
    /* altura */
}

.header-toggle {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#home {
    padding: 4.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.main-content {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

h1 {
    font-size: 2.5rem;

}


/* Medidas Responsivas */
@media (min-width: 768px) {

    .menu-desktop {
        display: flex;
        min-width: 30%;
    }

    .btn-menu-mobile {
        display: none;
    }

    .header-toggle {
        min-width: 30%;
    }

    header {
        padding: 1rem 6rem;
    }

    h1 {
        font-size: 5rem;
    }

    #home {
        padding: 8rem 6rem 4rem 6rem;
    }

.main-content {
display: flex;
flex-direction: column;
align-items: flex-start;
}
/* FIM mim 768px */
}

@media (min-width: 1400px) {
h1{
    font-size: 2.5rem;
}

}