html {
  -webkit-text-size-adjust: 100%;
}

*{
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
}

p{
    font-size: large;
}

header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 15vh;
    width: 100vw;
    background-color: #a6ca42;
    overflow: hidden;
}

header img{
    height: 120%;
}

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;
}

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-color: #f93297;
    color: white;
}

.upperMain_outer{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f93297;
}

.upperMain_inner{
    background-color:  #a6ca42;
    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;
}

.middleMain{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: 80vw;
    margin-bottom: 20vh;
    background-color: #f93297;
    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: 90%;
    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;
}

.bottomMain{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 80vh;
    width: 100vw;
    margin-bottom: 10vh;
    background-color: #69aedf;
    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;
    background-color: #a6ca42;
}

.bottomMain_outer div{
    background-color: #69aedf;
}

.bottomMain_inner{
    background-color: #69aedf;
    height: 80%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 20px;
    z-index: 12121212;
}

.bottomMain_outer img{
    width: 35%;
    height: 40%;
}

.bottomMain div p{
    max-width: 90%;
    text-align: center;
}

footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: 15vh;
    width: 100vw;
    font-size: 1rem;
    background: linear-gradient(to right, #008fc7 5%, #a6ca42 95%);
}

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;
}

.talasi{
    width: 100%;
}

.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;
}

@media(width <= 1024px){
    header{
        flex-direction: column;
        height: 20rem;
        justify-content: space-around;
    }

    header img{
        height: 7rem;
        width: 15rem;
    }

    .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;
    }

    .middleMain{
        text-align: center;
        width: 92%;
    }
    .slika_middle_upper{
        height: auto;
        border-radius: 1rem;
    }
    .slika_middle{
        min-width: 15rem;
    }

    .bottomMain{
        flex-direction: column;
        height: fit-content;
        text-align: center;
        padding: 2rem;
    }
    .bottomMain_outer{
        width: 100%;
        background-color: #69aedf;
    }
    .bottomMain_outer div{
        background-color: #69aedf;
    }
    .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-between;
        width: 100%;
        height: fit-content;
    }

    .selekt a{
        font-size: x-small;
    }
}

@media(width < 600px){
    .imeD{
        visibility: hidden;
        position: absolute;
    }

    footer div{
        flex-direction: column;
    }
}