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;
    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: 40%;
    margin-bottom: 5vh;
}

.upperMain div p{
    max-width: 90%;
    text-align: center;
}

.kurac{
    width: 50%;
    height: 100%;
    background-color: #a6ca42;
}
.articleContainer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100vw;
    height: 100vh;
}

article{
    height: 70vh;
    width: 30vw;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: rgba(105, 150, 109);
    justify-content: space-between;
    align-items: center;
}

article h1{
    height: 10%;
    text-align: center;
    background: rgb(80, 107, 80);
    color: white;
    width: 150%;
    display: flex;
    align-items: center;
    justify-content: center;
}

article img{
    width: 90%;
}

article p{
    height: 40%;
    width: 100%;
    background: rgba(105, 150, 109);
    color: white;
    display: flex;
    align-items: center;
    font-size: large;
    max-width: 95%;
    justify-content: center;
    text-align: center;
}

article a{
    display: flex;
    align-items: center;
    height: 10%;
    width: 100%;
    background: rgba(105, 150, 109);
    color: white;
    font-size: large;
    font-weight: bold;
    justify-content: center;
}

.bottomMain{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 80vh;
    width: 100vw;
    margin-bottom: 10vh;
    background: rgb(80, 107, 80);
    color: white;
}

.bottomMain img{
    width: 50%;
    height: 100%;
}

.bottomMain_outer{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 50%;
    align-items: center;
    justify-content: space-around;
}

.bottomMain_inner{
    background: rgba(105, 150, 109);
    height: 80%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 20px;
}

.bottomMain_outer img{
    width: 35%;
    height: 40%;
}

.bottomMain div p{
    max-width: 90%;
    text-align: center;
}

/* 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;
    }

    article{
        margin-top: 2rem;
        height: 100vh;
        width: 90%;
        max-width: 42rem;
    }

    .articleContainer{
        height: fit-content;
        align-items: center;
        flex-direction: column;
        margin-bottom: 3rem;
    }

    article p{
        font-size: 1.6rem;
    }

    article h1{
        width: 100%;
    }

    .bottomMain{
        flex-direction: column;
        height: fit-content;
        text-align: center;
        padding: 2rem;
    }
    .bottomMain_outer{
        width: 100%;
    }
    .bottomMain_inner{
        width: 95%;
    }
    .bottomMain_inner img{
        min-width: 10rem;
    }
    .bottomMainPic{
        border-radius: 1rem;
        margin-bottom: 2rem;
        width: 95% !important
    }

    .selekt{
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        height: fit-content;
    }

    .mainBottom{
        height: fit-content;
        margin-top: 2rem;
        align-items: center;
        flex-direction: column;
        background-color: transparent;
        overflow: show;
    }

    .mainBottom img{
        width: 100%;
        border-radius: 20px;
    }

    .veciBottom{
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 80%;
        border-radius: 15px;
    }

    .veciBottom div{
        width: 90%;
        border-radius: 15px;
        border: 3rem #69aedf solid;
        z-index: 10000;
    }

    .veciBottom div p, h1{
        text-align: center;
    }

    .mainBottom img{
        width: 80%;
        height: 40%;
    }
}

@media(460px<=width<=1023px){
    article{
        width: 60%;
    }
}

@media(width < 600px){
    .imeD{
        visibility: hidden;
        position: absolute;
    }

    footer div{
        flex-direction: column;
    }
}