/*
styling jednotlivých POSTS
*/
@import "reset.css";
@import "theme.css";

*, html {
    scroll-behavior: smooth !important;
}

/*scroll to top*/
#top{ 
    position: relative; 
    top: 0; 
}

body{
    background-color: var(--primary-color);
    margin: 0px;
}

a {
    color: var(--primary-color);
}

.link{
    color: var(--primary-color);
    padding: 0px 5px;
    border: 1px solid var(--secondary-color);
    border-radius: 0;
    background-color: transparent;
    margin: 2px 0 0 0;
    text-transform: none;
    text-decoration: underline;
}

.link:hover{
    color: var(--secondary-color);
    padding: 0px 5px;
    border: var(--border);
    border-radius: var(--border-radius-link);
    background-color: var(--primary-color);
    margin: 2px 0 0 0;
    text-transform: none;
    text-decoration: none;
}

img{
   width: auto;
    border-radius: var(--border-radius-img);
    border: var(--border);
    margin: 20px 0;
}

img.last{
     margin-bottom: -15px;
 }

img.list{
    height: 100px;
    width: auto;
    border-radius: var(--border-radius-img);
    border: 0;
    margin: 20px 0;
}

p.title{
    font-size: 1.3rem;
    padding-bottom: 0;
}

/*styling HEADERU pro telefon*/
@media only screen and (max-width: 689px) {
    div.header{
        width: 100%;
        position: sticky;
        z-index: 1000;
        top:0px;
    }

    div.home{
        width: auto;
        background-color: var(--secondary-color);
        padding: 20px 30px;
        font-size: 1.5rem;
        border: var(--border);
        border-radius: var(--border-radius);
        z-index: 1000;
        color: var(--primary-color);
    }

    div.title{
        width: auto;
        background-color: var(--secondary-color);
        padding: 20px 30px;
        font-size: 1rem;
        border: var(--border);
        border-radius: var(--border-radius);
        z-index: 1000;
        color: var(--primary-color);
    }

    div.fill{
        height: 74px;
        width: 100%;
        position: absolute;
        background: var(--primary-color);
        top: 0;
        z-index: -10;
    }
}

/*styling HEADERU pro počítač*/
@media only screen and (min-width: 690px) {
    div.header{
        width: 100%;
        display: inline-flex;
        position: sticky;
        top:0px;
        color: var(--primary-color);
        /*
        min-height: 78px;
        align-items: center;*/
    }

    div.home{
        width: 100%;
        background-color: var(--secondary-color);
        padding: 20px 30px;
        font-size: 1.5rem;
        border: var(--border);
        border-radius: var(--border-radius);
        z-index: 1000;

        box-sizing: border-box;
    }

    div.title{
        width: 100%;
        background-color: var(--secondary-color);
        padding: 20px 30px;
        font-size: 1rem;
        border: var(--border);
        border-radius: var(--border-radius);
        z-index: 1000;
        color: var(--primary-color);
        box-sizing: border-box; 
    }
        
}

/*styling obsahu pro telefon*/
@media only screen and (max-width: 689px) {

    div.post__body{
        height: 100%;
       /* overflow: hidden;
        overflow-y: auto;*/
        border-radius: var(--padding-body);
        scrollbar-width: auto;
    }

    div.prispevek__obsah{
        background: var(--secondary-color);
        border-radius: var(--border-radius);
        border: var(--border);
        padding: var(--padding);
    }

    div.prispevek__fotka{
        padding-bottom: 20px;
    }

    div.prispevek__uvod{
        width: auto;
    }

    div.tag__post{
        padding: 10px 0 10px 0 !important;
    }
    
}

/*styling obsahu pro počítač*/
@media only screen and (min-width: 690px) {

    div.prispevek__container{
        background: var(--secondary-color);
        border-radius: var(--border-radius);
        border: var(--border);
        padding: var(--padding);
    }

    div.prispevek__obsah{
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    div.post__body{
        height: calc(100vh - 74px);
        overflow: hidden;
        overflow-y: auto;
        border-radius: var(--padding-body);
        scrollbar-width: none;
    }
}

div.image__container2{
    border: var(--border);
    border-radius: var(--border-radius-img);
    max-height: 700px;
    display: flex;
    align-content: center;
    justify-content: center;
    overflow: hidden;
}

img.post__feed2{
   width: 100%;
   height: auto;
   margin-top: 0;
    margin-bottom: -10px;
    border-radius: 0;
    border: none;
    object-fit: cover;
}

/*arena styling*/
@media only screen and (min-width: 690px) {
div#content-collection{
    display: grid;
    grid-template-columns: 50% 50%;
    column-gap: 20px;
    row-gap: 20px;
    padding-right: 20px;
}
}

@media only screen and (max-width: 689px) {
    div#content-collection{
        display: grid;
        column-gap: 20px;
        row-gap: 20px;
    }
    }

div.tags__post{
    padding: 10px 0 10px 0 !important;
}


div.block-text{
    /*border: var(--border);
    border-radius: var(--border-radius);
    padding: 30px 30px 15px 30px;*/  
}

div.block-text-container{
    border: var(--border);
    border-radius: var(--border-radius);
    padding: 30px 30px 15px 30px;
}

div.image_container{
    border: var(--border);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column-reverse;
    align-content: center;
    justify-content: center;
    overflow: hidden;
    height: fit-content;
}

img.arena{
    border: 0;
    border-radius: 0;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

img.arena__link{
    border: var(--border);
    border-radius: var(--border-radius) !important;
    margin-bottom: 5px !important;
    margin-top: 0 !important;
}

p.arena__link{
    text-align: center;
}

p.arena__title{
    text-align: center;
    padding-bottom: 0;
    padding-top: 10px;
}

div.block-channel{
    display: none;
}

div.block-attachment{
    display: none;
}

div.block-media{
    display: none;
}
/*/arena styling*/

div.quote{
    border: var(--border);
    border-radius: var(--border-radius);
    padding: var(--padding);
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: var(--primary-color);
    margin: 20px 0 !important;
    line-height: 1.2;
}

div.post__footer{
    color: var(--primary-color);
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    border: var(--border);
    padding: 30px;
    align-items: center;
    display: grid;
    justify-content: center;
}