/*hamburger menu - default NEM látszik, mobil nézetben, 450px-tol felfele igen */
@media screen and (min-width: 450px) and (max-width: 2500px) {
  #mySidenav {
    display: none;
  }
  span {
    display: none;
  }
  /* Side navigation menu */
  .sidenav {
    display: none !important;
  }

  /* Navigation menu linek */
  .sidenav a {
    display: none !important;
  }

  #main {
    display: none !important;
  }

  /* default hamburger NEM látszik vége*/

  /*hamburger mobil IGEN, LÁTSZIK nézet kezdete*/

  @media screen and (max-height: 450px) {
    .sidenav {
      padding-top: 15px;
    }
    .sidenav a {
      font-size: 18px;
    }
  }
}

@media screen and (max-width: 450px) {
  .sidenav {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    color: white;
    transition: max-height 0.5s ease-out;
    z-index: 1;
    border-radius: 23%;
  }

  .sidenav a {
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 20px;
    color: whitesmoke;
  }

  .sidenav a:hover {
    text-decoration: none;
  }
  .menu:hover {
    color: #333333;
  font-size: 24px;
    font-weight: bold;
    background-color: transparent;
    text-decoration: none;
  }

  .spanmenu {
    display: flex;
    justify-content: right;
  }

  .closebtn {
    position: absolute;
    right: 9px;
    padding: 16px;
    cursor: pointer;
  }

  #main {
    padding: 16px;
  }

  @media screen and (max-height: 450px) {
    .sidenav {
      padding-top: 15px;
    }
    .sidenav a {
      font-size: 20px;
    }
  }
}

/*mobil nézet, hamburger LÁTSZIK VÉGE */

/* ez a homepage background */
.bodybg {
  background-image: url("../images/pexels-punchbrandstock-5714855.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.bodybg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

/* ez a cookie warning */

#cookiewarning {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(45, 149, 150, 0.8);
  padding: 20px;
  border-radius: 10px;
  z-index: 9999;
  display: none;
}

#cookiewarning.show {
  display: block;
}

#cookiewarning div {
  margin-bottom: 10px;
  color: white;
}

#cookiewarning button {
  background-color: white;
  color: black;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 5px;
}

#cookiewarning button:hover {
  background-color: #ddd;
}

/* ez lesz az általános, mindenre vonatkozok */

body {
  margin: 0px;
  padding: 0px;
  font-family: "Playfair Display";
  letter-spacing: 1px;
  background: white;

  max-width: 100%;
  max-height: 100%;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: 18px;
  line-height: 1.5em;
}

@media screen and (min-width: 200px) and (max-width: 480px) {
  body {
    margin: 0px;
    padding: 0px;
    font-family: "Playfair Display";
    background: white;
    background-size: auto;
    max-width: 100%;
    max-height: 100%;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    font-size: 16px;
    line-height: 1.5em;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  body {
    margin: 0px;
    padding: 0px;
    font-family: "Playfair Display";
    background: white;
    background-size: auto;
    max-width: 100%;
    max-height: 100%;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    font-size: 17px;
    line-height: 1.5em;
  }
}

main {
  margin-left: 22%;
  margin-right: 22%;
  background-color: rgba(245, 245, 245, 0.2);
  margin-bottom: 50px;
}

@media screen and (min-width: 200px) and (max-width: 480px) {
  main {
    margin-bottom: 50px;
    margin-left: 4%;
    margin-right: 4%;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  main {
    margin-bottom: 50px;
    margin-left: 7%;
    margin-right: 7%;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  main {
    margin-bottom: 50px;
    margin-left: 10%;
    margin-right: 10%;
  }
}

.content {
  padding: 20px;
  margin-bottom: 100px;
}

@media screen and (min-width: 300px) and (max-width: 800px) {
  .content {
    margin-bottom: 150px;
  }
}

.playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

@media screen and (max-width: 500px) {
  h2 {
    /*font-style: italic;*/
    font-size: 23px;
  }
}

@media screen and (max-width: 500px) {
  h3 {
    font-size: 18px;
  }
}

/* ez a menure, navigaciora vonatkozo szabályok nagy nézetben */
nav {
  display: flex;
  flex: 1;
  justify-content: space-evenly;
  background: linear-gradient(
    315deg,
    rgb(33, 71, 102) 0%,
    rgba(38, 80, 115) 20%,
    rgb(45, 149, 150) 40%,
    rgb(154, 208, 194) 90%
  );
  height: 45px;
  width: 100%;
  border-bottom: 2px solid #333333;
}

/*elrejtve nagy menu 450px-nél kisebb nézetben*/
@media screen and (max-width: 450px) {
  nav {
    display: none !important;
  }
  .navdiv {
    display: none !important;
  }

  .navdiv > div {
    display: none !important;
  }
}

@media screen and (min-width: 451px) and (max-width: 768px) {
  nav {
    height: 32px;
    position: relative;
  }
}

.navdiv > div {
  width: 20%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: auto;
  flex: 1;
}

.navdiv {
  display: flex;
  justify-content: space-evenly;

  max-width: 1200px;
  flex: 1;
}

.menu {
  font-family: "Playfair Display";
  font-style: italic;
  color: whitesmoke;
  flex: 1;
  display: flex;

  align-items: center;
  text-decoration: none;
  justify-content: space-evenly;
  font-size: 26px;
  transition: 0.6s;
  text-align: center;
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .menu {
    font-family: "Playfair Display";
    font-style: italic;
    color: whitesmoke;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-evenly;
    text-decoration: none;
    padding: 5px;
    margin: 5px;
    font-size: 21px;
    transition: 0.6s;
    text-align: center;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .menu {
    font-family: "Playfair Display";
    font-style: italic;
    color: whitesmoke;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-evenly;
    text-decoration: none;
    padding: 5px;
    margin: 5px;
    font-size: 18px;
    transition: 0.6s;
    text-align: center;
  }
}
@media screen and (min-width: 200px) and (max-width: 480px) {
  .menu {
    font-family: "Playfair Display";
    font-style: italic;
    color: whitesmoke;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-evenly;
    text-decoration: none;

    font-size: 14px;
    transition: 0.6s;
    text-align: center;
  }
}

@media screen and (min-width: 1200px) {
  .menu:hover {
    color: #333333;
    font-weight: bold;
    font-size: 30px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .menu:hover {
    font-size: 25px;
    color: #333333;
    font-weight: bold;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .menu:hover {
    font-size: 22px;
    color: #333333;
    font-weight: bold;
  }
}

/* ez a home pagere és annak contentjére vonatkozo szabályok */

h1 {
  font-size: 30px;

  font-family: "Playfair Display";
  margin: 0;

  color: whitesmoke;
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 22px;

    font-family: "Playfair Display";
    margin: 0;

    color: whitesmoke;
  }
}

.hellocontainer {
  display: flex;
  margin-top: 100px;
  animation: swim;
}

/*hello text animation, beuszás*/

@keyframes swim {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* hello page Default styles nagyobb képernyore (2200px és felette, 1200ig jo) */
.hellocontainer {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  top: -20px;
  animation: swim 2s ease-in-out;
  animation-delay: 1s;
  background-color: rgba(245, 245, 245, 0.3);
}

.hellotext {
  display: flex;
  flex: 1;
  align-items: center;
  width: 100%;
}

.hellotextcontent {
  flex: 1;
  font-size: 22px;
  letter-spacing: 1px;
  text-align: start;
  overflow: hidden;
  background-color: rgba(245, 245, 245, 0.3);
  padding: 15px;
}

.helloimgdiv {
  flex: 1;
  padding-left: 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.helloimg {
  max-width: 60%;
  height: auto;
  display: block;
  border-radius:15%;
}

/*kozepes screen hello */
@media screen and (min-width: 700px) and (max-width: 1200px) {
  .hellocontainer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hellotext {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .hellotextcontent {
    flex: 1;
    font-size: 21px;
    letter-spacing: 1px;
    text-align: start;
    overflow: hidden;
    background-color: rgba(245, 245, 245, 0.3);
    padding: 15px;
  }

  .helloimgdiv {
    flex: 1;
    padding-left: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .helloimg {
    max-width: 80%;
    height: auto;
    display: block;
  }
}

/* hello content még kisebb, mobilos nézet (max-width: 480px) */
/* Clearfix to handle floating elements */
.hellotext::after {
  content: "";
  display: table;
  clear: both;
}

/* hello text kicsi-kozepes */
@media screen and (min-width: 500px) and (max-width: 700px) {
  .hellocontainer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hellotext {
    width: 100%;
  }

  .hellotextcontent {
    font-size: 19px;
    padding: 5px;
    text-align: start;
  }

  .helloimg {
    max-width: 80%;
    height: auto;
    float: right;
    margin: 0 0 10px 10px;
  }

  .helloimgdiv {
    width: 100%;
    display: inline-block;
    padding-left: 5px;
  }
}

@media screen and (min-width: 380px) and (max-width: 500px) {
  .hellocontainer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hellotext {
    width: 100%;
  }

  .hellotextcontent {
    font-size: 18px;
    padding: 5px;
    text-align: start;
  }

  .helloimg {
    max-width: 100%;
    height: auto;
    float: right;
    margin: 0 0 10px 10px;
  }

  .helloimgdiv {
    width: 100%;
    display: inline-block;
    padding-left: 2px;
  }
}

@media screen and (min-width: 200px) and (max-width: 380px) {
  .hellotextcontent::after {
    content: "";
    display: table;
    clear: both;
  }

  .hellocontainer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hellotext {
    width: 100%;
  }

  .hellotextcontent {
    font-size: 17px;
    padding: 2px;
    text-align: start;
  }

  .helloimg {
    max-width: 100%;
    height: auto;
    float: right;
    margin: 0 0 10px 10px;
    top: 165px;
    position: absolute;
    width: 40%;
    height: auto;
  }

  .helloimgdiv {
    width: 100%;
    display: inline-block;
    padding-left: 2px;
  }
}

/* ez lesz az About pagere vonatkozok */
.intro::first-letter {
  font-size: 40px;
}

@media screen and (max-width: 600px) {
  .intro::first-letter {
    font-size: 30px;
  }
}

.wholeabout {
  text-align: justify;
}

.quote {
  font-style: italic;
  font-weight: bold;
}

.freddie {
  float: right;
  height: 300px;
  width: 250px;
}

@media (max-width: 600px) {
  .freddie {
    float: right;
    height: 220px;
    width: 180px;
  }
}

/* accordion az about page-en */

.accordion {
  background-color: rgba(45, 149, 150, 0.8);
  color: black;
  font-weight: bold;
  font-size: 20px;
  font-family: "Playfair Display";
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.4s;
}

@media screen and (max-width: 600px) {
  .accordion {
    font-size: 15px;
  }
}

/* Hoverre háttér szin  */
.active,
.accordion:hover {
  background-color: rgb(154, 208, 194);
}

/* Accordion panelre vonatkozók, alapértelmezett zárva */
.panel {
  padding: 0 18px;
  background-color: white;
  overflow: hidden;
  max-height: 0; /* Elrejtés default */
  transition: max-height 0.2s ease-out; /* Animation */
}

.accordion:after {
  content: "\02795"; /*  (+) lenyilo gomb */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* bezáros (-) gomb */
}

/* ez a contact pagere vonatkozo szabályok */
.socialimage {
 width: 5%;
  margin-right: 20px;
}


.social > a
{
  text-decoration: none;

}


.social {
  font-family: "Playfair Display";
  /*font-style: italic;*/
  padding: 20px;

  

}

.socialcontent {
  margin-bottom: 20px;
 
}



@media screen and (min-width: 200px) and (max-width: 600px) {
  .social > .socialimage {
    width: 28px;
    margin-right: 5px;
    display: inline-block;
  }
  .socialcontent > article {
    display: block;
    left: 7px;
    padding: 15px 5px 15px 5px;
  }
  .socialcontent {
    padding: 0px;
    margin: 15px;
  }

  .socialsection {
    margin: 5px;
  }
}

.paw {
  width: 40px;
  height: 50px;
  color: #727171;
  float: right;
  transform: rotate(-45deg);
  animation-name: steps;
  animation-iteration-count: infinite;
}

.paw :nth-child(odd) {
  animation: steps 16s infinite steps(10);
  animation-delay: 2s;
  overflow: visible;
  position: absolute;
  left: 20px;
}

.paw :nth-child(even) {
  animation: steps 16s infinite steps(10);
  animation-delay: 1s;
  overflow: visible;
  position: absolute;
  right: 20px;
}

@keyframes steps {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-350px);
    opacity: 0%;
  }
}

@keyframes steps {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-350px);
    opacity: 0%;
  }
}

/* contact page contact formra vonatkozo szabalyo */


 /* Style inputs with type="text", select elements and textareas */
 input[type=text], select, textarea {
  width: 100%; 
  padding: 12px; 
  border: 2px solid #333333; /*belso részek bordere*/
  border-radius: 4px; 
  box-sizing: border-box; 
  margin-top: 6px; 
  margin-bottom: 16px; 

}

/* submit gomb tulajdonságok */
input[type=submit] {
  background-color: rgba(45, 149, 150, 0.8);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  color: whitesmoke;
}

/* hoverre a submit button */
input[type=submit]:hover {
  background-color: rgb(154, 208, 194);
}

/* Add a background color and some padding around the form */
.formcontainer {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  border-color:  rgba(245, 245, 245);
  margin-top: 25px;
} 


/* thank you, farewell page, form után */

.thankyoucontainer {
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
flex:1;
}

.giphy {
  width:40%;

}
.thankyouback {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  background-color: rgba(45, 149, 150, 0.8);
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.thankyouback:hover {
  background-color: rgb(154, 208, 194);
}

.backtext {
  text-decoration: none;
  
}

/* ez a Video pagere vonatkozo szabályok */

.video-container {
  width: 33%;
  height: 40vh;
  overflow: hidden;
  float: left;
  margin-bottom: 20px;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  margin: 10px;
}

.videoszoveg {
  float: left;
}

@media screen and (max-width: 1300px) {
  .video-container {
    width: 100%;
    height: 35vh;
    display: flex;
    align-items: center;
    margin-bottom: 20px;

    padding: 0;
    float: none;
  }
}


@media screen and (max-width: 630px) {
  .video-container {
    width: 100%;
    height: 30vh;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 0;
    float: none;
  }
  div.content {
    margin: 20px;
  }
}
.clickmobile {
  display:none;
}

/* ez a Galleryre vonatkozo szabályok, alaértelmezett majd kisebb nézet */
@media screen and (min-width:200px) and (max-width:2500px) { 
.grid {
  display: flex;
  gap: 20px;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
}

.img {
  flex: 1;
  aspect-ratio: 0.6;
  background-size: cover;
  background-position: center center;
}

.playbutton {
  display:none !important;
}  }

@media screen and (max-width: 700px) {
  .grid {
      flex-direction: column;
      display:flex;
     align-items: center;
    }
  
    
    .grid :nth-child(n+2) {
      display: none !important;
    }
    .img {
    flex: 1;
    width:70%;
  background-size: cover;
    background-position: center center;
    }
  
.playbutton {
  display:none !important;
}

.clickmobile {
  display:none !important;
}  }


@media screen and (max-width:370px) { 
 

  .playbutton {
    display: flex !important;
    flex:1;
    width: 35px; 
    height: 30px; 
    position: absolute;
    top: 34%; /* Adjust as needed */
    left: 50%; /* Adjust as needed */
    transform: translate(-50%, -50%);
    z-index: 1;
    color: whitesmoke;  
   
  } 
  .clickmobile {
    display: block !important;
    margin-top:5px;
  }  } 
  
  

  

/* ez a footerre vonatkozo szabályok */

footer {
  background: linear-gradient(
    315deg,
    rgb(33, 71, 102) 0%,
    rgba(38, 80, 115) 20%,
    rgb(45, 149, 150) 40%,
    rgb(154, 208, 194) 90%
  );
  height: 50px;
  flex-grow: 1;
  display: flex;
  position: absolute;
  bottom: 0px;
  width: 100%;
  border-top: 2px solid #333333;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 100%;
  margin-right: 15px;
}

.footerp {
  font-weight: bold;
  font-size: 16px;
}

@media screen and (min-width: 620px) and (max-width: 820px) {
  footer {
    height: 48px;
    flex-grow: 1;
    display: flex;
    position: absolute;
    bottom: 0px;
    width: 100%;
    border-top: 2px solid #333333;
  }

  .footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    margin-right: 15px;
  }

  .footerp {
    font-weight: bold;
    font-size: 15px;
  }
}

@media screen and (min-width: 300px) and (max-width: 620px) {
  footer {
    height: 45px;
  }
  .footer {
    display: flex;
    justify-content: center;
  }
}
/* carousel-re vonatkozó szabályok, slideshow */

* {
  box-sizing: border-box;
}

.slideshow-container {
  margin: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 620px) and (max-width: 820px) {
  .slideshow-container {
    margin: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex: 1;
    justify-content: center;
    width: 600px;
    height: 250px;
  }
}

@media screen and (min-width: 200px) and (max-width: 480px) {
  .slideshow-container {
    margin: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex: 1;
    justify-content: center;
    width: 300px;
    height: 200px;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .slideshow-container {
    margin: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex: 1;
    justify-content: center;
    width: 500px;
    height: 300px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .slideshow-container {
    margin: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex: 1;
    justify-content: center;
    width: 700px;
    height: 400px;
  }
}

.imgcover {
  opacity: 85%;
}

/*alapjáraton hide */
.slides {
  display: none;
  margin-bottom: 5px;
}

.slides img {
  width: 100%;
  display: block;
  /* képek responszivak legyenek*/
}

/* Eltűnő animáció*/
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
