* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #222222;
}

#header {
    background-color: #7b1c1c;
    color: white;
    text-align: center;
    padding: 20px;
}

#header h1 {
    font-size: 32px;
    letter-spacing: 2px;
}

#header p {
    font-size: 13px;
    margin-top: 5px;
    color: #f5c6c6;
}

#horiz-nav {
    background-color: #5a1414;
    display: flex;
    flex-direction: row;
}

#horiz-nav a {
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    font-size: 14px;
    display: block;
}

#horiz-nav a:hover {
    background-color: #7b1c1c;
}

#horiz-nav a.aktivan {
    background-color: #9e2a2a;
    font-weight: bold;
}

#wrapper {
    display: flex;
    flex-direction: row;
    min-height: 500px;
}

#vert-nav {
    background-color: #f5e6e6;
    width: 160px;
    min-width: 160px;
    border-right: 2px solid #7b1c1c;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
}

#vert-nav p {
    font-size: 12px;
    font-weight: bold;
    color: #7b1c1c;
    padding: 8px 12px 4px 12px;
    text-transform: uppercase;
}

#vert-nav a {
    color: #5a1414;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 13px;
    border-left: 3px solid transparent;
}

#vert-nav a:hover {
    background-color: #e8c8c8;
    border-left: 3px solid #7b1c1c;
}

#vert-nav a.aktivan {
    background-color: #dbb0b0;
    border-left: 3px solid #5a1414;
    font-weight: bold;
}

#sadrzaj {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

h2 {
    font-size: 24px;
    color: #7b1c1c;
    border-bottom: 2px solid #7b1c1c;
    padding-bottom: 6px;
}

p {
    font-size: 14px;
    line-height: 1.7;
}

.kartica {
    background-color: #fdf5f5;
    border: 1px solid #d9a0a0;
    border-left: 4px solid #7b1c1c;
    padding: 15px;
}

.kartica h3 {
    color: #7b1c1c;
    margin-bottom: 8px;
    font-size: 16px;
}

.kartica p {
    font-size: 13px;
    line-height: 1.6;
}

.redak {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
}

.redak .kartica {
    flex: 1 1 200px;
}

.tablica {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tablica th {
    background-color: #7b1c1c;
    color: white;
    padding: 9px 12px;
    text-align: left;
}

.tablica td {
    padding: 8px 12px;
    border-bottom: 1px solid #e0c0c0;
}

.tablica tr:nth-child(even) td {
    background-color: #fdf0f0;
}

.forma-polje {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.forma-polje label {
    font-size: 13px;
    font-weight: bold;
    color: #5a1414;
}

.forma-polje input,
.forma-polje textarea {
    padding: 7px 10px;
    border: 1px solid #c09090;
    font-size: 13px;
    font-family: Arial, sans-serif;
    width: 350px;
}

.forma-polje textarea {
    height: 80px;
    resize: vertical;
}

.gumb {
    background-color: #7b1c1c;
    color: white;
    border: none;
    padding: 9px 20px;
    font-size: 13px;
    cursor: pointer;
    width: 130px;
}

.gumb:hover {
    background-color: #5a1414;
}

.galerija {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.galerija-slika {
    height: 400px;
    background-color: #f0d8d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #7b1c1c;
    text-align: center;
}

#footer {
    background-color: #5a1414;
    color: #f5c6c6;
    text-align: center;
    padding: 12px;
    font-size: 15px;
    margin-top: 20px;
}