@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');



/*MAIN ----------------------------------------------------------------------------------------------------------------------------------------------------------------*/

body
{
    padding: 0;
    margin: 0;
    background-color: #EDEDE8;
}

#navbar
{
    position: fixed;
    top: 0px;
    width: 100vw;
    height: 15vh;
    background-color: #555125;
}

.svg
{
    height: 6vh;
    width: 6vh;
}

.spacer
{
    height: 14vh;
}

.container
{
    justify-content: center;
}

#navlogo
{
    height: 13vh;
    width: 13vh;
    margin-top: 1vh;
    margin-left: 3vh;
    float: left;
}

#navtext
{
    color: #131301;
    font-size: 11vh;
    margin-top: 1vh;
    margin-bottom: 3vh;
    margin-left: 4vh;
    float: left;
    text-align: left;
}

#hamburger {
    fill: #131301;
    height: 10vh;
    width: 10vh;
    margin-top: 2vh;
    margin-bottom: 3vh;
    margin-right: 6vh;
    cursor: pointer;
    float: right;
  }
  
#sidebar {
    width: 0px;
    height: 100vh;
    background-color: #EDEDE8;
    position: fixed;
    top: 0;
    left: 100vw;
    z-index: 2;
    overflow: hidden;
    transition: width 0.3s ease;
    transition: left 0.3s ease;

    white-space: nowrap;
    float: right;

    
}
  
.sidebar-item {
    text-decoration: none;
    color: black;
    display: flex;
    padding: 3vh;
    align-items: center;
    cursor: pointer;
    font-size: 2vh;
}
.sidebar-item:hover {
    background-color: #cecece;
}
  
.sidebar-item > div {
    padding: 0 1em;
}
  
.sidebar-item svg {
    flex-shrink: 0;
}
  
#overlay {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
}

/*window is thiner than square*/
@media (max-aspect-ratio: 1/1) {
    #navtext
    {
      font-size: 6vh;
      margin-left: 5vw;
      margin-top: 2vh;
    }
    #navlogo
    {
        height: 9vh;
        width: 9vh;
        margin-left: 2vw;
        margin-top: 1vh;
    }
    #hamburger
    {
        height: 7vh;
        width: 7vh;
        margin-right: 3vw;
    }
    .spacer
    {
        height: 10.5vh;
    }
    #navbar
    {
        height: 11vh;
    }
    .sidebar-item
    {
        font-size: 4vw;
    }
}





/*DOCUMENTS ------------------------------------------------------------------------------------------------------------------------------------------------------------*/

#documentsMain
{
    margin-top: 13vh;
    font-size: 2.5vh;
    width: 49.1vw;
    margin-left: 47vw;
    text-align: center;
    height: 40vh;
}

.documentItem
{
    text-align: center;
    text-decoration: none;
    color:#131301;
    
}

.documentDiv
{
    margin-bottom: 4vh;
    width: 30vw;
    margin-left: 25vw;
}

.documentDiv:hover
{
    background-color: #cecece;
}

#delegacjaPic
{
    position: absolute;
    top: 25vh;
    left: 7vw;
    width: 60vw;
}

#delegacjaImg
{
    width: 60vw;
}

#Ranks
{
    font-size: 3vh;
}

/*window is thiner than square*/
@media (max-aspect-ratio: 1/1) {
    #documentsMain
    {
        font-size: 2vh;
        margin-left: 47vw;
        width: 49.1vw;
    }
    .documentDiv
    {
        width: 25vw;
        margin-left: 22vw;
    }
}




/*INDEX -------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.aboutUs
{
    width: 79.1vw;
    height: 45vh;
    text-align: center;
    margin-top: 10vh;
    margin-left: 20vw;
}

#Klimczok
{
    width: 99.1vw;
}

#us
{
    width: 50vw;
    margin-left: 25vw;
}

#who
{
    font-size: 7vh;
    width: 59.1vw;
}

.row
{
    float: left;
    justify-content: space-evenly;
    
}

#are
{
    width: 59.1vw;
    font-size: 3vh;
    margin-top: 7vh;
    height: 60vh;
    margin-bottom: 10vh;
}

.bite
{
    margin-top: 10vh;
    text-align: center;
    font-size: 2vh;
    float: left;
    margin-left: 4vw;
    margin-right: 4vw;
    
}

.segments
{
    width: 99.1vw;
    
    margin-top: 10vh;
    margin-bottom: 40vh;
    justify-content: space-evenly ;
    justify-self: center;
}

/*window is thiner than square*/
@media (max-aspect-ratio: 1/1) {
    .bite
    {
        width: 37.55vw;
        margin-left: 6vw;
        margin-right: 6vw;
        float: left;
        height: 30vh;
    }
    #us
    {
        width: 79.1vw;
        margin-left: 10vw;
    }
}







/*Sections ---------------------------------------------------------------------------------------------------------------------------------------------------------------*/
.sectionContainer
{
    height: 60vh;
    width: 100vh;
    font-size: 3vh;
    line-height: 100%;
    font-family: 'Lato', sans-serif;
    background-color: #e2e1d4;
    width: 89.1vw;
    margin-top: 10vh;
    padding-top: 1vh;
    padding-left: 5vw;
    padding-right: 5vw;
    margin-bottom: 10vh;
}

.aboutSection
{
    line-height: 100%;
}

.sectionPhoto
{
    max-height: 50vh;
    max-width: 50vh;
    margin-top: 4vh;
    float: left;
}

.sectionText
{
   margin-left: 55vh;
   margin-top: 7vh;
   font-size: 3vh;
}

.sectionFooter
{
    align-items: center;
    background-color: #e2e1d4;
    height: 10vh;
    padding-top: 4vh;
    font-size: 3vh;
    text-align: center;
}

#footerlink
{
    margin: auto;
}

/*window is thiner than square*/
@media (max-aspect-ratio: 1/1) {
    .sectionPhoto
    {
        max-height: 20vh;
        max-width: 20vh;
    }
    .sectionText
    {
        margin-left: 23vh;
        font-size: 2vh;
    }
    .sectionContainer
    {
        font-size: 3vh;
        height: 30vh;
    }
}











/*=========================================================================================================================================================================*/



/*window*/
@media (min-aspect-ratio: 0.88/1){
    .bite
    {
        width: 37.55vw;
        margin-left: 6vw;
        margin-right: 6vw;
        float: left;
        height: 30vh;
    } 

    #documentsMain
    {
        font-size: 2vh;
        margin-left: 47vw;
        width: 49.1vw;
    }
    .documentDiv
    {
        width: 25vw;
        margin-left: 22vw;
    }
    

}






/*full*/
@media (min-aspect-ratio: 1.5/1){
    .bite
    {
        width: 25vw;
        margin-left: 4vw;
        margin-right: 4vw;
        float: left;
        height: 20vh;

    } 


    #documentsMain
    {
        font-size: 2.5vh;
        margin-left: 47vw;
        width: 49.1vw;
    }

    #delegacjaPic
    {
        position: absolute;
        top: 25vh;
        left: 7vw;
        width: 60vw;
    }

    #delegacjaImg
    {
        width: 60vw;
    }

    .documentDiv
    {
        width: 25vw;
        margin-left: 22vw;
    }
    

}









/*phone*/
@media (max-aspect-ratio: 0.88/1) {
    
    .bite
    {
        margin-left: 24vw;
        margin-right: 24vw;
        width: 51.1;
    }

    #documentsMain
    {
        font-size: 2.5vh;
        margin-left: 1vw;
        width: 89.1vw;
    }

    #delegacjaPic
    {
        position: static;
        top: 25vh;
        width: 79.1vw;
        margin-top: 10vh;
        margin-left: 10vw;
    }

    #delegacjaImg
    {
        width: 80vw;
    }

    .documentDiv
    {
        width: 80vw;
        margin-left: 2vw;
    }
    
}





