* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
  
}

header {
    background-color: #561C24;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-around;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

nav a:hover {
    background-color: #6D2932;
    border-radius: 4px;
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}

button {
    padding: 0.5rem 1rem;
    background-color: #561C24;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #6D2932;
}

.result {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
}

footer {
    background-color: #561C24;
    color: white;
    padding: 2rem 1rem 1rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    text-align: left;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid white;
}

.welcome-section{
    text-align: center;
}

.naslov{
    padding: 25px;
}

.linkovi{
    margin: 25px;
    padding-top: 15px;
}

.naslov{
    text-align: center;
}