header a {
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font: bold;
    color: black;
    font-weight: bolder;
    margin: 0% 5% 0% 5%;
}

header {
    height: 700px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    background-image: url('azylback.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    margin-top: 1%;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;

}

#sign { 
    margin-bottom: 4%;

}

nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

div a:hover {
    background-color: bisque;
}

#info {
    margin-left: 35%;
    margin-right: 35%;
    font-family: Arial, Helvetica, sans-serif;
    font: bold;
    color: black;
    font-weight: bolder;

}

#music {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-color: black;
    margin: 10px;
    text-align: center;
    cursor: pointer;
}

#priessklep {
    display: flex;
    flex-wrap: wrap;
}

section {
    margin: 10px;
    text-align: center;
    cursor: pointer;
}

img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #333;
    border-radius: 8px;
}

p {
    margin: 5px 0;
}


.photos {
    font-family: Arial, Helvetica, sans-serif;
    font: bold;
    color: black;
    font-weight: bolder;
    background: linear-gradient(180deg, rgba(255,255,255,0) 10%, bisque 10%);
  display: inline;
    margin: 10px;
    text-align: center;
    cursor: pointer;
}

div a {
    text-decoration: none;
    padding: 60px;
    margin: 10px;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 75px;
    border-color: black;
    border-style: solid;
    box-shadow: inset 0 0 100px 100px rgba(110, 96, 96, 0.1);
    filter: brightness(120%) saturate(120%);
}

table tr {
    font-family: Arial, Helvetica, sans-serif;
    font: bold;
    color: black;
    font-weight: bolder;
}

table caption {
    font-family: Arial, Helvetica, sans-serif;
    font: bold;
    color: black;
    font-weight: bolder;
    padding:10%;
}

td {
    padding: 5%;
}



#fantasea {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    font-family: Arial, Helvetica, sans-serif;
    font: bold;
    color: black;
    font-weight: bolder;
}


footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    font: bold;
    color: black;
    font-weight: bolder;
}


  #lightbox {
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#lightbox-img {
    width: auto; 
    height: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox button {
    display: flex;
    top: 10px;
    color: white;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

#lightbox button:nth-child(1) { left: 10px; }
#lightbox button:nth-child(2) { right: 10px; }
#lightbox button:nth-child(3) { right: 10px; bottom: 10px; }

main {
    background-image: url('azyl.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
    background-position: left;
    background-size: 35%;
    
    
}

#priessklep {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 50px;
}

#ep1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
}

img {
    width: 200px;
    height: 200px;
    border-style: solid;
    border-color: white;
    margin: 2%;
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#lightbox img {
    max-width: 80%;
    max-height: 80%;
    border: 2px solid #fff;
    border-radius: 8px;
    margin:auto;
    left: 0;
    right:0;
    bottom: 0;
    top: 0;
}

#lightbox-btns {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin:auto;
    left: 0;
    right:0;
    bottom: 0;
    top: 0;
}

#lightbox-btns button {
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    margin:auto;
    left: 0;
    right:0;
    bottom: 0;
    top: 0;
}

@media screen and (max-width: 1000px)
    {   
        header {
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            align-items: center;
            background-image: url('azylback.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            margin-top: 1%;
        }

}



@media screen and (max-width: 600px)
    {   
    #music {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0px 5px 0px 5px;
    }

    header {
        height: 600px;
        background-position: center;
    }

    body {
        overflow-x: hidden;
      }

    main {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
        background-image: none;
    }

    nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 8%;
    }

    nav a {
        padding: 4%;
    }

    #info {
        margin-left: 5%;
        margin-right: 5%;
    }

    div a {
        text-decoration: none;
        padding: 1%;
        margin: 5px;
        color: black;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 400;
        font-size: 20px;
        border-color: black;
        border-style: solid;
        box-shadow: inset 0 0 100px 100px rgba(110, 96, 96, 0.1);
        filter: brightness(120%) saturate(120%);
    }

    table caption {
        padding: 5%;
    }

    #fantasea {
            display: flex;
            flex-direction: column;
    }

}


