Luh - HTML 5
Luh - HTML 5
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Um Pedido Especial</title>
<style>
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #ffcccb; /* Rosa suave */
color: #b22222; /* Vermelho mais delicado */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
text-align: center;
}
#container {
max-width: 600px;
}
h1 {
font-size: 28px;
margin-bottom: 20px;
}
#buttons {
margin-top: 20px;
}
button {
padding: 12px 24px;
font-size: 18px;
border: none;
border-radius: 25px;
cursor: pointer;
margin: 10px;
transition: all 0.3s ease-in-out;
}
#sim {
background-color: #ff69b4; /* Rosa vivo */
color: white;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
#sim:hover {
background-color: #ff85c2;
}
#nao {
background-color: #f0f0f0;
color: #b22222;
position: absolute;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
#nao:hover {
background-color: #ffe4e1;
}
#message {
display: none;
font-size: 22px;
margin-top: 20px;
color: #b22222;
}
</style>
<script>
function moveNaoButton() {
const naoButton = document.getElementById('nao');
const screenWidth = window.innerWidth;
const screenHeight = window.innerHeight;
naoButton.style.left = `${newX}px`;
naoButton.style.top = `${newY}px`;
}
function showMessage() {
const message = document.getElementById('message');
message.style.display = 'block';