/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;  /* Fix magasság beállítása */
    padding: 0;
    background-color: #d7d1d1;
    color: white;
    position: relative;
}

.header-section {
    flex: 1;
    text-align: center;
}

.header-section.left {
    text-align: left;
}

.header-section.right {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Jobbra igazítás */
}

.header-section.center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* Hogy a szöveg ne törjön új sorba */
}

.logo-link {
    display: inline-block;
    height: 100%;
}

.logo-containerx {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.logo {
    max-width: 100%;
    max-height: 100%;
}

/* Search bar */

.search-container {
    position: relative;
    display: inline-block;
    max-width: 400px;
    min-width: 120px;
    width: 40vw;
}
.search-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.search-input::placeholder {
    color: #aaa;
}

/* Suggestion box */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 400px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

/* user icon */

.usericon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.usericon img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
}



/* dropdown menu */

.dropdown {
  position: relative;
  width: 60px;
  height: 60px;
}

.dropdown button {
  background-color: transparent;
  height: 60px;
  width: 60px;
  border: none;
  color: #333;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  right: 0px;
  text-align: left;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #ccc;}



/* ticker */

.ticker-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%; /* A kijelző szélessége */
  box-sizing: border-box;
  background-color: cornsilk;
  padding: 5px 0;
  font-size: 18px;
  display: none;

}

.ticker {
  display: inline-block;
  white-space: nowrap;
  padding-left: 50%; /* Biztosítja, hogy a szöveg kezdjen el a kijelző jobb oldalán kívül */
  animation: scroll-left 120s linear infinite; /* 10 másodperc alatt scrolloz végig */
}

.ticker span {
  display: inline-block;
  padding-right: 2em; /* Távolság a szöveg ismétlődése között */
}
.ticker h6 {
  background-color: green;
  color: white;
  display: inline-block;
  padding: 5px;
  margin-right: 10px;
}


@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* responsive */

@media screen and (max-width: 1650px) {

}


/* ************************************************************* */
/* nem kell majd */


.header-icon {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 15px;  /* Távolság az elemek között */
}

.header-icon li {
    position: relative;
}

.header-icon a {
    color: blue;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-icon i {
    font-size: 36px;
}
.header-icon .ball {
  top: -15px;
  right: -5px;
  font-size: 16px;
}
@media screen and (max-width: 1024px) {

.mobilhide {
  display: none;
}
.dropdown-content a {
    padding: 20px 16px;
}
}
