@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;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    background-image: url(5.jpg);
    background-size: cover;
    align-items: center;
    background-position: 35% 20%;
}


.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: 75vh;
    width: 100%;
    background-color: red;
  }
  
  .storyteller_right {
    display: flex;
    flex-direction: row;
    height: 75vh;
    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;
  }
  .photo_box {
    display: flex;
    height: 100%;
    width: 50%;
    background-color: var(--bg-color);
    justify-content: center;
  }


  .dorian {
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(zebro.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 20%;
  }

  .szefowa {
    color: white;
    height: 100%;
    width: 100%;
    background-image: url(wczesne_zupa.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0%;
  } 


.column {
  margin-left: 10%;
  margin-right: 10%;
}
  
  @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.4rem;    
  }
}
@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: 500px) {
  .text_box {
    font-size: 1.3rem;    
  }
}






@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: 65% 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% 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;
      }
}
