@font-face {
    font-family: 'sen';
    src: url('sen.ttf');
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'sen', sans-serif;
    background-color: #f2f2f2; /* Barva pozadí stránky */
    position: relative; /* Nastavení relativní pozice pro body */
  }
  
  #box {
    width: 100%;
    height: auto;
  }
  
  #header {
    position: relative; /* Nastavení relativní pozice pro záhlaví */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo img {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .logo:hover img {
    transform: scale(1.1);
  }
  
  nav ul {
    list-style-type: none;
    display: flex;
  }
  
  nav ul li {
    margin: 0 15px;
  }
  
  nav ul li a {
    font-family: 'sen', sans-serif;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s ease;
  }
  
  nav ul li a:hover {
    background-color: #ddd;
  }
  
  .search {
    display: flex;
    align-items: center;
    position: relative; /* Přidání relativní pozice pro pozdější umístění ikony vyhledávání */
  }
  
  .search input[type="text"] {
    padding: 10px; /* Zvýšení polštářování pro lepší vzhled */
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 300px; /* Zvětšení šířky pole pro lepší použitelnost */
    margin-right: 10px; /* Odsazení mezi polem a tlačítkem */
  }
  
  .search button {
    padding: 10px 20px; /* Zvýšení polštářování pro lepší vzhled */
    border: none;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Plynulý přechod při najetí myší */
  }
  
  .search button:hover {
    background-color: #555; /* Změna barvy pozadí při najetí myší */
  }
  
  .user-options {
    position: absolute; /* Nastavení absolutní pozice pro odkazy "Košík" a "Můj účet" */
    top: 20px; /* Umístění od horní hrany záhlaví */
    right: 20px; /* Umístění od pravého okraje záhlaví */
    display: flex;
  }
  
  .user-options a {
    font-family: 'sen', sans-serif;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 8px 12px;
    border: 2px solid #333;
    border-radius: 5px;
    transition: 0.3s ease;
    margin-left: 10px; /* Mezera mezi Košíkem a Můj účet */
  }
  
  .user-options a:hover {
    background-color: #333;
    color: #fff;
  }
  
  .cara {
    width: 100%;
    height: 1px; 
    background-color: #ccc; 
    margin: 5px 0; 
  }
  .back-button {
    display: block;
    width: 100px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    margin: 20px;
    border-radius: 5px;
  }
  
  .back-button:hover {
    background-color: #555;
    }
    .product-window {
      display: flex;
      align-items: flex-start;
      margin-bottom: 20px;
  }
  
  .product-images {
      width: 45%;
      margin-left: 50px;
  }
  
  .product-images img {
      width: 100%;
  }
  
  .product-details {
    width: 50%;
    padding-left: 20px; 
  }
  
  .product-details h1 {
    font-size: 55px;
    margin-bottom: 10px;
    margin-left: 0;
    color: #333;
  }
  
  .product-details h2 {
    font-size: 30px;
    margin-bottom: 20px;
    margin-left: 0;
    color: #555;
  }
  
  .product-details p {
    font-size: 40px;
    margin-bottom: 20px;
    margin-left: 0;
    color: #777;
  }
  
  .product-details select {
    padding: 14px;
    font-size: 18px;
    border: 2px solid #555; /* Střední šedá */
    border-radius: 5px;
    appearance: none;
    width: 120px;
    margin-bottom: 20px;
    color: #333; /* Černá */
    background-color: #f9f9f9; /* Světle šedá */
    transition:  0.3s ease-in-out, color 0.3s ease-in-out; /* Animace při najetí myší */
    cursor: pointer;
  }
  
  .product-details select:hover,
  .product-details select:focus {
    border-color: #222; /* Tmavě šedá */
    color: #111; /* Černá */
  }
  
  .product-details button {
    padding: 18px 36px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #a5a5a5; /* Černá */
    color: #fff; /* Bílá */
    border: 2px solid #a5a5a5; /* Černá */
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    width: 100%;
  }
  
  .product-details button:hover {
    background-color: #111; /* Tmavě šedá */
    color: #fff;
    border-color: #111;
  }
  
  .product-images-small {
    display: flex;
    justify-content: center;
  }
  
  .product-images-small img {
    width: 400px;
    height: 400px;
    margin: 0px 25px;
  }
  
  .product-details button:hover {
      background-color: #0056b3;
  }
  .product-description {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
  }
  
  .product-description p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
  }
  
  
  .popis{
    font-size: 15px; 
    margin-left: 50px;
    margin-top: 15px;
  }
  
  .produkty-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: rgb(255, 255, 255);
   }
  
  .produkty {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    background-color: rgb(255, 255, 255);
    justify-content: space-around; /* Rozložení mezi prvky */
    gap: 50px;
  }
  .produkt1, .produkt2, .produkt3, .produkt4 {
    width: 230px;
    height: 230px;
    transition: 0.3s ease;
    cursor: pointer;
  }
  .produkt1:hover,
  .produkt2:hover,
  .produkt3:hover,
  .produkt4:hover{
    transform: scale(1.03); /* Zvětšení po najetí myší */
  }
  
  .produkt1 {
    background-image: url(photos/nabidkaphoto1.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .produkt2 {
    background-image: url(photos/nabidkaphoto2.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .produkt3 {
    background-image: url(photos/nabidkaphoto3.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .produkt4 {
    background-image: url(photos/nabidkaphoto4.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .produkt1 h1, .produkt1 h2,.produkt2 h1, .produkt2 h2,.produkt3 h1, .produkt3 h2,.produkt4 h1, .produkt4 h2{
    font-size: 14px;
    }
    .produkt1 h1, .produkt2 h1, .produkt3 h1, .produkt4 h1{
    margin-top: 230px;
    width: 230px;
    margin-left: 5px;
    color: #333;
  
    }
    .produkt1 h3, .produkt2 h3, .produkt3 h3, .produkt4 h3{
    font-size: 20px;
    color: #777;
    }
    .produkt1 h2,.produkt2 h2,.produkt3 h2,.produkt4 h2{
    margin-left: 5px;
    color: #555;
    }
    .popis a:hover {
      background-color: #555; /* Změnil jsem barvu pozadí při najetí myší na odkaz */
    }
    
    .produkty div {
      position: relative;
    }
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      background-color: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 10px;
      box-sizing: border-box;
      z-index: 1; /* Nastavil jsem z-index, aby overlay byl nad ostatními prvky */
      transform: translateY(-100%);
      transition: 0.3s ease;
      font-size: 10px;
      opacity: 0; /* Overlay bude výchozím stavem skrytý */
      visibility: hidden; /* Overlay bude výchozím stavem skrytý */
    }
    
    
    .produkty div:hover .overlay {
      transform: translateY(0);
      opacity: 1; /* Overlay se zobrazí při najetí myší */
      visibility: visible; /* Overlay se zobrazí při najetí myší */
    }
    
    .sizes {
      margin-bottom: 5px;
    }
    
    .sizes p {
      margin: 0;
      font-weight: bold;
    }
    
    .sizes ul {
      list-style: none;
      padding: 0;
      margin: 5px 0 0;
    }
    
    .sizes ul li {
      display: inline-block;
      background-color: #333;
      color: white;
     padding: 5px 10px; 
      margin-right: 5px;
      border-radius: 5px;
    }
    
    .overlay a {
      display: block;
      text-decoration: none;
      color: white;
      padding: 0px 10px;
      background-color: #333;
      border-radius: 10px;
      text-align: center;
      font-size: 15px;
    }
    
    .overlay a:hover {
      background-color: #555;
    }
    
  
  
    .newsletter-container {
      background-color: #333;
      color: #fff;
      padding: 50px;
    }
    
    .newsletter-section {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .newsletter-text {
      flex: 1;
      max-width: 400px;
    }
    
    .newsletter-form {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
    
    .newsletter-section h4 {
      font-size: 24px;
      margin-bottom: 20px;
    }
    
    .newsletter-section p {
      font-size: 16px;
      line-height: 1.5;
    }
    
    form {
      display: flex;
      align-items: center;
    }
    
    label {
      display: none;
    }
    
    input {
      padding: 12px;
      border: none;
      border-radius: 5px;
      width: 250px;
      margin-right: 10px;
    }
    
    button {
      padding: 12px 24px;
      background-color: #fff;
      color: #333;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      margin-left: 10px;
    }
    
    button:hover {
      background-color: #555;
      color: #fff;
    }
    
    /* Styly pro patičku */
    .footer-container {
      background-color: #222;
      color: #fff;
      padding: 50px;
      font-size: 15px
    }
    
    .footer-section {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }
    
    .about-converse,
    .support,
    .contact-us {
      flex-basis: calc(33.33% - 20px);
      margin: 10px;
    }
    
    .about-converse h1,
    .support h1,
    .contact-us h1 {
      font-size: 20px;
      margin-bottom: 10px;
    }
    
    .additional-links {
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
    }
    
    .additional-links h1 {
      font-size: 20px;
      margin-bottom: 10px;
      margin-right: 20px;
    }
    
    .additional-links p {
      margin-right: 20px;
    }
    
    .additional-links a {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s;
    }
    
    .additional-links a:hover {
      color: #bbb;
    }
    