
@font-face {
    font-family: 'zwariowanaczcionka';
    src: url(./Fonty/Super\ Senior\ Personal\ Use.ttf);
}
@font-face {
    font-family: 'zagadka';
    src: url(./Fonty/LolytaScript\ -\ PERSONAL\ USE\ ONLY.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
section{
    background-image: url('./Grafika/tlo1.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
}
.sec{
    background-image: url('./Grafika/tlo.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; 
    background-color: #bb9999 !important ; 
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    width: 50px; 
    height: auto;
}

nav .logo .tekst {
    margin-left: 10px; 
    font-size: 1.5rem; 
    font-family: 'zwariowanaczcionka';
}
.nawigacja a{
    text-decoration: none;
    color: black;
    font-weight: bolder;
    margin-right: 15px;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; 
    background-color: #ffffff; 
}

.main .gtekst {
    text-align: center;
}

.main h1 {
    font-size: 2.5rem; 
    font-family: 'zwariowanaczcionka';
}

.main h3 {
    font-size: 1.25rem; 
    max-width: 80%; 
    margin: 20px auto; 
}

.main button {
    font-size: 1.25rem; 
    background-color: #000000; 
    color: #bb9999; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 20px; 
    cursor: pointer; 
    transition: transform 0.3s; 
}


.main button:hover {
    transform: scale(1.05); 
}


footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; 
    background-color: #f3f3f3; 
}

footer h1 {
    font-size: 1rem; 
}

footer .media a {
    margin-right: 10px; 
    color: #bb9999; 
    text-decoration: none; 
}

footer .media a:hover {
    opacity: 0.7; 
}

/* podstrona */

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 10vw;
    margin-right: 10vw;
    gap: 5vw;
    margin-top: 20px; 
}

.text-left {
    flex: 1; 
}

.pytanie {
    margin-top: 20px;
    font-size: 50px; 
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'zagadka';
}

.tekst1 {
    font-size: 18px; 
    line-height: 1.6;
}

.zdjecie1 {
    flex: 1; 
    text-align: right;
}

.zdjecie1 img {
    max-width: 100%; 
    height: auto;
    max-height: 300px; 
}

.cytat {
    text-align: center;
    margin-left: 30vw;
    margin-right: 30vw;
    margin-top: 20px; 
}

.cyatat1 {
    font-style: italic;
    font-size: 24px; 
    font-weight: bold;
}

/* stronaglowna zabawa */
.main {
    background-color: white;
    transition: background-color 2s; 
}

.main:hover {
    background-color: rgb(236, 210, 210); 
}
 /* stronaglowna zabawa */

    /* podstrona galeria */
    .maingaleria {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-gap: 20px;
    }

    .image {
        position: relative;
        overflow: hidden;
    }

    .image img {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease;
    }

    .image:hover img {
        transform: scale(1.1);
    }

    .caption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 10px;
        text-align: center;
    }
/*podstoa kontaktowa */

.mainkontakt{
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}


h1 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}


.contact-info {
    margin-bottom: 30px;
    text-align: center;
    color: #666;
}


.contact-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}


input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


button[type="submit"] {
    background-color:  black;
    color:  white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

button[type="submit"]:hover {
    background-color: #bb9999;
    color: black;
}


@media screen and (max-width: 600px) {
    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
    }
}
.bodykontakt{
    background: url('nazwa_pliku_filmu.mp4') no-repeat center center fixed;
}
/* medai print */
@media print {
    
    nav {
      display: none;
    }
  
    
    body {
      background-color: white;
    }
  
   
    h1, h3 {
      color: black;
    }
    title {
        display: none;
      }
    
    button {
      display: none;
    }
  }