*{
    margin: 0px;
    font-family: sans-serif;
    box-sizing: border-box;
}
body{
    background-color: #fffec7;
}
.velike_crke span{
    color: black;
    font-size: large;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 30px;
}
.slika{
    background-image: url(slike/prvi_clan_drustva.jpg);
    background-repeat: no-repeat;
    width: 100%;
    height: 500px;
    background-position: center 30%;
    background-size: cover;
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 30px;
    padding: 100px;
}
.debelo{
    font-weight: bold;
    color: black;
    font-size: 50px;
}
.gumbi button{
    margin: 50px;
    padding: 20px;
    background-color: red;
    border-radius: 20px;
    border: solid black 3px;
    color: white;
}
.zgodovina {
    padding: 60px;
    color: rgb(165, 23, 23);
}

.zgodovina .uvod {
    font-size: 20px;
    margin: 20px 0 50px 0;
}
.leto {
    font-size: 28px;
    font-weight: bold;
    color: red;
    width: 100px;
}

.vsebina h3 {
    margin-bottom: 10px;
}

.vsebina p {
    font-size: 18px;
    color: #333;
}
wrapper{
    display: flex;
}
.levo{
    flex: 3;
    background-color: #fffec7 !important;
}
.desno{
    flex: 1;
}
.časovnica {
    position: relative;
    border-left: 4px solid red;
    padding-left: 40px;
}

.dogodek {
    position: relative;
    margin-bottom: 40px;
}
.dogodek::before {
    content: '';
    position: absolute;
    left: -54px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
}
.desno{
    flex: 1;
    background-color: #fffec7 !important;
    padding: 40px 25px;
}
.desno h2{
    font-size: 26px;
    margin-bottom: 25px;
}
.foto{
    margin-bottom: 25px;
}
.foto img{
    width: 100%;
    border-radius: 10px;
}
.foto p{
    margin-top: 8px;
    color: #444;
}
.gumb button{
    margin: 20px;
    padding: 10px;
    background-color: red;
    border: solid black 3px;
    color: white;
    width: 90%;
}
.gumb a{
    text-decoration: none;
    color: white;
}

button:hover{
    background-color: rgb(235, 87, 87);
}
/*dropdown meni*/
.meni{
display:flex;
list-style:none;
}

.dropdown{
position:relative;
}

.dropdown_meni{
display:none;
position:absolute;
top:100%;
left:0;
background:#9c9595;
list-style:none;
padding:0;
min-width:150px;
}
.dropdown_meni a{
color:white;
text-decoration:none;
padding:15px;
}

.dropdown:hover .dropdown_meni{
display:block;
}

@media (max-width: 768px) {
    header {
        flex-direction: column !important;
        height: auto !important;
        padding: 20px 10px;
    }

    .head-l {
        justify-content: center;
        margin-bottom: 20px;
    }

    .meni {
        flex-direction: column !important;
        gap: 0;
        width: 100%;
        align-items: center;
    }

    header ul li {
        width: 100%;
        text-align: center;
    }

    header ul li a {
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown_meni {
        position: static;
        width: 100%;
        background-color: rgb(130, 125, 125);
        display: none;
    }

    .dropdown:hover .dropdown_meni {
        display: block;
    }

    .slika {
        padding: 40px 20px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .slika .debelo {
        font-size: 35px;
        display: block;
        width: 100%;
    }

    .slika .velike_crke span {
        font-size: 20px;
        display: block;
        width: 100%;
    }

    .gumbi {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .gumbi button {
        margin: 20px 0 0 0;
    }

    wrapper {
        flex-direction: column !important;
        display: flex;
    }

    .levo, .desno {
        width: 100%;
        flex: none;
    }

    .zgodovina {
        padding: 30px 15px;
    }

    .zgodovina .uvod {
        font-size: 18px;
        margin-bottom: 35px;
    }

    .časovnica {
        padding-left: 30px;
        border-left: 4px solid red;
    }

    .dogodek {
        margin-bottom: 35px;
        position: relative;
    }

    .dogodek::before {
        content: '';
        position: absolute;
        left: -44px;
        top: 6px;
        width: 20px;
        height: 20px;
        background-color: red;
        border-radius: 50%;
        border: 2px solid #fffec7;
        z-index: 2;
    }

    .leto {
        width: auto;
        font-size: 24px;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .vsebina p {
        font-size: 16px;
    }

    .desno {
        padding: 40px 20px;
        border-top: 2px solid rgba(165, 23, 23, 0.2);
    }

    .desno h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
    }

    .foto {
        text-align: center;
    }

    .gumb button {
        width: 100%;
        margin: 20px 0;
    }

    footer {
        flex-direction: column !important;
        text-align: center;
        padding: 40px 20px;
        gap: 40px;
    }

    footer div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer div br {
        display: inline;
    }

    .socialna_omrezja {
        border-top: 1px solid #555;
        padding-top: 30px;
    }
}