body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffcccb;
}

.container {
    text-align: center;
}

h1 {
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}

button {
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

#sim {
    background-color: #4CAF50;
    color: white;
}

#sim:hover {
    background-color: #45a049;
}

#nao {
    background-color: #f44336;
    color: white;
    position: fixed;
}

.presentes {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espaço entre os presentes */
    margin-top: 20px;
}

.presente {
    width: 127px;  /* Aumentando o tamanho do presente */
    height: 127px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #000; /* Cor da borda */
    border-radius: 10px; /* Bordas arredondadas */
    padding: 10px;
    background-color: #fff5e1; /* Cor de fundo suave */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra para destacar */
    transition: transform 0.3s ease-in-out; /* Efeito suave ao passar o mouse */
}

.presente:hover {
    transform: scale(1.2); /* Efeito de zoom ao passar o mouse */
}

.presente img {
    width: 110px; /* Ajustando o tamanho da imagem */
    height: 110px;
}

/* Fundo escuro quando o modal estiver ativo */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Escurecendo o fundo */
    z-index: 10;
    align-items: center;
    justify-content: center;
}

/* Conteúdo do modal (imagem do presente) */
.modal-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 80%;
    animation: zoomIn 0.3s ease-in-out;
}

/* Imagem do presente no modal */
.modal-content img {
    max-width: 500px;
    border-radius: 10px;
}

/* Botão de fechar */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #ff5733;
}

/* Efeito de zoom ao abrir */
@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Fogos de artifício */
.fogos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.fogo {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ff0, #f00);
    border-radius: 50%;
    opacity: 0;
    animation: explodir 1s ease-out forwards;
}

@keyframes explodir {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(3); }
}
