@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
body{
  font-family: poppins;
}

.logo{
  width: 35px;
  cursor: pointer;
  padding-top: 10px;
}

nav{
  background: rgb(30, 50, 70);
  /*homepage: smazat pozadí*/
  height: 80px;
  width: 100%;
}
label.logo{
  color: white;
  font-size: 35px;
  line-height: 80px;
  padding: 0 100px;
  font-weight: bold;
}
nav ul{
  float: right;
  margin-right: 20px;
}
nav ul li{
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

/*homepage:*/
nav ul li a{
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
}

/*subpage:
nav ul li a{
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
  text-shadow: 0px 0px 10px black;
}
*/

 
a.podtrzeni,a:hover{
  transition: .5s;
  color: white;
  text-decoration: underline;
}

a.podtrzeni::after {
  content: ''
  display: block;
  width: 100%;
  height: 2px;
  background: red;
  transition: width .3s;
}

a.podtrzeni:hover:after {
  width: 100%;
  transition: width .3s;
}
.obsah  {
  margin: auto;
  width: 60%;
  padding: 10px;
  margin-top: 5px;
  padding: 10px 8px;
  padding-bottom: 0px;
}
.container {
  width: 80%;
  margin: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px; 
}

h1 {
  padding-top: 10px;
  text-align: center;
  font-weight: semibold;
  color: rgb(30, 50, 70);
}

p {
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: semibold;
  color: rgb(30, 50, 70);
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
}


/*nový konec:*/

.checkbtn{
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}
#check{
  display: none;
}

section{
  background: url(bg1.jpg) no-repeat;
  background-size: cover;
  height: calc(100vh - 80px);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 10px;
}

.gallery img {
  width: 100%;
  border-radius: 3px;
  /*box-shadow: 0px 0px 5px #c7c7c7;
  */
}

.job {
  background: linear-gradient(5deg, rgb(20, 30, 50), rgb(30, 50, 70));
  margin-bottom: 15px;
  padding: 8px;
  color: white;
  font-size: 12px;
  text-align: center;
  border-radius: 5px;
  margin-top: 5px;
}

.barbery-button {
  text-decoration: none;
  text-transform: uppercase;
  color: rgb(30, 50, 70);
  text-decoration: none;
  font-weight: 500;
  margin-top: 5px;
  padding-top: 5px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 5px;
  font-weight: 600;
  font-size: 8px;
  font-family: poppins;
}

button {
  background: white;
  border-radius: 100px;
  border: none;
  cursor: pointer;
}

.odkazvtextuMail {
  text-decoration: none;
  color: white;
  text-decoration: underline;
  font-weight: 500;
  }

.paticka {
  width: 100%;
  background-color: rgba(30, 50, 70, 5%);
  margin-top: 10px;
}

.paticka p {
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  color: rgba(30, 50, 70, 80%);
  font-weight: 500;
  font-size: 12px;
}

.ig-text {
  color: rgb(193,53,132);
  text-decoration: underline;
  font-weight: 500;
}

.fb-text {
  color: rgb(66 103 178);
  text-decoration: underline;
  font-weight: 500;
}

.mail-text {
  color: rgb(30 70 90);
  text-decoration: underline;
  font-weight: 500;
}

.working {
  background: rgb(30, 50, 70);
  margin: 10px;
  padding: 10px;
  color: white;
  font-size: 12px;
  text-align: center;
}

.popis-obrazku {
  text-align: center;
}

@media (max-width: 952px){
  .gallery {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  label.logo{
    font-size: 30px;
    padding-left: 50px;
  }
  nav ul li a{
    font-size: 16px;
  }
}
@media (max-width: 858px){
  .checkbtn{
    display: block;
  }


  ul{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }
  nav ul li{
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav ul li a{
    font-size: 20px;
  }
  a:hover,a.active{
    background: none;
  }
  #check:checked ~ ul{
    left: 0;
  }
  .container {
  width: 95%;
  }

  .obsah {
    width: 95%;
  }
  .obsah p {
    font-size: 16px;
  }

  .barbery-button {
  font-size: 12px;
  margin: 10px;
  margin-top: 15px;
  }

  .job {
  padding: 12px;
  }
}
@media (max-width: 750px){
  .gallery {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}


@media (max-width: 500px){
  .gallery {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 300px){
  .gallery {
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }
}