/* style.css */

:root {
  color-scheme: light;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}

/* Global, consistent typography baseline */
html, body, a { font-family: "Helvetica Neue", Arial, sans-serif; }

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
height: auto;
  background-color: #FFFFFF; /* Kolor tła: biały */
  overflow-x: hidden;
}

#logo {
  position: relative;
  display: block;
  margin: 30px auto 0; /* naturalne wyśrodkowanie i odstęp od góry */
  width: 300px;
  z-index: 1001;
  top: 0; /* reset */
  left: auto; /* reset */
  transform: none; /* reset */
}


.link-container {
  position: relative;
  width: 100%;
  text-align: center;
  z-index: 1000;
  background-color: white; /* opcjonalne - daje tło */
  padding: 10px 0; /* trochę przestrzeni w pionie */
  margin-top: 10px; /* zamiast top: 75px */
}

.link-container a,
.blink-container a {
  color: #000000;
  text-decoration: none;
  margin: 5px 10px;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.2;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
}

.link-container a:hover {
  font-weight: bold;
}

@media only screen and (min-width: 800px) {
  body {
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75% auto;
  }

  .copyright {
    position: fixed;
    bottom: 140px;
    right: -115px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 11px;
    z-index: 1;
    font-family: "Helvetica Neue", Arial, sans-serif;
    transform: rotate(-90deg);
        visibility: hidden;

  }

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 100%;
  margin: 1px auto 0 auto; /* tylko góra: 150px */
Background-color:white;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    width: auto;
    
}

  .gallery .gallery-item img {
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
      transition: filter 10s ease;
  }

  .gallery .gallery-item .title {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      opacity: 0;
      filter: blur(20px);
      transition: opacity 4.8s ease, filter 0.8s ease;
      color: #ffffff;
      text-align: center;
      font-weight: 500;
      line-height: 1.2;
      padding: 8px 12px;
      pointer-events: none;
      text-shadow: 0 2px 8px rgba(0,0,0,0.45);
      font-size: clamp(1vw, 2vw, 24px);
      word-break: break-word;
      max-width: 90%;
  }

  .gallery .gallery-item:hover img {
      filter: blur(5px) brightness(50%);
  }

  .gallery .gallery-item:hover .title {
      opacity: 1;
      filter: blur(0);
  }

  .gallery-item .description {
    margin-top: 5px;
    font-size: 10px;
    color: #666666;
    float: right;
  }

  .additional-images {
    display: none;
    justify-content: center;
    margin-top: 30px;
  }


    .descriptionm {
        width: 80%;
        height: 30%;
        padding: 20px;
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 22px; /* Rozmiar czcionki 22px */
        color: #000000; /* Kolor tekstu */
    }
}
body.contact-page .containerchat {
        width: 600px;
        margin: 50% auto;
        text-align: center;
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 20px;
    }
@media only screen and (max-width: 800px) {
  body {
    background-image: none;
    background-repeat: no-repeat;
    background-position: right;
    background-size: 180%;
  }

  #logo {
  position: relative;
  display: block;
  width: 80%;
  margin: 30px auto 0;
  top: 0;
  }

.container {
 width: 100%;
}

  .link-container {
  position: relative;
  top: -15px;
  margin-top: 40px;
  }

  .link-container a,
  .blink-container a {
    color: #000;
    font-size: 40px; /* unified mobile size */
    margin: 0 10px;
  }

  .copyright {
    position: absolute;
    bottom: 20px;
    color: black;
    text-decoration: none;
    margin: 0 10px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
        visibility: hidden;
  }

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
    max-width: 100%;
    width: 100%;
    margin: 20px auto 0 auto;
  }

  .gallery-item {
    margin: 0;
    height: auto;
    width: auto;
  }

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: filter 0.25s ease;
}

  .gallery-item .title {
      margin-top: 8px;
      font-family: "Helvetica Neue", Arial, sans-serif;
      font-size: 25px;
      text-align: left;
      color: #404040;
      position: static;
      width: 100%;
  }
}

/* Dodaj poniższą regułę, aby ukryć obrazek tła tylko na stronie gallery.html */
body.gallery-page .container {
    display: flex;
    justify-content: center;
    max-width: 100%;
}

body.index-page {
height: 100vh;
    background-image: url(photos/NO2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -6px;
margin: 0;
    overflow: hidden;
}
.copyright {
    position: fixed;
    bottom: 140px;
    right: -115px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 11px;
    z-index: 1;
    font-family: "Helvetica Neue", Arial, sans-serif;
  }

/* Styl dla mediów o szerokości mniejszej niż 800px */
@media only screen and (max-width: 800px) {
    body.index-page {
        background-size: 180%;
    }
}

body.aboutme-page {
}

body.aboutme-page .container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    height: 520px;
    background-color: #FFFFFF;
    border-radius: 10px;
}



body.aboutme-page .description {
    flex: 1;
    padding: 20px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    color: #000000;
}

/* Styl dla mediów o szerokości mniejszej niż 800px */
@media only screen and (max-width: 800px) {
body.contact-page .containerchat {
        width: 600px;
        margin: 50% auto;
        text-align: center;
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 35px;
    }    body.aboutme-page {
background-image: none;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    body.aboutme-page .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 1000px;
        background-color: #FFFFFF;
        border-radius: 10px;
        margin-top: 100px;
    }

   


    body.aboutme-page .description {
        width: 80%;
        height: 30%;
        padding: 20px;
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 30px;
        color: #000000;
    }
}


    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 5px;
        text-align: left;
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 12px;
    }
    
    .form-group input, .form-group textarea {
        width: 100%;
        padding-top: 5px;
        font-size: 16px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }
    
    .form-group textarea {
        height: 120px;
    }
    
    .form-group button {
        padding: 10px 20px;
        font-size: 16px;
        background-color: black;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        text-align: center;
    }
    
    .form-group button:hover {
        background-color: grey;
    }



body.gal-page {
  margin-left: 15px;
height: 100vh;
    background-image: url("photos/RLCOSMO.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75% auto;
}
.container {
    display: flex;
    justify-content: center;
    max-width: 90%;
}

@media only screen and (min-width: 800px) {

  .blink-container {
    justify-content: center;
    padding-bottom: 20px;
    width: 100%;
    text-align: center;
  }

  .blink-container a,
  .link-container a {
    color: #0b0606b8;
    text-decoration: none;
    margin: 0 10px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px; /* unified desktop size */
  }
.copyright {
    position: fixed;
    bottom: 140px;
    right: -115px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 11px;
    z-index: 1;
    font-family: "Helvetica Neue", Arial, sans-serif;
    transform: rotate(-90deg);
        visibility: hidden;
  }


 .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto 0;
  }

  .gallery-item {
    margin: 0;
    width: auto;
    display: block;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    cursor: pointer;
  }

  .gallery-item .title {
    margin-top: 0px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 80px;
        font-weight: 600;
background: none;
user-select: none;
 pointer-events: none;
  }

  .gallery-item .description {
    margin-top: 5px;
    font-size: 10px;
    color: #666666;
  }

  .additional-images {
    display: none;
    justify-content: center;
    margin-top: 30px;
  }

  .gallery-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0px;
  }

  .gallery-item-container img {
    width: 75%;
    margin-bottom: 120px;
  }

.title {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: white;
  z-index: 9998;
  padding: 5px 0px 20px 0px;
  margin: 0;
}

  .description {
    color: #666666;
    margin-bottom: 20px;
    font-size: 23px;
    color: #666666;
    width: 70%;
padding-bottom: 0px;
  }
}


@media only screen and (max-width: 800px) {
.blink-container {
    justify-content: center;
    margin-top: 30px;
margin-bottom: 50px;
    width: 100%;
    text-align: center;
  }

  .blink-container a {
    color: #000000;
    text-decoration: none;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 25px;
  }
.copyright {
    position: fixed;
    bottom: 215px;
    right: -180px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: right;
    font-size: 15px;
    z-index: 1;
    font-family: "Helvetica Neue", Arial, sans-serif;
    transform: rotate(-90deg);
        visibility: hidden;
  }
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    margin-top: 0;
  }


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

  .gallery-item .title {
    font-family: "Helvetica Neue", Arial, sans-serif;
    text-align: center;
  }

  .gallery-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }

  .gallery-item-container img {
    width: 100%;
margin-top: 40px;
padding-bottom: 20px;
  }
  .title {
    font-size: 30px;
    font-weight: bold;
    margin-top: 30px;
 font-family: "Helvetica Neue", Arial, sans-serif;
  }
  .description {
    font-size: 25px;
    text-align: center;
    color: #666666;
    margin: 0px;
    max-width: 80%;
    padding-bottom: 0px;
  }

}