
/*
kroje czcionek dla strony, importowane z podfolderu ./fonts/
*/


  @font-face{
    font-family: Lato Bold;
    font-weight: bold;
    font-style: normal;
    
    src: url(./fonts/Lato-Bold.ttf) format('truetype');
  }

  @font-face{
    font-family: Lato Regular;
    font-weight: normal;
    font-style: normal;
    src: url(./fonts/Lato-Regular.ttf) format('truetype');
  }

  @font-face{
    font-family: Lato Light;
    font-weight: lighter;
    font-style: normal;

    src: url(./fonts/Lato-Light.ttf) format('truetype');
  }


/*
Zmienne dla całego dokumentu, na razie tylko kolorki
*/
:root{

    --content-bg-grey: #515151;
    --content-bg-white: #ffffff;

    --content-bg-black: #181818;
    --content-text: #eeeeee;

    --button-grey: #3e3e3e;
    --button-black: #181818;
    
    --footer-bg: #f2f2f2;
    --footer-text: #5b5b5b;


    --kbk-yellow: #fbc11e;
    --kbk-aqua: #48F4EA;
    --kbk-pink: #F46DC6;
    --kbk-orange: #FE8039;

  }
html{
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}
body{
    padding: 0;
    margin: 0;
    border: 0;

    height: 100vh;

    

    background-color: var(--content-bg-white);

    color: var(--content-bg-black);

    font-family: 'Lato Regular';
    font-size: 17px;

    overflow-x: hidden; 
}


/*
Ostylowanie nagłówków
H1-H3.

::after dodaje podkreślenie, heading-%kolor% zmienia kolor podkreślenia
*/


/*Nagłówki H1*/
h1{
    font-family: 'Lato Bold';
    font-size: 80px;   
    margin-top: .3em;
    margin-bottom: .5em;
}
/* h1::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 20%;
    max-width: 100px;
    min-width: 70px;
    height: 4px;
    background-color: var(--kbk-yellow);
    display: block;
  }

  h1.heading-orange::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 20%;
    max-width: 100px;
    min-width: 70px;
    height: 4px;
    background-color: var(--kbk-orange);
    display: block;
  }
  h1.heading-pink::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 20%;
    max-width: 100px;
    min-width: 70px;
    height: 4px;
    background-color: var(--kbk-pink);
    display: block;
  }
  h1.heading-aqua::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 20%;
    max-width: 100px;
    min-width: 70px;
    height: 4px;
    background-color: var(--kbk-aqua);
    display: block;
  } */


/*Nagłówki H2*/
h2{
    font-family: 'Lato Bold';
    font-size: 70px;    
}
/* 
h2::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 10%;
    max-width: 100px;
    min-width: 70px;
    height: 4px;
    background-color: var(--kbk-yellow);
    display: block;

   
  }

  h2.heading-pink::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 10%;
    max-width: 100px;
    min-width: 70px;
    height: 4px;
    background-color: var(--kbk-pink);
    display: block;
  }
  h2.heading-aqua::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 10%;
    max-width: 100px;
    min-width: 70px;
    height: 4px;
    background-color: var(--kbk-aqua);
    display: block;
  }
  h2.heading-orange::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 10%;
    max-width: 100px;
    min-width: 70px;
    height: 4px;
    background-color: var(--kbk-orange);
    display: block;
  } 

 */



/*Nagłówki H3*/
h3{
    font-family: 'Lato Bold';
    font-size: 35px;
    margin-top: 3em;
    margin-bottom: 1.5em;
    
}

/* 
h3::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 10%;
    max-width: 100px;
    min-width: 50px;
    height: 4px;
    background-color: var(--kbk-yellow);
    display: block;
  }
  h3.heading-pink::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 10%;
    height: 4px;
    background-color: var(--kbk-pink);
    display: block;
  }
  h3.heading-aqua::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 10%;
    height: 4px;
    background-color: var(--kbk-aqua);
    display: block;
  }
  h3.heading-orange::after {
    content:"";
    bottom:45%;
    margin-left: 3px;
    width: 10%;
    height: 4px;
    background-color: var(--kbk-orange);
    display: block;
  } */


a, 
a:active, 
a:hover, 
a:visited,
a:focus,
a:link {
    color: var(--kbk-yellow);
}


header{
    position: fixed;
    z-index: 2;
    width: 100%;
    top: 0;
    background-color: var(--content-bg-white);
    color: var(--content-bg-black); 
}
.inner-header{
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--content-bg-white);

    padding: .2em 1.2em .2em;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.inner-header a,a:visited{
    color: inherit;
    text-decoration: none;
}
.inner-header ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    font-family: 'Lato Light';
    font-size: 18px;

}

.inner-header li{
    list-style: none;
    margin-left: .3em;
    margin-right: .3em;
    

}

.inner-header li:after {
    content: "";
    width: 0%;
    height: 1px;
    display: block;
    
    /* margin-top:1px; */
    bottom: 45%;


  }
  .inner-header li:hover::after {

    width: 100%;
    height: 1px;
    background-color: var(--content-bg-black);

  }
/* li.current-page::after{
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background-color: var(--content-text);
  bottom: 45%;
} */

.site-title{
    font-family: 'Lato Bold';
    font-size: 30px;
    
    /*text-shadow: 0 1px 4px rgba(35, 35, 35, 0.868);*/
    
    
}

/*Ostylowanie ikonki hamburgera*/
.burger{
    background-color: var(--content-bg-white);

    border:none;
    outline:none;

    height: 65px;

    cursor: pointer;

    display: none;
    

}
.line{
    width: 35px;
    height: 1px;
    background-color: var(--content-bg-black);
    margin: 7px;
    transition: 100ms ease-out;
    
}


section a, 
section a:active, 
section a:hover, 
section a:visited,
section a:focus,
section a:link {
    color: var(--kbk-yellow);
}

section{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  font-family: 'Lato Light';  
}



.inner-hero{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  max-width: 1000px;
   
  padding: 6em 2em 6em;
  margin: auto;
}
.inner-hero p{
  font-size: 17px;
  font-family: 'Lato Regular';
}
.inner-hero-text{
  padding: 0;
}
.inner-hero-image{
    display: flex;
    
    justify-content: center;
    align-items: center;
    
    max-width: 45%;
    padding: 0;

    position: relative;
    
    right: -40px;
}
.inner-hero-image img{
    max-width: 50%;
   /*  box-shadow:  inset 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
    border-color: var(--content-bg-black); 
    border-style: solid;
    border-radius: 100%;
    border-width: 0; */
    
}


.hero-button-1{
    background-color: var(--button-black);
    color: var(--content-bg-white);
    font-family: 'Lato Bold';
    

    font-size: 16px;
    min-width: 75px;
 
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--button-grey);

    cursor: pointer;

    padding: 6px 20px 6px;
    margin: .8em .8em .8em 0;
}

.hero-button-2{
    background-color: inherit;
    color: var(--button-black);
    font-family: 'Lato Bold';
    
    font-size: 16px;
    min-width: 75px;
    
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--button-black);

    padding: 6px 20px 6px;

    cursor: pointer;

    margin: .8em .8em .8em;
}



.inner-portfolio, .inner-contact, .inner-about{
  display: block;
  
  flex-grow: 1;

  max-width: 1000px;
   
  padding: 4em 2em 4em;
  margin: 0 auto 0;
}




/* 
.inner-content{
    
    display: block;
    

    max-width: 1000px;
   
    min-height: 100vh;

    
    
    
    padding-left: 2em;
    padding-right: 2em;
    scroll-margin-top: 4em;
   
    margin: 2em auto 2em; 
  
    overflow-y: hidden;
    
    
   
    
    
}
 */


.leading-paragraph{
    font-size: 1.1rem;
    font-family: 'Lato Regular';
    margin-bottom: 2em;
}

/* GALLERY */
.gallery-container{
  /* border: solid 1px black; */
  
  display: flex;
  flex-wrap: wrap;
  
  
  gap: 2em;
  
  align-items: left;
  justify-content: space-evenly;
  
  margin-top: 4em;
  margin-bottom: 8em;
  
}
.gallery-item{
  /* flex-grow: 1; */
  padding: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  /* border: solid 1px black; */
  
  /* margin: .8em; */
}
.gallery-item:hover{

}

.gallery-item img{
  max-width: 18em;
  margin: 0;
}
.gallery-item p{
  text-align: center;
  font-size: .8em;
  font-family: "Lato Regular";
}


.featured-section{
    display: grid;
    
    grid-template:
    "a b" 
    "c d"
    "e f";
    row-gap:4em;
    column-gap: 2em;

    margin: 8em 0 8em;
}

.featured-item-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}
.featured-item-image{
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0;
}
.featured-item-image img{
    max-height: 300px;
}

.featured-section p{
    margin-bottom: .1em;
}



.divider-strip{
  height: 80px;
  background-image: url("./img/divider-strip-short.svg");
}

.color-strip{
   
    width: 100%;
    height: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 0;
    
 
    
}
.yellow-box{
    display: block;
    content: "";
    background-color: var(--kbk-yellow);
}
.orange-box{
    display: block;
    content: "";
    background-color: var(--kbk-orange);
}
.pink-box{
    display: block;
    content: "";
    background-color: var(--kbk-pink);
}
.aqua-box{
    display: block;
    content: "";
    background-color: var(--kbk-aqua);
}



/*
    Styl dla stopki
*/

footer{
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.inner-footer{
    
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    align-items: center;



    max-width: 1000px;
    min-height: 80px;

 
    
    margin-left: auto;
    margin-right: auto;


    font-size: 14px;
    padding: 0 1rem 0;
}

#footer-site-name{
    font-size: 20px;
    font-family: 'Lato Bold';
}
#footer-copyright-notice{
    font-family: 'Lato Light'
}



/* 
.footer-links{

    display: flex;

    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 2em;
    font-family: 'Lato Light';

    
}

.footer-links ul{
    display: flex;
    flex-direction: row;
}

.footer-links li{
    list-style-type: none;
    width: fit-content;
    margin: auto .4em auto;
    height: 15px;
    color: inherit;
    
}
.footer-links a:after {
    content: "";
    width: 0%;
    height: 1px;
    display: none;
   
    bottom: 45%;
  }
  .footer-links a:hover::after {
    width: 100%;
    height: 1px;
    background-color: var(--footer-text);
    display: block;
  }
  .footer-links a{
    width: fit-content;
    color: inherit;
    text-decoration: none;
  }
  .footer-links a:visited{
    color: inherit;
    text-decoration: none;
  } */


@media only screen and (max-height: 630px){
    .inner-hero{
      padding: 2em;
    }
}
@media only screen and (max-height: 580px){
  .hero-section{
    
    height: auto;
    
  }
  .inner-hero{
    padding: 0 2em 4em;
  }
}

@media only screen and (max-height: 580px) and (min-width:700px){
  .hero-section{
    
    height: auto;
    
  }
  .inner-hero{
    padding: 2em 2em 4em;
  }
}

  @media only screen and (max-width:1065px){
    .gallery-item img{
      max-width: 24em;
    }
}

/* 
  @media only screen and (max-width:950px){
    .featured-item-image img{
        max-height: 290px;
    }
} */

 @media only screen and (max-width:917px){
    .gallery-item img{
      max-width: 22em;
    }
}

@media only screen and (max-width:900px){
    .featured-item-image img{
        max-height: 270px;
    }
}
 @media only screen and (max-width:850px){
    .gallery-item img{
      max-width: 20em;
    }
}
  @media only screen and (max-width:830px){

    h1{ font-size: 60px; }

    h2{ font-size: 55px; }

    h3{ font-size: 30px; }
    
    .gallery-container{
      margin-top: 3em;
      margin-bottom: 6em;
    }
    .featured-item-image img{
        max-height: 250px;
    }
  }

 @media only screen and (max-width:795px){
      .gallery-item img{
        max-width: 18em;
      }
  }

@media only  screen and (max-width:750px) {

  
   
    
    .burger{
        display: block;
        transition: .3s ease-out;
    }
    
    .burger.active .line:first-child{

        transform: translateY(10px) rotate(45deg);
        

    }
    .burger.active .line:nth-child(2){
        
        transform: scale(0%);
        

    }
    .burger.active .line:nth-child(3){
        transform: translateY(-6px) rotate(-45deg);
       

    }


    ul.menu{
        position: fixed;
        top: 40px;
        right: 0;
        left: 0;

        z-index: -1;
        
        height: auto;
        

        padding: 2em .4em 2em;
      
        background-color: var(--content-bg-white);
        flex-direction: row;
        justify-content: space-evenly;
        text-align: center;

        

        transition: 200ms ease-in-out;
        transform: translateY(-100%);
        
        visibility: hidden;
        
    }
    
    ul.menu.active{
        transform: translateY(0%);
        
        visibility: visible;
    }
    
    
}
@media only screen and (max-width:730px){
    .gallery-item img{
      max-width: 30em;
    }
}

@media only screen and (max-width:700px){
    
    h1::after, 
    h1.heading-orange::after,
    h1.heading-pink::after,
    h1.heading-aqua::after{
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    max-width: 100px;
    min-width: 70px;
    
    }
    h2::after, 
    h2.heading-orange::after,
    h2.heading-pink::after,
    h2.heading-aqua::after{
    margin-left: auto;
    margin-right: auto;
    width: 10%;
    max-width: 100px;
    min-width: 70px;
    
    }
    .content-spacer{
        margin-top: 0;
        margin-bottom: 4em;
    }
    .inner-hero{
      padding: 0 2em 4em;
    }
    
     .inner-hero, .inner-portfolio, .inner-about, .inner-contact{
        
        flex-direction: column-reverse;
        
        text-align: center;
        padding-left: 1.5em;
        padding-right: 1.5em;
        overflow-y: hidden; 
    }
    .inner-hero, .inner-content img{
        float: none;
    }
    .inner-content{
      scroll-margin-top: 3em;
    }
 .inner-portfolio p, .inner-about p, .inner-contact p{
        text-align: left;
    }
   
   .inner-hero-image{
        position: relative;
        top:0;
        right: 0;
        max-width: 100%;
    }
    .inner-hero-image img{
        max-width: 30%;
        
    }
    
    .hero-text{
        max-width: 85%;
        
    }
    .hero-button-1{
        margin: .8em .8em .8em;
    }
    .hero-button-2{
        margin-bottom: 1.2em;
    }
    
    .featured-section{
        grid-template:
        "b"
        "a"
        "d"
        "c"
        "f"
        "e";

        row-gap: .5em;
       }

       .featured-item-image{
        justify-content: center;
        margin-top: 4em;
        
       }

       .featured-item-text{
        margin-bottom: 0;
       }

}



@media only  screen and (max-width:550px) {

    
    h1{ font-size: 50px; }
    
    h2{ font-size: 45px; }
    
    h3{ font-size: 28px; }

    .inner-header{
        padding: .2em 1em .2em;
    }
    .inner-hero{
      padding: 6em 2em 4em;
    }
     .inner-hero, .inner-portfolio, .inner-about, .inner-contact{
        
        padding-left: .9em;
        padding-right: .9em;
    }

    .hero-text{
        align-items: center;
        max-width: 85%;
    }

    /* .color-strip{
        margin-top: 4em;
    } */

   .line{
    margin-right: .2em;
   }

   #footer-site-name{
    font-size: 18px;
   }
   #footer-copyright-notice{
    font-size: 12px;
   }

  .featured-section{
    margin: 0 0 2em;
  }
  .gallery-item img{
    max-width: 26em;
  }
    
}

@media only screen and (max-width:480px){
  .gallery-item img{
    max-width: 24em;
  }
}

@media only screen and (max-width:450px) {
    
    ul.menu{
        font-size: 17px;
    }
    .inner-hero p{
      font-size: 15px;
    }
    .gallery-item img{
      max-width: 22em;
    }
}

@media only screen and (max-width:410px){
  .gallery-item img{
    max-width: 22em;
  }
}

@media only screen and (max-width:400px){
  .gallery-item img{
    max-width: 20em;
  }
}

@media only screen and (max-width:370px){
  .gallery-item img{
    max-width: 18em;
  }
}

@media only screen and (max-width:360px) {

   
    
    h1{
        font-size: 40px;
    }

    .site-title{
        font-size: 25px;
    }
    ul.menu{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
    
        

        padding-top: 2em;
        padding-bottom: 2em;

    }
    ul.menu li{
        padding: .4em 0 .4em;
        margin: 0;
        
    }

     .inner-hero, .inner-portfolio, .inner-about, .inner-contact{
        
        padding-left: .8em;
        padding-right: .8em;
    }
    


    .hero-button-1, .hero-button-2{
        font-size: 15px;
    }

    .featured-item-image img{
        max-height: 220px;
    }
    

    #footer-site-name{
        font-size: 16px;
       }
    #footer-copyright-notice{
        font-size: 11px;
       }
       
       .hero-button-1, .hero-button-2{
           font-size: 15px;
       }
}

@media only screen and (max-width:340px){
  .gallery-item img{
    max-width: 17em;
  }
}