@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(oferta.jpg);
    background-size: cover;
    background-position: 50% 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: 50vh;
    width: 100%;
    background-color: red;
    border: solid #365564;
  }
  
  .storyteller_right {
    display: flex;
    flex-direction: row-reverse;
    height: 50vh;
    width: 100%;
    background-color: rgb(27, 173, 59);
    border: solid #365564;
  }

  .text_box {
    display: flex;
    font-size: 1.5rem;    
    padding: 2%;
    height: 100%;
    width: 50%;
    background-color: var(--text-color);
    justify-content: center;
  }

  .central {
    flex-direction: column;
    align-items: flex-start;
  }
  .start {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo_box {
    display: flex;
    height: 100%;
    width: 50%;
    background-color: var(--bg-color);
    justify-content: center;
  }



  .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;
  }



  @keyframes example {
    0% {opacity: 100%;}
    50% {opacity: 0%;}
    100% {opacity: 100%;}
  }
  .dorian {
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(dorianrycerz.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 60% 30%;
  }
  .szefowa {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(%c3%85%c2%82uki.html);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 75% 0%;
  } 

  .druzyna {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(saxon.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 30%;
  } 
  .piekni {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(Nienna.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 30%;
  } 

  .column {
    margin-left: 20%;
    margin-right: 20%;
  }
  


























  @media (max-width: 1080px) {
    
    .column {
        margin-left: 0%;
        margin-right: 0%;
    }
}

@media (max-width: 1550px) {
  .text_box {
    font-size: 1.2rem;    
  }
}
@media (max-width: 930px) {
  .text_box {
    font-size: 1.3rem;    
  }
}
@media (max-width: 830px) {
  .text_box {
    font-size: 1.2rem;    
  }
}
@media (max-width: 700px) {
  .text_box {
    font-size: 1.1rem;    
  }
}
@media (max-width: 600px) {
  .text_box {
    font-size: 1rem;    
  }
}
@media (max-width: 550px) {
  .text_box {
    font-size: 0.95rem;    
  }
}
@media (max-width: 500px) {
  .text_box {
    font-size: 0.9rem;    
  }
}
@media (max-width: 450px) {
  .text_box {
    font-size: 0.88rem;    
  }
}

@media (max-width: 340px) {
  .text_box {
    font-size: 0.7rem;    
  }
}




@media (max-width: 320px) {
    .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: 1.1rem;    
        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: 60% 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: 20% 20%;
    }

}

@media (max-width: 280px) {
    .text_box {
      font-size: 1rem;    
    }
  }


  @media (max-width: 280px) {
    .text_box {
      font-size: 1rem;    
    }
  }


  @media (max-height: 820px) {
    .storyteller_left {
      height: 60vh;
    }
    
    .storyteller_right {
      height: 60vh;
    }
      
}
  
  
  @media (max-height: 700px) {
      .text_box {
        font-size: clamp(0.8rem, 1.3vw, 1.7rem);    
        }
        
  }

  @media (max-height: 620px) {
    .storyteller_left {
      height: 65vh;
    }
    
    .storyteller_right {
      height: 65vh;
    }
      
}

  @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;
        }
  }

