/*
Theme Name: My Awesome Theme
Theme URI: https://www.myawesometheme.com
Author: John Doe
Author URI: https://www.johndoe.com
Description: My Awesome Theme is a responsive, modern, and feature-rich WordPress theme designed for all kinds of websites. It comes with a custom homepage layout, multiple widget areas, and full compatibility with popular plugins.
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: my-awesome-theme
Tags: responsive, modern, custom-background, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --dark-green: #2698ac;
  --turkiz: #43fde6;
  --zold: #80c9d8;
  --homok: #d9d9d9;
  --body-text: #434f49;
  --pink: #e9a9c4;
  --title: #2a3937;
  --dark-pink: #dc6ea6;
  --radius: 0.5rem;
  --white: #fff;
  --petrol-green: #094457;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
@media only screen and (max-width: 1025px) {
  html {
    font-size: 1.4vw;
  }
}
@media only screen and (max-width: 768px) {
  html {
    font-size: 16px;
  }
}
@media only screen and (max-width: 480px) {
  html {
    font-size: 14px;
  }
}
body {
  margin: 0;
  padding: 0;
  font-family: "inter", sans-serif;
  overflow-x: hidden;
  /*background: linear-gradient(
    90deg,
    rgba(192, 225, 230, 1) 0%,
    rgba(38, 152, 172, 1) 50%
  );*/
}
img {
  max-width: 100%;
  height: auto;
}
.wp-block-column figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
  border: solid 3px var(--white);
}
a {
  color: var(--title);
  text-decoration: none;
}
a:hover,
.blog a:hover {
  color: var(--dark-green);
}
/*.wp-block-heading {
  margin-top: 50px;
  font-size: 1.5rem;
}*/
.wp-block-heading a:hover {
  color: var(--white);
}
.wp-block-heading p {
  word-break: break-word;
}

p,
li {
  line-height: 1.5;
  font-size: 1.5rem;
}
ul {
  padding-left: 20px;
  list-style-type: square;
}
ul li::marker {
  color: var(--dark-pink);
  font-size: 20px;
  line-height: 0;
}
ol {
  padding-left: 1.5rem;
}
ol li::marker {
  color: #fff;
  font-weight: bold;
}
ol li {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  padding-left: 10px;
  line-height: 2rem;
}
ol li::before {
  content: "";
  width: 2rem;
  height: 2rem;
  background: var(--dark-green);
  display: block;
  position: absolute;
  top: 0rem;
  left: -2.25rem;
  z-index: -1;
  border-radius: 50%;
}
h1,
h2,
h3 {
  font-weight: normal;
}
h1 {
  font-family: "Playfair display";
  font-weight: 700;
  font-style: oblique;
  font-size: 3rem;
  position: relative;
  padding-bottom: 1rem;
  z-index: 1;
  justify-content: center;
}
h1,
.hero h1 + h3,
.hero h1 + h2,
.hero h1 + p {
  opacity: 0;
  transform: translateX(-50px);
  animation-delay: 0.4s;
}
h1.visible,
.hero h1 + h3.visible,
.hero h1 + h2.visible,
.hero h1 + p.visible {
  animation: hello 1s ease-in-out forwards;
}
@keyframes hello {
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
h2 {
  font-size: 2rem;
  margin-top: 0;
  position: relative;
  padding-bottom: 1rem;
}
h3,
p {
  font-size: 1.5rem;
}
.button,
.wp-block-button__link,
.wp-block-post-excerpt__more-link,
input[type="submit"] {
  display: inline-block;
  padding: 1rem 1rem;
  color: #fff;
  background-color: var(--dark-green);
  text-transform: uppercase;
  /*font-weight: bold;*/
  border: 2px solid #333333;
  border-radius: 32px;
  font-family: inherit;
  font-size: inherit;
  line-height: 1;
  transition: transform 0.2s ease;
}
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.wp-block-post-excerpt__more-link:hover {
  background-color: var(--dark-pink);
  border: solid 3px var(--pink);
  color: #fff;
  transform: scale(1.1);
}
.wp-block-button a {
  border: solid 1px var(--title);
  border-radius: 24px;
}
a.button {
  margin-left: 40px;
}
blockquote {
  background: var(--dark);
  padding: 0.5rem 1rem;
  margin-left: 0;
  border-left: solid 5px var(--dark-pink);
}
.align-center {
  text-align: center;
}
header {
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
  background: linear-gradient(to right, #68c2de 0%, #094457 100%);
  position: relative;
  z-index: 14;
}
#head .content-box {
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo svg {
  max-width: 6rem;
}
#logo {
  display: inline-block;
  transition: transform 0.3s ease;
}

#logo:hover {
  transform: scale(1.2);
}
.hero {
  background-color: var(--white);
  padding: 6vw 0;
  /*background-image: url(img/koszontelek-hatter-0-blur.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;*/
  overflow: hidden;
  /*box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);*/
  position: relative;
  z-index: 12;
  margin: auto;
}
.services {
  background-color: var(--petrol-green);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 11;
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/*.about-bg
 background-color: var(--pink);
  box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.25);
  z-index: 10;*/

.packet-bg {
  background-color: var(--dark-pink);
  /*background-repeat: no-repeat;
  background-position: center;
  background-size: cover;*/
  overflow: hidden;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
  z-index: 10;
}
.blog-img img {
  border-radius: 12px 12px 0px 0px;
  border: solid 2px, var(--white);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
  max-width: 80%;
  margin-top: 20px;
}
body.home .blog,
.blog {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--white);
  background: var(--title);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
  color: #fff;
  max-width: 70%;
}
.blog h2 {
  color: var(--white);
}
.blog h2,
.blog p {
  padding: 40px;
}
body.home .blog-bg {
  background-color: var(--dark-pink);
}
.blog-hatter {
  background-color: white;
}
.card {
  border-radius: var(--radius);
  border: 3px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.2);
}
.box-style,
.wp-block-post {
  padding: 0 1.5rem;
  border-radius: var(--radius);
  border: 3px, solid white;
  background: #fff;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.wp-block-post figure {
  margin: 0 -1.5rem;
  border-radius: var(--radius);
}
.wp-block-post h2,
.wp-block-post p {
  margin: 1rem 0;
}
.fullwide,
.services,
.packet-bg,
.about-bg,
.sm-bg,
.blog-bg,
.contact {
  width: calc(100vw - 18px);
  position: relative;
  left: calc(50% + 7px);
  margin-left: -50vw;
  overflow: hidden;
}
.wp-block-latest-posts__post-title {
  font-size: 1rem;
}

a.wp-block-latest-posts__post-title {
  display: inline-block;
  transition: transform 0.3s ease;
}
a.wp-block-latest-posts__post-title:hover {
  color: var(--dark-pink);
  transform: scale(1.05);
}
.packet/*services menu*/ {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: var(--petrol-green);
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.2);
  color: #fff;
}
.packet h2,
.packet h3,
.packet p,
.packet ul,
.packet ul li {
  margin-left: 2rem;
  margin-top: 2rem;
}
.packet ul li::marker {
  list-style-type: square;
  color: #fff;
}
footer {
  /* box-shadow:  0px 4px 12px 0px rgba(0, 0, 0, 0.25);*/
  background-color: var(--petrol-green);
  position: relative;
  z-index: 9;
  color: #fff;
  text-align: center;
  overflow: hidden;
  font: smaller;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: none;
  background: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  width: 100%;
}
select {
  border: none;
  background: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  width: 50%;
}
form p {
  font-size: 1rem;
}
.form-row {
  display: flex;
  gap: 2rem;
}
.form-row > * {
  flex: 1;
}
.form-link {
  color: var(--pink);
}
.contact {
  border: none;
  background: var(--petrol-green);
  /*background-image: url(img/form-bg-bubbles.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /*border: solid 3px #fff;*/
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
  padding: 0.5rem;
  color: var(--white);
  /*border-radius: 8px;
  margin-bottom: 1rem;*/
}
.wp-block-social-link-anchor {
  background-color: var(--petrol-green);
  border-radius: 50%;
}
.sm-bg {
  background-color: var(--white);
}
footer a {
  color: #fff;
}
footer div div {
  justify-content: center;
}
footer a:hover {
  color: var(--title);
}
.footer-social {
  background-color: #fff;
  box-shadow: inset 0px 4px 12px 0px rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  border-bottom: solid 3px white;
  text-align: center;
}
#copyright p {
  font-size: 0.75rem;
}
.forras li {
  font-size: 0.8rem;
}

@media only screen and (max-width: 1281px) {
  #head .content-box {
    flex-wrap: wrap;
  }
  #head-menu {
    width: 100%;
  }
  .fullwide,
  .services,
  .packet-bg,
  .about-bg,
  .sm-bg,
  .contact {
    width: 100vw;
    left: 50%;
  }
}
@media only screen and (max-width: 781px) {
  .services ul,
  .wp-block-query ul {
    display: block;
  }
  .services ul li,
  .wp-block-query ul li {
    margin-bottom: 1.5rem;
  }
  .contact figure {
    display: none;
  }
}

/* a 3 elem (Név, Email, Gomb) egy sorban 
#mc_signup_form_e50a2656ab_3 .mc_form_inside {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}
.mc_container h2 {
  font-size: 1.5rem;
}

/* a két input engedje a gombot maga mellé
#mc_signup_form_e50a2656ab_3 .wp-block-mailchimp-mailchimp-form-field {
  flex: 1 1 30%;
  min-width: 100px;
}

/* a gomb is legyen flexgyerek, maradjon a sorban 
#mc_signup_form_e50a2656ab_3 .mc_signup_submit {
  flex: 1 1 30%;
  margin-bottom: 30px;
}

/* EZ a lényeg: a csillagos sor NE legyen a flex-ben közöttük 
#mc_signup_form_e50a2656ab_3 .mc-indicates-required {
  order: 99; /* vigyük a sor ALJÁRA
  width: 100%; /* és külön sorba tegye 
}
@media (max-width: 768px) {
  /* minden flex layoutot visszabillentünk 
  .mc_signup_form,
  .mc_form_inside,
  .wp-block-mailchimp-mailchimp-form-field {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .mc_merge_var,
  .mc_signup_submit {
    width: 100% !important;
    flex: none !important;
  }

  .mc_signup_submit_button {
    width: 100% !important;
  }
}*/
/* Container flexbe rakása */
#mc4wp-form-1 .mc4wp-form-fields {
  display: flex;
  gap: 10px; /* térköz a mezők között */
  flex-wrap: wrap; /* mobilon egymás alá kerülnek */
}

/* Mezők szélessége */
#mc4wp-form-1 .mc4wp-form-fields p {
  flex: 1 1 45%; /* 45% szélesség, rugalmasan növekszik/kisebb lesz */
  margin: 0;
}
#mc4wp-form-1 .mc4wp-form-fields p:last-of-type,
#mc4wp-form-1 {
  width: 100%;
  margin-top: 10px;
}
