*{
    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/ozadje_slika.png);
    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;
}
/*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;
}
*{
    margin:0;
    font-family:sans-serif;
}
.vclanitev, .davcna, .voda{
    background:white;
    padding:40px;
    border-radius:15px;
    border:1px solid #ccc;
    width:400px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    margin: 30px;
}

.h2{
    text-align:center;
    margin-bottom:30px;
    color:rgb(165,23,23);
}

.form{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}

label, p{
    margin-bottom:5px;
    font-weight:bold;
    color:#333;
    margin: 5px;
}

input{
    padding:10px;
    border-radius:8px;
    border:1px solid #ccc;
    transition:0.2s;
}

input:focus{
    border-color:red;
    outline:none;
}

button{
    margin-top:20px;
    padding:15px;
    background:red;
    color:white;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    width:100%;
}

button:hover{
    background:rgb(235,87,87);
}
wrapper{
    display: flex;
}
.vclanitev{
    flex: 1;
}
.davcna{
    flex: 1;
}
.voda{
    flex: 1;
}
 .vclanitev{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@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 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 10px !important;
    }

    .vclanitev, .davcna, .voda {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin: 15px 0 !important;
        padding: 20px !important;
        flex: none !important;
    }

    .vclanitev div {
        margin-bottom: 25px;
    }
    .vclanitev div:last-child {
        margin-bottom: 0;
    }

    input[type="text"], input[type="email"], input[type="tel"], input[type="file"] {
        width: 100% !important;
    }
    button {
        width: 100% !important;
        margin-top: 15px !important;
    }

    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;
    }
}