body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

header {
    background-color: #0056b3;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

header h1,
header h2,
header h3 {
    color: inherit;
}

section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    color: #0056b3;
}

/* Стиль посилань */
weblink {
    color: #e67e22;
    text-decoration: none;
    font-weight: bold;
}

weblink:hover {
    text-decoration: underline;
}

/* Стиль зображень */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.image-container img {
    margin-right: 10px;
    border: 2px solid #ddd;
}

/* Анімація */
.anim-box {
    width: 100px;
    height: 100px;
    background-color: #3498db;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: relative;
    animation: slideColor 4s infinite alternate;
}

@keyframes slideColor {
    0% {
        left: 0;
        background-color: #3498db;
        transform: rotate(0deg); 
    }
    50% {
        background-color: #9b59b6;
        border-radius: 50%;
    }
    100% {
        left: 200px;
        background-color: #e74c3c;
        transform: rotate(180deg);
    }
}

/* Галереlя та Форма */
.thumbnails img {
    width: 80px;
    cursor: pointer;
    margin: 5px;
    opacity: 0.6;
    transition: 0.3s;
}

.thumbnails img:hover { 
    opacity: 1; 
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
}

input, textarea {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px;
    background-color: #27ae60;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #2ecc71;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #34495e;
    color: white;
    border-radius: 8px;
    margin-top: 20px;
}


