* {
  scroll-behavior: smooth;
}

@media (max-width: 1024px) {
  section {
    padding: 3rem 10px;
  }
}

@media (max-width: 650px) {
  section {
    padding: 2rem 10px;
  }
}

textarea {
  resize: none;
}

h6 {
  font-size: clamp(1.25rem, 1.25vw, 2.15rem) !important;
  line-height: 1;
}

::-webkit-scrollbar-track
{
  border-radius: 10px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar
{
  width: 11px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
  border-radius: 10px;
  background-color: #050202;
}

::-webkit-resizer {
  display: none;
}

* {
  scrollbar-color: rgb(46, 46, 46) #f1f1f1 !important;
  scrollbar-width: thin !important;
}


/**** HEADER ****/

#logo {
  display: flex;
  align-items: center;
}

#logo img {
  height: 4.2rem !important;
  width: auto;
  object-fit: cover;
}

@media (max-width: 991px) {
  #logo img {
    margin-left: 40px;
  }
}

@media (max-width: 650px) {
  #logo img {
    height: 3.75rem !important;
  }
}

#mainMenu, #mainMenu *{
  overflow: hidden !important;
}

/**** WELCOME SECTION ****/

.slide, .inspiro-slider, .flickity-viewport {
  min-height: 35rem !important;
}

.slide-captions span {
  line-height: 2.6 !important;
}

.slide-captions h2, .slide-captions span {
  font-size: clamp(2rem, 2.3vw, 4rem) !important;
}

@media (max-width: 950px) {
  .slide-captions span {
    padding: 12px !important;
  }
  .slide-captions h2 {
    margin-bottom: 20px !important;
  }
}

.btn-light{
  transition: all 500ms;
  border: none !important;
}

.btn-light:hover{
  background: #f3cbb1 !important;
  border: none !important;
  outline: none !important;
}

/**** ABOUT ****/

.about {
  padding: 7rem 10px 0 10px !important;
}

@media (max-width: 1024px) {
  .about {
    padding: 5rem 10px 0 10px !important;
  }
}

.about-list {
  margin-left: 2rem;
}

@media (max-width: 1024px) {
  .about-list {
    margin-left: 1.25rem;
  }
}

.about-list li {
  font-size: clamp(0.9rem, 0.85vw, 1.3rem);
  margin-top: 0.25rem;
  padding-right: 20px;
}

/**** SERVICES ****/

.box-fancy .item {
  padding: 3rem !important;
}

.box-fancy .item h2 {
  font-size: clamp(1.35rem, 1.45vw, 2.65rem);
}

.sluzby-p, .sluzby-ul {
  font-size: clamp(0.9rem, 0.9vw, 1.35rem);
  line-height: 1.5;
}

.sluzby-p-heading {
  font-size: clamp(0.9rem, 0.9vw, 1.35rem);
  line-height: 1;
  font-weight: 600;
}

.sluzby-p-heading:nth-of-type(2) {
  margin-top: 2rem;
}

.sluzby-ul-2 {
  margin-left: 1rem;
}

.sluzby-btn {
  margin-top: 1rem;
}

.sluzby-line {
  height: 0.2rem;
  display: inline-block;
  background-color: #AC8871;
  margin-bottom: 1.5rem;
}

.sluzby-line1 {
  width: 2.5rem;
}

.sluzby-line2 {
  width: 1.25rem;
  margin-left: 0.35rem;
}

.sluzby-text {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.sluzby-grid {
  display: grid !important;
  grid-gap: 2.5rem;
  grid-template-columns: 50% 50% !important;
}

.sluzby-grid-2 {
  display: grid !important;
  grid-gap: 2.5rem;
  grid-template-columns: 40% 60% !important;
}

@media (max-width: 768px) {
  .sluzby-grid, .sluzby-grid-2 {
    grid-template-columns: auto !important;
    grid-gap: 1rem;
  }

  .sluzby-grid-div {
    min-height: 350px !important;
    order: 2;
  }

  .sluzby-grid-div-2 {
    display: none !important;
  }

  .sluzby-grid:nth-of-type(3), .sluzby-grid:nth-of-type(4) {
    margin-top: 3rem !important;
  }
}

@media (max-width: 650px) {
  .image-flex img {
    width: 100%;
    height: fit-content;
    object-fit: cover;
    max-height: 15rem;
  }

  .image-flex {
    flex-direction: column !important;
  }
}

@media (max-width: 600px) {
  .sluzby-grid-div {
    min-height: 270px !important;
  }
}

.sluzby-grid-div, .sluzby-grid-div-2 {
  display: grid;
  grid-template-columns: auto;
  max-height: min-content !important;
}

.sluzby-grid:nth-of-type(3), .sluzby-grid:nth-of-type(4) {
  margin-top: 5rem;
}

.sluzby-grid-div-img {
  max-height: 100% !important;
  width: 100%;
  object-fit: cover !important;
}

.image-flex {
  display: flex;
  grid-gap: 1rem;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  height: 0;
  min-height: 100%;
}

.image-container img {
  display: block;
  /* added */
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

#caption {
  color: white;
}        
      
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: black;
  z-index: 9999999999 !important;
  padding-top: 60px;
  padding-bottom: 60px;
}

.modal * {
  z-index: 9999999999 !important;
}
        
.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 1200px;
  z-index: 9999999999 !important;
  border: none !important;
}
        
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}
        
.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.column {
  float: left;
  width: 25%;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
        

/* Hide the slides by default */
.mySlides, .mySlides4, .mySlides5 {
  display: none;
  background-color: black !important;
  align-items: center !important;
  justify-self: center !important;
}

.mySlides img, .mySlides4 img, .mySlides5 img {
  max-height: 80vh !important;
  width: auto !important;
  margin: auto !important;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  padding: 2px 16px;
  background-color: black;
}

.caption {
  color: white !important;
  display: block;
}

.column {
  display: flex !important;
  flex-wrap: wrap;
  width: fit-content;
  justify-content: center !important;
}

.column img {
  height: 150px !important;
}

.column-container {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.arrow {
  cursor: pointer;
  font-size: clamp(.95rem, 0.9vw, 1.35rem);     
};

.arrow > span {
  font-size: clamp(1.4rem, 1.5vw, 2.3rem);
  color: white;
  margin-bottom: 1px;
}

.arrow > p {
  border-bottom: 1px solid transparent;
  transition: all 500ms;
  font-weight: 500;
}

.arrow > p:hover {
  border-bottom: 1px solid black;
}

.poskozeni-oken {
  padding-top: 3rem;
}

.poskozeni-oken p {
  font-size: clamp(0.9rem, 0.85vw, 1.3rem);
}

.image-flex-2 {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-gap: 1rem;
}

@media (max-width: 1024px) {
  .image-flex-2 {
    grid-template-columns: 50% 50%;
  }
}

@media (max-width: 550px) {
  .image-flex-2 {
    grid-template-columns: 100%;
  }
}

.image-flex-2 img {
  height: 15rem;
  width: auto;
  object-fit: cover;
}

/**** FOOTER ****/

.mapa {
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .footer-text {
    text-align: center !important;
  }
}

.btn-primary {
  transition: all 500ms;
}

.btn-primary:hover {
  background: #ac8871 !important;
}

.kontakt-hover {
  transition: all 500ms;
}

.kontakt-hover:hover {
  color: #A67452 !important;
}