* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat Alternates';
    background-color: #f8f5f2;
    width: 100vw;
    height: 100dvh;
    overflow-x: hidden; /* Impede rolagem horizontal */
}

a {
    text-decoration: none;
    color: inherit;
}

.navbar {
    width: 100%;
    height: 10vh; /* Ajuste de altura proporcional */
    position: absolute;
    background: rgba(157, 112, 84, 0.80);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-size: contain;

}

.navbar-logo {
    width: 8vw; /* Proporcional ao tamanho da tela */
    height: 9vh; /* Altura proporcional */
    position: absolute;
    top: 1vh;
    left: 3vw;
    background-image: url('../images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1000;
}

/* Navbar Items */
.navbar-item {
    color: white;
    font-weight: 300;
    word-wrap: break-word;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1vh, 1.5vw, 2vh);
    z-index: 1000;
}

.confirmacao {
    margin-left: auto;
    margin-right: 3vw;
}

.presentes {
    margin-right: 3vw;
}

.container {
    width: 100%;
    max-width: 100%; /* Garante que ocupe toda a largura disponível */
    padding: 0;      /* Remove padding adicional */
    position: relative;
    flex-direction: column;
    overflow: visible;
    min-height: 100vh;
    justify-content: space-between;
    display: flex;
}

/* Estilos da Header */
.header {
    position: relative;
    height: 100vh;
    text-align: center;
    align-items: center;
    display: flex;           /* Ativa o Flexbox */
    justify-content: center; /* Centraliza os itens horizontalmente */
}

.image-header {
    width: 100vw;                /* Ajuste a largura ao tamanho da tela */
    height: 100vh;                /* Altura relativa para manter proporção */
    background-image: url('../images/header-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
}

.title {
    position: absolute;
    width: 80%; 
    font-size: 5rem; 
    font-weight: 400; 
    font-family: 'Montserrat Alternates';
    color: rgba(157, 112, 84, 0.80);;
}

.background-line {
    width: 100%;
    height: 1vh;
    background: #B29380;
}

@media (max-width: 768px) {

    .navbar-logo {
        width: 20vw;
        left: 5vw;
        top: 4vw;
    }

    .navbar-item {
        font-size: 1vh; 
    }

    .title {
        width: 50%; 
        font-size: 2rem; 
    }

}

.gift-section {
    text-align: center;
    color: #642E2E;
    margin: auto; /* Centraliza horizontalmente e adiciona espaçamento no topo */
    width: 85%; /* Usar uma porcentagem para melhor adaptação a telas diferentes */
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    font-style: normal; 
    word-wrap: break-word; 
    font-weight: 400;
}

.main-gift {
    width: 100%; /* Permitir que ocupe toda a largura do .gift-section */
    font-size: 3rem; 
    margin-top: 2rem; 
    text-align: center;
}

.gift-item {
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #642E2E;
    width: 100%; 
    margin-top: 1rem;
    flex-wrap: wrap;
}

.presente {
    background: #F3E4DB;
    text-align: center;
    width: 20vw; 
    border-radius: 1vw;
    margin-bottom: 1rem;
}

.img-presentes {
    border-radius: 1vw;
    margin-top: 1rem;
    width: 17vw;
    height: 17vw;
}

.gift-title {
    font-size: 0.8rem;
}

.gift-price {
    font-size: 0.7rem;
}

.gift-button {
    background: #403A38;
    color: white;
    border-radius: 1vw;
    border: none;
    cursor: pointer; 
    align-self: center; 
    font-family: Montserrat Alternates;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.7rem 3rem;
    margin-top: 0.5rem;
}


/* Media Queries */
@media (max-width: 1024px) {
    /* Tablet */
    .gift-item {
        flex-direction: column; /* Coloca os itens de presente em coluna */
        align-items: center; /* Alinha os itens no centro */
    }

    .presente {
        width: 50vw; /* Ajusta a largura para que ocupe mais espaço no tablet */
        margin-bottom: 2rem; /* Dá mais espaço entre os itens */
    }

    .img-presentes {
        width: 45vw; /* Ajusta a largura das imagens para tablets */
        height: auto; /* Mantém a proporção das imagens */
    }

    .gift-button {
        padding: 0.5rem 4rem; /* Ajusta o tamanho do botão para telas menores */
    }
}

@media (max-width: 768px) {
    /* Celular */
    .gift-section {
        margin-top: -10rem;
    }

    .gift-item {
        flex-direction: column; /* Coloca os itens de presente em coluna */
        align-items: center; /* Alinha os itens no centro */
    }

    .presente {
        width: 50vw; /* Ajusta a largura para que ocupe mais espaço no celular */
        border-radius: 20px;
        margin-bottom: 2rem; /* Dá mais espaço entre os itens */
    }

    .img-presentes {
        border-radius: 15px;
        width: 40vw; /* Ajusta a largura das imagens para celulares */
        height: auto; /* Mantém a proporção das imagens */
    }

    .gift-button {
        padding: 0.6rem 0.2rem;
        font-size: 0.6rem;
        width: 90%;
        border-radius: 15px;
    }

    .see-more {
        padding: 0.5rem 0.2rem;
        font-size: 1rem;
        width: 100%;
        border-radius: 20px;
    }

    .gift-section {
        width: 70%;
        margin-top: 4rem;
    }

    .main-gift {
        font-size: 2rem;
    }
}

.rodape {
    margin-top: 2rem;
    width: 100%;
    height: 4rem;
    position: relative;
    margin-bottom: 0;
    z-index: 10010;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background-bar {
    width: 100%;
    height: 11vh;
    position: absolute;
    background: rgba(121, 96, 81, 0.81);
}

.text-content {
    width: 56.15vw;
    margin-top: 1rem;
    position: absolute;
    left: 21.04vw;
    color: white;
    font-size: 1vw;
    font-family: Montserrat;
    font-weight: 400;
    line-height: 2.34vw;
    word-wrap: break-word;
    text-align: center;
}

@media (max-width: 768px) {
    /* Celular */
    .rodape {
        width: 100%;
        height: 4rem;
    }
    
    .background-bar {
        margin-top: 2rem;
        width: 100%;
        height: 8vh;
    }
    
    .text-content {
        width: 66vw;
        font-size: 2vw;  
        margin-top: 3rem;     
    }

}
