@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&display=swap');

body{
    background-color: lavender;

    padding: 0px;
    margin: 0px;

    font-family: "Gabarito", sans-serif
}

p, li{
    font-size: 1.5em;
}

.kontajner{
    display: flex;
    height: 85vh;
}

.kontajner-listy{
    display: flex;

    justify-content: space-evenly;
}

nav{
    background-color: #39444d;
    display: flex;
    width: 20vw;

    max-width: 250px;
    min-width: 150px;

    flex-direction: column;
    align-items: center;
    justify-content: start;
}

nav>a{
    display: flex;

    height: 8vh;
    width: 100%;
    padding-left: 40px;
    justify-content: start;
    align-items: center;

    text-decoration: none;
    color: #f0f0f0;
    font-size: 20px;
}

nav>a:hover{
    background-color: #46515a;
    letter-spacing: 2px;
}

nav>a:active{  
    background-color: #515c66;
}

main{
    background-color:#f0f0f0;

    flex: 1;
    overflow: auto;

    padding: 20px;
    text-align: center;
}

.galeria{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center; /*centrovanie v x osi*/
    /*align-content + height dvojicka*/
    align-content:flex-start;  /*centrovanie v y osi*/
    height:100vh;
    gap:10px 30px; /*medzeri medzi obr*/
}

header{
    background-color: #2d3943;
    color: #f0f0f0;

    display: flex;

    padding-left: 20px;
    padding-right: 20px;

    height: 10vh;
    justify-content: space-between;
    align-items: center;
}

header>h1{
    letter-spacing: 5px;
}

.ikonky{
    display: flex;

    flex: 1;

    align-items: center;
    justify-content: end;
    gap: 30px;
}

footer{
    background-color: #2d3943;
    color: #f0f0f0;

    display: flex;

    flex-direction: row;

    height: 5vh;
    justify-content: space-between;;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

.kontakty{
    display: flex;

    flex: 1;

    justify-content: end;
    align-items: center;
    gap: 30px;
}

.kontakty>a{
    color: #f0f0f0;
}

.kontakty>a:hover{
    color: #c4c4c4;
}

.kontakty>p{
    margin: 0px;
    color: #f0f0f0;
}

.logo{
    width: 50px;
}

main>h2{
    margin-top: 0px;
}

.obrazok{
    width: 50%;
    border-radius: 20px;
}

.gal-obrazok{
    height: 40vh;
    width: fit-content;

    border-radius: 20px;
}

.list{
    display: flex;

    flex-direction: column;
    align-items: center;

    padding-left: 15px;
}

.zaluby{
    display: flex;

    flex-direction: row;
    flex-wrap: wrap;

    justify-content: space-evenly;

    gap: 50px;
}

.zaluby>div{
    width: 300px;
}

@media(max-width: 720px){
    .kontajner{
        display: flex;
        flex-direction: column;
    }

    header{
        background-color: #2d3943;
        color: #f0f0f0;
    
        display: flex;
    
        padding-left: 20px;
        padding-right: 20px;
    
        height: 10vh;
        justify-content: space-between;
        align-items: center;
    }

    nav{
        background-color: #39444d;
        display: flex;
        width: 100vw;
    
        max-width: none;
        min-width: none;
    
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    nav>a{
        display: flex;
    
        height: 8vh;
        width: 100%;
        padding: 0px;
        justify-content: center;
        align-items: center;
    
        text-decoration: none;
        color: #f0f0f0;
        font-size: 20px;
    }
}