body
{
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}
table, td, tr
{
    border: 2px solid black;
    border-collapse: collapse;

}
td
{
    padding: 5px 10px;
    text-align: center;
}
#menu
{
    display: flex;
    flex-direction: column;
    width: 300px;
    float: left;
    padding: 10px 5px 10px 15px;
    /* background-color: #f0f0f0; */
}
.mainBody
{
    width: calc(100vw - 390px);
    float: left;
    margin: 10px 25px;
    display: grid;
    justify-content: center;
}

header h1
{
    /* margin: 0;
    padding: 20px 10px;
    text-align: center;
    background-color: #f0f0f0;
    margin: 0 0 10px;
    box-shadow: 0 0 5px #333; */
    color: white;
    font-size: 35px;
    /* text-shadow: 9px 3px 8px rgba(53, 53, 53, 1); */
    text-shadow: 3px 1px 2px rgba(53, 53, 53, 1);
    filter: drop-shadow(0 0 0.2rem black);
    text-align: center;
    padding: 15px;

}
a
{
    text-decoration: none;
    color: #012389;
}
.content
{
    max-width: 1000px;
    width: calc(100vw - 400px);
}
table
{
    margin: auto;
}
#menu a
{
    padding: 11px 10px;
    background-color: #5d9ac7;
    margin: 3px;
    color: black;
    font-weight: bold;
}
#menu a:hover
{
    background-color: #012389;
    color: white;
}
#main-foto
{
    width: 100vw;
    overflow: hidden;
    /*max-height: max(35vw, 400px);*/
    /*display: none;*/
    height: 100%;
    position: absolute;
    z-index: -1;
}
#main-foto img
{
    /*object-fit: contain;
    max-width: 100vw;
    overflow: hidden;*/
    width: inherit;
    position: absolute;
    object-fit:cover;
    transform: scale(1.1);
    animation: test 20s linear infinite;
}
.galery
{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
.galery img 
{
    max-width: 500px;
    max-height: 333px;
    /* max-width: max(250px, 20vw); */
}
.logo
{
    max-width: max(100px, 10vw);
}
.logo2
{
    max-height: max(150px, 10vh);
}
.organizers
{
    text-align: center;
}
@keyframes test { 
    0%    { /*transform: scale(1.0);*/ left: -4%; }
    50%   { /*transform: scale(1.05);*/ left: 4%; }
    100%  { /*transform: scale(1.0);*/ left: -4% }
}
header
{
    height: fit-content;
    min-height: 30vh;
    display: grid;
    justify-content: center;
    align-content: center;
    /*background-image: url("/img/zakopane.jpg");*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 25%;
    box-shadow: 0 0 15px #333;
    position: sticky;
}


/* MENU BURGER */
.hamburger-lines
{
    display: none;
    height: 40px;
    width: 39px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px;
    cursor: pointer;
}

.hamburger-lines .line 
{
    display: none;
    height: 6px;
    width: 100%;
    border-radius: 10px;
    background: #5d9ac7;
    border: 1px solid #000000a8;
}


.hamburger-lines .line1 
{
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}


.hamburger-lines .line2 
{
    transition: transform 0.2s ease-in-out;
}


.hamburger-lines .line3 
{
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}


.hamburger-lines-checked .line1 
{
    transform: rotate(45deg);
}


.hamburger-lines-checked .line2 
{
    transform: scaleY(0);
}


.hamburger-lines-checked .line3 
{
    transform: rotate(-45deg);
}
/* ENDBURGER */
.mail
{
    color: #012389;
}
.link
{
    color: #5d9ac7;
}

.person
{
    text-align: center;
    border: 2px solid #5d9ac7;
    margin-top: 12px;
    padding: 10px;
    border-radius: 24px;
    /* background: #b5e0ff; */
    box-shadow: 8px 8px 24px 0px rgba(66, 68, 90, 1);
}
.person h3
{
    font-size: 22px;
}
.person img
{
    max-width: 250px;
}
.person p
{
    text-align: justify;
}
.person-subjects
{
    font-weight: bold;
    text-align: justify;
}
.person-subjects p
{
    margin-bottom: 0;
}
.person-subjects ol
{
    margin-top: 0;
}
@media only screen and (min-width: 2000px) 
{
    .galery img 
    {
        max-width: 700px;
        max-height: 450px;
    }
}
@media only screen and (min-width: 1200px) 
{
    
    .content
    {
        max-width: 1500px;
    }
    p, a, li
    {
        font-size: 20px;
    }
}

@media only screen and (max-width : 1024px) and (orientation : portrait) {    
    body
    {
        /* background-color: red; */
        width: 100vw;
        overflow-x: hidden;
    }
    .content
    {
        max-width: 100vw;
        padding: 10px 20p;
        width: initial;
    }
    .galery img 
    {
        max-width: 95vw;
        max-height: none;
    }
    .hamburger-lines .line 
    {
        display: block;
    }
    #main-foto
    {
        display: none;
    }
    header
    {
        height: fit-content;
        background-image: url("/img/zakopane.jpg");
    }
    header h1
    {
        padding-top: 30px;
        font-size: 25px;
    }
    .mainBody
    {
        width: calc(100% - 50px);
    }
    #menu
    {
        width: 0;
        overflow-x: hidden;
        overflow-y: auto;
        transition: width 0.2s linear;    
        padding: 0;
        background-color: #abcdef;
        /*border-bottom: 3px solid black;*/
        clear: both;
    }

    #menu.shownedMenu
    {
        width: calc(100vw - 30px);
        max-width: 100vw;
        white-space: nowrap;
        transition: width 0.2s linear;
        padding: 15px;

        box-shadow: 0 0 35px #333;
    }

}