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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background-color: #d8d2ce;
    font-family: Arial, sans-serif;
}

.convite {
    position: relative;
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    background-color: #f8f3ef;
    padding: 40px 25px;
    text-align: center;
    overflow: hidden;
}

/*TOPO*/

.topo {
    height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*INFROMAÇÕES*/

.informacoes {
    color: #bd2855;
}

.titulo {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.idade {
    position: relative;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.informacoes h1 {
    position: absolute;
    font-size: 150px;
    line-height: 1;
    color: #bd2855;
    z-index: 1;
}

.nome {
    position: absolute;
    z-index: 2;
    margin-top: 20px;
    font-size: 52px;
    font-family: 'Lucida Handwriting', cursive;
    color: #ef8fb1;
    transform: rotate(-3deg);
}

/*DATA E HORÁRIO*/

.data-horario {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #bd2855;
    font-size: 22px;
    font-weight: bold;
}

.data-horario div {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.linha {
    width: 2px;
    height: 50px;
    background-color: #bd2855;
}

/*MENSAGEM*/

.mensagem {
    margin-top: 15px;
    color: #bd2855;
    font-size: 18px;
    line-height: 1.2;
}

/*BOTÕES*/

.botoes {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 3;
}

.botao {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 22px;
    background-color: #bd2855;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.botao-presentes {
    grid-column: 1 / 3;
    width: 45%;
    justify-self: center;
}

.botao:hover {
    transform: traslateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.botao:active {
    transform: scale(0.97);
}

/*BOLA DISCOTECA*/

.disco {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 130px;
    transform: translateX(-50%);
    transform-origin: top center;
    animation: balancar 4s ease-in-out infinite;
    z-index: 2;
}

.fio {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 45px;
    transform: translateX(-50%);
    background-color: #c7a66a;
}

.bola {
    position: absolute;
    top: 38px;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translateX(-50%);
    z-index: 2;
}

.bola img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes balancar {
    0% {
        transform: translateX(-50%) rotate(-8deg);
    }

    50% {
        transform: translateX(-50%) rotate(8deg);
    }

    100% {
        transform: translateX(-50%) rotate(-8deg);
    }
}

/*Flores superior esquerda*/

.flores-esquerda {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    z-index: 1;
    transform-origin: top left;
    animation: flores-esquerda 6s ease-in-out infinite;
}

.flores-esquerda img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes flores-esquerda {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(1.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/*Flores superior direita*/

.flores-direita {
    position: absolute;
    top: 0;
    right: 0;
    width: 68%;
    z-index: 1;
    transform-origin: top right;
    animation: flores-direita 6s ease-in-out infinite;
}

.flores-direita img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes flores-direita {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-1.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/*Flores inferior esquerda*/

.flores-inferior-esquerda {
    position: absolute;
    bottom: -10px;
    left: -69px;
    width: 58%;
    z-index: 1;
    transform-origin: bottom left;
    animation: flores-inferior-esquerda 7s ease-in-out infinite;
}

.flores-inferior-esquerda img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes flores-inferior-esquerda {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(1.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.detalhes {
    margin-top: -20px;
}

.flores-inferior-direita {
    Position: absolute;
    bottom: -10px;
    right: -55px;
    width: 55%;
    z-index: 1;
    transform-origin: bottom right;
    animation: flores-inferior-direita 7s ease-in-out infinite;
}

.flores-inferior-direita img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes flores-inferior-direita {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-1.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.traje-banho {
    margin-top: 12px;

    font-size: 15px;

    font-weight: bold;

    color: #bd2855;
}