.body {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    width: 100%;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(to top, deepskyblue, white);
    border: 8px solid goldenrod;
    box-shadow: 0 0 10px 2px black;
    border-radius: 0 0 30px 30px;

}

.content {
    padding: 5px;
}

.flash {
    margin: 5px;
    color: red;
    font-family: sans-serif;
    font-size: 20px;
    border: 1px solid red;
    border-radius: 20px;
    padding: 10px;
}

.navbar {
  position: sticky;
  top: 0;
  background-color: #333;
  padding: 10px 0;
  z-index: 1000; /* Zajistí, že navbar bude nad ostatními elementy */
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
}

.navbar a:hover {
  background-color: whitesmoke;
  color:#000;
  transition: background-color 0.3s ease;
}

.img-png {
    width: 64px;
    transition: transform 0.1s ease;
}

.img-png.clicked {
    transform: scale(0.5);
}

.img123 {
    display: inline-block;
    margin-right: 10px;
}
.search-form {
    display: flex;
    align-items: center;
    gap:-16px;
}

.search-form .form-control {
    flex: 1;
    padding: 10px;
    border: 2px solid #ff9800;
    border-radius: 5px;
    font-size: 16px;
}

.search-form .form-control:focus {
    outline: none;
    border-color: #e65100;
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
}

.search-form .btn-primary {
    background-color: #ff9800;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, width 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form .btn-primary:hover {
    background-color: #ff9800;
    border: 2px solid #e65100;
    border-radius: 30px;
    transition: border-radius 0.3s ease;  
}

.search-form .btn-primary:hover::before {
    border-radius: 20px;
    content: "🔍"; /* Ikona lupy */
    font-size: 16px;
}

.search-form .btn-primary:hover span {
    display: none; /* Skrytí textu při hoveru */
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600&display=swap');

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%; /* Start textu mimo levý okraj */
    font-size: 24px; /* Nastavení velikosti textu */
    font-family: 'Playfair Display', serif; /* Hezčí a atraktivnější font */
    font-style: italic; /* Kurzíva */
    color: #ff9800;
    text-shadow: 2px 2px 5px white; /* Výrazný bílý stín */
    font-weight: bold;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}
.H2 {
    font-size: 24px; /* Nastavení velikosti textu */
    font-family: 'Playfair Display', serif; /* Hezčí a atraktivnější font */
    font-style: italic; /* Kurzíva */
    color: #ff9800;
    text-shadow: 2px 2px 5px white; /* Výrazný bílý stín */
    font-weight: bold;
}



.form {
    display: flex;             /* Umístění prvků vedle sebe */
    gap: 1px;                  /* Mezera mezi prvky */
    align-items: center;       /* Zarovnání prvků vertikálně na střed */
    justify-content: flex-start; /* Zarovnání formuláře doleva */
}

.form input[type="text"] {
    padding: 8px;              /* Vnitřní odsazení textového pole */
    font-size: 16px;           /* Velikost textu */
    border: 1px solid #ffa726; /* Oranžový okraj */
    border-radius: 20px;        /* Mírně zaoblené rohy */
    flex-grow: 1;              /* Textové pole se roztáhne na dostupnou šířku */
    color: #333;               /* Tmavě šedý text */
}

.form input[type="text"]::placeholder {
    color: grey;            /* Světle oranžová pro placeholder text */
}

.form button {
    padding: 8px 16px;         /* Vnitřní odsazení tlačítka */
    font-size: 16px;           /* Velikost textu tlačítka */
    color: white;              /* Bílé písmo */
    background-color: #ff9800; /* Oranžové pozadí */
    border: none;              /* Bez okraje */
    border-radius: 4px;        /* Mírně zaoblené rohy */
    cursor: pointer;           /* Ukazatel ruky při hoveru */
    transition: background-color 0.2s ease; /* Plynulá změna barvy při hoveru */
}

.form button:hover {
    background-color: black; /* Tmavší oranžová při hoveru */
}

.form button:active {
    background-color: black; /* Nejtmavší oranžová při kliknutí */
}

.img_m {
    width: 100%;
    height: auto;
    border: 3px solid goldenrod;
}

.img {
    width: auto;
    height: auto;
    border: 3px solid goldenrod;
}

.map {

    border: 1px solid goldenrod;
    box-shadow: 0 0 10px 2px black;
    border-radius: 20px;
    padding: 10px;
}

.map_img {
    width: auto;
    height: auto;
    border: 1px solid goldenrod;
    border-radius: 20px;
    box-shadow: 0 0 10px 2px black;
}
.a {
    padding: 5px;
}
.h1 {
    text-shadow: 1px 1px 2px goldenrod;
}
.custom-wrapper {
    background-color: goldenrod;
    margin-bottom: 0;
    -webkit-font-smoothing: antialiased;
    height: 2.1em;
    overflow: hidden;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
}

.custom-wrapper.open {
    height: 17em;
}

.custom-menu-3 {
    text-align: right;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

.custom-toggle .bar {
    background-color: #777;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 18px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.search-container {
    position: relative;
    width: 300px; /* Příklad šířky */
    height: 80px; /* Příklad výšky */
}

.search-icon {
    width: 50px;
    height: 50px;
    position: relative;
    top: 55px;
    left: 250px; /* přizpůsobte podle potřeby */
    /*transform: translateY(-50%);*/
}
/* CSS pro jednotlivé stavy */
.status-blue {
    background-color: #3498db !important; /* Modrá */
}

.status-green {
    background-color: #2ecc71 !important; /* Zelená */
}

.status-red {
    background-color: #e74c3c !important; /* Červená */
}

.status-orange {
    background-color: #e67e22 !important; /* Oranžová */
}

.status-black {
    background-color: #2c3e50 !important; /* Černá */
}

/* Případně pro text nebo jiný vizuální styl */
.status-blue, .status-green, .status-red, .status-orange, .status-black {
    color: white !important; /* Bílé písmo pro lepší kontrast */
}

/* Volitelně přidejte styly pro text */
.status-blue, .status-green, .status-red, .status-orange, .status-black {
    font-weight: bold !important;
}

@keyframes alert-blink {
    0%   { border-color: #d9534f; }
    50%  { border-color: #ff0000; }
    100% { border-color: #d9534f; }
}

.returns-alert {
    border: 2px solid #d9534f;
    animation: alert-blink 1.5s infinite;
    background-color: #f8d7da;
    padding: 1rem;
    border-radius: 8px;
    color: #721c24;
    margin-bottom: 2rem;
    box-shadow: 0 0 8px rgba(217, 83, 79, 0.4);
}

.returns-alert h3 {
    margin-top: 0;
    color: #a71d2a;
}

.returns-alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

.returns-alert li {
    margin-bottom: 0.3rem;
}


@media (max-width: 768px) {
    
    body {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column; /* Na menších obrazovkách umístíme prvky pod sebe */
        gap: 12px; /* Větší mezera mezi prvky */
    }

    .search-form .form-control {
        width: 100%; /* Textové pole zabere celou šířku */
    }

    .search-form .btn {
        width: 100%; /* Tlačítko zabere celou šířku */
    }

    .custom-menu-3 {
        text-align: left;
    }

    .custom-toggle {
        display: block;
    }

    .wrapper {
        width: 100%;
    }
    
    .img_m {
        width: 100%;
        height: auto;
        border: none;
    }
    
    .H2 {
        width: 100%;
        font-weight: bold;
    }
    .hidden-mobile {
        max-width: 100%;
    }
    
}



