* {
    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;
}


@media (max-width: 768px) {

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

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


/* Estilos da Header */
.header {
    position: relative;
    height: 100vh;
    display: flex;
}

.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;
    overflow: hidden;
}

.image-noivos {
    position: relative;
    top: 6vw;
    left: -20vw;
    width: 25vw;
    height: 38vw; /* Permite que a altura seja proporcional à largura */
    aspect-ratio: 3/4; /* Define uma proporção fixa para a imagem (ajuste conforme necessário) */
    background-image: url('../images/noivos.png');
    background-size: contain; /* Ajusta o conteúdo à área do elemento */
    background-position: center;
    background-repeat: no-repeat;  
    z-index: 1000;
}

.image-brasao {
    position: relative;
    top: 12vw;
    left: 60vw;
    transform: translateX(-50%);
    width: 38vw;                 
    height: 48vh;  
    max-width: 50vw;              
    background-image: url('../images/brasao.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
}

@media (max-width: 768px) {

    .header {
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        text-align: center;
        height: auto;
        background-size: cover;
        overflow: hidden;
    }

    .image-noivos {
        left: 0;
        top: 25vw;
        width: 80vw; /* Ajusta a largura na tela menor */
        height: auto; 
    }

    .image-brasao {
        width: 45vw; /* Ajusta largura */
        height: 15vh;
        top: 25vw;
        margin-left: 50%;
        transform: translate(-190%);
    }
}

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

/* Quote Section */
.quote-section {
    text-align: center;
    color: #642E2E;
    margin-top: 5rem;  /* Espaço no topo */
    margin-left: auto; /* Centraliza horizontalmente */
    margin-right: auto; /* Centraliza horizontalmente */
    width: 80%;
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    font-style: normal;
    white-space: pre-line; 
    word-wrap: break-word; 
    line-height: 1.2;
    font-weight: 400;
}

.main-quote {
    width: 40%; 
    font-size: 3rem; 
    font-weight: 400; 
}

.quote-reference {
    font-size: 1.5rem;
    margin: 1rem 0;
    width: 18vw;
}

.invitation {
    font-size: 2rem;
    margin-top: 1rem;
    width: 40%;
}

@media (max-width: 768px) {

    .main-quote {
        margin-top: 2rem;
        font-size: 1.5rem;
        width: 100%;
    }

    .quote-reference {
        font-size: 1rem;
        width: 100%;
        margin-top: 0.5rem;
    }

    .invitation {
        font-size: 1rem;
        width: 100%;
    }
}


/* Reception Section */
.reception-section {
    display: flex;
    justify-content: space-between;  /* Deixa os elementos com o máximo de espaçamento possível */
    align-items: center;  /* Alinha verticalmente ao centro */
    color: #642E2E;
    width: 40vw;  
    flex-shrink: 0;
    margin: auto;
    margin-top: 5rem;
}

.item-l {
    flex: 1;  /* A primeira div ocupa o espaço restante */
    text-align: left;
}

.item {
    flex: 1;  /* A segunda div também ocupa o espaço restante */
    text-align: center;  /* Centraliza a imagem */
}

.reception-maps {
    width: 20vw;
    height: 30vh;
    background-size: cover;
}

.reception-maps iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.section-title {
    font-size: 2rem;
}

.reception-details {
    font-size: 1.8rem;
}

@media (max-width: 768px) { 

    .reception-section {
        flex-direction: column; /* Empilha os elementos */
        width: 90vw; /* Ajusta a largura para telas menores */
        margin-top: 2rem;
        text-align: center; /* Centraliza os textos */
    }

    .item-l, .item {
        flex: none; /* Remove a divisão de espaço */
        text-align: center; /* Centraliza os textos */
        margin-bottom: 1rem; /* Espaçamento entre os textos */
    }

    .reception-maps {
        width: 100%; /* Mapa ocupa toda a largura disponível */
        height: 30vh; /* Altura ajustada para visualização em telas menores */
        margin-top: 1rem; 
        border-radius: 20px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .reception-details {
        font-size: 1rem;
    }
}


/* Confirmation Section */
.confirmation-section {
    text-align: center;
    color: #642E2E;
    margin-top: 5rem;  /* Espaço no topo */
    margin-left: auto; /* Centraliza horizontalmente */
    margin-right: auto; /* Centraliza horizontalmente */
    width: 90%;
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    font-style: normal;
    white-space: pre-line; 
    word-wrap: break-word; 
    line-height: 1.2;
    font-weight: 400;
}

.conf-main {
    width: 50vw; 
    font-size: 2.5rem; 
    font-weight: 400; 
    font-family: 'Montserrat Alternates';
    font-weight: bold;
    margin-top: 5rem;
}

h2 {
    font-weight: normal;
}

.confirmation-form {
    width: 85vw;          
    max-width: 823px;     
    height: auto;         
    max-height: 1957px;   
    flex-shrink: 0;   
    margin: 0.5rem auto;         
    box-sizing: border-box;
}

@media (max-width: 768px) { 

    .confirmation-section {
        margin-top: 1rem;
    }

    .conf-main {
        width: 100%; 
        font-size: 1.5rem; 
        margin-top: 2rem;
    }

    h2 {
        font-weight: normal;
        font-size: 1rem;
    }

}

/* presentes */
.gift-section {
    text-align: center;
    color: #642E2E;
    margin: auto; /* Centraliza horizontalmente e adiciona espaçamento no topo */
    width: 62%; /* 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;
}

.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, .see-more {
    background: #403A38;
    color: white;
    border-radius: 1vw;
    border: none;
    cursor: pointer; 
    align-self: center; 
    flex-wrap: nowrap
}

.gift-button {
    font-family: Montserrat Alternates;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.7rem 3rem;
    margin-top: 0.5rem;
}

.see-more {
    font-family: Montserrat Alternates;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
    padding: 0.5rem 9rem;
}

/* 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 */
    }

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

    .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: 40vw; /* Ajusta a largura das imagens para tablets */
        height: auto; /* Mantém a proporção das imagens */
    }

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

    .gift-button {
        padding: 0.7rem 5rem; 
        font-size: 0.4rem;
        width: 90%;
    }

    .see-more {
        padding: 0.4rem 5rem;
    }
}

@media (max-width: 768px) {


    .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;
    }
}

.agenda-section {
    text-align: center;
    color: #642E2E;
    margin-top: 5rem;  /* Espaço no topo */
    margin-left: auto; /* Centraliza horizontalmente */
    margin-right: auto; /* Centraliza horizontalmente */
    margin-bottom: 2rem;
    width: 52.9vw;
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    font-style: normal;
    white-space: pre-line; 
    word-wrap: break-word; 
    line-height: 1.2;
    font-weight: 400;
}

.agenda-title {
    width: 50vw; 
    font-size: 2.5rem; 
    font-weight: 400; 
    font-family: 'Montserrat Alternates';
    font-weight: bold;
}

.simbols {
    display: flex;
    justify-content: space-between;  /* Deixa os elementos com o máximo de espaçamento possível */
    align-items: center;  /* Alinha verticalmente ao centro */
    color: #642E2E;
    width: 30vw;  
    flex-shrink: 0;
    margin: auto;
    margin-top: 1rem;
}

.google-image {
    width: 10vw; 
    height: 19vh; 
    flex-shrink: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.apple-image {
    width: 9vw; 
    height: 20vh; 
    flex-shrink: 0;
    margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
    .agenda-section {
        width: 90%;
        margin-top: 2rem;
        padding: 1rem;
        text-align: center;
    }

    .agenda-title {
        width: 100%;
        font-size: 1.8rem;
    }

    .simbols {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }

    .google-image, .apple-image {
        width: 50%;
        height: auto;
        margin-bottom: 1rem;
    }

    .apple-image {
        margin-top: -1rem;
    }
}

.rodape {
    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 {
        width: 100%;
        height: 8vh;
    }
    
    .text-content {
        width: 66vw;
        font-size: 2vw;  
        margin-top: 1.8rem;      
    }

}
