@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light+Two&display=swap');

header{
    display: flex;
    justify-items: left;

    margin-bottom: 15px;

    background-color: rgb(60, 60, 66);
    color: white;
    border-radius: 10px;

    margin-bottom: 5px;
}

header h1{
    padding-left: 20px;
    padding-right: 20px;
    font-size: xx-large;
    font-family: 'Shadows Into Light Two', cursive;;    
}

nav, nav ul {
    display: flex;
    margin: 0;

    border-radius: 10px;
    background-color: rgb(85, 85, 92) ;
}

nav ul li{
    justify-items: left;
    list-style: none;
}

nav ul li a{
    text-decoration: none;
    font-family: 'Shadows Into Light Two', cursive;;
    color: white;
    padding: 10px;
    display: inline-block;
}

nav ul li:hover{
    background-color: rgb(48, 48, 51);
    transition: 0.4s;
}

footer{
    display: flex;
}

#indexText {
    display: flex;
    justify-items: left;
    /* flex-direction: column; */
    text-align: justify;
}

.indexParagraph {
    background-color: rgb(235, 227, 227);
    
    margin: 10px;
    padding: 10px;
    border-radius: 10px;

    font-family: 'Shadows Into Light Two', cursive;;
    color: black;
}

#obalNaPDF {
    display: flex;
    justify-items: left;
    margin: 20px;

}

#poznamkyImgs{
    display: flex;
    justify-items: left;
    flex-direction: column;
    background-color: rgb(172, 166, 166);
    border-radius: 10px;
    margin-right: 20px;
    padding: 5px;

    overflow-y: auto;
}

#poznamkyImgs img{
    background-color: grey;
    margin: 15px; 
    vertical-align: middle;
}

#poznamkyImgs a{
    display: flex;
    align-items: center;
    padding-right: 30px;
    text-decoration: none;
    color: white;
    font-family: 'Shadows Into Light Two', cursive;
    padding: 5px;
}

#poznamkyImgs span{
    flex-wrap: nowrap;
}

#PDFviewer {
    width: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.selected{
    background-color: rgb(48, 48, 51);
}

#podnadpis{
    font-family: 'Shadows Into Light Two', cursive;
    padding-left: 10px;
}

#linky{
    margin: 0;
    padding: 0;
}

.linkyNadpis{
    background-color: rgb(105, 105, 105);
    border-radius: 10px;
    margin: 10px;
    padding: 5px;

    list-style: none;
    color: white;
    font-family: 'Shadows Into Light Two', cursive;
    text-align: center;
}

/* .linkyNadpis span{
    text-align: center;
} */

.blokList{
    background-color: darkgrey;
    border-radius: 10px;
    /* list-style-type: "> "; */
    padding: 2px;
    list-style: none;
    color: white;
}

.linkyText a{
    text-align: left;
    text-decoration: none;
    color: white;

    display: inline-block;
    width: 100%;

    padding: 5px;

    margin-left: -5px;
    /* margin-right: -5px; */
}

.linkyText a::before{
    content: "> ";
    padding-left: 5px;
}

.linkyText:hover{
    background-color: rgb(145, 143, 143);
    border-radius: 10px;
    transition: 0.4s;
}

#oznamyKalendar{
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 0px;
    margin-top: 10px;
}

#kalendar{
    background-color: rgb(235, 227, 227);
    border: none;
    width: 100%;
    height: 500px;
    margin: 10px;

}

@media screen and (max-width: 768px) {
    #indexText{
        flex-direction: column;
    }

    nav ul{
        flex-direction: column;
        padding-left: 0;
        width: 100%;
        overflow: hidden;
    }

    nav ul li{
        text-align: center;
        width: 100%;
    }

    nav ul li a{
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (min-width: 768px) {
    /* TODO vyriesit problem blokov do riadkov po viac blokoch*/
    #linky{
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .linkyNadpis{
        display: flex;
        flex-direction: column;
    }

    .blokList {
        flex-grow: 1;
    }
}