html body 
{
    margin: 0; 
    padding: 0;
}

header 
{
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#year-select
{
    height: 1em;
    font-size: 1.7em;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

#search 
{
    border: none;
    background: rgb(172, 6, 6);
    color: white;
    width: 7em;
    border-radius: 0.3em;
    transition: 0.2s;
}

#search:hover 
{
    background: rgb(125, 6, 6);
}

#photos
{
    background: black; 
    color: white;
    margin-top: 3em;
    width: 80%;
    height: 22em;
}

/* rok.html */ 

.month 
{
    width: 100%;
    padding-top: 1em;
    padding-bottom: 1em;
    overflow: hidden;
}

.month ul 
{   
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding-left: 0;
}

.month li 
{
    height: 7em;
    display: flex;
    text-align: left;
    list-style: none;
    padding: 0.5em 0.5em 0.5em 0.5em;
    gap: 0.5em;
}

.month a 
{
    text-decoration: none;
    color: black;
}

.month a:hover 
{
    color: rgb(85, 84, 84);
}

#more 
{
    color: rgb(30, 30, 174);
}

#more:hover 
{
    color: rgb(32, 32, 46);
}

.rokk
{
    text-align: center;
    font-size: 24px !important;
}

/* event.html */

#article 
{
    border: 2px solid black;
    width: 70% !important;
    max-width: 105em;
    margin: 0 auto;
    padding: 1em;
    line-height: 1.5em;
    text-align: center;
}

#article p 
{
    max-width: 170ch;
    margin: 0 auto;
    text-align: left;
    padding: 0 1em;
    word-wrap: break-word;
}

#title
{
    text-align: center;
}

#event-photos 
{
    margin: 1em auto;
    width: 95%;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

#event-photos a 
{
    display: inline-block;
}

#event-photos img 
{
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
}

#event-photos img:hover 
{
    border-color: #999;
}

@media(min-width:1100px) 
{
    div 
    {
        width: 56em;
    }

    #article 
    {
        width: 63em;
        font-size: 1.04em;
        line-height: 2em;
    }
}

@media(min-width:1200px) 
{
    header img
    {
        width: 25em;
    }

    #title
    {
        font-size: 1.5em;
    }

    .month ul 
    {
        padding-left: 5em !important;
        font-size: 1.2em;
    }

    #month-name 
    {
        font-size: 1.8em;
    }

    #more 
    {
        font-size: 1.1em;
    }
}

@media(min-width:1800px) 
{
    header img
    {
        width: 35em;
    }

    #title
    {
        font-size: 1.8em;
    }

    li 
    {
        font-size: 1.2em;
    }

    #month-name 
    {
        font-size: 2em;
    }

    .month img 
    {
        width: 7em;
    }

    #more 
    {
        font-size: 1.3em;
    }

    #photos 
    {
        max-width: 90em;
    }
}

.logo
{
    height: auto;
    width: 15em;
}

nav a
{
    text-decoration: none;
    color: rgb(27, 27, 27);
    margin-right: 10px;
}

nav
{
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
}

.rok-postow 
{
    width: 120px;
    font-family: inherit;
    font-size: 14px;
    padding: 12px 36px 8px 14px;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.rok-postow:focus 
{
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.35);
}

.opis
{
    overflow-wrap: break-word;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 33%;
}

@media (max-width: 768px) 
{
    .opis 
    {
        width: 90%;
    }
}

footer
{
    margin-top: 2em;
    margin-bottom: 2em;
    text-align: center;
}

hr
{
    width: 27%;
}

@media (max-width: 768px) 
{
    hr 
    {
        width: 80%;
    }
}

.post-list
{
    padding: 7px;
    background-color: #fafafa;
    margin: 3px;
    overflow-wrap: break-word;
    width: 70%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    
}

.articles
{
    width: 27% !important;   
}

@media (max-width: 768px) 
{
    .articles 
    {
        width: 80%;
    }
}
.tresc-artykulu {
    max-width: 70ch;
    margin: 0 auto;
    text-align: left;
    padding: 0 1em;
    word-wrap: break-word;
}
.hr-2
{
    width: 42%;
}
a
{
    color: #3d5da3;
    text-decoration: none;
}
a:visited
{
    color: #3d5da3;
    text-decoration: none;
}