@import url('https://fonts.googleapis.com/css?family=Yellowtail');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

.navbar{
    position: fixed;
    padding: 2rem 0;    /* 20px 0 */
    width: 100%;
    background: black;
    transition: all 0.3s ease;
    z-index: 5;
}

.navbar.sticky{
    position: fixed;
    padding: 1rem 0;    /* 10px 0 */
    background: #1b1b1b;
}

.navbar .logo a{
    color: white;
    font-size: 2rem;    /* 30px */
    font-weight: 200;
    text-decoration: none;
    font-family: "Yellowtail", sans-serif;;
}

.navbar .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .menu{
    display: inline-flex;
}

.menu li a{
    color: white;
    font-size: 1.1rem;    /* 18px */
    font-weight: 600;
    text-decoration: none;
    margin-left: 3rem;    /* 25px */
}

#home{
	display: none;
}

.content{
    max-width: 1250px;
    margin: auto;
    padding: 0 1rem;    /* 0 30px */
}

.banner{
    height: 100vh;
    background: url(../img/banner.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.eyes{
    width: 1250px;
    height: 260px;
    background: url(../img/eyes.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.work{
    padding: 1.5rem 0;    /* 40px 0 */
    background: black;
    color: white;
}

.work .title{
    font-size: 2rem;    /* 35px */
    font-weight: 700;
    
}

.work .paragraph{
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
}

.work p{
    padding-top: 1rem;  /* 20px */
    padding-right: 1.5rem;  /* 20px */
    text-align: justify;
}

.workt{
    max-width: 800px;
    justify-items: center;
    display: grid;  
    grid-gap: 1rem;  
    grid-template-columns: repeat(auto-fit, 250px);  
    grid-template-rows: repeat(2, 150px);  
}

.photogallery-btn{
    padding: 0.5rem;
    border: solid 1px white;
    border-radius: 3rem;
    width: 13rem;
    cursor: pointer;
}

.overlay {
    position: absolute; 
    bottom: 0px;
    background: rgba(0, 0, 0, 0.4); 
    width: 100%;
    color: white;
    font-size: 1.1rem;
    font-style: italic;
    padding: 0.5rem;
    text-align: center;
  }

.produkty{
    position: relative;
    width: 250px;
    height: 150px;
    margin-top: 1rem;
    background: url(../img/work/produkty.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.portrety{
    position: relative;
    width: 250px;
    height: 150px;
    margin-top: 1rem;
    background: url(../img/work/portrety.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.okamziky{
    position: relative;
    width: 250px;
    height: 150px;
    margin-top: 1rem;
    background: url(../img/work/okamziky.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.dny{
    position: relative;
    width: 250px;
    height: 150px;
    margin-top: 1rem;
    background: url(../img/work/dny.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.barvy{
    position: relative;
    width: 250px;
    height: 150px;
    margin-top: 1rem;
    background: url(../img/work/barvy.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.foryou{
    position: relative;
    width: 250px;
    height: 150px;
    margin-top: 1rem;
    background: url(../img/work/foryou.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.about{
    padding: 1.5rem 0;    /* 40px 0 */
    background: black;
    color: white;
}

.about .title{
    font-size: 2rem;    /* 35px */
    font-weight: 700;
    
}

.about p{
    padding-top: 1rem;  /* 20px */
    padding-right: 1.5rem;  /* 20px */
    text-align: justify;
}

.aboutf{
    width: 350px;
    height: 350px;
    margin-top: 1rem;
    background: url(../img/about.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.move-up span{
    color: var(--white);
}

.move-up span:hover{
    color: var(--white);
    cursor: pointer;
}
/*
@media (max-width: 852px){
    .banner{
        height: 100vh;
        background: url(../img/banner_c.jpg) no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }
    .navbar .menu{
        position: fixed;
        /*
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        max-width: 400px;
        background: #222;
        display: block;
        text-align: center;
        font-size: 2rem;
        margin-top: 4.5rem;
        */
    }
/*
    .workt{
        max-width: 550px;
    }

    .eyes{
        width: 850px;
    }
}

@media (max-width: 600px){
    .workt{
        max-width: 250px;
    }

    .dny{
        margin-top: 0;
    }

    .barvy{
        margin-top: 0;
    }

    .portrety{
        margin-top: 0;
    }

    .produkty[data-aos-delay] {
        transition-delay: 0s !important;
    }
    .foryou[data-aos-delay] {
        transition-delay: 0s !important;
    }
    .okamziky[data-aos-delay] {
        transition-delay: 0s !important;
    }
    .portrety[data-aos-delay] {
        transition-delay: 0s !important;
    }
    .barvy[data-aos-delay] {
        transition-delay: 0s !important;
    }
    .dny[data-aos-delay] {
        transition-delay: 0s !important;
    }
}
*/
/* ------------------------- GALLERY ------------------------------------------- */
a.:visited {
  color: white;
  text-decoration: none;
}

a.gallery:link {
  color: white;
  text-decoration: none;
}

a.gallery:visited {
  color: white;
  text-decoration: none;
}

a.gallery:hover {
  color: white;
  text-decoration: none;
}

a.gallery:active {
  color: white;
  text-decoration: none;
}

.gallery > ul {
  margin-bottom: 0;
}
.gallery > ul > li {
    float: left;
    margin-bottom: 15px;
    margin-right: 20px;
    width: 200px;
}
.gallery > ul > li a {
  border: 3px solid #FFF;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  position: relative;
  float: left;
}
.gallery > ul > li a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.gallery > ul > li a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.gallery > ul > li a:hover .gallery-poster > img {
  opacity: 1;
}
.gallery > ul > li a .gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.gallery > ul > li a .gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.gallery > ul > li a:hover .gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.gallery .justified-gallery > a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.gallery .justified-gallery > a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.gallery .justified-gallery > a:hover .gallery-poster > img {
  opacity: 1;
}
.gallery .justified-gallery > a .gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.gallery .justified-gallery > a .gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.gallery .justified-gallery > a:hover .gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.gallery .video .gallery-poster img {
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.8;
  width: 48px;
}
.gallery.dark > ul > li a {
  border: 3px solid #04070a;
}
.home .gallery {
  padding-bottom: 80px;
}