@font-face {
    font-family: eyesome;
    src: url(../fonts/eyesome-duo-script.otf);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.space{
    padding-top: 70px;
    background-color: #eee2d2;
}
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eee2d2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto;
    padding: 100px;
}
.video-container{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
}
.video-box{
    width: 50%;
    margin: 20px 0;
}
.popup-content {
    text-align: center;
    color:#9d4931;
    font-size: 20px;
}

#enter-button {
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    background-color: #9d4931;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#enter-button:hover {
    background-color: #0056b3;
}
/* Estilos Gerais */
body {
    font-family: "Belleza", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #eee2d2;
    color: #69735a;
    font-size: 17px;
    overflow-x: hidden;
}

header {
    position: fixed;
    width: 100%;
    z-index: 100;
    text-align: center;
}

/* Títulos mais elegantes */
h1,
h2,
h3 {
    font-family: eyesome;
    font-weight: 400;
    font-style: normal;
}

/* Estilização de parágrafos */
p {
    font-family: "Belleza", sans-serif;
    line-height: 2;
    /* Melhora o espaçamento entre linhas */
}

/* Botões também podem usar a fonte elegante */
button {
    font-family: 'Lora', serif;
}

/* Menu centrado */
nav {
    padding: 1.5rem 2rem;
    height: 100px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.4)
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    /* Horizontally space out the items */
    width: 100%;
}

.nav-list li {
    display: flex;
    /* Make LI a flex container */
    align-items: center;
    /* Vertically center the anchor inside the LI */
    padding: 0;
    /* Remove padding around the list */
    margin: 0;
    /* Remove margin */
}

ul {
    list-style: none;
    display: flex;
    /* Alinha os itens do menu horizontalmente */
    gap: 20px;
    /* Espaçamento entre os itens do menu */
    vertical-align: middle;
}

.local_link, .local_link:visited {
    color: #eee2d2;
}
ul li a {
    text-decoration: none;
    font-family: "Belleza", sans-serif;
    color: #b9714b;
    font-weight: bold;
    transition: background-color 0.3s ease;
    padding: 10px 20px;
    font-size: 18px;
}

/* Ajustar o estilo quando em telas pequenas (menu hamburguer) */
.menu-toggle {
    display: none;
}

/* colocar logo à esquerda */

#logo {
    position: absolute;
    left: 20px; /* Ajuste conforme necessário */
    top: 0px;
    list-style: none; /* Remove o estilo de lista */
}

#banner {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/foto-save-the-date.jpg');
    background-size: cover;
    /* Garante que a imagem cubra toda a área */
    background-position: center;
    /* Centraliza a imagem */
    background-repeat: no-repeat;
    /* Impede a repetição da imagem */
    color: #eee2d2;
    position: relative;
    text-align: center;
    flex-direction: column;

}

.banner-content {
    text-align: center;
    margin: 220px;
    top:0px;
    position: absolute;
}
.main-title{
    margin-top:125px;
}

#countdown {
    display: flex;
    flex-direction: column;
    background-color: #b9714b;
    color: #eee2d2;
    padding: 0.3rem;
    align-self: flex-end;
}

.row {
    display: flex;
}

.row .cell {
    width: 5rem;
}

.first_row {
    font-size: 2rem;
}

.second_row {
    font-size: 0.8rem;
}


.first_row1 {
    font-family: "Belleza", sans-serif;
    font-style: normal;
    font-size: 4rem;
    color: #b9714b;
}
.first_row2 {
    font-family: eyesome;
    font-style: normal;
    font-size: 2.5rem;
}

.second_row1 {
    font-size: 2rem;
    font-family: eyesome;
    font-style: normal;
    text-align: center;
    color: #b9714b;
}

.second_row1 span{
    width: 100%;
}

/* Seções */
section {
    padding: 30px 30px;

}

#mensagem {
    background-image: url(../images/backgroundmensagem.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #d5d1c7;
    align-items: center;
    display: flex;
    justify-content: left;
    color: #000;

}

#mensagem h2 {
    color: #9d4931;
    font-size: 42px;
    margin: 0;
}

#historia {
    background-color: #eee2d2
}

#historia h2 {
    color: #9d4931;
    font-size: 42px;
    margin: 0;
    margin-bottom: 15px;
}

#confirmar {
    background-color: #eee2d2;
    color: #9d4931;
}

#confirmar h2 {
    color: #9d4931;
    font-size: 42px;
    margin: 0;
}


#confirmar button {
    background-color: #9d4931;
    color: #eee2d2;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#confirmar button:hover {
    background-color: #bc6c56;
    color: #ccc8bc;
}

#lua_de_mel{
    background-color: #9d4931;
    color: #eee2d2;
}

#lua_de_mel h2 {
    color: #eee2d2;
    font-size: 42px;
    margin: 0;
}

.foto_luademel {
    width: 100%;
}

#presenca {
    background-color: #9d4931;
    color: #eee2d2;
}

#presenca h2 {
    color: #eee2d2;
    font-size: 42px;
    margin: 0;
}


#presenca button {
    background-color: #eee2d2;
    color: #9d4931;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.mbway{
    display: block;
}

#presenca button:hover {
    background-color: #bc6c56;
    color: #ccc8bc;
}


#convidados {
    background-color: #9d4931;
    color: #eee2d2;
}

#convidados h2 {
    color: #eee2d2;
    font-size: 42px;
    margin: 0;
}


#convidados button {
    background-color: #eee2d2;
    color: #9d4931;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#convidados button:hover {
    background-color: #bc6c56;
    color: #ccc8bc;
}


#detalhes {
    background-color: #69735a;
    color: #000;
}

#detalhes h2 {
    color: #eee2d2;
    font-size: 42px;
    margin: 0;
}

#detalhes p {
    color: #eee2d2;
    font-size: 17px;
    margin: 0;
    font-family: "Belleza", sans-serif;
    line-height: 1.6;
}

#rsvp {
    background-color: #eee2d2;
    color: #9d4931;
}

#rsvp h2 {
    color: #9d4931;
    font-size: 42px;
    margin: 0;
}


#rsvp button {
    background-color: #9d4931;
    color: #eee2d2;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#rsvp button:hover {
    background-color: #bc6c56;
    color: #ccc8bc;
}

.handwriting {
    color: #9d4931;
    font-size: 30px;
    font-family: eyesome;
}

.outer-div {
    display: flex;
    justify-content: space-between;
    /* Space between left and right div */
}

.left-div,
.right-div,
.fulldiv {
    text-align: left;
}

.left-div {
    width: 60%;
}

.right-div {
    align-content: center;
    text-align: center;
    width: 30%;
}

.fulldiv {
    width: 100%;
}

.foto_mensagem {
    width: 80%;
    border-radius: 10%;
    border-style: dashed;
    border-width: 2px;
    border-color: #9d4931;
}

/* Galeria */
.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.gallery-item {
    margin: 10px;
    max-width: 300px;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilo do slideshow */
.slideshow-container {
    position: relative;
    max-width: 60%;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    border-radius: 10px;
}

.text {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo transparente escuro */
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 80%;
}

/* Botões de navegação */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 0;
    border-radius: 3px 3px 0 0;
}

.prev:hover,div
/* Pontos indicativos (bolinhas) */
.dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active_slide,
.dot:hover {
    background-color: #717171;
}

/* Efeito de fade */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.flexparent{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.flexchild{
    flex: 1;
}
.icon-text {
    display: flex;
    align-items: flex-start; /* Align the icon and text */
    gap: 15px; /* Space between icon and text */
}

.icon-text .laptop-icon {
    width: 110px; /* Adjust the icon size */
    color: #007BFF; /* Adjust icon color, change as needed */
    margin-top: 5px; /* Optional: slight vertical adjustment */
}

.laptop-detail-title{
    display: block;
}
.text-details p {
    margin: 0;
}

.text-details .mobile-icon{
    display: none;
}


/* Botão de RSVP */
button {
    background-color: #ccc8bc;
    color: #69735a;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color:#69735a;
    color: #ccc8bc
}


.banner-img {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
}

/* Botão STOP/PLAY no canto superior direito */
#toggle-button {
    position: fixed;
    top: 27px;
    right: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #9d4931;
    z-index: 1000;
}

/* Efeito de hover no botão */
#toggle-button:hover {
    color: lightgray;
}

.guest_form{
    padding-left: 9%;
    padding-right: 9%;
}

/* Media query for screens smaller than 768px */

@media (max-width: 768px) {
    header {
        padding: 0;
    }
    .space{
        padding-top: 30px;
        background-color: #eee2d2;
    }
    ul {
        padding: 10px 0 10px 0;
        display: none;
        flex-direction: column;
        margin: 0;
    }

    nav {
        padding: 0;
        height: 60px;
    }

    ul.active {
        display: flex;
        background-color: #eee2d2;
        position: absolute;
        top: 60px;

    }

    ul.active a {
        color: #9d4931
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        color: #9d4931;
        cursor: pointer;
        text-align: left;
        padding: 20px;
    }

    #logo {
        display: none;
    }

    .nav-list {
        justify-content: left;
    }
    #banner{
        /*flex-direction: column;*/
        background-image: url('../images/save-the-date-mobilevpatty.jpg');
        background-size: cover;
    }
    .banner-content {
        display: flex;
        justify-content: center;
        width: 90%;
        top:0;
        bottom: unset;   
    }
    .main-title{
        top: 0;
    }
    #countdown {
        align-self: center;
        display: flex;
        flex-direction: column;
        background-color: #b9714b;
        color: #eee2d2;
        padding: 0.3rem;
        align-self: flex-end;
    }


    .first_row {
        font-size: 2rem;
    }

    .second_row {
        font-size: 0.8rem;
    }

    .first_row1 {
        color: #eee2d2;
        font-size: 3rem;
    }

    .first_row2 {
        color: #eee2d2;
        font-size: 2rem;
    }

    .outer-div {
        flex-direction: column;
        /* Stack the inner divs vertically */
    }

    .left-div,
    .right-div {
        width: 100%;
        /* Make both divs take the full width */
        margin-bottom: 20px;
        /* Add space between the stacked divs */
    }

    .right-div {
        margin-bottom: 0;
        /* Remove margin after the last div */
    }

    #mensagem h2,
    #historia h2,
    #confirmar h2,
    #lua_de_mel h2,
    #presenca h2,
    #convidados h2,
    #detalhes h2,
    #rsvp h2 {
            font-size: 2rem;
    }

    body {
        font-size: 16px;
    }

    #toggle-button {
        top: 20px;
        padding: 0px;
    }

    /* Estilo do slideshow */
    .slideshow-container {
        max-width: 100%;
    }
    .flexparent{
        display: block;
    }
    .flexchild{
        margin: 30px 0;
    }
    .text-details .mobile-icon{
        display: block;
    }

    .icon-text .laptop-icon {
        display: none;
    }
    .laptop-detail-title{
        display: none;
    }

    .video-box{
        width: 90%;
    }
    #popup{
        padding: unset;
    }
    #enter-button{
        font-size: 12px;
    }
    .guest_form{
        padding-left: 0;
        padding-right: 0;
    }

}
input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #f9f9f9;
  border: 1px solid #dcdcdc;
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Foco */
input:focus,
textarea:focus,
select:focus {
  border-color: #a3bffa;
  box-shadow: 0 0 0 3px rgba(163, 191, 250, 0.5);
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Ajuste para textarea */
textarea {
  resize: vertical;
  min-height: 100px;
}

/* Ajuste para select */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23aaa'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  cursor: pointer;
}
.guest_name{
    font-family: "Belleza", sans-serif;
    margin-bottom: 15px;
}
.guest_title{
    font-family: "Belleza", sans-serif;
    margin-top: 10px;
    margin-bottom: 5px;
}
.guest_separator{
    border: #eee2d2;
    border-width: 1px;
    padding:10px;
    border-style: solid;
    border-radius: 5px;
}

.input_family{
    margin-top:10px;
}

.title_center{
    color: #9d4931;
    text-align: center;
}