/* https://codepen.io/Lajos-Sajtos/pen/ZEgoxep */

.body-div {
  background: #fdf9ee;
/* background-image: url("https://xn--aszomszdsrc-t7a4h.hu/szilvia_web/content/fooldal/hatterek/minimalista_hatter_new.png"), url("https://xn--aszomszdsrc-t7a4h.hu/szilvia_web/content/fooldal/hatterek/minimalista_hatter_new_new_new.png.png") ;*/
    background-image: url('https://xn--aszomszdsrc-t7a4h.hu/szilvia_web/content/fooldal/hatterek/minimalista_hatter_new_new_new_new_new.png');
    background-repeat: repeat; /* Az első kép nem ismétlődik, a második igen */
    background-position: top; /* Az első kép a tetején, a második az alján */
    background-size: contain;
 /* background-repeat: no-repeat, repeat-y; 
    background-position: top; 
    background-size: contain;*/
  width: 100%;
  border-radius: 15px;
  padding: 10px 10px 10px 10px;
  display: block;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.menu-sor {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: white;
  height: 120px;
  border-radius: 15px;
  transition: border-radius 0.3s;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  position: sticky;
  top: 0; 
  padding: 10px;
  z-index: 1000; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
}
.menu-sor.is-sticky {
    border-top-left-radius: 0; 
    border-top-right-radius: 0; 
}
.logo {
  width: auto;
  margin-left: 15px;
}
.logo img {
  width: auto;
  max-height: 110px;
}
.fomenuk {
  width: auto;
}
.login {
  width: 50%;
  margin-left: auto;
  box-sizing: border-box;
  text-align: center;
}
.login-gomb {
  width: 25%; 
  min-width: 175px;
  height: 55px;
  background-color: #ffefdb;/*#ffe5b4; Barackvirág szín */
  border: 3px solid black; 
  border-radius: 10px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s ease, transform 0.5s ease; 
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
  margin-right: 5px;
  margin-left: auto;
}

/* Kép */
.login-gomb img {
  width: 80%; 
  transition: transform 0.3s ease; 
  max-width: 100%;
  height: auto;
}

/* Szöveg */
.login-gomb p {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
  color: #002b59; 
}
/* hoverre háttér áttetszővé válik és kép nagyítódik */
.login-gomb:hover {
  background-color: transparent; 
}
.login-gomb.a:hover {
  background-color: transparent; 
}

.login-gomb:hover p {
  transform: scale(1.05); 
}
/* Nagy menü blokk */
/* megamenü tartó blokk */
.megamenu {
  width: 75%;
  /* background: white; */
  height: auto;
  margin: 15px auto;
  padding: 15px;
  box-sizing: border-box;
  gap: 20px;
  display: flex;
  justify-content: center;
}
/* megamenü elemek */
.box {
  flex: 1; /* Kitölti a rendelkezésre álló helyet */
  width: 15%; 
  background-color: #fff; /* #ffe5b4; /* Barackvirág szín */
  border: 3px solid black; /* Fekete keret */
  border-radius: 20px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: background-color 0.5s ease, transform 0.5s ease; /* Áttűnés */
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
}
.box img {
  width: 80%; 
  transition: transform 0.3s ease; 
  max-width: 100%;
  height: auto;
}
.box p {
  margin-top: 10px;
  margin-bottom: 5px;
  color: #333;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
  color: #002b59;
}

.box:hover {
  background-color: transparent;
  transition: background-color 0.5s ease, opacity 0.5s ease;
  backdrop-filter: blur(8px);
  opacity: 1;
}
.box.a:hover {
  transition: background-color 0.5s ease, opacity 0.5s ease;
  backdrop-filter: blur(8px);
  opacity: 1;
}

.box:hover img {
  transform: scale(1.05); 
}
/* főoldali blokkok*/
/* tartó div */
.blokkcontainer {
  /* background: #add8e6; */
  width: 73.5%;
  padding: 15px;
  margin: auto;
  display: flex;
  overflow: hidden;
}
/* főoldali blokkok "sorai" */
.blokkok-div {
  /*background: green;*/
  display: block;
  width: 100%;
  margin: auto;
    position: relative;
    z-index: 1;
}


/* a vonalkás oldalsőelemeknek a kódja lett volna, de egyelőre elengedte Szilvia */
/* .oval-hatter{
/*  background-image: url("https://xn--aszomszdsrc-t7a4h.hu/szilvia_web/content/fooldal/hatterek/oval_3_forditott.png") ;
    background-repeat: no-repeat; 
    background-position: left center; 
    background-size: 350px;
    overflow: hidden;
}
.oval-hatter-img-jobbra {
    position: absolute;
    bottom: 1600; 
    right: -100; 
    overflow: hidden;
    background-image: url("https://xn--aszomszdsrc-t7a4h.hu/szilvia_web/content/fooldal/hatterek/oval_5.png");
    background-repeat: no-repeat; 
    background-size: contain;
    background-repeat: no-repeat;
    width: 20%; 
    height: 20%;
    z-index:0;
}
*/ 

/* eleinte arra gondoltam, jó lenne ha minden főoldali sor külön is könnyen igazítható formázható lenne, ezek végül nincsenek használatban */
/*.blokknumber2 {
  background: #FFFFF0;
  width: 75%;
  padding: 15px;
  margin: auto;
  display: flex;
}
.blokknumber3 {
  background: #ffdab9;
  margin-top: 15px;
}
.blokknumber4 {
  background: #fffacd;
  margin-top: 15px;
}
.blokknumber5 {
  background: #e6e6fa;
  margin-top: 15px;
}
.blokknumber6 {
  background: #ffc0cb;
  margin-top: 15px;
}
.blokknumber7 {
  background: #f5f5dc;
  margin-top: 15px;
}
*/

/* reszponzive táblázat nagykijelző */
.program-table {
  flex-direction: column;
  margin: 0 auto;
  /* background-color: #faf0e6; /* #faebd7;  /* #FFFFF0; */
  width: 100%;
  -webkit-box-shadow: 0 5px 10px 0 rgba(26, 47, 51, 0.6);
  box-shadow: 0 5px 10px 0 rgba(26, 47, 51, 0.6);
  border: none !important;
  border-radius: 20px;
  padding: 5px;
}
.program-table:hover {
  transform: rotate(-0.5deg);
  transition: transform 0.6s;
}
.program-row {
  display: flex;
}
/*szöveg doboz része */
.program-cell-head:first-child {
  text-align: left;
  justify-content: left;
  align-items: left;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: "Oxygen", sans-serif;
  color: #002b59; /*golyóstoll kék */
  justify-content: left;
  align-items: left;
  padding: 10px;
  padding-left: 15px;
  border-bottom: 3px solid #9f8c76;
  width: 100%;
  box-sizing: border-box;
  border-radius: 20px;
}
/* kép helye */
.program-cell:first-child {
  align-items: top;
  justify-content: center;
  padding: 25px;
  width: 35%;
  border: none;
  box-sizing: border-box;
  border-bottom: 20px;
}

.program-cell-kep-helye img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Lehetőség: 'cover' vagy 'contain' */
  display: block; 
  object-position: center top;
  box-sizing: border-box;
}

.program-cell-kep-helye {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Lehetőség: 'cover' vagy 'contain' */
  display: block; 
  object-position: center top;
  box-sizing: border-box;
  border-radius: 20px;
}

/* szoba leírása */
.program-cell:last-child {
  padding-right: 25px;
  padding-left: 0px;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 75%;
  border-top: none;
  border-right: none;
  align-items: center;
  text-align: justify;
  box-sizing: border-box;
  display: block;
  font-family: "Oxygen", sans-serif;
  color: #002b59; /*golyóstoll kék */
  font-size: 16px;
  font-weight: 200;
  border-radius: 15px;
  line-height: 20pt;
}

/* /* paratlanhatter 
.program-row:nth-child(odd) .program-cell:last-child {
  background-color: white;
}
/* paroshatter 
.program-row:nth-child(even) .program-cell:last-child {
  background-color: white;
} */
/* mobilmegjelenes */
@media screen and (max-width: 768px) {
.oval-hatter{
        display:none;
    }
.body-div {
 background-image: url("https://xn--aszomszdsrc-t7a4h.hu/szilvia_web/content/fooldal/hatterek/minimalista_hatter_new_new_mobile2.png") ;
            background-repeat: repeat; 
            background-position: left center; 
            background-size: contain;
}
    
  .program-table {
    display: block;
    width: 100%;
    border: none;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
  }
  .program-row {
    display: block;
  }
  .program-cell {
    min-width: 100%;
  }
  .program-cell:first-child {
  }
  .program-cell:last-child {
    padding-left: 25px;
    padding-top: 0px;
  }
  .logo {
    width: auto;
    margin-left: 5px;
    margin-right: 5px;
  }
  .logo img {
    width: auto;
    height: 100%;
    max-height: 85px;
    align-items: center;
  }
  .megamenu {
    display: block;
    justify-content: center;
  }
  .box {
    width: 100%;
    height: 50px;
    margin-top: 10px;
    display: flex;
    flex-direction: row-reverse; /* Megfordítja az elemek sorrendjét */
    align-items: left; /* Kép és szöveg középre igazítása függőlegesen */
    gap: 10px; 
  }
  .box img {
    width: auto; 
    max-height: 40px;
    transition: transform 0.3s ease; 
    max-width: 100%;
    height: auto;
    margin-right: 2px;
    margin-left: auto;
  }

  /* Szöveg stílus */
  .box p {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
  }
  .megamenu {
    width: 100%;
  }
  .blokkcontainer {
    /*background: #add8e6; */
    width: 90%;
    margin: auto;
  }
}

/* reszponzive forditott táblázat nagykijelző */
.program-forditott-table {
  flex-direction: column;
  margin: 0 auto;
  /* background-color: #faf0e6; /* #faebd7;  /* #FFFFF0; */
  width: 100%;
  -webkit-box-shadow: 0 5px 10px 0 rgba(26, 47, 51, 0.6);
  box-shadow: 0 5px 10px 0 rgba(26, 47, 51, 0.6);
  border: none !important;
  border-radius: 20px;
  padding: 5px;
}
.program-forditott-table:hover {
  transform: rotate(0.5deg);
  transition: transform 0.6s;
}
.program-forditott-row {
  display: flex;
}
.program-cell-forditott-head:first-child {
  text-align: left;
  justify-content: left;
  align-items: left;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: "Oxygen", sans-serif;
  color: #002b59; /*golyóstoll kék */
  justify-content: left;
  align-items: left;
  padding: 10px;
  padding-left: 15px;
  border-bottom: 3px solid #9f8c76;
  width: 100%;
  box-sizing: border-box;
  border-radius: 20px;
}
/* kép helye */
.program-cell-forditott:last-child {
  align-items: top;
  justify-content: center;
  padding: 25px;
  width: 35%;
  border: none;
  box-sizing: border-box;
  border-bottom: 20px;
}
.program-cell-forditott-kep-helye img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Lehetőség: 'cover' vagy 'contain' */
  display: block; 
  object-position: center top;
  box-sizing: border-box;
}

.program-cell-forditott-kep-helye {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Lehetőség: 'cover' vagy 'contain' */
  display: block; 
  object-position: center top;
  box-sizing: border-box;
  border-radius: 20px;
}

/* szoba leírása */
.program-cell-forditott:first-child {
  padding-left: 25px;
  padding-right: 0px;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 75%;
  border-top: none;
  border-right: none;
  align-items: center;
  text-align: justify;
  box-sizing: border-box;
  display: block;
  font-family: "Oxygen", sans-serif;
  color: #002b59; /*golyóstoll kék */
  font-size: 16px;
  border-radius: 15px;
  line-height: 20pt;
}

/* paratlanhatter 
.program-forditott-row:nth-child(odd) .program-cell:last-child {
  background-color: white;
}
paroshatter 
.program-forditott-row:nth-child(even) .program-cell:last-child {
  background-color: white;
} */

@media screen and (max-width: 768px) {
  .program-forditott-table {
    display: block;
    width: 100%;
    border: none;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
  }
  .program-forditott-row {
    display: flex; /* Aktívvá teszi a Flexbox-t */
    flex-direction: column-reverse; /* Vízszintes: row-reverse */
  }
  .program-cell-forditott {
    min-width: 100%;
  }
  .program-cell-forditott:first-child {
    padding-left: 25px;
    padding-right: 25px;
  }
  .login-gomb {
    width: 100%;
  }
  .login {
  width: 65%;
}
}

/* Színek */
/* logo paletta */
.color1 {
  background-color: #8fd95b;
}
.color2 {
  background-color: #468c26;
}
.color3 {
  background-color: #064973;
}
.color4 {
  background-color: #f2cb57;
}
.color5 {
  background-color: #f2f2f2;
}
/* random színek */
.color6 {
  background-color: #b2e7e8;
}
.color7 {
  background-color: #ffd9c0;
}
.color8 {
  background-color: #e6ccff;
}
.color9 {
  background-color: #d6e4ff;
}
.color10 {
  background-color: #fffff0;
}
.color11 {
  background-color: #ffdab9;
}
.color12 {
  background-color: #fffacd;
}
.color13 {
  background-color: #e6e6fa;
}
.color14 {
  background-color: #ffc0cb;
}
.color15 {
  background-color: #f5f5dc;
}
.color16 {
  background-color: #ffefdb; 
}
.color17 {
  background-color: #ffeacc; 
}
.color18 {
  background-color: #ffddb8; 
}
.color19 {
  background-color: #FEF4Cc; 
}
.color20 {
  background-color: #FEF1BA; 
}
.color21 {
  background-color: #FDE78B; 
}
.color22 {
  background-color: #FCE170; 
}

.colorwhite {
  background-color: white; 
}

/* főoldali blokkok gombjai */
.gombtarto {
  min-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end; /* Balra igazítja az elemeket a sorban */
  align-items: flex-end;
  box-sizing: border-box;
}
.blokk-gomb {
 /* min-width: 175px;
  min-height: 55px;
  max-height:75px;
  border-radius: 25px; 
  align-items: center;
  transition: background-color 0.5s ease, transform 0.5s ease; 
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
  margin-right: 5px;
  margin-left: auto;
  padding:20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;  
  flex-shrink: 1;  
  flex-basis: 15px;  
  flex: 0 1 auto 0 1 150px; 1 1 calc(50% - 10px);  */
  flex: 0 1 auto; /* Gombok minimális szélességhez igazodnak, nem nyúlnak ki */
  min-width: 30%; 
  max-width: 100%; 
  height: 55px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s ease, transform 0.5s ease;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  border: 2px solid black;
  border-bottom: 5px solid black;
}
  
/* Kép */
.blokk-gomb img {
  width: 80%; 
  transition: transform 0.3s ease; 
  max-width: 100%;
  height: auto;
}

/* Szöveg */
.blokk-gomb p {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
  color: #002b59; 
}
/* hoverre háttér áttetszővé válik és kép nagyítódik */
.balra-doljon:hover {
  /*background-color: transparent; */
    transform: rotate(-1deg); 
    /*box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 10); */
 border: 2px solid black;
}
.balra-doljon.a:hover {
/*  background-color: transparent; */
      transform: rotate(-1deg); 
    /*box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 10); */
border: 2px solid black;
}


/* hoverre háttér áttetszővé válik és kép nagyítódik */
.jobbra-doljon:hover {
  /*background-color: transparent; */
    transform: rotate(1deg); 
    /*box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 10); */
 border: 2px solid black;
}
.jobbra-doljon.a:hover {
/*  background-color: transparent; */
      transform: rotate(1deg); 
    /*box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 10); */
border: 2px solid black;
}


@media screen and (max-width: 768px) {
.gombtarto {
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  text-align: center;
  display: block;
}
.blokk-gomb {
  max-width: 100%; 
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s ease, transform 0.5s ease; 
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
  margin-right: 0;
  margin-left: 0;
  margin-top:15px;
  padding:20px;
}
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes vibrate {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(-1px, -1px);
  }
  60% {
    transform: translate(1px, 1px);
  }
  80% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1); /* Kicsit nagyít */
    opacity: 0.7; /* Halványabbá válik */
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
