* {
    box-sizing: border-box;
    margin: 0;
}
body {
    background-color: whitesmoke;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('img/dog.jpg');
    background-size: cover; 
    background-position: center; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}
.header {
    background-color: rgb(109, 182, 118);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}
.header h1 {
    text-align: center;
    margin: 0;
    padding-left: 20px;
    font-size: 2rem;
    flex-grow: 1;
}
.logo img {
    width: 80px;
    border-radius: 5px;
}
.nav-links {
    display: flex;
    justify-content: flex-start; 
    flex-grow: 1;
}
.nav-links ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav-links ul li {
    padding: 10px;
    margin-left: 10px;
    background-color: rgb(54, 54, 54);
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.main h1 {
    text-align: center;
    margin-bottom: 20px;
}
.main p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
}
.news {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}
.vijest {
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    max-width: 400px;
    width: 100%;
}
.vijest:hover {
    transform: translateY(-10px);
}
.vijest img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}
.vijest p {
    font-size: 16px;
    text-align: center;
    color: #666;
    margin-bottom: 15px;
}
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
}
.footer-btn {
    background-color: rgb(54, 54, 54);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.footer-btn:hover {
    transform: translateY(-5px);
}