body {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
}

header {
    background-color: #1c1d5f;
    padding: 10px 20px 10px 30px;
    text-align: left;
}

header a{
    color: white;
    text-decoration: none;
}

.mail a:hover{
    text-decoration: underline;
}

.ozadje{
    background-image: url("ozadje.jpg");
}

nav{
    background-color: rgb(44, 44, 137);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.domov{
    background-color: rgb(44, 44, 137);
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
}

.domov a{
    text-decoration: none;
    text-align: center;
    color: white;
}

.domov:hover{
    background-color: #1c1d5f;
}

.znamenitosti{
    background-color: rgb(44, 44, 137);
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
}

.znamenitosti a{
    text-decoration: none;
    text-align: center;
    color: white;
}

.znamenitosti:hover{
    background-color: #1c1d5f;
}

.dejavnosti{
    background-color: rgb(44, 44, 137);
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
}

.dejavnosti a{
    text-decoration: none;
    text-align: center;
    color: white;
}

.dejavnosti:hover{
    background-color: #1c1d5f;
}

.clanstvo{
    background-color: rgb(44, 44, 137);
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
}

.clanstvo a{
    text-decoration: none;
    text-align: center;
    color: white;
}


.clanstvo:hover{
    background-color: #1c1d5f;
}

main{
    margin: 40px;        
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.lynx{
    width: 150px;
    height: auto;
    
}

footer {
    background-color: #1c1d5f;
    color: white;
    text-align: center;
    padding: 10px 0;
}



/*OBRAZEC*/

form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: 40px auto;
    box-shadow: 0px 0px 10px gray;
}
label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}
input, select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
button {
    margin-top: 15px;
    background: blue;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
}
button:hover {
    background: #0056b3;
}

h2{
    color: white;
    background-color: blue;
    width: fit-content;
    padding: 10px;
    margin: 10px auto;
    align-items: center;
    border-radius: 10px;
}

/*GUMB PROFIL*/

.header-buttons {
    position: absolute;
    right: 20px;
    top: 10px;
}

.profile-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.profile-button:hover {
    background-color: #0056b3;
}

.logout-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.logout-button:hover {
    background-color: #0056b3;
}

.login-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.login-button:hover {
    background-color: #0056b3;
}

/*PRIJAVA*/

.registracija{
    text-align: center;
    background-color: white;
    padding: 5px;
    max-width: 430px;
    margin: 10px auto;
    border-radius: 8px;
}

/*PROFIL*/

.profil{
    text-align: left;
    font-size: 20px;
}