*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
}

.navbar{
    display:flex;
    justify-content:space-evenly;
    align-items:center;
    width:100%;
    background:#c2e3d4;
    padding:15px 25px;
    gap:20px;
    flex-wrap:wrap;
}

.logo img{
    display:block;
    height:5rem;
    width:auto;
}

.navbar a{
    text-decoration:none;
    color:#003399;
    font-weight:bold;
    font-size:1.1rem;
    white-space:nowrap;
    text-align: center;
}

.navbar a:hover{
    text-decoration:underline;
}

.button-belka{
    padding:12px 24px;
    border:none;
    border-radius:8px;
    background:#0066cc;
    color:white;
    font-size:1rem;
    cursor:pointer;
    transition:.25s;
}

.button-belka:hover{
    background:#004fa3;
}

@media (max-width:900px){
    .navbar{
        justify-content:center;
        gap:15px;
    }

    .navbar a{
        font-size:1rem;
    }

    .logo img{
        height:60px;
    }
}

.footer{
    display:flex;
    justify-content:space-evenly;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:2rem;
    width:100%;
    padding:2rem;
    background-color:#c2e3d4;
    box-sizing:border-box;
}

.footer-section{
    flex:1;
    min-width:220px;
    text-align:center;
}

.footer-section h3{
    margin-bottom:1rem;
    color:#1d3557;
    font-size:1.1rem;
}

.footer-section p{
    margin:0.3rem 0;
    line-height:1.6;
}

.footer-section address{
    font-style:normal;
    line-height:1.6;
}

.footer-section a{
    color:#0047AB;
    text-decoration:none;
}

.footer-section a:hover{
    text-decoration:underline;
}

.footer-nav{
    display:flex;
    flex-direction:column;
    gap:0.5rem;

}

.footer-nav a{
    display:block;
}

/* ========================= */

.container{
    width:min(1400px,95%);
    margin:auto;
}

/* ========================= */

.hero{
    padding:2rem 0;
}

.naglowek-fundacji{
    text-align:center;
    font-size:clamp(1.6rem,2vw,2.8rem);
    line-height:1.3;
}

.inter{
    color:#003cff;
}

.sec{
    color:#ff8800;
}

/* ========================= */

.slider{
    width:100%;
    aspect-ratio:16/9;
    max-height:550px;
    overflow:hidden;
    border-radius:15px;
    margin:2rem auto;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ========================= */

.projekty{
    margin:4rem 0;
}

.projekty h2{
    text-align:center;
    margin-bottom:2rem;
    color:#1d3557;
}

/* ========================= */

.projekty-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:2rem;
}

/* ========================= */

.projekt{

    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
    transition:.3s;
}

.projekt:hover{
    transform:translateY(-8px);
}

/* ========================= */

.projekt img{
    width:100%;
    height:50vh;
    object-fit:contain;
    padding:20px;
    border-radius: 15%;
}

/* ========================= */

.projekt h3{
    padding:1.5rem;
    font-size:1rem;
    line-height:1.6;
    color:#222;
}

/* ========================= */

.projekt a{
    text-decoration:none;
}

/* ========================= */

@media (max-width:768px){
    .slider{
        height:40vh;
    }

}

/*GALERIA*/
.pdf-viewer{
    width:min(1200px,95%);
    margin:50px auto;
}

.pdf-viewer iframe{
    width:100%;
    height:85vh;
    border:none;
    border-radius:12px;
}





