/* mensagem */
.section_principal {
    position: relative;
    text-align: center;
    background: #fff;
    padding: 40px;
    margin: 40px;
}
.card_principal{
    height: 40vh;
    -webkit-box-shadow: 9px 7px 5px rgba(50, 50, 50, 0.77);
    -moz-box-shadow: 9px 7px 5px rgba(50, 50, 50, 0.77);
    box-shadow: 2px 5px 15px rgba(50, 50, 50, 0.77);
    border-radius: 1.5rem;
}
.message {
    font-size: 2em;
    width: 70vw;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    line-height: 1.2;
    color: #ff6b6b;
    font-family: "Nunito", sans-serif;
}
.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.btn_home{
    position: absolute;
    top: 95%;
    left: 40%;
    background: linear-gradient(135deg, #ff6b6b, #ff8c8c);
    border: none;
    border-radius: 30px;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 8px 15px rgba(255, 107, 107, 0.4);
}
.btn_home::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    border-radius: 50%;
    z-index: -1;
}
.btn_home:hover::before {
    transform: translate(-50%, -50%) scale(1);
}
.btn_home:hover {
    transform: translateY(-4px);
    box-shadow: 0px 10px 20px rgba(255, 107, 107, 0.6);
}

.section_second {
    display: flex;
    gap: 40px;
    width: 100%;
    padding: 20px;
    font-family: "Nunito", sans-serif;
}
.como_vai_ficar {
    width: 400px;
    /* flex: 1; */
    background: #ffe8e8;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(255, 107, 107, 0.2);
}
#preview-imagens {
    margin-bottom: 20px;
    height: 150px;
    background-color: #f4f4f4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 1.2em;
}
#preview-nome-casal {
    font-size: 2.5em;
    color: #ff6b6b;
    margin-bottom: 10px;
}
#preview-nome-casal-com-hifen {
    font-size: 1.2em;
    color: #ff8c8c;
    font-weight: bold;
}

.tempo {
    font-size: 1.5em;
    color: #4f4f4f;
    line-height: 1.4;
}
#preview-mensagem {
    font-size: 1.1em;
    color: #707070;
    margin-top: 20px;
    line-height: 1.6;
    font-style: italic;
}
/* Formulario */
.formulario {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.formulario h2 {
    color: #ff6b6b;
    font-size: 1.8em;
    margin-bottom: 10px;
}
.formulario p {
    font-size: 1em;
    color: #707070;
    margin-bottom: 20px;
    line-height: 1.5;
}
.planos label {
    /* display: block; */
    background: #ffe8e8;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    color: #4f4f4f;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.planos label:hover {
    background: #ffd2d2;
}
.flex{
    display: flex;
}
input[type="text"],
input[type="date"],
input[type="time"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}
textarea {
    min-height: 80px;
    resize: vertical;
}
input:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}
.btn-criar {
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8c8c);
    color: #fff;
    font-weight: bold;
    padding: 15px;
    font-size: 1.2em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}
.btn-criar:hover {
    box-shadow: 0px 10px 20px rgba(255, 107, 107, 0.4);
    transform: translateY(-3px);
}
.tempo span {
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Perguntas frequentes */
.perguntas {
    display: flex;
    flex-direction: column;
}
.btn_pergunta {
    margin: 10px 0;
    color: #000;
    border-radius: 1rem;
    -webkit-box-shadow: 9px 7px 5px rgba(50, 50, 50, 0.77);
    -moz-box-shadow: 9px 7px 5px rgba(50, 50, 50, 0.77);
    box-shadow: 2px 5px 15px rgba(50, 50, 50, 0.77);
    padding: 15px;
    transition: 2s;
}

body .splide__pagination__page {
    background: #2c2860;
    border: 1px solid #2c2860;
    /* margin: 12px 15px; */
    width: 1.5rem;
    height: 0.5rem;
    transition: 0.5s;
    border-radius: 5000px;
    transform: rotate(180deg);
    transition: 0.4s;
}

body .splide__pagination__page.is-active {
    transform: none;
    background: orange;
    border: 1px solid orange;
    opacity: 1;
    width: 1.5rem;
    height: 0.5rem;
    /* width: 10px;
    height: 40px; */
}

body .splide__pagination__page{
    display: none;
}

/* body .splide__pagination {
    margin: 0px 1125px 0 0;
} */
body .splide__arrow.splide__arrow--prev {
    display: none;
}

body .splide__arrow.splide__arrow--next {
    display: none;
}

.exemplo {
    animation-name: change_associado;
    animation-duration: 2s;
}

@keyframes change_associado {
    from {
        margin: 6rem 0;
    }

    to {
        margin: 0rem;
        width: 400px;
    }
}


.titulo {
    color: #2c2860;
    font-weight: bold;
    margin: 50px 0;
    text-align: center;
}
.data_time{
    margin-right: 1rem;
}
.navegador{
    padding: 5px;
}
/* Estilos para telas menores (celulares) */
@media (max-width: 1000px) {
    .section_second {
        flex-direction: column; /* Empilha os itens verticalmente */
        align-items: center; /* Centraliza os itens */
    }

    .como_vai_ficar,
    .formulario {
        width: 100%; /* Ocupa a largura total */
        max-width: 500px; /* Limita a largura máxima para não ficar muito largo em tablets */
        flex: none; /* Remove a propriedade flex para evitar comportamentos inesperados */
    }

    .flex {
        flex-direction: column;
    }

    .data_time {
        margin-right: 0; /* Remove a margem direita no modo coluna */
        margin-bottom: 10px; /* Adiciona espaço abaixo */
    }

    .mobile_none {
        display: none;
    }
}

   /* Janela */
   .window-frame {
    border: 2px solid #ccc;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    background-color: #f8f8f8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.window-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    background-color: #f1f1f1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.window-buttons {
    display: flex;
    gap: 5px;
}

.window-button {
    padding: 5px 10px;
    font-size: 16px;
    background-color: #ccc;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.window-button:hover {
    background-color: #bbb;
}

.window-icon img {
    width: 20px;
    height: 20px;
}

.url-field {
    flex-grow: 1;
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-left: 10px;
}

.window-content {
    padding: 15px;
}

.tempo {
    font-size: 14px;
}

.splide {
    margin-bottom: 20px;
}

/* Responsividade */
@media (max-width: 600px) {
    .window-frame {
        width: 100%;
    }

    .window-buttons {
        display: none;
    }

    .url-field {
        font-size: 12px;
    }
    .message{
        font-size: 1rem;
        padding: 5px;
    }
    .btn_home{
        position: relative;
        top: 0;
        left: 0;
        margin-top: 250px;
    }
}