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;
}

header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    overflow-y: hidden;
    height: 15vh;
    width: 100vw;
    background-color: #a6ca42;
}

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: rgb(214, 236, 255);
    z-index: -3;
}


.mainTop{
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
    width: 100vw;
    height: 80vh;
    overflow: show;
}

.mainTop h1{
    font-size: 2.5rem;
    overflow: hidden;
}

.mainTop div{
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 70%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    padding: 1rem;
    overflow: show;
}

.mainTop div h1{
    text-align: center;
    overflow-y: hidden;
    color: rgb(157, 50, 157);
    overflow-x: hidden;
    font-size: 2rem;
    text-transform: uppercase;
    font-style: italic;
    -webkit-text-stroke: 1.5px white;
}

.mainTop div img{
    width: 12rem;
    height: 12rem;
    z-index: 100;
}

.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-color: #69aedf;
    justify-content: space-between;
    align-items: center;
}

article h1{
    height: 10%;
    text-align: center;
    background-color: #f93297;
    color: white;
    width: 150%;
    display: flex;
    align-items: center;
    justify-content: center;
}

article img{
    width: 80%;
}

article p{
    height: 40%;
    width: 100%;
    background-color: #69aedf;
    color: white;
    display: flex;
    align-items: center;
    max-width: 95%;
    font-size: large;
    justify-content: center;
    text-align: center;
}

article a{
    display: flex;
    align-items: center;
    height: 10%;
    width: 100%;
    background-color: #69aedf;
    color: white;
    font-size: large;
    font-weight: bold;
    justify-content: center;
}

.mainBottom{
    display: flex;
    flex-direction: row;
    height: 80vh;
    width: 100vw;
    margin-bottom: 15vh;
    background-color: #69aedf;
}

.mainBottom h1{
    font-size: 2.5rem;
    color: white;
}

.mainBottom p{
    color: white;
    font-size: 1.5rem;
}

.veciBottom{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    flex-grow: 1;
    width: 50%;
    height: 100%;
}

.veciBottom div{
    height: 90%;
    width: 80%;
    background-color: rgb(214, 236, 255);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.veciBottom div p{
    max-width: 95%;
    text-align: center;
    color: rgb(157, 50, 157);
}

.veciBottom div h1{
    color: rgb(157, 50, 157);
}

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%;
}

.plavi{
    max-height: 40%;
}

.blue{
    color: #69aedf;
}

.green{
    color: #a6ca42;
}

.pink{
    color: #f93297;
}

.talasi2{
    width: 100%;
    height: 50%;
}

.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;
}

.rozi{
    width: 60%;
}

@media(width <= 1024px){
    .toggleButton{
        visibility: hidden;
    }

    p{
        font-size: medium;
    }

    header{
        flex-direction: column;
        height: 18rem;
        justify-content: space-around;
    }

    header img{
        height: 7rem;
        width: 15rem;
    }

    .mainTop{
        overflow: auto;
        z-index: 1;
    }

    .mainTop div{
        width: 90%;
        height: 70%;
        z-index: 1;
    }
    .mainTop div img{
        width: 10rem;
        height: 10rem;
    }

    .mainTop div h1{
        overflow: visible;
        z-index: 100;
    }

    .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;
    }
    .articleContainer{
        height: fit-content;
        align-items: center;
        flex-direction: column;
    }
    article{
        margin-top: 2rem;
        height: 100vh;
        width: 90%;
        max-width: 42rem;
    }
    article p{
        font-size: 1.6rem;
    }

    article h1{
        width: 100%;
    }

    .mainBottom img{
        width: 60%;
    }

    .drustvene{
        width: fit-content;
    }

    .selekt{
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        height: fit-content;
    }

    .selekt a{
        font-size: x-small;
    }
    
    .plavi{
        width: 50%;
        height: fit-content;
    }
}

@media(width <551px){
    .mainTop div{
        height: 70%;
    }
    
    article p{
        font-size: medium;
    }
}

@media(width <340px){
    .mainTop div img{
        height: 10rem;
        width: 10rem;
    }
}

@media(width < 600px){
    .imeD{
        visibility: hidden;
        position: absolute;
    }

    footer div{
        flex-direction: column;
    }
}

@media(460px<=width<=1023px){
    article{
        width: 60%;
    }
}