/* Alapvető színek és betűtípus */
body {
  background-image: url('../images/water.jpg');
    font-family: Arial, sans-serif;
    background-size: cover; /* Teljes hátteret kitölti */
    background-attachment: fixed; /* Fixált háttér */
  }
  
  html,
  body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  
  .wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Fejléc és navigáció */
  header {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  
  /* Fejléc és navigáció */
  .navbar {
    background-color: #84294F;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #5E1A3B; /* Finom sötétebb díszítővonal */
  }
  
  .navbar .navbar-brand {
    font-size: 1.25rem;
    color: #f8f9fa;
  }
  
  /* Nagy képernyőn a menüpontok egy sorban */
  .menu {
    display: flex;
    gap: 1rem;
    flex-direction: row;
  }
  
  .menu a {
    color: #f8f9fa;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 0.25rem;
  }
  
  .menu a:hover {
    background-color: #5E1A3B;
    color: #f8f9fa !important;
    transform: scale(1.1);
  }
  
  /* Aktív menüelem stílusa */
  .menu a.active {
    background-color: #5E1A3B;
    color: #f8f9fa !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  main {
    flex: 1 0 auto;
    padding: 1rem;
  }

  .row {
    width: 100%;
    margin: 0 auto; /* Középre helyezi az elemet */
  }

.group-title {
  background: linear-gradient(to right, rgba(132, 41, 79, 1), rgba(132, 41, 79, 0.9)) !important;
  color: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  margin: 0 auto; /* Középre helyezi az elemet */
  margin-bottom: 0,5rem;
  margin-top: 0.75rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: solid 2px #5E1A3B;
  padding-bottom: 0.5rem;
}

  main .hatter {
    background: linear-gradient(180deg, #faf5ef 0%, #f4e9f0 100%);
    border-radius: 8px;
    padding: 1rem;
    margin: 0 auto; /* Középre helyezi az elemet */
    margin-top: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: solid 2px #84294F;
    overflow: hidden;
    height: fit-content;
  }

  p, ul, .sidebar-title {
    margin-bottom: 0;
  }

  .group-title p {
    padding-bottom: 0.5rem;
  }

  .sticky-top {
    top: 2%;
    z-index: 100;
  }
  

  .img-right {
    float: right;
    margin-left: 1rem;
    height: 200px;
    border-radius: 8px;
    border: 1px solid #84294F;
  }

  .img-left {
    float: left;
    margin-right: 1rem;
    height: 200px;
    border-radius: 8px;
    border: 1px solid #84294F;
  }
 
  /* Táblázatok */
.t-bdr {
  border-radius: 8px;
  background-color: #5E1A3B;
  border: 2px solid #5E1A3B;
  padding: 0;
  overflow: hidden;
}

  .table {
    overflow-x: auto; /* Görgethetővé teszi a táblázatot kisebb képernyőkön */
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-collapse: collapse;
}

.table tbody,
.table tr,
.table td{
  background: linear-gradient(180deg, #faf5ef 0%, #f4e9f0 100%) !important;
}

.table tbody tr:hover,
.table-hover tbody tr:hover,
.table tbody tr:hover td,
.table tbody tr:hover th {
  background: #EAD1DC !important;
  background-color: #EAD1DC !important;
}

.table-hover tbody tr:hover {
  background: #EAD1DC !important;
  background-color: #EAD1DC !important;
}

  .table thead th {
    background-color: #84294F;
    color: #f8f9fa;
    border-bottom: 2px solid #5E1A3B;
    font-weight: lighter !important;
    white-space: normal !important; 
  }
  
  .table thead th small {
  display: block;         /* alcím új sor */
  font-size: 0.75rem;      /* kisebb betű */
  color: #ccc;             /* halvány szürke */
  font-weight: normal;     /* vékonyabb */
  margin-top: 0.25rem;     /* kis hely a cím alatt */
  white-space: normal;     /* törés engedélyezése */
}
  
  .table-bordered th,
  .table-bordered td {
    border: 2px solid #5E1A3B;
  }

  iframe {
    margin-top: 0.5rem;
  }

  .fb-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin-top: 0.5rem;
  }  

  .fb-page {
    max-width: 100%;
  }

  .transparent-hatter {
    background: linear-gradient(180deg, rgba(250, 245, 239, 0.98) 0%, rgba(244, 233, 240, 0.7) 100%) !important;
    border: solid 2px #84294F !important;

  }

  .carousel-inner {
    max-height: 500px;
  }
  
  .carousel-item {
    height: 500px; 
  }
  
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* A kép kitölti a teret, de megtartja az arányokat */
    object-position: center center; /* A közepéről vág, nem a tetejéről */
  }  

  /* Cards */
.card-row {
display: flex;
justify-content: space-between;
}

  .card {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Tartalom középre kerül függőlegesen */
    align-items: center;
    height: 100%; /* Az összes kártya egyenlő magasságú lesz */
    transition: transform 0.2s;
    background: linear-gradient(180deg, rgba(250, 245, 239, 0.7) 0%, rgba(244, 233, 240, 0.98) 100%);
    transition: background 0.3s ease-in-out;
    margin: 0 !important;
  }

  .card:hover {
    transform: scale(1.05);
    background: linear-gradient(180deg, rgba(250, 245, 239, 1) 0%, rgba(244, 233, 240, 1) 100%);
  }

  .card-body {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: solid 2px #84294F;
    border-radius: 8px;
    flex-grow: 1; /* Automatikusan kitölti a helyet és középre húzza a tartalmat */
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* A tartalom középre kerül */
    text-align: center;
    width: 100%;
    background: transparent; /* A tartalom háttérszíne áttetsző marad */
    transition: background 0.3s ease-in-out;
  }

  .custom-card a {
    color: #84294F; /* Bordó szín */
    text-decoration: none; /* Aláhúzás eltávolítása */
    font-style: italic;
    font-size: large;
    font-weight: 400;
}

.custom-card i {
  color: #84294F; /* Bordó szín */
  font-size: 30px;
  font-weight: bolder;
}

.card-title {
  font-size: 20px;
  font-weight: 500;
}

/* Footer */
footer {
  background-color: #84294F; /* Passzoló bíbor szín */
  color: #f8f9fa; /* Világos szövegszín a kontraszt érdekében */
  padding: 1rem;
  text-align: center;
  width: 100%;
  font-size: 1rem; /* Kicsit nagyobb szövegméret */
  border-top: 3px solid #5E1A3B; /* Finom sötétebb díszítővonal */
  margin-top: 0;
  flex-shrink: 0;
}

.language-selector {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.lang-btn {
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-top: 0.5rem;
}

.fi {
  font-size: 1.5rem;
  border-radius: 5px;
  transition: transform 0.2s;
}

.lang-text {
  color: black;
  font-style: italic;
  transition: transform 0.2s;
}

.lang-btn:hover {
  transform: scale(1.07);
}

.fb {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Távolság az elemek között */
}

.fb-icon {
  font-size: 2rem;
  float: right;
  color: #84294F;
}

.language-icon {
  color: #84294F;
  float: right;
  font-size: 2rem;
}

.link-icon {
  font-size: 2rem;
  float: right;
  color: #84294F;
}
.hatter .sidebar {
  position: relative;
}

.fb-link {
  text-decoration: none;
  color: #84294F;
}

.fb-text {
  transition: transform 0.2s, color 0.2s;
}

.fb-link:hover .fb-text {
  transform: scale(1.07);
  color: #5E1A3B;
}

/* Oldalsó linkajánló */
.sidebar {
  padding: 20px;
  border-radius: 8px;
  top: 0;
}

/* Lista cím formázása */
.sidebar-title {
  font-size: 1.4rem;
  color: #84294F; /* Kiemelt szín */
}

/* Linklista alapstílus */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

/* Linkek formázása */
.sidebar ul li {
  padding: 7px 0;
}

.sidebar ul li a {
  text-decoration: none; /* Aláhúzás eltávolítása */
  color: #333;
  display: flex;
  font-style: italic;
  align-items: center;
  gap: 8px; /* Távolság az ikon és a szöveg között */
  transition: transform 0.2s;
}

.sidebar ul li a:hover {
  color: #84294F;
  transform: scale(1.07);
}

/* Hajó ikon formázása */
.sidebar ul li i {
  font-size: 1.2rem;
  color: #84294F;
}

.sidebar-hatter {
  background: linear-gradient(180deg, rgba(250, 245, 239, 0.98) 0%, rgba(244, 233, 240, 0.8) 100%) !important;
font-weight: 500 !important;
}

/* Form */
.form-container {
  background: linear-gradient(180deg, rgba(250, 245, 239, 0.98) 0%, rgba(244, 233, 240, 0.7) 100%);
  border: solid 2px #84294F;
  border-radius: 8px;
 padding: 1rem;
 height: fit-content;
 margin-top: 0.5rem;
}

form {
  display: flex;
  flex-direction: column;
}

.form-text {
  color: #84294F;
  font-size: larger;
}

input, textarea {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #5E1A3B;
  background: linear-gradient(180deg, #faf5ef 0%, #f4e9f0 100%) !important;
  border-radius: 5px;
  font-size: 16px;
}

textarea {
margin-top: 10px;}

.input-row {
  display: flex;
  justify-content: space-between;
}

button {
  background: #84294F;
  color: #f8f9fa;
  border: 3px solid #5E1A3B;
  padding: 10px;
  border-radius: 8px;
  width: 20%;
  cursor: pointer;
  transition: transform 0.2s;
}

button:hover {
  transform: scale(1.07);
}

/* Hajó ikonok */
.icon-scroller {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  background-color: transparent;
  padding: 0.5rem;
}

.icon-track {
  display: flex;
  gap: 40px; /* Az ikonok közötti távolság */
  font-size: 2.5rem; /* Ikonméret */
  color: #84294F; /* Bordó szín */
  animation: scrollIcons 40s linear infinite;
  width: max-content;
  font-weight: bolder;
}

/* Animáció: balról jobbra folyamatos mozgás */
@keyframes scrollIcons {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}


/* Reszponzív dizájn: Mobilon eltűnik */
@media (max-width: 991px) {
  .sidebar {
      height: auto;
      position: relative;
  }
  
.col-lg-3 {
  margin-top: 3rem !important;
}

.col-md-10 {
  margin: 0 auto; /* Középre helyezi az elemet */
}

.sidebar ul li a:hover {
  transform: scale(1.05);
}

.fb-link:hover .fb-text {
  transform: scale(1.05);
}

.lang-btn {
  font-size: 1.3rem;
  gap: 15px;
}

.lang-btn .fi {
  font-size: 1.6rem;
}

.lang-text {
  font-size: 1.2rem;
}

}

@media (min-width: 991px) {
  .parting-band {
    display: none;
  }

 
}

  /* Reszponzív beállítások */
@media (min-width: 1200px) {
    .hamburger-icon {
        display: none;
      }
    
      .menu {
        display: flex;
      }
      
}

  @media (max-width: 1199px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color: #84294F;
        border: 2px solid #5E1A3B;
        position: absolute;
        top: 60px;
        right: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        padding: 1rem;
        gap: 0.5rem;
        z-index: 1000;
        width: 95%;
    }
  
    .menu a {
    display: block; /* Teljes szélességet lefoglal */
      padding: 0.75rem 1rem;
      text-align: left;
      color: #f8f9fa;
      white-space: nowrap; /* Egy sorban tartja az elemeket */
      border-radius: 4px;
      transition: background-color 0.3s ease;
    }
  
    .menu a:hover {
      background-color: #5E1A3B;
      color: #f8f9fa !important;
      transform: scale(1.05);
    }
  
    /* Hamburger gomb megjelenítése */
    .hamburger-icon {
      display: block;
      font-size: 1.5rem;
      cursor: pointer;
      color: #f8f9fa;
    }

    .sidebar-title {
      font-size: 1.3rem;
    }

    .language-selector {
      display: flex;
      flex-direction: column;
    }
}


  @media (max-width: 576px) {
    .table {
      font-size: 0.9rem;
      padding: 0.3rem;
      border-radius: 4px;
      width: 100%; /* Táblázat teljes szélesség kitöltése */
      margin: 0; /* Középre igazítás elkerülése */
    }
  
    .table-responsive {
      overflow-x: auto;
      width: 100%; /* Táblázat teljes szélesség kitöltése reszponzív konténeren belül */
    }
  
    /* Táblázat fejléce és cellái */
    .table thead th,
    .table tbody td {
      padding: 0.4rem;
    }

    /* Szöveges elemek betűmérete */
  h1.display-4,
  .lead {
    font-size: 1 rem;
  }

  /* Tartalom margójának csökkentése */
  main {
    padding: 0.5rem;
  }

  .fb-container {
    max-width: 100%; /* Mobilon kisebb legyen */
    overflow: hidden;
}
.fb-page {
    width: 100% !important; /* Biztosítja, hogy a Facebook oldal is alkalmazkodjon */
}

.img-left {
  width: 100%;
  height: 200px;
  margin-bottom: 1rem;
  object-fit: cover; /* A kép kitölti a teret, de megtartja az arányokat */
  object-position: center center; /* A közepéről vág, nem a tetejéről */
}

.img-right {
  width: 100%;
  height: 200px;
  margin-bottom: 1rem;
  object-fit: cover; /* A kép kitölti a teret, de megtartja az arányokat */
    object-position: center center; /* A közepéről vág, nem a tetejéről */
}

.img-top {
  object-position: top !important;
}

.img-bottom {
  object-position: bottom !important;
}

}

@media (min-width: 768px) {
  .card-row .col-md-4 {
    padding-left: 15px;  /* A kártyák közötti helyet adja */
    padding-right: 15px; /* A kártyák közötti helyet adja */
    margin-left: -15px;  /* A sor kezdőpontját a bal oldalon visszaállítjuk */
    margin-right: -15px; /* A sor végpontját jobbra visszaállítjuk */
  }
}

@media (max-width: 767px) {
  .card-row .col-md-4 {
   padding: 0 !important;
   margin-left: 0 !important;
   margin-right: 0 !important;
  }
}