.spam {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 20% auto 20%;
    background-color: white;
    font-family: var(--fonte-terciaria);
    color: rgb(5, 5, 5);
    height: 100%;
    text-align: left;
    padding: 2px;
    position: sticky;
    top: 0;

}

.frete-gratis, .email {
    align-self: center;
    text-align: center;
}

#titulo {
    font-size: 0.83em;
}

.header {
    background-color: black;
}

.header .row {
    border: 1px solid rgb(196, 193, 193);
    padding: 15px 10px;
}

.logo {
    text-align: center;
}

.logo img {
    width: 150px;
}

.header nav {
    width: 100%;
}

.header nav ul {
    display: flex;
    justify-content: center;
    justify-items: center;
}

.header nav ul li a {
    text-transform: capitalize;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 10px 10px;
    transition: 0.2s;
    border-radius: 5px;
    user-select: none; 
}

.header nav ul li a:hover {
    background-color: var(--cor-primaria);
}

.header .menu {
    display: none;
    width: 60px;
    height: 60px;
    align-self: flex-end;
    background-color: var(--cor-primaria);
}

.header nav label{
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.header .hamburguer {
    position: relative;
    display: block;
    background-color: var(--cor-branca);
    width: 30px;
    height: 2px;
    top: 29px;
    left: 15px;
    transition: 0.5s ease-in-out;
}

.header .hamburguer:before,
.header .hamburguer:after {
    background-color: var(--cor-branca);
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: 0.2s ease-in-out;
}

.header .hamburguer:before {
    top: -10px;
}

.header .hamburguer:after {
    bottom: -10px;
}

.header input {
    display: none;
}

.header input:checked ~ label .hamburguer {
    transform: rotate(45deg);
}

.header input:checked ~ label .hamburguer:before {
    transform: rotate(90deg);
    top: 0;
}

.header input:checked ~ label .hamburguer:after {
    transform: rotate(90deg);
    bottom: 0;
}

@media screen and (max-width: 720px){
    .email {
        display: none;
    }
}

@media(max-width: 900px) {
    .header .menu {
        display: block; 
    }

    .header .row {
        border: none;
    }

    /* pega todos os itens que após o input e que sao irmaos dele */
    .header nav input:checked ~ ul {
        display: block;
    }

    .header nav {
        position: absolute;
        top: 30px;
        right: 20px;  
        z-index: 1;
    }

   .header nav ul {
        display: none;        
        background-color: var(--cor-fundo-escuro);         
        padding: 20px;       
    }
    
    .header nav li a {
        color: var(--cor-branca);
        text-align: center;                
        padding: 20px;
        display: block;
    }
}

@media(max-width:1200px) {
    .header {
        padding: var(--mobile-padding);
    }
}
