@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('../font/poppins-v21-latin-ext-700.woff2') format('woff2');
    src: url('../font/poppins-v21-latin-ext-700.woff') format('woff');
}
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../font/open-sans-v40-latin-ext-regular.woff2') format('woff2');
    src: url('../font/open-sans-v40-latin-ext-regular.woff') format('woff');
}
@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../font/open-sans-v40-latin-ext-700.woff2') format('woff2');
    src: url('../font/open-sans-v40-latin-ext-700.woff') format('woff');
}
body {
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a, h3, img, .btn, .fa-chair, .fa-hammer, .fa-facebook, .fa-instagram, .fa-circle-up, .fa-house, .copyL a, .copyR p a { 
    transition: all 0.5s ease-in-out; text-decoration: none;
}
p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
h1, h2 {
    font-family: "Poppins", sans-serif;
}
img {
    vertical-align: top;
}
.container {
    /*width: 1100px;*/
    margin: auto;
}
@media screen and (min-width: 1200px) {
    .container {
        width: 1100px;
    }
}
@media screen and (max-width: 1199px) {
    .container {
        width: 95%;
    }
}
.headerLogo {
    font-family: 'Poppins';
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.headerLogo a {
    font-size: clamp(28px, 8vw, 64px);
    color: #301909;
}
.headerLogo a,
nav ul li a {
  transition: color 0.3s ease, border-bottom 0.3s ease;
}
.headerLogo a:visited {
  color: #301909;
}
.headerLogo a:hover,
.headerLogo a:active {
    color: #FFF;
}
.logo:focus,
.logo:active {
  outline: none;
}
.brownLine {
    margin: 20px auto 0;
    border: 2px solid #906B47;
    border-radius: 3px;
    width: 150px;
}
nav ul {
    display: flex;
    list-style: none;
    text-transform: uppercase;
    justify-content: center;
    padding-top: 30px;
    gap: 30px;
    color: #301909;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1; 
}
nav ul li a {
    font-size: clamp(16px, 4vw, 25px);
    padding-bottom: 3px;
}
nav ul li a,
nav ul li a:visited,
nav ul li a:active {
    color: #301909;
}
nav ul li a:hover {
    border-bottom: 2px solid #FFF;
    color: #FFF;
}
.headerMenu {
    position: relative;
}
@media screen and (max-width: 1000px) {
    .headerLogo a {
        text-shadow: 0 0 5px rgba(115, 115, 115, 0.9);
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;  
    }
    nav ul li a {
        text-shadow: 0 2px 7px rgba(50, 50, 50, 0.85);
    }
}
@media screen and (max-width: 700px) {
    .brownLine {
        margin: 0px auto 10px;
        border: 1px solid #906B47;
        border-radius: 3px;
        width: 100px; 
    }
}
@media screen and (max-width: 600px) {
    .headerLogo {
        margin-bottom: 10px;
    }
    .brownLine {
        margin: 10px auto;
    }
}
@media screen and (max-width: 600px) {
    nav ul {
       padding-top: 0;
       gap: 10px;
    }
}
.background-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: block;
}
header {
    position: relative; 
}
body header::before {
    background: linear-gradient(180deg, rgba(115, 115, 115, 0.9) 0%, rgba(217, 217, 217, 0) 80%);
    content: "";
    position: absolute;
    top: 0;
    bottom: -150px;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}
/* Globální styly */
header { position: relative; }
header .logo,
header .menu,
header .brown-line {
  position: relative;
  z-index: 2;
}
/* Blogová stránka */
body.blog-page header::before,
body.galerie-page header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, rgba(115, 115, 115, 0.9) 0%, rgba(217, 217, 217, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
@media screen and (min-width: 2560px) {
    header {
        margin: auto;
        border-radius: 13px;
    }
    body.home {
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
    }
}
@media screen and (min-width: 1024px) {
  body.home {
    background-attachment: fixed;
  }
}
@media screen and (max-width: 1000px) {
    header::before {
        bottom: 100px;
    }
}

/*Section*/
.info .container {
    position: relative;
}
.info {
    min-height: 425px;
    height: auto;
}
.infoPosun {
    display: flex;
    justify-content: space-evenly;
    position: absolute;
    top: -10px;
    width: 100%;
    left: 124px;
}
.infoColumn {
    color: #000;
    padding-top: 25px;
    margin-top: 100px;
}
.infoColumn h3 {
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: overline;
    color: brown;
}
.infoColumn p {
    padding-bottom: 20px;
}
.infoColumnText {
    text-align: center;
}
.btn,
.older a,
.newer a,
.prispevekTlacitka a {
    background: #DEC5A6;
    color: #301909;
    padding: 10px 8px;
    border-radius: 5px;
    border: 1px solid #DEC5A6;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}
.infoColumn:hover .btn,
.blogText:hover .btn,
.older a:hover,
.newer a:hover,
.prispevekTlacitka a:hover {
    background: #906B47;
    color: #FFF;
    border: 1px solid #906B47;
}
.icon {
    font-size: 50px;
}
.icon .fa-chair {
    position: absolute;
    top: 70px;
    right: 245px;
}
.icon .fa-hammer {
    font-size: 90px;
    position: absolute;
    top: 50px;
    left: 125px;
}
@keyframes moveLeftRight {
    0%, 100% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-33px);
    }
    75% {
      transform: translateX(36px);
    }
}
.infoColumn:hover .fa-chair {
    animation: moveLeftRight 3s infinite ease-in-out;
}
@keyframes swingHammerSmooth {
    0%, 100% {
      transform: rotate(0) scale(0.9);
    }
    25% {
      transform: rotate(-15deg) scale(1);
    }
    75% {
      transform: rotate(40deg) scale(1.1);
    }
  }
.infoColumn:hover .fa-hammer {
    animation: swingHammerSmooth 2s infinite ease-in-out;
}

@media screen and (max-width: 1115px) {
    .infoPosun {
        justify-content: center;
        gap: 40px;
        width: 85%;
        left: 155px;
    }
    .icon .fa-chair {
        right: 250px;
    }
}
@media screen and (max-width: 1090px) {
    .infoPosun {
        top: -40px;
    }
    .icon .fa-chair {
        right: 240px;
    }
}
@media screen and (max-width: 1065px) {
    .icon .fa-chair {
        top: 71px;
        right: 225px;
    }
    .icon .fa-hammer {
        left: 105px;
    }
}    
@media screen and (max-width: 1030px) {
    .icon .fa-chair {
        right: 215px;
    }
    .icon .fa-hammer {
        left: 95px;
    }
}    
@media screen and (max-width: 1000px) {
    .infoPosun {
        justify-content: space-evenly;
        width: 100%;
        left: 0;
        top: 165px;
    }
    .icon .fa-chair {
        right: 180px;
    }
    .icon .fa-hammer {
        top: 50px;
        left: 60px;
    }
}
@media screen and (max-width: 950px) {
    .icon .fa-chair {
        right: 165px;
    }
    .icon .fa-hammer {
        left: 50px;
    }
    .infoPosun {
        top: 150px;
    }
}
@media screen and (max-width: 885px) {
    .icon .fa-chair {
        right: 150px;
    }
    .icon .fa-hammer {
        left: 35px;
    }
    .infoPosun {
        top: 130px;
    }
}
@media screen and (max-width: 815px) {
    .icon .fa-chair {
        right: 135px;
    }
    .icon .fa-hammer {
        left: 20px;
    }
    .infoPosun {
        top: 100px;
    }
}
@media screen and (max-width: 760px) {
    .icon .fa-chair {
        right: 120px;
    }
    .icon .fa-hammer {
        left: 10px;
    }
    .infoPosun {
        top: 90px;
    }
}
@media screen and (max-width: 700px) {
    .icon .fa-chair {
        right: 105px;
    }
    .icon .fa-hammer {
        top: 70px;
        left: 0px;
        font-size: 70px;
    }
    .infoPosun {
        top: 70px;
    }
}
@media screen and (max-width: 640px) {
    .icon .fa-chair {
        right: 90px;
    }
}
@media screen and (max-width: 630px) {
    .infoPosun {
        flex-direction: column;
        align-items: center;
        top: 0;
        gap: 0;
    }
    .infoColumn {      
        padding-top: 75px;
        margin-top: 0;
    }
    .icon .fa-chair {
        top: 262px;
        right: 270px;
        font-size: 40px;
    }
    .icon .fa-hammer {
        top: 40px;
        left: 155px;
    }
}
@media screen and (max-width: 615px) {
    .icon .fa-hammer {
        left: 145px;
    }
}
@media screen and (max-width: 605px) {
    .icon .fa-chair {
        right: 255px;
    }
    .icon .fa-hammer {
        left: 140px;
    }
}
@media screen and (max-width: 585px) {
    .icon .fa-hammer {
        left: 130px
    }
}
@media screen and (max-width: 560px) {
    .icon .fa-chair {
        right: 235px;
    }
    .icon .fa-hammer {
        left: 120px;
    }
}
@media screen and (max-width: 530px) {
    .icon .fa-chair {
        right: 220px;
    }
    .icon .fa-hammer {
        left: 110px;
    }
}
@media screen and (max-width: 520px) {
    .icon .fa-hammer {
        left: 105px;
    }
}
@media screen and (max-width: 500px) {
    .icon .fa-chair {
        right: 200px;
    }
    .icon .fa-hammer {
        left: 95px;
    }
}
@media screen and (max-width: 480px) {
    .icon .fa-hammer {
        left: 85px;
    }
}
@media screen and (max-width: 465px) {
    .icon .fa-hammer {
        left: 75px;
    }
}
@media screen and (max-width: 455px) {
    .icon .fa-chair {
        right: 185px;
    }
}
@media screen and (max-width: 440px) {
    .icon .fa-hammer {
        left: 65px;
    }
}
@media screen and (max-width: 425px) {
    .icon .fa-chair {
        right: 170px;
        font-size: 40px;
        top: 263px;
    }
    .icon .fa-hammer {
        left: 60px;
    }
}
@media screen and (max-width: 410px) {
    .icon .fa-hammer {
        left: 55px;
    }
}
@media screen and (max-width: 400px) {
    .icon .fa-hammer {
        top: 45px;
        left: 60px;
        font-size: 60px;
    }
}
@media screen and (max-width: 390px) {
    .icon .fa-hammer {
        left: 55px;
    }
}
@media screen and (max-width: 380px) {
    .icon .fa-chair {
        right: 160px;
    }
    .icon .fa-hammer {
        left: 50px;
    }
}
@media screen and (max-width: 370px) {
    .icon .fa-hammer {
        left: 45px;
    }
}
@media screen and (max-width: 360px) {
    .icon .fa-hammer {
        left: 40px;
    }
}
@media screen and (max-width: 355px) {
    .icon .fa-chair {
        right: 140px;
    }
}
@media screen and (max-width: 350px) {
    .icon .fa-hammer {
        left: 35px;
    }
}
@media screen and (max-width: 340px) {
    .icon .fa-hammer {
        left: 30px;
    }
}
@media screen and (max-width: 330px) {
    .icon .fa-hammer {
        left: 25px;
    }
}
@media screen and (max-width: 320px) {
    .icon .fa-chair {
        right: 125px;
    }
    .icon .fa-hammer {
        left: 20px;
    }
}
@media screen and (max-width: 310px) {
    .icon .fa-hammer {
        left: 15px;
    }
}

/*Footer*/
.copy {
    padding: 85px 0 20px;
}
.copy .container {
    display: flex;
    justify-content: space-between;
}
.copyL a {
    color: #000;
}
.copyL a:hover,
.copyR p a:hover,
.copyL a:active,
.copyR p a:active {
    color: #301909;
    font-weight: 700;
    font-size: 18px;
    border-top: 2px solid #906B47;
}
.copyR {
    display: flex;
    gap: 10px;
}
.socialIcon a,
.fa-circle-up,
.fa-house {
    color: #000;
    font-size: 20px;
}
.socialIcon {
    transform: translateY(-3px);
}
.fa-facebook:hover {
    color: #1877F2;
    font-size: 25px;
}
.fa-instagram:hover {
    color: #E4405F;
    font-size: 25px;
}
.copyR a {
    color: #000;
}
.fa-circle-up:hover,
.fa-house:hover,
.fa-circle-up:active,
.fa-house:active {
    font-size: 25px;
    color: #301909;
}
@media screen and (max-width: 1115px) {
    .info {
        height: 425px;
    }
    .copy {
        padding: 0 0;
    }
    .copy .container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 10px;
    }
}
@media screen and (max-width: 1000px) {
    .copy {
        padding: 15px 0 15px;
        background: navajowhite;
    }
}
@media screen and (max-width: 630px) {
    .copy .container {
        flex-wrap: wrap;
        padding: 0 20px 0;
        text-align: center;
        line-height: 1.8;
        gap: 0;
    }
}
@media screen and (max-width: 550px) {
    .copy .container {
        gap: 10px;
    }
}
@media screen and (max-width: 360px) {
    .copy .container {
        max-width: 100%;
        overflow: hidden;
    }
    .copyR {
        flex-wrap: wrap;
        justify-content: center;
    }       
}

/*Vyhledavani*/
h1 {
    font-weight: 900;
    text-align: center;
    font-size: 50px;
    padding: 50px 0 30px;
}
h2 {
    font-weight: 700;
    text-align: center;
    font-size: 25px;
    padding-top: 30px;
}
button {
    font-weight: 400;
    transition: all 0.3s ease-in-out;
}
.wp-block-search__label {
    display: none;
}
.wp-block-search__input {
    border: 2px solid #906B47;
    border-radius: 15px;
    padding: 10px 20px;
    width: 50%;
}
.wp-block-search__inside-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.wp-block-search__button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid black;
    border-radius: 15px;
    display: block;
}
.informace {
    width: 100%;
    height: 200px;
    margin-top: 20px;
    font-size: 16px;
    padding: 10px;
    border: 2px solid #906B47;
    border-radius: 15px;
}
.btnUlozit {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid black;
    border-radius: 15px;
}
.wp-block-search__button:hover,
.wp-block-search__button:active,
.btnUlozit:hover,
.btnUlozit:active {
    background: #671111;
    color: white;
}
.ulozitJako {
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width: 500px) {
    h1 {
        font-size: 10vw;
    }
}
@media screen and (max-width: 400px) {
    h2 {
        font-size: 6vw;
    }
    .ulozitJako {
        flex-direction: column;
        align-items: center;
    }
    .btnUlozit {
        width: auto;
    }
}

/*Search*/
.whiteNadpis {
    padding: 100px 0 0;
}
.whiteNadpis .brownLine {
    width: 250px;
    border: 2px dashed burlywood;
    margin: 50px auto 5px;
}
.whiteNadpis p {
    text-align: center;
    font-size: 25px;
}
.wrongSearch {
    padding: 0 0 90px;
    text-align: center;
}
.wrongSearch h2 {
    padding-bottom: 30px;
}
.wrongSearch p {
    padding-bottom: 15px;
}

/*Blog*/
.blog {
    text-align: left;
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rosybrown;
    margin-bottom: 40px;
}
.blog.last {
  border: none;
  padding-bottom: 0;
}
.obr-blog img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.obr-blog {
    width: 20%;
}
.blogText {
    width: 77%;
}
.blogText h3 {
    padding-bottom: 15px;
}
.blogText p {
    padding: 5px 0 10px;
}
.blogText span,
.prispevekInfo span {
    margin-right: 30px;
}
.blogText span i,
.prispevekInfo span i {
    margin-right: 10px;
}
.blogText span a,
.prispevekInfo span a {
    color: #906B47;
    font-weight: 700;
}
.blogText span a:hover,
.prispevekInfo span a:hover {
    color: #301909;
    text-decoration: underline;
}
.fa-angles-right,
.fa-angles-left {
    transition: none;
}
.pagination {
  text-align: center;
  margin: 40px 0 20px;
}
.pagination .older,
.pagination .newer {
  display: inline-block;
  margin: 0 15px;
  font-weight: bold;
  color: #906B47;
  text-decoration: none;
}
.pagination .older:hover,
.pagination .newer:hover {
  color: #301909;
  text-decoration: underline;
}
@media screen and (max-width: 850px) {
    .blog {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .obr-blog {
        width: 60%;
    }
    .blogText {
        width: 100%;
    }
}

/*Single*/
.prispevekInfo {
    padding-bottom: 30px;
}
.prispevek .container {
    text-align: left;
}
.prispevekTlacitka {
    padding: 30px 0;
    text-align: center;
}
.singleObr {
  aspect-ratio: 192 / 53;
  object-fit: cover;
  padding-top: 30px;
  width: 100%;
  height: auto;
  display: block;
}

/*Galerie*/
.wp-block-gallery {
  display: grid;
  gap: 20px;
}
.wp-block-gallery.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.wp-block-gallery.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.wp-block-gallery.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
.wp-block-gallery.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}
.wp-block-gallery.columns-default {
  grid-template-columns: repeat(3, 1fr);
}
.wp-block-gallery .wp-block-image {
  margin: 0;
}
.wp-block-gallery .wp-block-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.wp-block-gallery img:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

