
html {
    scroll-padding-top: 4.5rem;
  }
  
  body {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
    background-color: #fff;
    }
    
  ::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #212529;
  }
  
  
  p {
    line-height: 1.75;
  }
  img {
    border-radius: 6px;
    }
  .bw-image {
    filter: grayscale(100%);
  }
  .bw-image:hover {
    filter: grayscale(0%);
  }
  a {
    text-decoration: none;
  }

  .table {
    --bs-table-bg: var(--bs-light-rgb);
  }

  .my-color {
    color: #212529;
  }

  .my-bg {
    background-color: #212529;
  }

  .my-link {
    color: #508104;
  }
  .my-link:hover {
    color: #212529;
  }


  .page-section {
    padding: 6rem 0;
  }
  .page-section h2.section-heading, .page-section .section-heading.h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #212529;
  }
  .page-section h3.section-subheading, .page-section .section-subheading.h3 {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 4rem;
  }
  
  @media (min-width: 768px) {
    section {
      padding: 9rem 0;
    }
  }
  .btn-xl {
    padding: 0.9rem 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
  }
  
  .btn-social {
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
    background-color: #012c5726;
  }

  .thumb {
    max-height: 288px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}


  /* wrapper pro postup */
  .img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
  }

  .img-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Zvětší první a poslední sloupec na 1.5násobek */
  .flex-lg-150 {
    flex: 1.5 1 0;
  }


  .my-btn {
    background-color: #212529;
    color: #f8f9fa;
    /*border: 1px solid #508104;*/
  }
  
  .my-btn:hover {
    background-color: #508104;
    color: #fff;
  }
  
  /**** menu *****/

  #mainNav {
    /*padding-top: 1.5rem;
    padding-bottom: 1.5rem;*/
    /*background-color: #212529;*/
    /*background: rgba( 255, 255, 255, 0.70 );*/
    /*backdrop-filter: blur( 4px );*/
    /*background-color: transparent;*/
    background: rgba(0, 0, 0, 0.57);
  }
  #mainNav .navbar-toggler {
    padding: 0.75rem;
    font-size: 0.75rem;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    /*color: #508104;
    border: 1px solid #508104;*/
    color: #fff;
    border: 1px solid #fff;
  }
  #mainNav .navbar-brand {
    /*color: #fff;*/
    color: #508104;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: 0.0625em;
    text-transform: uppercase;
    font-size: 2.5rem;
  }
  #mainNav .navbar-brand span {
    /*color: #0025ffb0;*/
    font-weight: 900;
  }
  #mainNav .navbar-brand img {
    height: 90px;
    transition: height 0.3s ease-in-out;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 1.0rem;
    padding: 10px;
    color: #fff;
    /*color: #212529;*/
    letter-spacing: 0.0325em;
    font-weight: 600;
  }
  #mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #508104;
  }

  @media (min-width: 992px) {
    #mainNav {
      /*padding-top: 1.5rem;
      padding-bottom: 1.5rem;*/
      border: none;
      /*background-color: #ffffff;
      /*background-color: #2125296e;*/
      /*background: rgba(0, 0, 0, 0.57);*/
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.25) 75%,rgba(0, 0, 0, 0) 100%);
      /*box-shadow: 0 8px 32px 0 rgba( 215, 215, 215, 0.37 );
      backdrop-filter: blur( 7px );
      -webkit-backdrop-filter: blur( 7px );*/
      transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
    }
    #mainNav .navbar-brand {
      font-size: 2.5rem;
      transition: font-size 0.3s ease-in-out;
    }
    #mainNav .navbar-brand img {
      height: 100px;
      transition: height 0.3s ease-in-out;
    }
    #mainNav.navbar-shrink {
      padding-top: 1rem;
      padding-bottom: 1rem;
      background-color: #212529;
      /*background-color: #fff;*/
    }
    #mainNav.navbar-shrink .navbar-toggler {
      color: #ffffff;
      border: 1px solid #ffffff;
    }
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
      color: #ffffff;
    }
    #mainNav.navbar-shrink .navbar-brand {
      font-size: 1.25em;
    }
    #mainNav.navbar-shrink .navbar-brand svg,
    #mainNav.navbar-shrink .navbar-brand img {
      height: 65px;
    }
    #mainNav .navbar-nav .nav-item {
      margin-right: 1rem;
    }
    #mainNav .navbar-nav .nav-item:last-child {
      margin-right: 0;
    }
  }

  @media (max-width: 1199.98px) { 
    #navbarResponsiveRight, #navbarResponsiveLeft {
      background-color: #212529;
      border-radius: 10px;
      padding-left: 15px;
    }
    #mainNav .navbar-nav .nav-item .nav-link {
      color: #ffffff;
    }
    #mainNav .navbar-brand {
      font-size: 1.25em;
    }
    #mainNav.navbar-shrink {
      padding-top: 1rem;
      padding-bottom: 1rem;
      /*background-color: #212529;*/
      background-color: #212529;
    }
    #mainNav.navbar-shrink .navbar-toggler {
      color: #ffffff;
      border: 1px solid #ffffff;
    }
    #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
      color: #ffffff;
    }
    #mainNav.navbar-shrink .navbar-brand img {
      height: 60px;
      transition: height 0.3s ease-in-out;
    }
  }

/**** menu end ****/
/**** header ****/

  header.masthead::before {
    content: ""; /* Obsah pseudo-elementu je prázdný */
    position: absolute; /* Absolutní pozicování */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.36); /* Černá barva s 50% průhledností */
    z-index: 1; /* Zajistí, že overlay bude nad obrázkem, ale pod obsahem */
  }

  header.masthead {
    padding-top: 8.5rem;
    padding-bottom: 6rem;
    text-align: left;
    color: #fff;
    background-image: url("../images/header-bg.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
    /*margin-top: 72px;*/
    position: relative;
    height: 100vh;
  }

  header.masthead .masthead-box {
    padding: 25px;
    /*background: rgba( 255, 255, 255, 0.70 );*/
    /*background-color: rgba(0,0,0,0.70);*/
    /*box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );*/
    /*backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );*/
    border-radius: 10px;
    /*border: 1px solid rgba( 255, 255, 255, 0.18 );*/
    margin-top: 0rem;
    position: relative;
    z-index: 2;
  }

  header.masthead .masthead-subheading {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5rem;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
  }
  header.masthead .masthead-heading {
    font-size: 2.7rem;
    font-weight: 300;
    letter-spacing: 0.5rem;
    /*line-height: 7.5rem;*/
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    z-index: 2;
  }
  
  
  @media (min-width: 768px) {
    header.masthead {
      /*padding-top: 6rem;
      padding-bottom: 12.5rem;
      margin-top: 118px;*/
      height: 100vh;
    }
    header.masthead .masthead-box {
      margin-top: 25vh;
    }
    /*header.masthead .masthead-subheading {
      font-size: 2.25rem;
      font-style: italic;
      line-height: 2.25rem;
      margin-bottom: 2rem;
    }
    header.masthead .masthead-heading {
      font-size: 2.6rem;
      font-weight: 700;
      line-height: 3.6rem;
      margin-bottom: 4rem;
    }*/
  }

  @media (max-width: 1399.98px) {
    /*header.masthead {
      padding-top: 4rem;
      margin-top: 118px;
    }*/
    header.masthead .masthead-heading {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
  }
  #portfolio .card {
    border: 0;
  }
  #portfolio .card .card-body i {
    padding: 30px;
    border: 0.5rem solid rgba(1, 44, 87, 0.15);
    border-radius: 50%;
  }
  
    .team-member {
      margin-bottom: 3rem;
      text-align: center;
      border-radius: 6px;
    }
    .team-member img {
      width: 14rem;
      height: 14rem;
      border: 0.5rem solid rgba(1, 44, 87, 0.15);
      
    }
    .team-member h4, .team-member .h4 {
      margin-top: 1.5rem;
      margin-bottom: 0;
      color: #508104;
    }
    .team-member .btn-social i {
      color: #508104;
    }
    
    .img-brand {
      height: 2.75rem;
    }
    
    section#kontakt {
      background-color: #212529;
    }
    section#kontakt .section-heading,
    section#kontakt .section-subheading {
      color: #fff;
    }
    section#kontakt form#contactForm .form-group {
      margin-bottom: 1.5rem;
    }
    section#kontakt form#contactForm .form-group input,
    section#kontakt form#contactForm .form-group textarea {
      padding: 1.25rem;
    }
    section#kontakt form#contactForm .form-group input.form-control {
      height: auto;
    }
    section#kontakt form#contactForm .form-group-textarea textarea {
      min-height: 10rem;
    }
    section#kontakt form#contactForm p.help-block {
      margin: 0;
    }
    #kontakt p {
      color: #fff;
    }
    .footer {
      text-align: center;
      font-size: 0.9rem;
      font-family: 'Poppins', sans-serif;
      background-color: #212529;
    }
    .footer .footer-link {
      color: #fff;
    }