:root {
  --turkiz: #43fde6;
  --zold: #80c9d8;
  --dark-green: #2698ac;
  --dark-pink: #dc6ea6;
  --pink: #e9a9c4;
  --homok: #d9d9d9;
  --body-txt: #434f49;
  --title: #2a3937;
  --white: #fff;
  --radius: 1.5rem;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  font-family: inter;
}
body {
  background: linear-gradient(
    to right,
    #c0e1e6 0%,
    #2698ac 100%,
    #2989d8 100%,
    #207cca 100%,
    #2698ac 102%
  );
  margin: 0;
}
header {
  background: none;
  border-bottom: solid 2px rgba(0, 0, 0, 0.4);
}
header .content-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

h1 {
  font-family: charm;
  font-size: 3.3vw;
  text-align: center;
  margin-top: 0;
  padding-top: 20px;
}
h2 {
  font-family: inter;
  font-weight: normal;
}
h3 {
  font-family: poppins;
}
a {
  text-decoration: none;
}
#logo {
  max-width: 20px;
}
#logo a {
  display: flex;
  color: inherit;
}
#logo img {
  display: block;
  max-height: 5rem;
  height: auto;
  margin-left: 20px;
}
#menu ul {
  display: flex;
  list-style-type: none;
}
/*#menu ul li {
  margin-left: 40px;
}*/
#menu ul li a {
  color: inherit;
  padding: 15px;
}
#menu ul li a:hover {
  color: var(--white);
}

#hero {
  background: url(../img/koszontelek-hatter.png);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  padding: 1rem;
}
#hero p {
  text-align: center;
}

#services p {
  margin-bottom: 30px;
}

#services img {
  max-width: 75%;
  vertical-align: middle;
}
#impressum {
  padding: 20px 0;
}
#impressum li {
  list-style-type: none;
}

/*nav {
  max-height: 1rem;
  color: #fff;
  font-size: 1.2rem;
  padding: 1rem;
}
.nav-link {
  min-height: 60px;
  color: rgb(8, 8, 8);
  display: contents;
  max-width: 100px;
}
.nav-link:hover {
  font-size: 1.2em;
  color: white;
}
.nav-item.btn {
  background-color: #ffffff;
  padding: 10px, 20px;
  margin-right: 50px;
  text-align: center;
}
.nav-bar {
  text-align: center;
}*/
.btn {
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  background-color: var(--dark-green);
  margin-top: 2rem;
  padding: 10px 20px;
  text-transform: uppercase;
  color: var(--white);
  border: solid 1px, var(--title);
  box-shadow: 0 0 4px 0 #333;
}
.btn:hover {
  background-color: #4a1c6e;
  color: white;
  box-shadow: 0 0 4px 0 #e9a9c4, 0 0 4px 4px #fa59e4;
}
.koszontelek {
  margin-top: 32px;
}
.szolg {
  border: solid 5px var(--homok);
  background: url(../img/szolg-background.png);
  background-position: center;
  border-radius: 8px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
  padding: 20px;
}
.szolg h3 {
  text-align: center;
}
/*.szolg-background {
  background: url(../img/blogcikk3-nyitokep.png);
  min-height: 50%;
}*/
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: #fff;
  font-family: inherit;
  font-size: inherit;
  padding: 10px;
  border: solid 5px var(--homok);
  border-radius: 8px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
  filter: drop-shadow(2px 6px 6px rgba(0, 0, 0, 0.2));
  margin-bottom: 40px;
}
input:focus,
textarea:focus {
  border: solid 3px var(--dark-green);
}
input:focus-visible,
textarea:focus-visible {
  outline: -webkit-focus-ring-color auto 0px;
}
form textarea {
  width: 100%;
  margin-top: 20px;
}
.cover-img {
  object-fit: cover;
  max-width: 75%;
  border: solid 5px var(--homok);
  border-radius: 8px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
}
#contact {
  margin-top: 20px;
  padding-bottom: 20px;
  background: url(../img/form-hatter.png);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}
#adatkezelesi a:hover {
  color: white;
}

footer {
  border-top: solid 2px var(--dark-green);
  text-align: center;
  font-family: poppins;
  padding: 20px;
  margin: 0px, 20px;
}
.footer-link {
  padding: 0 20px;
}
.footer-link:hover {
  color: white;
}
#social {
  background-color: white;
  border-top: solid 2px var(--homok);
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding: 20px 0px;
}
.smicons {
  max-width: 35px;
  box-shadow: none;
  margin-top: auto;
  padding-top: 10px;
  border: none;
  transition: 0.5s;
  text-align: center;
}
.smicons:hover {
  max-width: 3rem;
  transition: 0.5s;
  color: white;
}
span {
  font-weight: 600;
  color: var(--title);
}
.adatkezelesi {
  padding: 0 10px;
}
/*modal*/
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(38, 152, 172, 0.6);
}

.modal-content {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 90%;
  max-width: 500px;
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.3s ease;
}

/* Amikor megnyílik */
.modal-content.show {
  opacity: 1;
  transform: translateY(0);
}

.modal-content ul,
ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  list-style-type: square;
}

.modal-content li,
li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.modal-content h3 {
  margin-top: 2rem;
  color: var(--title);
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}
.style > table.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  border: 2px solid #f2f2f2; /* teljes táblázat köré */
  margin: 2rem 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark-green);
  color: #fff;
  text-align: center;
  padding: 15px;
  border-top: solid 2px white;
  /*box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);*/
  z-index: 9999;
  /*display: none;*/
  font-size: 1.5rem;
}
table.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  border: 2px solid #f2f2f2;
  margin: 2rem 0; /* Itt jön a margó */
}
.cookie-table th,
.cookie-table td {
  border: 2px solid #f2f2f2;
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  background-color: transparent; /* nincs háttér */
  color: #333;
}

.cookie-table thead th {
  font-weight: 600;
}

.cookie-table code {
  background-color: #f9f9f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 90%;
}

@media (max-width: 768px) {
  .cookie-table {
    font-size: 14px;
  }
  .cookie-banner {
    font-size: 14px;
    line-height: 1.5rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 10px 14px;
  }
}

/*@media (max-width: 768px) {
  .cookie-table {
    font-size: 15px;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 10px 14px;
  }
}*/
@media only screen and (max-width: 1280px) {
  header .content-box {
    display: block;
  }
  /* #logo {
    margin: 0 auto;
  }*/
  #menu ul {
    justify-content: center;
  }
  #hero {
    /*background-position: bottom right -100px;
    background-size: auto 60%;*/
    background-repeat: no-repeat;
  }
  #hero-txt {
    max-width: 100%;
    padding: 3vw 0 30vw 0;
  }
}
@media only screen and (max-width: 768px) {
  #hero-txt {
    padding: 3vw 0 50vw 0;
  }
  #menu ul {
    display: block;
    padding: 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
    margin-top: 0;
  }
  h3 {
    font-size: 28px;
  }
}
@media only screen and (max-width: 501px) {
  body,
  h3 {
    font-size: 1.25rem;
    word-wrap: break-word;
  }
  section:not(#hero) {
    padding: 30px 0;
  }
  /*#hero {
    background-size: auto 45%;
  }
  #hero {
    background-position: bottom right -150px;
  }*/
  #hero txt {
    padding: 3vw 0 60vw 0;
  }
}
