@font-face {
  font-family: 'Zeyada';
  src: url('fonts/Zeyada-Regular.ttf');
}

*{
  text-decoration: none;
  box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
  position: absolute;
  padding: 0px;
  margin: 0px;
  font-family: 'Oswald';
  overflow-x: hidden;
}

#home{
  position: relative;
  height: 100vh;
  background-image: url(img/bg/tlo.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex; 
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#home img{
    height: 25%;
}

#home .empty{
  height: 16%;
  width: 60%;
}

#home .arrow {
  position: absolute;
  bottom: 0;
  font-size: 3.5rem;
  text-align: center;
  color: white;
  animation: bumping 1s infinite ease-in-out;
  animation-direction: alternate-reverse;
}

@keyframes bumping {
  0%   {bottom: 0}
  100%  {bottom: 30px}
}

#about {
  padding: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#about img {
  width: 30%;
  margin: 5%;
  margin-left: 0;
  box-shadow: 10px 10px 5px grey;
  float: left;
}

.description {
    font-size: 160%;
    color: #888888;
}
.description h3{
    text-transform: uppercase;
    font-size: 180%;
    color: black;
    font-weight: 100;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.quote {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image: url(img/bg/tlo.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.quote {
  color: white;
  font-size: 300%;
  font-family: 'Zeyada', 'Roboto';
}

.quote-wrapper {
  margin: 10% 2%;
}

.quote p {
  text-align: center;
  margin: 6% 0;
}

.signature {
  display: block;
  margin-right: 3%;
  font-size: 40%;
  text-align: right;
}

#our-work {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  overflow: hidden;
}

.work {
  width: 90%;
  height: 90%;
  padding: 5%;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.work img {
  width: 80%;
}

.work p {
  text-align: center;
  font-size: 1rem;
  margin: 1rem 0;
  text-transform: uppercase;
}

#gallery {
  display: flex;
  flex-wrap: wrap;
  background-color: black;
}

#gallery .picture {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 25%;
  margin: 2%;
  border: 2px solid #ccc;
  transition: 0.2s linear all;
}

#gallery .picture img {
  align-self: baseline;
  transition: 5s linear all;
  width: 100%;
}

#gallery .picture .text {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gallery .picture p {
  color: #ef801a;
  text-align: center;
}

#contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 70vh;
}

#contact .contact-wrapper {
  text-align: center;
  margin: 1rem 0;
}

.contact-wrapper p {
  margin: 0;
  font-size: 1.6rem;
}

.contact-wrapper h5 {
  margin: 0;
  font-size: 1.1rem;
  color: #ef801a;
}


#contact img {
  width: 10%;
}

.map {
  height: 25vh;
}

.map iframe {
  width: 100%;
  height: 100%;
}

footer {
  height: 5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ef801a;
  color: white;
}

footer span {
  margin-left: 0.5rem;
  color: lightgrey;
}

@media screen and (max-width: 800px) {
  #about {
    flex-direction: column;
  }

  #about img {
    width: 50%;
  }

  #our-work {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, 1fr);
    height: auto;
  }

  #our-work .work {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: auto;
    height: auto;
    margin: 10%;
  }

  #our-work .work img {
    width: 100%;
  }

  #our-work .work .text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: black;
    opacity: 0;
    border-radius: 10%;
    transition: 1s ease-in-out all;
  }

  #our-work .work .text:hover {
    opacity: 0.9;
  }

  #gallery .picture {
    width: 40%;
  }

  #contact img {
    width: 35%;
  }
}

@media screen and (max-width: 300px) {
  
  #gallery .picture {
    width: 90%;
  }
}


/*---------menu------------*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:600|Open+Sans:600&display=swap');

.sidebar{
    position: fixed;
    width: 240px;
    left: -240px;
    height: 100%;
    background: #1e1e1e;
    opacity: 0.7;
    transition: all .5s ease;
    z-index: 999;
}

.sidebar a{
  display: block;
  height: 65px;
  width: 100%;
  color: white;
  line-height: 65px;
  padding-left: 30px;
  box-sizing: border-box;
  border-bottom: 1px solid black;
  border-top: 1px solid rgba(255,255,255,.1);
  border-left: 5px solid transparent;
  font-family: 'Open Sans', sans-serif;
  transition: all .5s ease;
  text-decoration: none;
}

a:hover{
  border-left: 5px solid #ef801a;
  color: #ef801a;
}

#fb:hover{
  border-left: 5px solid #4267B2;
  color: #4267B2;
}

#mapy:hover{
  border-left: 5px solid #F4B400;
  color: #F4B400;
}

#btn{
    z-index: 998;
}

#cancel{
    z-index: 998;
}

.sidebar a i{
  font-size: 23px;
  margin-right: 16px;
}

.sidebar a span{
  letter-spacing: 1px;
  text-transform: uppercase;
}

#check{
  display: none;
}

label #btn,label #cancel{
  position: fixed;
  cursor: pointer;
  color: white;
  border-radius: 5px;
  border: 1px solid #262626;
  margin: 15px 30px;
  font-size: 29px;
  background: #262626;
  height: 45px;
  width: 45px;
  text-align: center;
  line-height: 45px;
  transition: all .5s ease;
}

label #cancel{
  opacity: 0;
  visibility: hidden;
}

#check:checked ~ .sidebar{
  left: 0;
}

#check:checked ~ label #btn{
  margin-left: 245px;
  opacity: 0;
  visibility: hidden;
}

#check:checked ~ label #cancel{
  margin-left: 245px;
  opacity: 1;
  visibility: visible;
}

#text{
    font-size: 1.6vw;
    padding: 4%;
    text-align: justify;
    color: #888888;
    height: 60vh;
    width: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#first{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 200%;
    margin: 3%;
    text-transform: uppercase;
    color: black;
}

ul{
    list-style-type: none; 
}

@media(max-width : 860px){
  .sidebar{
    height: auto;
    width: 70px;
    left: -240px;
    margin: 100px 0;
  }

  #check:checked ~ .sidebar{
    left: 0;
  }

  #check:checked ~ label #btn{
    margin-left: 20px;
    opacity: 0;
    visibility: hidden;
  }

  #check:checked ~ label #cancel{
    margin-left: 20px;
    opacity: 1;
    visibility: visible;
  }

  .sidebar span{
    position: absolute;
    margin-left: 23px;
    opacity: 0;
    visibility: hidden;
  }

  .sidebar a{
    height: 60px;
  }

  .sidebar a i{
    margin-left: -10px;
  }
}