<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Paint9X0</title>
<style>
@keyframes gradientBG {
0% {background-position: 0% 50%;}
50% {background-position: 100% 50%;}
100% {background-position: 0% 50%;}
}
@keyframes buttonColor {
0% {background-color: #4CAF50;}
25% {background-color: #FF5722;}
50% {background-color: #2196F3;}
75% {background-color: #9C27B0;}
100% {background-color: #4CAF50;}
}
body {
font-family: 'Arial', sans-serif;
text-align: center;
margin: 0;
padding: 20px;
background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #a1c4fd, #c2e9fb);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
color: #fff;
}
h1 {
margin-top: 40px;
font-size: 2.5em;
text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
.game-container {
margin: 40px auto;
max-width: 600px;
box-shadow: 0 10px 25px rgba(0,0,0,0.4);
border-radius: 20px;
overflow: hidden;
background: #fff;
}
.game-container iframe {
width: 100%;
height: 400px;
border: none;
}
a.button {
display: inline-block;
margin-top: 30px;
text-decoration: none;
color: white;
padding: 15px 35px;
border-radius: 12px;
font-size: 1.2em;
transition: transform 0.3s;
animation: buttonColor 6s linear infinite;
}
a.button:hover {
transform: scale(1.1);
}
@media (max-width: 500px) {
h1 {
font-size: 2em;
}
.game-container iframe {
height: 300px;
}
}
</style>
</head>
<body>
<h1>Paint9X0</h1>
<div class="game-container">
<iframe src="https://scratch.mit.edu/projects/1119190859/embed" allowtransparency="true" allowfullscreen></iframe>
</div>
<a href="https://scratch.mit.edu/projects/1119190859" target="_blank" class="button">Otwórz w Scratchu</a>
</body>
</html>