body {
    background-image: url('oboi1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 155vh;
    margin: 0;
    text-align: center;
    font-family: "Comic Sans MS", cursive, sans-serif;

    overflow: hidden;
}

h1 {
    border: solid 1px revert; /* Obozhdenie */
    padding: 1%; /* Razryv ot teksta do ogranicheniya */
    margin: 2px;
    border-radius: 10px;
    width: 100%;
    background-color: pink;
    color: #ff005d;
    text-align: center;
    transition: transform 0.5s, color 0.5s;

}

h1:hover {
    transform: rotate(-3deg) scale(1.1);
    color: #ae0c49;
}

.container {
    position: relative;
    margin-top: 20px;
}

.draggable {
    width: 150px;
    cursor: grab;
    position: absolute;
    transition: transform 0.3s;
}

.draggable:hover {
    transform: scale(1.2) rotate(15deg);
}

.message {
    display: none;
    font-size: 24px;
    color: white;
    background: rgba(255, 51, 102, 0.8);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: bold;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

button {
    background: #ff3366;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s, transform 0.2s;
}

button:hover {
    background: #cc0033;
    transform: scale(1.1);
}
input[type="button"] {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ff005d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
footer {
    background-color: pink;
    bottom: 0;
    width: 100%;
    position: fixed;
    color: #ff005d;
}
