body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url('us6highres.jpg');
    background-size: cover;
    background-position: center;
  }
  
  header, footer {
    width: 100%;
    height: 20px;
    display: flex;
  }
  
  header {
    background: linear-gradient(to right, #083F88, #A6CE39);
  }
  
  footer {
    background: linear-gradient(to left, #083F88, #A6CE39);
    margin-top: auto;
  }
  
  header img, #company-logo {
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
    transition: max-width 0.3s ease-in-out; /* Animáció a maximális szélesség változásához */
  }
  
  #company-logo {
    position: absolute;
    top: 30px; /* Ezt módosíthatod a kívánt mértékkel */
    left: 10px;
    max-width: 300px;
    max-height: 300px;
    overflow: hidden;
  }
  
  .tile-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Középre igazítás */
    margin-top: 20px;
  }
  
  .tile {
    width: 400px;
    height: 100px;
    background-color: #083F88;
    border-radius: 20px;
    margin: 10px;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Ehhez adjuk hozzá a pozíció tulajdonságot */
  }
  
  .tile:hover {
    background-color: #A6CE39;
  }
  
  .tile:hover::after {
    position: absolute;
    top: 0;
    left: 110%; /* Ezt módosíthatod a szöveg elhelyezéséhez */
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9); /* Háttérszín, átlátszó */
    border: 1px solid #ddd;
    border-radius: 5px;
    white-space: normal; 
    z-index: 1; /* Felül helyezzük el, hogy látható legyen a háttérrel szemben */
    visibility: visible; /* Alapértelmezésben látható legyen */
    opacity: 1; /* Alapértelmezésben teljesen átlátszó legyen */
    transition: opacity 0.3s ease-in-out; /* Áttűnési animáció */
  
    width: 300px; /* Módosított szélesség */
    text-align: justify; /* Jobbra és balra is igazítva a szöveget */
  }
  
  .tile:hover::after {
    opacity: 1; /* Megjelenítjük a szöveget a hover eseményre */
  }
  
  .tile[data-hover]::after {
    content: attr(data-hover);
  }
  
  .tile button {
    text-decoration: none;
    color: white;
    background: none;
    border: none;
    font-size: 18px; /* A kívánt betűméret */
  }
  
  .tile button:hover {
    color: #fff; /* Visszaállítjuk a fehér színt a hover eseményre */
  }
  
  @media only screen and (max-width: 1024px) {
    body {
      background-image: url('us6highres.jpg');
      background-size: cover;
      background-position: center;
    }
  
    #company-logo {
      max-width: 100%;
      position: static; /* Távolítsd el az absolute pozíciót mobil nézetben */
      margin: 10px auto; /* Középre igazítás margin segítségével */
    }
  
    .tile {
      width: 100%; /* Teljes szélesség a mobil nézeten */
      max-width: none; /* Ne legyen maximális szélesség */
    }
  
    .tile-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Középre igazítás */
    margin: 40px;
    }
  
  }