/* ========================== */
/*   GŁÓWNE ELEMENTY STRONY   */
/* ========================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    background-image: url('tlo_goth.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 1500px;
    margin: auto;
    background-attachment: fixed;
}

main {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 20px;
    margin: 60px;


}

/* ========================== */
/*         NAWIGACJA          */
/* ========================== */

nav {
    text-align: center;
    color: white;
}

a {
    text-decoration: none;
    padding: 30px;
    margin: 6px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 13px;
    font-weight: bold;

}

a:link,a {
    color: white;
    
}

a:hover {
    color:white;
    font-size: 13px;
    background-color: #000000;
    border-radius: 10px;
    margin: 6px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    
    
}

/* ========================== */
/*          HEADER            */
/* ========================== */

h1 {
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 50px;
    font-weight: bold;
    width: 100%; 
    padding: 20px;
    text-align: center;
    color: white;

}

header {
    background-image: url(tlo_h1.jpg);
    padding: 20px 40px 20px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 20px;
    margin-left: 120px;
    margin-right: 120px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========================== */
/*          NAGŁÓWKI          */
/* ========================== */

h2 {
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 40px;
    font-weight: bold;
    margin-left: 50px;
    width: 90%; 
    padding: 20px;
    text-align: left;
    color: white;
    margin-top: 50px;
}

/* ========================== */
/*           SEKCJA           */
/* ========================== */

.tekst {
    padding: 20px;
    margin-top: 40px;
}



p {
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 25px;
    margin-left: 30px;
    margin-right: 30px;
    
}

.one {
    background-color: #030303a9;
    border-radius: 20px;
    padding: 20px;
    border-left: 6px solid  #ffffff;
    border-right: 6px solid  #ffffff;
}


.tlo {
    width: 100%;
    height: auto;
}

ol {

}

/* ========================== */
/*           GALERIA          */
/* ========================== */

.galeria {
    padding: 20px 30px 40px;
    text-align: center;
}



.galeria-zdjecia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.zdjecie {
    position: relative;
}

.galeria-zdjecia img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.galeria-zdjecia img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.826);
}

.opis {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #F2F2F2;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
}


/* ========================== */
/*           STOPKA           */
/* ========================== */

footer {
    color: #F2F2F2;
    padding: 10px 0px 40px;
    text-align: center;
    margin-top: 200px;
    justify-content: center;
}
  
.footer-content {
    max-width: 1200px;
    margin: auto;
}
  
footer p {
    font-size: 1rem;
    margin-bottom: 10px;
}