@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&amp;display=swap');
@import url('https://fonts.googleapis.com/css?family=MedievalSharp');


:root {
    --main-color: #141527;
    --bg-color: #729fb6;
    --second-bg-color: #B3D0DE;
    --text-color:#E5D283;
}
.main_page_onas {
    display: flex;
    /* background-color: var(--bg-color); */
    height: 90vh;
    width: 100%;
    overflow: hidden;
    background-image: url(onas.jpg);
    background-size: cover;
    /* background-position: 0% 10%; */
    align-items: center;
    /* #0e3457 */
}


.title_onas {
    display: flex;
    width: 100%;
    height: 10%;
    background-color: transparent;
    font-size: clamp(3rem, 5.3vw, 7rem) !important;
    padding-right: 5%;
    padding-left: 5%;
    text-align: center;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    transition: 1s;
    color: var(--text-color);
    font-family: MedievalSharp;
  }

  .storyteller_left {
    display: flex;
    flex-direction: row;
    height: 110vh;
    width: 100%;
    background-color: red;
  }
  
  .storyteller_right {
    display: flex;
    flex-direction: row;
    height: 110vh;
    width: 100%;
    background-color: rgb(27, 173, 59);
  }

  .text_box {
    display: flex;
    font-size: 1.5rem;    
    padding: 2%;
    height: 100%;
    width: 50%;
    background-color: var(--text-color);
    align-items: center;
    justify-content: center;
  }
  .photo_box {
    display: flex;
    height: 100%;
    width: 50%;
    background-color: var(--bg-color);
    justify-content: center;
  }
  
  .photo_box2 {
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    justify-content: center;
  }

  .central {
    flex-direction: column;
    align-items: flex-start;
  }
  .start {
    flex-direction: column;
    align-items: flex-start;
  }

  .dorian {
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(fion.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 35%;
  }

  .szefowa {
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(szermierka.jfif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0%;
  } 

  .druzyna {
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(litwa.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 35% 0%;
  } 
  .piekni {
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(widownia.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0%;
  } 

  .komnata {
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(takie_tam.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 10% 30%;
  }



.rodzaj_wybor {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: clamp(2rem, 5.3vw, 4rem) !important;
  height: 100%;
  width: 100%;
  background-color: var(--bg-color);
  z-index: 100;
}


.first {
  animation: example 16s infinite;
  animation-delay: 0s;
}
.second {
  animation: example 16s infinite;
  animation-delay: 4s;
}
.thrid {
  animation: example 16s infinite;
  animation-delay: 8s;
}
.forth {
  animation: example 16s infinite;
  animation-delay: 12s;
  /* min-height: 40vh; */
}

@keyframes example {
  0% {opacity: 100%;}
  50% {opacity: 0%;}
  100% {opacity: 100%;}
}


.column {
  margin-left: 10%;
  margin-right: 10%;
}
  
  @media (max-width: 1080px) {
    
    .column {
        margin-left: 0%;
        margin-right: 0%;
    }
    .komnata {
      background-position: 20% 30%;
    }
}

@media (max-width: 1550px) {
  .text_box {
    font-size: 1.2rem;    
  }
}
@media (max-width: 930px) {
  .text_box {
    font-size: 1.4rem;    
  }
}
@media (max-width: 830px) {
  .text_box {
    font-size: 1.2rem;    
  }
  .komnata {
    background-position: 20% 30%;
  }
}
@media (max-width: 700px) {
  .text_box {
    font-size: 1.1rem;    
  }
}
@media (max-width: 600px) {
  .text_box {
    font-size: 1rem;    
  }
}
@media (max-width: 500px) {
  .text_box {
    font-size: 1.3rem;    
  }
}


/* @media (max-width: 340px) {
  .text_box {
    font-size: 0.7rem;    
  }
} */




@media (max-width: 480px) {
    .storyteller_left {
        display: flex;
        flex-direction: column-reverse;
        height: 170vh;
        width: 100%;
        background-color: red;
      }
      
    .storyteller_right {
        display: flex;
        flex-direction: column;
        height: 170vh;
        width: 100%;
        background-color: rgb(27, 173, 59);
    }
    .text_box {
        padding: 2%;
        height: 100%;
        width: 100%;
        background-color: var(--text-color);
      }
      .photo_box {
        display: flex;
        height: 100%;
        width: 100%;
        background-color: var(--bg-color);
        justify-content: center;
      }

      .dorian {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 45% 30%;
      }
    
      .szefowa {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 65% 30%;
      } 
    
      .druzyna {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 50% 30%;
      } 
      .piekni {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 50% 0%;
      } 

}

@media (max-width: 280px) {
  .text_box {
    font-size: 1rem;    
  }
}



@media (max-height: 700px) {
    .text_box {
        font-size: clamp(1.1rem, 1.3vw, 1.7rem);    
      }
}
@media (max-height: 500px) {
    .storyteller_left {
        display: flex;
        flex-direction: column-reverse;
        height: 100vh;
        width: 100%;
        background-color: red;
      }
      
    .storyteller_right {
        display: flex;
        flex-direction: column;
        height: 100vh;
        width: 100%;
        background-color: rgb(27, 173, 59);
    }
    .text_box {
        font-size: clamp(1rem, 1.5vw, 1.7rem);    
        padding: 2%;
        height: 100%;
        width: 100%;
        background-color: var(--text-color);
      }
      .photo_box {
        display: flex;
        padding: 2%;
        height: 100%;
        width: 100%;
        background-color: var(--bg-color);
        justify-content: center;
      }
}


.projekt_stroje_wyroznienie {
    border: 4px solid #E5D283;
    border-radius: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(229, 210, 131, 0.08) 0%, rgba(179, 208, 222, 0.08) 100%);
    margin-bottom: 60px !important;
    box-shadow: 0 10px 30px rgba(229, 210, 131, 0.25);
}

/* Link do tytułu projektu */
.projekt_link_title {
    color: #E5D283 !important;
    text-decoration: none;
    font-size: 1.4em;
}

.projekt_link_title:hover {
    color: #fff !important;
}

/* Link do NIKiDW */
.nikidw-link {
    color: #0e3457;
    font-weight: 700;
    text-decoration: underline;
}

.nikidw-link:hover {
    color: #fff;
}

/* Przycisk "Czytaj więcej" */
.czytaj_wiecej_btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #E5D283 0%, #B3D0DE 100%);
    color: #0e3457;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.czytaj_wiecej_btn:hover {
    background: linear-gradient(135deg, #fff 0%, #E5D283 100%);
    color: #141527;
    box-shadow: 0 6px 20px rgba(229, 210, 131, 0.4);
}

/* Background dla zdjęcia Stroje Suwalskie */
.stroje_bg {
    background-image: url(stroje_1.png); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    width: 100%;
}

/* Responsywność */
@media (max-width: 768px) {
    .projekt_stroje_wyroznienie {
        padding: 20px;
        margin-bottom: 40px !important;
    }

    .projekt_link_title {
        font-size: 1.2em;
    }

    .czytaj_wiecej_btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}