html{
    scroll-behavior: smooth;
}

body{
    border: 8px solid #333333;
    border-top: none; 
    font-family: 'Exo 2';
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
}

ul{
    padding: 0;
    margin: 0;
}

.naglowek{
    background-color: #e5dfd7;
    border-bottom: 2px solid #79c2d0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    position: sticky;
    z-index: 1;
    top: 0;
    min-width: 100vw;
}

.tytul{
    text-decoration: none;
    color: black;
}

.menu{
    display: flex;
    justify-content: row;
    align-items: center;
    justify-content: space-between;
    max-height: 50px;
    min-height: 50px;
    min-width: 300px;

}

.menu-text{
    text-decoration: none;
    color: black;
    

}

.naglowek_opis{
    background-color: #333333;
    color: #FFFFFF;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 3px solid #79c2d0;
    border-bottom: none;
    min-width: 20vw;
    max-height: 50px;
    margin-top: 10px;
    margin-bottom: -10px;
}

.opis{
    background-color: #333333;
    color: #FFFFFF;
    border: 3px solid #79c2d0;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    margin-top: none;
    margin-bottom: 30px;
    padding: 5px;
    font-size: large;
    max-width: 100vw;
}

.naglowek_galeri {
    background-color: #333333;
    color: #FFFFFF;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 3px solid #79c2d0;
    min-width: 20vw;
    max-height: 50px;
}


.galeria{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style-type: none;
    justify-content: flex-start;
    justify-content: space-evenly;
    flex-grow: 1;
    overflow: hidden;
    margin-top: 25px;
    min-width: 100%;
}




.popup{
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 100vh;
    width: 100vw;
}

.popup.hidden{ 
    display: none;
}

.popup__img{
    max-height: 75% ;
    max-width: 75%;
   margin-left: 15px;
    margin-right: 15px;
}

.popup__close{
    background-color: transparent;
    color: #FFFFFF;
    border: none;
    opacity: 0.5;
    cursor: pointer;
    position: fixed;
    font-size: 128px;
    top: 64px;
    right: 64px;
    transition: opacity 0.3s;
}

.popup_arrow{
    cursor: pointer;
    border-radius: 50%;
    border: none;
    color: black;
    position: absolute;
    font-size: 74px;
    height: 96px;
    width: 96px;
    top: 50%;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.popup__arrow--left{
    left: 18%;
}

.popup__arrow--right{
    right: 18%;
}

.popup_arrow:hover,.popup__close:hover{
    opacity: 1;
}

.thumbnail{
    border: 4.5px solid  #333333;
    border-radius: 5px;
    overflow: hidden;
    max-height: 400px;
    max-width: 350px;
    min-height: 400px;
    min-width: 350px; 
    margin-bottom: 25px;
}

.thumbnail img{
    cursor: pointer;
    max-height: 400px;
    max-width: 350px;
    min-height: 400px;
    min-width: 350px; 
    filter: brightness(100%);
    -webkit-filter: brightness(100%);
}

 .thumbnail img:hover{
    filter: brightness(80%);
    -webkit-filter: brightness(80%);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.kontakt {
    background-color: #e5dfd7; 
    border-top: 2px solid #79c2d0; 
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    min-height: 20vh;
    margin: 0;
}

.napis{
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 100vw;
}

.info{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    justify-content: space-evenly;
    min-width: 100vw;
    flex-grow: 1;
}

.mail{
    display: flex;
    align-items:  center;
    justify-content: center;
    gap: 20px;
    min-width: 15vw;
}

.tel{
    display: flex;
    align-items:  center;
    justify-content: center;
    gap: 20px;
    min-width: 15vw;
}

.fb{
    display: flex;
    align-items:  center;
    justify-content: center;
    gap: 20px;
    min-width: 15vw;
}

#mail{
    width: 30px;
    height: 30px;
}

#tel{
    width: 30px;
    height: 30px;
}

#fb{
    width: 30px;
    height: 30px;
}

.stopka{
    background-color: #333333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    min-width: 100vw;
}