
html 
{
    scroll-behavior: smooth;
}

body 
{
    font-family: 'Open Sans', sans-serif, 'Source Sans Pro';
    margin:0;
    padding: 0;
    background-color: white;
}

/* HEADER */

header 
{
    box-shadow: rgb(0, 0, 0, 0.3) 0px 5px 5px;
    position: sticky;
    height: 56px;
    font-size: 14px;
    top: 0;
    background-color: white;
    font-family: 'Open Sans', sans-serif;
}

header .main
{
    width: 100%;
    margin: 0;
    max-height: 56px;
    list-style-type: none;
    padding: 0;
    display: block;
    overflow: hidden;
    position: sticky;
}

header li 
{
    float: left;
    overflow: hidden;
    display: block;
}

header ul li ul 
{
    height: 56px;
    top: 0;
    right: 0px;
    overflow: hidden;
    position: absolute;
}

header ul li ul li 
{
    float: right;
}

header li a
{
    text-decoration: none;
    color: rgb(0, 50, 99);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    padding-top: 18px;
    padding-bottom: 19px;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
    position: sticky;
}

header .logo a 
{
    height: 56px;
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 10px;
}

header .logo a h1
{
    vertical-align: top;
    margin: 0;
    display: inline-block;
    text-transform: none;
    font-size: 18px;
    font-weight: 600;
    padding-top: 15px;
    padding-bottom: 17px;
}

header .logo img 
{
    width: 30px;
    height: 36px;
    padding-top: 9px;
    padding-bottom: 11px;
    padding-right: 5px;
}
header .logo:hover img
{
    filter: brightness(0) invert(1);
}

header .home 
{
    height: 56px;
    width: 39px;
    font-size: 0px;
    float: none;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0%);
    position: fixed;
    z-index: 2;
}

header .home_button
{
    background-image: url(/images/home.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: top;
    background-position: center;
    height: 39px;
    width: 39px;
    padding: 0;
    margin: 0;
    margin-top: 8px;
    margin-bottom: 9px;
    overflow: hidden;
    position: sticky;
    z-index: 3;
    display: block;
}

header li a:hover 
{
    color:white;
}

header li:hover 
{
    background-color: rgb(0, 50, 99);
}

/*DROPDOWN MENU*/

.menuToggle input 
{
    display: none;
}
.menuToggle a 
{
    display: none;
}
.menuToggle .menu
{
    display: none;
}
.menuToggle span
{
    display: none;
}

.non_hoverable:hover 
{
    background: inherit;
}


@media (max-width: 880px) 
{
    .menu_inline 
    {
        display: none;
    }


    /*
    * Made by Erik Terwan
    * 24th of November 2015
    * MIT License
    *
    *
    * If you are thinking of using this in
    * production code, beware of the browser
    * prefixes.
    */
    
    .menuToggle a 
    {
        display: block;
    }
    .menuToggle .menu
    {
        display: block;
    }

    .menuToggle
    {
      display: block;
      position: fixed;
      top: 0;
      right: 0;
      
      z-index: 1;
      
      -webkit-user-select: none;
      user-select: none;
      margin: 17px;
    }
    
    .menuToggle a
    {
      text-decoration: none;
      color: #232323;
      
      transition: color 0.3s ease;
    }
    
    .menuToggle a:hover
    {
      color: white;
    }
    
    
    .menuToggle input
    {
      display: block;
      width: 40px;
      height: 32px;
      position: absolute;
      top: -7px;
      left: -5px;
      
      cursor: pointer;
      
      opacity: 0; /* hide this */
      z-index: 2; /* and place it over the hamburger */
      
      -webkit-touch-callout: none;
    }
    
    /*
     * Just a quick hamburger
     */
    .menuToggle span
    {
      display: block;
      width: 33px;
      height: 4px;
      margin-bottom: 5px;
      position: relative;
      
      background:rgb(0, 50, 99);
      border-radius: 3px;
      
      z-index: 1;
      
      transform-origin: 4px 0px;
      
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  opacity 0.55s ease;
    }
    
    .menuToggle span:first-child
    {
      transform-origin: 0% 0%;
    }
    
    .menuToggle span:nth-last-child(2)
    {
      transform-origin: 0% 100%;
    }
    
    /* 
     * Transform all the slices of hamburger
     * into a crossmark.
     */
    .menuToggle input:checked ~ span
    {
      opacity: 1;
      transform: rotate(45deg) translate(-2px, -1px);
      background: #232323;
    }
    
    /*
     * But let's hide the middle one.
     */
    .menuToggle input:checked ~ span:nth-last-child(3)
    {
      opacity: 0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }
    
    /*
     * Ohyeah and the last one should go the other direction
     */
    .menuToggle input:checked ~ span:nth-last-child(2)
    {
      transform: rotate(-45deg) translate(0, -1px);
    }
    
    /*
     * Make this absolute positioned
     * at the top left of the screen
     */
    .menu
    {
      position: fixed;
      width: 180px;
      height: 280px;
      padding-top: 56px;
    
      background: white;
      -webkit-font-smoothing: antialiased;
      /* to stop flickering of text in safari */
      
      transform-origin: 0% 0%;
      transform: translate(100%, 0);
      
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
      right: 0;
      top: 0;
      box-shadow: rgb(0, 0, 0, 0.3) 0px 5px 5px;
      padding-left: 0;
    }
    
    .menu li
    {
      font-size: 15px;
      display: block;
      float: none;
      text-align: right;
      width: 100%;
    }

    .menu a 
    {
        margin-right: 20px;
    }
    
    /*
     * And let's slide it in from the left
     */
    .menuToggle input:checked ~ .menu
    {
      transform: none;
    }

    .menuToggle input:checked ~ header 
    {
        height: 280px;
    }


}

/* HERO */

.hero 
{
    background-image: url(/images/hero.webp);
    box-shadow: rgb(0, 0, 0, 0.3) 0px 5px 5px;
    min-height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-position-y: top;
    margin-bottom: 30px;
}

.hero .container 
{
    max-width: 400px;
    padding-top: 108px;
    margin-left: 20%;
}

.hero .logo 
{
    width: 192px;
    height: 234px;
    left: 50%;
    margin: auto;
    display: block;
}
.hero h1 
{
    color: rgb(255, 255, 255);
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.hero .kancelaria 
{
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    margin-top: 14px;
}

.hero .robert 
{
    font-weight: 700;
    font-size: 48px;
    text-align: center;
    margin-top: 4px;
}

.hero .radca 
{
    font-weight: 300;
    font-size: 19px;
    text-align: right;
    margin-top: 5px;
}

.hero .kirp 
{
    padding-top: 40px;
    margin-left: 45%;
    width: 176px;
    height: 60px;
}


/* OFERTA */

.oferta 
{
    background: linear-gradient(to top,#EBEBEB ,#FFFFFF 100%);
}

.oferta h1 
{
    color: rgb(0, 50, 99);
    text-transform: uppercase;
    text-align: center;
    line-height: 43px;
    letter-spacing: 2px;
    padding: 0;
}

.oferta .separator 
{
    width: 45px;
    height: 11px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.oferta ul
{
    margin-left: auto;
    margin-right: auto;
    max-width: 730px;
    padding-left: 0;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.oferta ul li 
{
    flex: auto;
    text-align: center;
    vertical-align: top;
    padding-bottom: 60px;
    max-width: 243.328px;
    margin-left: auto;
    margin-right: auto;
}

.oferta ul li p 
{
    width: 240px;
    color: rgb(0, 50, 99);
    line-height: 22px;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    margin: 0;
}

.oferta ul li img 
{
    display: inline-block;
    margin: 0;
    padding: 0;
}

.oferta .services_button 
{
    text-decoration: none;
    width: 340px;
    background-color: #003263;
    color: rgb(255, 255, 255);
    margin: auto;
    left: 50%;
    display: block;
    text-align: center;
    letter-spacing: 1px;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    padding-top: 21px;
    padding-bottom: 21px;
    padding-left: 2px;
    padding-right: 2px;
    margin-bottom: 60px;
    box-shadow: rgb(0, 0, 0, 0.3) 0px 5px 5px;
}

.oferta .services_button:hover 
{
    background-color: rgb(255, 255, 255);
    color: #003263;
    border: 2px solid rgb(0, 50, 99);
    padding: 19px 0px;
}
/* SERVICES */
.services 
{
    max-width: 850px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service_caption 
{
    color: rgb(0, 50, 99);
    text-transform: uppercase;
    font-size: 24px;
    line-height: 31px;
    text-align: left;
    display: block;
    margin-left: 70px;
    padding-top: 30px;
    margin-bottom: 20px;
}

.service_under_caption 
{
    font-size: 18px;
    text-align: left;
    line-height: 23px;
    color: #595959;
    font-weight: 300;
    margin-left: 90px;
    margin-top: 0;
}


/* FOOTER */

footer 
{
    position: sticky;
    padding: 4px;
    background-color: rgb(0, 50, 99);
    color: rgb(255, 255, 255);
    font-size: 12px;
    bottom: 0;
}

/* MEDIA QUERIES */

@media (min-width:1398px) 
{

    .hero .big_container 
    {
        width: 839px;
        margin-left: 50%;
        transform: translate(-50%, 0%);
    }

    .hero .container 
    {
        margin-left: unset;
    }
}

@media (max-width: 1150px) 
{

}

@media (max-width: 1036px) 
{
    .hero .container 
    {
        margin-left: 10%;
    }
}

@media (max-width: 878px) 
{
    .service_caption
    {
        margin-left: 50px;
    }

    .service_under_caption 
    {
        margin-left: 70px;
    }
}

@media (max-width: 820px) 
{
    .hero 
    {
        background-position: 55%;
    }

    .hero .container 
    {
        margin-left: 2%;
    }

    .hero .kirp 
    {
        margin-left: 37%;
    }

    .service_caption
    {
        margin-left: 30px;
        margin-right: 20px;
    }

    .service_under_caption 
    {
        margin-left: 50px;
        margin-right: 20px;
    }

}

@media (max-width: 770px) 
{
    .hero .container 
    {
        max-width: 291px;
        height: 381px;
        margin-left: 5%;
    }

    .hero .logo
    {
        width: 162px;
        height: 204px;
    }
    
    .hero .kancelaria 
    {
        font-size: 20px;
    }

    .hero .robert 
    {
        font-size: 36px;
    }

    .hero .radca 
    {
        font-size: 15px;
    }

}

@media (max-width: 684px) 
{
    .hero 
    {
        background-position-x: left;
    }

    .hero .container 
    {
        padding-top: 50px;
        margin-left: auto;
        margin-right: auto;
        max-width: fit-content;
        height: fit-content;
    }

    .hero .container .logo 
    {
        height: 300px;
        width: 400px;
    }

    .hero .kirp 
    {
        padding-bottom: 10px;
    }

    .oferta ul li 
    {
        padding-bottom: 32px;
    }

    .service_caption
    {
        margin-left: 30px;
        font-size: 20px;
    }

    .service_under_caption 
    {
        margin-left: 40px;
        font-size: 16px;
    }

}

@media (max-width: 564px) 
{

    header .logo 
    {
        display: none;
    }

}

@media (max-width: 469px) 
{


}

@media (max-width: 439px) 
{
    .hero .container 
    {
        width: 300px;
    }

    .hero .container .logo 
    {
        height: 250px;
        width: 246px;
    }

    .hero .container .kancelaria 
    {
        font-size: 18px;
    }

    .hero .container .robert 
    {
        font-size: 34px;
    }

}

@media (max-width: 390px) 
{


}

@media (max-width: 365px) 
{
    .oferta .services_button 
    {
        max-width: 290px;
        font-size: 16px;
    }

    footer 
    {
        position: static;
    }
}










