* {
    margin-block-end: 0;
    margin-block-start: 0;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #f8f8f8;
}

body.tela-login {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

body.tela-login .login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

body.tela-login .btn-dark {
    width: 100%;
}

header {
    position: relative;
    height: 100vh;
    background: url('../img/bg.jpg') center top / cover no-repeat;
}

section {
    padding: 20px;
    max-width: 700px;
    margin: 20px auto;
    margin-top: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    scroll-margin-top: 80px;
}

h3 {
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    color: #333;
}

section p {
    font-size: 1.05em;
    color: #444;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #777;
    margin-top: 60px;
}

#dados {
    bottom: 10px;
    left:10px;
    position: absolute;
    color: #fff;
    z-index: 2;
}

#dados h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 5em;
}

#dados p {
    font-size: 1.2em;
}

.countdown {
    font-size: 1.2em;
}
    
.linha-com-coracoes {
    text-align: center;
    font-size: 1.5em;
    position: relative;
}

.linha-com-coracoes::before,
.linha-com-coracoes::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 47%;
    height: 2px;
    background: #ccc;
}

.linha-com-coracoes::before {
    left: 0;
}

.linha-com-coracoes::after {
    right: 0;
}

.splide{
    max-width: 800px;
    margin: auto;
}

.splide__slide img {
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

section#cerimonia p, section#dicas p {
    margin-bottom: 12px;
    line-height: 1.5;
}

section#cerimonia a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    color: #6c63ff;
    text-decoration: none;
}

#form-presenca {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.input-nome{
    padding: 10px; 
    border-radius: 8px; 
    border: 1px solid #ccc;
    width:100%;
}

.linha-checkbox {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
}

.linha-tipo-presenca {
	display: flex;
	gap: 20px;
	width: 100%;
	margin-left: 4px;
}

.linha-tipo-presenca label {
	display: flex;
	align-items: center;
	gap: 6px;
}

#permitir-exibir{
    display: flex; 
    align-items: center; 
    gap: 5px;
    flex-basis: 100%; 
    margin-left: 4px;
}

.botao-enviar{
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    background-color: #c77; 
    color: white; 
    font-weight: bold; 
    cursor: pointer;
}

#form-mensagem{
    display: flex;
	flex-direction: column;
	gap: 10px;
}

#form-mensagem input,
#form-mensagem textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

#form-mensagem textarea {
    resize: none;
    min-height: 100px;
    max-height: 300px;
}

#menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align:center;
}

#menu a {
    text-decoration: none;
    color: black;
    position: relative;
}

#menu a:hover {
    color: #c77
}

#menu a.active {
    font-weight: bold;
    color: #c77; /* ou a cor que quiser */
    border-bottom: 1px solid #c77;
}

.center {
    text-align: center;
}

.mensagem-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    max-width: 600px;
    margin: auto;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    font-size: 1.1em;
    position: relative;
}

.linha-decorada {
    font-size: 1.2em;
    color: #c77;
    margin: 10px 0;
    font-family: 'Great Vibes', cursive;
}

.mensagem-texto {
    font-size: 1.15em;
    color: #333;
    margin: 20px 0;
    white-space: pre-wrap;
}

.mensagem-nome {
    color: #555;
    margin-top: 15px;
    font-size: 0.95em;
}

.font-size-coracao {
    font-size: 1em;
}

.mySwiper{
    margin-top: 30px;
}

#lista-confirmados h4{
    text-align:center;
    margin-bottom: 1rem;
}

#lista-confirmados ul{
    list-style: none; 
    padding: 0 1rem; 
    max-width: 600px; 
    margin: auto;
}

#lista-confirmados ul li {
    margin-bottom: 8px; 
    text-align: left;
}

#lista-confirmados ul p {
    text-align:center; 
    color:#777;
}

@media (max-width: 767px) {
    .linha-com-coracoes::before,
    .linha-com-coracoes::after {
        width: 40%;
    }

    .splide__slide img {
        max-height: 250px;
        object-position: center top;
    }

    header {
        margin-top: 60px;
        background-position: center top;
        background-size: contain;
        background-repeat: no-repeat;
        height: 310px;
        background-color: #333;
    }

    #dados {
        position: absolute !important;
        bottom: 10px !important;
        top: unset !important;
        left: unset !important;
        width: 100%;
        text-align: center;
    }

    #dados h1 {
        font-family: 'Great Vibes', cursive;
        font-size: 2em;
    }

    #dados p {
        font-size: 1em;
    }

    .countdown {
        font-size: 1em;
    }
}

.botoes-visoes {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

.btn-visao {
	padding: 6px 14px;
	border: 1px solid #ccc;
	background: #f5f5f5;
	border-radius: 6px;
	cursor: pointer;
	transition: .2s;
}

.btn-visao:hover {
	background: #e8e8e8;
}

.btn-visao.active {
	background: #d9b3b3;
	border-color: #d9b3b3;
	color: white;
}

/* .linha-final {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 15px;
} */

#permitir-exibir {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.linha-final .botao-enviar {
    margin: 0;
}