body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}
header {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.atb {
    display: block;
    height: 50px;
}
nav {
    display: flex;
    gap: 30px;
}
nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
nav a:hover {
    color: #ffcc00;
    text-decoration: underline;
}
h2 {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    font-size: 2em;
    color: #333;
}
.kartunkaatb {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
}
.kartunkaatb p {
    opacity: 1;
    padding: 20px;
    color: #555;
    font-size: 18px;
}
.info {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 50px auto;
    justify-content: center;
    gap: 20px;
}
.post {
    position: relative;
    background-color: #fff;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.post:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.post h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}
.post-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
.post-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}
.article-but {
    display: block;
    text-decoration: none;
    background-color: #11202b;
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.article-but:hover {
    background-color: #ffcc00;
    color: #333;
}
.post::before {
    content: "🔥 Акція!";
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff3333;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 14px;
}
footer a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    text-decoration: underline;
}
