<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pakistan Prime Minister Voting Form 2024</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f1f1f1;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
background-color: #fff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
max-width: 500px;
width: 100%;
}
h1 {
color: #333;
animation: fadeInUp 1s ease-out;
}
.party-label {
display: inline-block;
margin-bottom: 20px;
animation: slideInLeft 1s ease-out;
}
.party-image {
width: 200px;
height: auto;
border-radius: 50%;
border: 2px solid transparent;
transition: border-color 0.3s ease-in-out;
cursor: pointer;
animation: slideInRight 1s ease-out;
}
.party-image:hover {
border-color: #4CAF50;
}
input[type="radio"] {
display: none;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin-top: 20px;
animation: fadeInUp 1s ease-out;
}
input[type="submit"]:hover {
background-color: #45a049;
}
/* CSS Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
</style>
</head>
<body>
<div class="container">
<h1>Vote for Pakistan Prime Minister 2024</h1>
<form action="place add" method="post" target="_blank">
<input type="radio" id="pti" name="party" value="PTI">
<label class="party-label" for="pti">
<img class="party-image" src="https://th.bing.com/th/id/OIP.ks8_8mypL8H9fbp1ut3LWAHaHW?rs=1&pid=ImgDetMain" alt="PTI Logo"><br>
PTI (Pakistan Tehreek-e-Insaf)
</label>
<input type="radio" id="ppp" name="party" value="PPP">
<label class="party-label" for="ppp">
<img class="party-image" src="https://cdn-icons-png.flaticon.com/512/5922/5922048.png" alt="PPP Logo"><br>
PPP (Pakistan Peoples Party)
</label>
<input type="radio" id="pmln" name="party" value="PMLN">
<label class="party-label" for="pmln">
<img class="party-image" src="https://worldpress.com.pk/wp-content/uploads/2021/12/PML-N.jpg" alt="PMLN Logo"><br>
PMLN (Pakistan Muslim League - Nawaz)
</label><br><br>
<input type="submit" value="Submit Vote">
</form>
</div>
</body>
</html>