html 
{
  scroll-behavior: smooth;
}


body
{
	background-color: #141414;
    background-size: cover;
    margin: 0;
    width: 100%;

    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/*Loading Screen*/
#preloader
{
   background: #fff url('img/gif1.gif') no-repeat center center;
   background-size: 20%;
   background-color: #000;
   height: 100%;
   width: 100%;
   position: fixed;
   z-index: 100;
   top: 0;
   left: 0;
}

@media screen and (max-width: 700px)
{
    #preloader
    {
        background-size: 40%;
    }
}

/*Top navigation bar*/

header 
{
    resize: none;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: background-color .5s ease;
    background-color: rgba(49, 49, 49, 0);
    z-index: 99;
}

.topnav
{
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 1.5rem;

}

.nav
{
    width: 100%;
    height: 6rem;
    display: flex;  
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255,255,255,.05);
    transition: height .5s ease;
}

.nav a
{
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.1rem;
}

.nav .logo
{
    font-size: 3rem;
    font-weight: bold;
}

.logo
{
    opacity: 1;
}

.nav-list
{
    list-style: none;
    display: flex;
    margin-right: auto;
    margin-left: 4rem;
}

.nav-link
{
    margin: 0 2rem;
    position: relative;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    letter-spacing: 0.1rem;
}

.nav-link::after
{
    content: '';
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: -5px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}

.nav-link:hover::after
{
    transform: scaleX(1);
}

#nav-cta
{
    display: inline-block;
    background-color: #fff;
    color: #313131;
    margin-right: 5rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
    transition: background-color .5s ease;
    font-family: 'Oswald', sans-serif;
}

#nav-cta:hover
{
    background-color: #d3d3d3;
}


/*Apply styles after scroll*/
.scrolling-active
{
    background-color: #fffafa;
    box-shadow: 0 3px 1rem rgba(0,0,0,.1);
}

.scrolling-active .nav
{
    height: 6.6rem;
}

.scrolling-active .logo
{
    opacity: 1;
}
.scrolling-active .nav a
{
    color: #313131;

}

.scrolling-active #nav-cta
{
    background-color: #313131;
    color: #fff;
}

.scrolling-active #nav-cta:hover
{
    background-color: #151515;
}

.scrolling-active .nav-link::after
{
    background-color: #313131;
}

/*Mobile Menu*/

@media screen and (min-width: 1167px)
{
    .dropdown
    {
        display: none;
    }
}

@media screen and (max-width: 1166px)
{
    .nav-link
    {
        display: none;
    }
    #nav-cta
    {
        display: none;
    }
    ul.newidead
    {
        padding: 0;
        list-style: none;
        font-family: 'Oswald', sans-serif;
    }
    ul.newidead li
    {
        display: inline-block;     
    }
    ul.dropdown a
    {
        padding: 0;
        margin: 0;
    }
    ul.newidead li a
    {
        display: block;
        text-align: center;
        color: #fff;
        text-decoration: none;
    }
    ul.dropdown-menu li a
    {
        color: #000;
        padding-top: 20px;
    }
    ul.dropdown-menu li:last-child a
    {
        padding-bottom: 20px;
    }
    .pseudelement li a
    {
        margin-left: -4rem;
    }
    ul.newidead li ul.dropdown-menu
    {
        background: #f2f2f2;
        display: none;
        z-index: 999;
    }
    ul.dropdown-menu
    {
        position: absolute;
        left: 0;
        top: 6rem;
        width: 100%;
        transition: top 500ms;
    }
    .scrolling-active ul.dropdown-menu
    {
        top: 6.5rem;                 
    }
    ul.newidead li ul.dropdown-menu li
    {
        display: block;
    }
}

/*Main*/

main
{
    width: 100%;
    margin-top: 6rem;
    height: 30rem;
}
.aboutphoto
{
    background-image: url('barberbckground.jpg');
    background-position: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    height: 20rem;
    z-index: -1;
 
}

#onas
{
    padding-top: 6rem;
    margin-top: -6rem;
}

.about
{
   text-align: center;
   font-family: 'Oswald', sans-serif;

}

.border
{
    border-bottom: #ffb347 solid .1rem;
    width: 20rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    opacity: 0;

}

.show1
{
    opacity: 1;
    -webkit-transition: opacity 2s linear;
    -moz-transition: opacity 2s linear;
    -ms-transition: opacity 2s linear;
    -o-transition: opacity 2s linear;
    transition: opacity 2s linear;
}

.d1
{
    color: white;
    display: inline-block;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: .1rem;
}

.d2
{
    color: #ffb347;
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: .4rem;
    margin-left: 0.7rem;
}

.d3
{
    color: white;
    font-size: 1.5rem;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: .02rem;
    color: rgb(255,255,255, 0.8);
}

.d4
{
    color: white;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    color: rgb(255,255,255, 0.7);
    font-size: 1.1rem;
    letter-spacing: .05rem;
}

@media screen and (max-width: 1166px)
{
    .d3
    {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .d4
    {
        padding-left: 4rem;
        padding-right: 3rem; 
    }

    .d2
    {
        text-shadow: 2px 0 #ffb347;
    }
}
/*Pricelist*/
#cennik
{
    padding-top: 2rem;
    margin-top: -2rem;
}

.price
{
    margin-top: 5rem;
    background-color: black;
    text-align: center;
}

/* First price box */
.cena1
{
    display: inline-block;
    height: 20rem;
    width: 22%;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    background-color: #141414;
    overflow: hidden;
    transition: transform .9s;
    margin-right: 1rem;
}

.cena1:hover
{
    transform: scale(1.1);
    opacity: 0.9;
}

.pricetitle
{
    margin-top: 10%;
    margin-bottom: 15%;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    letter-spacing: .2rem;
    color: #ffb347;
}

.scisors
{
    background: url('img/strzyzenie.png') no-repeat center;
    background-size: cover;
    width: 6rem;
    height: 6rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

.cost
{
    margin-top: 15%;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    letter-spacing: .1rem;
    color: #ffb347;

}

/*Scnd Price box */
.cena2
{
    display: inline-block;
    height: 20rem;
    width: 22%;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    background-color: #141414;
    overflow: hidden;
    transition: transform .9s;
    margin-right: 1rem;
}

.cena2:hover
{
    transform: scale(1.1);
    opacity: 0.9;
}

.beard
{
    background: url('img/brodakr.png') no-repeat center;
    background-size: cover;
    width: 6rem;
    height: 6rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

.cena3
{
    display: inline-block;
    height: 20rem;
    width: 22%;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    background-color: #141414;
    overflow: hidden;
    transition: transform .9s;
    margin-right: 1rem;
}

.cena3:hover
{
    transform: scale(1.1);
    opacity: 0.9;
}

.all
{
    background: url('img/wasy.png') no-repeat center;
    background-size: cover;
    width: 6rem;
    height: 6rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

.cena4
{
    display: inline-block;
    height: 20rem;
    width: 22%;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    background-color: #141414;
    overflow: hidden;
    transition: transform .9s;
    margin-right: 1rem;
}

.cena4:hover
{
    transform: scale(1.1);
    opacity: 0.9;
}



.child
{
    background: url('img/mycie.png') no-repeat center;
    background-size: cover;
    width: 6rem;
    height: 6rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

@media all and (min-width: 716px) and (max-width: 986px)
{
.cena1, .cena2, .cena3, .cena4
    {
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10%;
        padding-right: 10%;
    }

    .pseudomedia1
    {
        height: 2.5rem;
        background-color: #000;
    }
    .pseudomedia2
    {
        height: .1rem;
        background-color: #000;
    }
}

@media all and (min-width: 573px) and (max-width: 715px)

{
    .cena1, .cena2, .cena3, .cena4
    {
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20%;
        padding-right: 20%;
    }

    .cost
    {
        margin-top: 2rem;
    }

    .pseudomedia1
    {
        height: 2.5rem;
        background-color: #000;
    }
    .pseudomedia2
    {
        height: .1rem;
        background-color: #000;
    }
}

@media screen and (max-width: 572px)
{
    .cena1, .cena2, .cena3, .cena4
    {
        display: block;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    .pseudomedia1
    {
        height: 2.5rem;
        background-color: #000;
    }
    .pseudomedia2
    {
        height: .1rem;
        background-color: #000;
    }

}

/*umowwizyte*/
#makeappointment
{
    padding-top: 3rem;
    margin-top: -3rem;
}

.wizyta
{
    background-color: #000;
    text-align: center;
    padding-top: 9rem;
}

.wizytatekst
{
    color: rgb(255,255,255, 0.9);
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 8rem;
    letter-spacing: .8rem;
}

.przycisk
{
    margin-bottom: 8rem;
}

.myButton {
    background-color: transparent;
    border: .2rem solid rgb(255,255,255, 0.7);
    border-radius: 0px 0px 0px 0px;
    color: rgb(255,255,255, 0.7);
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    transition: all 0.2s esse-in-out 0s;
    letter-spacing: 5px;
    cursor: pointer;
    text-decoration: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 3rem;
    padding-left: 3rem;
    transition: all 0.2s ease-in-out 0s;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transform: scaleX(1.0) scaleY(1.0);
}

.myButton:hover 
{
    border: .2rem solid rgb(255,255,255, 1);
    color: rgb(255,255,255, 1);
    transform: scaleX(1.1) scaleY(1.1);
}

.myButton:active 
{
    position:relative;
    top:1px;
}

.linia
{
    border-top: solid .2rem rgb(255,255,255, 0.7);
    width: 4rem;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 6rem;
}

/*Kontakt*/

#kontaktanchor
{
    padding-top: 1rem;
    margin-top: -1rem;
}

.contact
{
    background-color: black;
    text-align: center;
    padding-top: 10%;
}


.first
{
    height: 20rem;
    width: 25%;
    margin-top: 2%;
    margin-bottom: 2%;
    display: inline-block;
    overflow: hidden;
}

.title
{
    font-family: 'Oswald', sans-serif;
    color: white;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    font-weight: 900;
}

.tresc
{
    font-family: 'Oswald', sans-serif;
    color: rgb(255,255,255, 1);
    letter-spacing: .1rem;
}

.number
{
    text-decoration: none;
    font-weight: 900;
    color: #fff;
    transition: all 0.2s ease-in-out 0s;
}

.number:hover
{
    color: #ffb347;
    text-decoration: underline;
}

.tresc1
{
    font-family: 'Oswald', sans-serif;
    color: rgb(255,255,255, 1);
}

.tresc2
{
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.2rem;
    color: rgb(255,255,255, 1);
}

.second
{
    height: 20rem;
    width: 25%;
    margin-top: 2%;
    margin-bottom: 2%;
    display: inline-block;
    overflow: hidden;
}

.days
{
    width: 60%;
    display: inline-block;
    float: left;
}

.pdays
{
    font-family: 'Oswald', sans-serif;
    color: rgb(255,255,255, 1);
    margin-top: 0;
}

.hours
{
    width: 40%;
    display: inline-block;
    text-align: left;
}

.phours
{
    font-family: 'Oswald', sans-serif;
    color: rgb(255,255,255, 1);
    margin-top: 0;
}

.workinhours
{
    font-family: 'Oswald', sans-serif;
    color: rgb(255,255,255, 1);
    font-weight: 600;
}

.otwarte
{
    color: #01FF70;
}

.zamkniete
{
    color: #FF4136;
}

.third
{
    height: 20rem;
    width: 25%;
    margin-top: 2%;
    margin-bottom: 2%;
    display: inline-block;
    overflow: hidden;
}

.borderleft
{
    height: 10rem;
    width: 1%;
    margin-top: 2%;
    display: inline-block;
    overflow: hidden;
    border-left: solid .2rem rgb(255,255,255, 0.7);
    margin-bottom: 10rem;
}

.borderright
{
    height: 10rem;
    width: 1%;
    margin-top: 2%;
    display: inline-block;
    overflow: hidden;
    border-right: solid .2rem rgb(255,255,255, 0.7);
    margin-bottom: 10rem;
}

@media screen and (max-width: 630px)
{

    .first
    {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        margin-bottom: 5rem;
        height: auto;
    }
    .second
    {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        margin-bottom: 5rem;
        height: auto;
    }
    .third
    {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        margin-bottom: 0;
    }
    .borderright
    {
        display: none;
    }
    .borderleft
    {
        display: none;
    }
}

/*STOPKA*/

.stopka
{
    background-image: url('img/photography.jpg');
    height: 20rem;
    background-position: 100% 100%;
    background-color: black;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
}

.social
{
    background-color: #000;
    text-align: center;
}

.socialtekst
{
    padding: 0;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    color: rgb(255,255,255, 0.9);
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: 1rem;
}

.ikona
{
    margin-top: 3rem;
    margin-bottom: 8rem;
}

.icon-facebook-squared:hover:before
{
    color: rgb(255,255,255, 1);
    transform: scaleX(1.1) scaleY(1.1);
}

.linia1
{
    width: 1rem;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5rem;
}

/*Stopka*/
.generalfoter
{
    width: 100%;
    height: 5rem;
    background-color: #000;
    text-align: center;

}

.ftext
{
    font-family: 'Oswald', sans-serif;
    color: rgb(255,255,255, 1);
    font-size: 1.1rem;
    letter-spacing: .05rem;

}

.fotertext
{
    padding: 0;
    margin: 0;
}

@media all and (min-width: 631px) and (max-width: 1102px)
{

}

@media screen and (max-width: 630px)
{
     .generalfoter
    {
        height: auto;
    }
    .ftext
    {
        font-size: .9rem;
        padding: 0;
        margin: 0;
    }
}

/*scrollUp btn*/
.scrollup
{
    position: fixed;
    right: 1rem;
    bottom: 1rem;
}

@keyframes bounce 
{
  from 
  {
    transform: translateY(0rem);
  }
  to 
  {
    transform: translateY(-.6rem);
  }
}

.scrollup:hover
{
    cursor: pointer;
    animation: bounce .5s infinite alternate;
    -webkit-animation: bounce .5s infinite alternate;
}

.hide
{
    transition: all 1s;
    opacity: 0;
}

.show
{
    opacity: .2;
    transition: all 1s;
}
