html, body {
    min-height: 100%;
    font-size: var(--headline-font-size);
    scroll-behavior: smooth;
  }

body {
    /*
    display: flex;
    max-width: 100%;
    */
    padding: 0;
    margin: 0;
    /*
    flex-direction: column;
    align-items: center;
    */
    font-family: "Inter", sans-serif;
    background-color: #e3e3e3;
    /* background: linear-gradient(340deg,rgba(255, 255, 255, 1) 33%, rgba(153, 168, 255, 1) 64%, rgba(255, 191, 107, 1) 100%); */
}

:root {
    --border-radius-block: 20px;
    --border-radius-button: 50px;
    --border-radius-code: 10px;
}

@media screen and (max-width: 600px) {
    :root {
        --headline-font-size: 16px;
    }
}

@media screen and (min-width: 600px) {
    :root {
        --headline-font-size: 16px;
    }
}

@media screen and (min-width: 768px) {
    :root {
        --headline-font-size: 16px;
    }
}

@media screen and (min-width: 992px) {
    :root {
        --headline-font-size: 18px;
    }
}

@media screen and (min-width: 1200px) {
    :root {
        --headline-font-size: 20px;
    }
}

::selection {
    color: rgb(255, 255, 255);
    background: rgb(174, 174, 174);
}

.main {
    display: flex;
    max-width: 100%;
    padding: 0px 20px 20px 20px;
    margin: 0;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* background-image: linear-gradient(#F3E1CB, #D3E9FF); */
    /* background: #DDD; */
}

.header-bg {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    padding: 15px 20px;
    margin: 0;
    position: sticky;
    top: 0px;
    z-index: 1;
    height: 44px;

    backdrop-filter: blur(8px);
    mask-image: linear-gradient(black, black, black, transparent);
}

/* .header {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    padding: 15px 20px;
    margin: 0;
    gap: 10px;

    position: sticky;
    top: 0px;
    z-index: 2;

    backdrop-filter: blur(8px);
    mask-image: linear-gradient(black, black, transparent);
}
*/

.header {
    position: fixed;
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    top: 15px;
    left: 20px;
    gap: 10px;
    z-index: 2;
}

.header a {
    display: flex;
    padding: 10px 20px;
    margin: 0;
    justify-content: center;
    align-items: center;
    position: relative;

    border-radius: var(--border-radius-button);
    background: black;
    box-shadow: 0px 1px 8.5px 0px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: #ffffff;

    font-size: var(--headline-font-size);
    font-style: normal;
    line-height: normal;
}

.header p {
    display: flex;
    padding: 10px 12px;
    margin: 0;
    justify-content: center;
    align-items: center;

    border-radius: var(--border-radius-code);
    background: black;
    color: white;
    box-shadow: 0px 1px 8.5px 0px rgba(0, 0, 0, 0.25);

    font-size: var(--headline-font-size);
    font-style: normal;
    line-height: normal;
}

/* FOOTER */

.footer {
    display: flex;
    padding: 40px 30px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    align-self: stretch;

    border-radius: var(--border-radius-block);
    background: #FFF;
}


.pojistovny {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    gap: 8%;
    padding: 0 5%;
}

.pojistovny img {
    width: 100%;
    height: auto;
}

@media screen and (min-width: 600px) {
    .signature {
        display: flex;
        gap: 20px;
        font-size: 15px;
        color: #5f5f5f;
    }
}

@media screen and (max-width: 600px) {
    .signature {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
        font-size: 12px;
        color: #5f5f5f;
    }
}

.signature p {
    padding: 0;
    margin: 0;
    font-family: monospace;
    /* font-size: 12px; */
}

.signature a {
    text-decoration: none;
    color: #414141
}

.signature a:hover {
    text-decoration: underline;
    color: #313131;

}

@media screen and (min-width: 992px) {
    .row {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
        align-self: stretch;
    }
}

@media screen and (max-width: 992px) {
    .row {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-self: stretch;
        flex: 1 0 0;
    }
}

.column {
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    gap: 20px;
    align-self: stretch;
    flex: 1 0 0;
}

.text-block {
    display: flex;
    padding: 7%;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    align-self: stretch;

    border-radius: var(--border-radius-block);
    background: #FFF;

    flex: 1 0 0;

    color: #2F2F2F;
    font-size: var(--headline-font-size);
    font-style: normal;
    font-weight: 400;
    line-height: 165%; /* 33px */
}

.text-block p {
    margin: 0;
}

.contacts-block {
    display: flex;
    padding: 7%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    border-radius: var(--border-radius-block);
    background: #FFF;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.contact-buttons a {
    display: flex;
    padding: 15px 10px;
    justify-content: center;
    align-items: center;
    align-self: stretch;

    border-radius: var(--border-radius-button);
    background: #F5F5F5;
    text-decoration: none;
    color: #222;
    font-size: var(--headline-font-size);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.contact-buttons a:hover {
    background: #efefef;
}

h1 {
    color: #747474;
    font-size: var(--headline-font-size);
    font-style: normal;
    font-weight: 600;
    line-height: 165%; /* 39.6px */

    margin: 0;
}

@media screen and (min-width: 992px) {
    .img {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1 0 0;
        align-self: stretch;
        overflow: hidden;
    
        border-radius: var(--border-radius-block);
        background: green;
    }
}

@media screen and (max-width: 992px) {
    .img {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-self: stretch;
        overflow: hidden;
    
        border-radius: var(--border-radius-block);
        background: green;
    }
}

.img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.map {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    min-height: 400px;
    flex: 1 0 0;
    position: relative;

    border-radius: var(--border-radius-block);
}

.map-lazy-load-text {
    position: absolute;
    left:0;
    top:0;
}

.kurzy {
    display: flex;
    padding: 7%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    border-radius: var(--border-radius-block);
    background: #FFF;
}

.kurzy p {
    margin:0;
}

.list-1 {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 10px;
    align-self: stretch;
    flex-wrap: wrap;
}

.list-1 p {
    display: flex;
    padding: 5px 10px;
    margin: 0;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: var(--border-radius-code);
    background: #F5F5F5;

    color: #333;
    font-size: var(--headline-font-size);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* TABS */

@media screen and (max-width: 600px) {
    span.vek {
        display: none;
    }
}

.tabs-container a {
  text-decoration: none;
  color: inherit;
}

.tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.tabs-container {
    display: flex;
    padding: 7%;
    flex-direction: column;
    gap: 20px;

    border-radius: var(--border-radius-block);
    background: #FFF;
} 

.tabs-container a {
    color: #000;
    font-size: var(--headline-font-size);
    font-style: normal;
    font-weight: 500;
    line-height: 165%; /* 39.6px */
}

.tabs-container a:hover {
    text-decoration: underline;
}

.tab-content {
    color: #323232;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.tab-content p {
    display: flex;
    padding: 5px 10px;
    margin: 0;
    justify-content:flex-start;
    align-items: center;
    gap: 10px;
    align-self: stretch;

    color: #323232;
    font-size: var(--headline-font-size);
    font-style: normal;
    font-weight: 400;
    line-height: 165%; /* 33px */

    border-radius: var(--border-radius-code);
    background: #F5F5F5;
}

.content-visible {
  position: static;
  display:flex;
  height: auto;
}

.tabs-container .active {
text-decoration: underline;
}

.orange-bg {
    color: black;
    /*background: rgb(255, 206, 101);*/
    background: rgb(255, 203, 90);
    padding: 3px 5px;
    border-radius: var(--border-radius-code);
    box-decoration-break: clone;
}

.blue-bg {
    color: white;
    background: #3288de;
    padding: 3px 5px;
    border-radius: var(--border-radius-code);
    box-decoration-break: clone;
}


/* CAROUSEL */

@media screen and (min-width: 992px) {
    .slideshow-container {
        /*display: flex;*/
        /*align-items: flex-start;*/
        flex: 1 0 0;
        align-self: stretch;
        overflow: hidden;
    
        border-radius: var(--border-radius-block);
        background: rgb(232, 232, 232);

        box-sizing:border-box
    }
}

@media screen and (max-width: 992px) {
    .slideshow-container {
        /*display: flex;*/
        /*flex-direction: column;*/
        /*align-items: flex-start;*/
        align-self: stretch;
        overflow: hidden;
    
        border-radius: var(--border-radius-block);
        background: rgb(232, 232, 232);

        box-sizing:border-box
    }
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: 0;
}

.slideshow-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
}

/* The dots/bullets/indicators */
.dots {
    position: absolute;

    display: flex;
    gap: 14px;

    top: 15px;
    left: 15px;
    right: 15px;
}

.dot {
  cursor: pointer;
  height: 8px;
  background-color: #ffffff;
  opacity: 50%;
  border-radius: 25px;
  transition: opacity 0.6s ease;
  display: flex;
  flex: 1 0 0;
}

.active-slideshow, .dot:hover {
  background-color: #ffffff;
  opacity: 100%;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}


@keyframes fade {
  from {opacity: .6}
  to {opacity: 1}
} 