html {
  -webkit-text-size-adjust: 100%;
}

* {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

p {
    font-size: 1.5rem;
}

header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 15vh;
    width: 100vw;
    background: rgba(24, 78, 29, .5);
    overflow: hidden;
}

header img{
    height: 80%; 
}

header img:hover{
    cursor: pointer;
}

header button{
    border: none;
    background-color: transparent;
    border-radius: 10px;
    height: fit-content;
    width: fit-content;
    color: white;
    font-size: larger;
    font-weight: bold;
    padding: 5px;
}

header button:hover{
    cursor: pointer;
}
.selekt{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

select{
    border: none;
    color: white;
    background-color: red;
    border-radius: 5px;
}

/* main */

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: fit-content;
    background-color: aliceblue;
}

.upperMain{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin-bottom: 20vh;
    background: rgb(80, 107, 80);
    color: white;
}

.upperMain_outer{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upperMain_inner{
    background: rgba(105, 150, 109, 0.5);
    height: 80%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 20px;
}

.upperMain_inner img{
    width: 35%;
}

.slika_middle{
    width: 35%;
    margin-bottom: 5vh;
    
}

.upperMain div p{
    max-width: 90%;
    text-align: center;
}

.kurac{
    width: 50%;
    height: 100%;
    background: rgb(80, 107, 80);
}

.middleMain{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: 80vw;
    margin-bottom: 20vh;
    background: rgb(80, 107, 80);
    color: white;
    border-radius: 30px;
}

.middleMain_h1{
    margin-bottom: 5vh;
    margin-top: 5vh;
}

.middleMain_p{
    margin-bottom: 5vh;
}

.middleMain_bottom{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: 90%;
}

.slika_middle_upper{
    height: auto;
    width: 70%;
    margin-bottom: 5vh;
    border-radius: 1rem;
}

.middleMain_bottom_right{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.middleMain_bottom_right p{
    text-align: start;
    width: 100%;
    margin-bottom: 5vh;
}

/* footer */

footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 15vh;
    width: 100vw;
    font-size: 1rem;
    background: rgba(24, 78, 29, .5);
}

footer div{
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 10vw;
}

footer div img{
    height: 90%;
    width: fit-content;
}

footer div a{
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.drustvene{
    width: fit-content;
}


@media(width<=1024px) {
    header{
        flex-direction: column;
        height: 18rem;
        justify-content: space-around;
    }

    header img{
        height: 6rem;
        width: 7rem;
    }

    .upperMain{
        flex-direction: column;
        height: fit-content;
        text-align: center;
        padding: 2rem;
    }
    .upperMain .kurac{
        margin-top: 2rem;
        width: 90%;
        border-radius: 1rem;
    }

    .upperMain_outer{
        width: 90%;
        background-color: transparent;
        height: 60vh;
    }

    .upperMain_inner img{
        max-width: 13rem;
        min-width: 8rem;
    }

    .upperMain_inner{
        height: 100%;
        width: 80%;
        justify-content: space-between;
    }

    .selekt{
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        height: fit-content;
    }

    .middleMain{
        text-align: center;
        width: 92%;
    }
    .slika_middle_upper{
        height: auto;
        border-radius: 1rem;
    }
    .slika_middle{
        min-width: 10rem;
    }
}

@media(width < 600px){
    .imeD{
        visibility: hidden;
        position: absolute;
    }

    footer div{
        flex-direction: column;
    }
}