:root {
  --background: #f5f3ef;
  --herocontent: #d4a373;
  --important: #2e4053;
  --text: #333;
  --h1colour: #2e4053;
  --buttoncolor: #bf5f45;
  --buttonhover: #d46a4e;
  --green: #5e8c61;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

body {
  background-color: var(--background);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
}

.image {
  display: block;
  border-radius: 15px;
  margin: 10px auto;
  width: 90%;
}
.container {
  display: block;
  margin-left: 220px;
  margin-right: 20px;
}
#menu {
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  margin: 0 0 0 20px;
  position: fixed;
  top: 0;
  left: 0px;
  height: 100%;
  width: 150px;
  font-weight: bold;
  -webkit-transition: left 1s ease 0.3s; /* Átmeneti effektus 1 másodperc alatt */
  transition: left 1s ease 0.3s; /* Átmeneti effektus 1 másodperc alatt */
}
#main {
  margin-top: 50px;
  margin: 50px 20px 0 10px;
}

.blog {
  max-width: 600px;
  margin: 10px auto;
}

#main section {
  margin-bottom: 20px;
}
.red-circle {
  bottom: -2.5%; /* Adjust the circle to be at the end of the section */
  margin: 2.5vw auto;
  transform: translateX(-50%);
  background-color: var(--buttoncolor);
  border-radius: 50%;
  width: 2.5vw; /* 5% of the viewport width */
  height: 2.5vw; /* 5% of the viewport width */
  animation: pulse 10s infinite;
}
.hamburger {
  display: none;
  background-color: var(--background);
  width: 100%;
  font-size: 30px;
  cursor: pointer;
  position: fixed;
}

.button {
  appearance: button;
  background-color: #bf5f45;
  background-image: none;
  border: 5px solid #bf5f45;
  opacity: 90%;
  border-radius: 20px 40px 40px 20px;
  box-shadow: #fff 3px 3px 0 0, #bf5f45 3px 3px 0 1px;
  color: #fff;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 10px;
  padding: 5px;
  min-width: 20%;
  text-align: center;
  text-transform: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}

.button:focus {
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button:active {
  box-shadow: rgba(0, 0, 0, 0.125) 0 3px 5px inset;
  outline: 0;
}

.button:not([disabled]):active {
  box-shadow: #fff 2px 2px 0 0, #bf5f45 2px 2px 0 1px;
  transform: translate(2px, 2px);
}

.class-button {
  display: flex;
  justify-content: center;
}

.close-menu {
  display: none;
}
.sor {
  width: 100%;
  display: flex;
  flex-direction: row;
}
.cimsor {
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  margin: 0;
  min-width: 250px;
  max-width: 350px;
  font-weight: bold;
}

.oszlop {
  max-width: 70ch;
  margin: 0 10px 0 10px;
}
.fenykep {
  width: 40%;
}
.portre {
  float: right;
  width: 40%;
  border-radius: 15px;
  margin: 0 0 0 10px;
}
.picture {
  display: flex;
  flex-direction: column;
  max-height: 350px;
  width: 80%;
  height: auto;
  border-radius: 15px;
  margin: 10px auto;
}
figcaption {
  color: #4a4a4a;
  font-size: x-small;
  margin: 10px auto;
  text-align: center;
}
.diagram {
  width: 90%;
  margin: 10px auto;
}
.bottom {
  font-size: 0.75rem;
  font-weight: bold;
  margin: 20px 0px 20px 220px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.bottom-img {
  margin: auto;
  max-height: 50%;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bottom p {
  margin: auto 0;
}
a {
  display: block;
  margin-bottom: 10px;
  color: #bf5f45;
  text-decoration: underline;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
}
a:hover {
  text-decoration: underline;
}
h1 {
  font-family: 'Playfair Display', serif;
  margin: calc(1ex / 0.42) 0;
  line-height: calc(1ex / 0.32);

  color: #bf5f45;
  text-align: center;
  hyphens: none;
}
h2 {
  font-family: 'Playfair Display', serif;
  color: #bf5f45;
  font-size: 1.85rem;
  line-height: calc(1ex / 0.42);
  margin: calc(1ex / 0.42) 0 calc(1ex / 0, 72) 0;
  font-weight: bold;
}
h3 {
  font-family: 'Playfair Display', serif;
  color: #bf5f45;
  font-size: 1.65rem;
  line-height: calc(1ex / 0.38);
  margin: calc(1ex / 0.38) 0 calc(1ex / 0.72) 0;
}
h4 {
  font-family: 'Inter', sans-serif;
  color: #bf5f45;
  font-size: 1em;
  line-height: calc(1ex / 0.38);
  margin: calc(1ex / 0.38) 0 calc(1ex / 0.72) 0;
  font-weight: 400;
}
p {
  font-size-adjust: 0.5;
  color: var(--text);
  line-height: calc(1ex / 0.32);
  hyphens: none;
}
i {
  font-size-adjust: 0.5;
  line-height: calc(1ex / 0.32);
  margin: calc(1ex / 0.32) 0;
  color: #bf5f45;
  opacity: 90%;
  hyphens: none;
}
b {
  margin: calc(1ex / 0.32) 0;
}
.icon {
  height: 30px;
  margin: 5px 10px;
}

#logo {
  padding-top: 10px;
  max-height: 70px;
  width: 100%;
  margin-bottom: 10px;
}
.list-container {
  margin: 0 auto;
  padding: 0 20px;
}
.list-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}
.list {
  list-style-type: none;
  padding: 0;
}
.list-item {
  font-size: 16px;
  padding: 10px 0;
  color: #bf5f45;
  font-weight: 700;
}
.list-item:last-child {
  border-bottom: none;
}
ol ul li::marker {
  color: #bf5f45;
  content: '• ';
}

li a {
  color: var(--text);
}
br {
  margin: 10px auto;
}

.click {
  height: 50px;
  z-index: 100;
  position: absolute;
  top: 85%;
  opacity: 0;
  -webkit-transition: opacity 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
  transition: opacity 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
  animation: pulse2 6s infinite;
  fill: #fff;
}
.breath {
  animation: pulse 10s infinite;
  bottom: auto;
  margin: 40px auto;
}

.tovabb-button {
  background-color: transparent;
  border: 5px solid #bf5f45;
  border-radius: 20px 40px 40px 20px;
  box-sizing: border-box;
  color: var(--text);
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 2rem auto;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}

.tovabb-button:disabled {
  pointer-events: none;
}

.tovabb-button:hover {
  color: #fff;
  background-color: #bf5f45;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.tovabb-button:active {
  box-shadow: none;
  transform: translateY(0);
}

.kurzus-button {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  color: var(--h1colour);
  text-align: left;
  background-color: transparent;
  border: 5px solid #bf5f45;
  border-radius: 20px 40px 40px 20px;
  cursor: pointer;
  display: inline-block;
  margin: 10px 10px 10px 30px;
  padding: 10px 2rem;
  touch-action: manipulation;
  width: 90%;
}

.kurzus-button:disabled {
  pointer-events: none;
}

.kurzus-button:hover {
  color: #bf5f45;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.kurzus-button:active {
  box-shadow: none;
  transform: translateY(0);
}
h5 {
  font-size: 1.5em;
  font-family: 'Courier New', Courier, monospace;
}

.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(0.55);
    transform: scale(0.55);
  }
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
  100% {
    -webkit-transform: scale(0.55);
    transform: scale(0.55);
  }
}
@keyframes pulse2 {
  0% {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
  }
  50% {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }
  100% {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
  }
}

.hero-content svg {
  width: 60%;
}
.hero-text {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2rem auto;
  opacity: 0;
  -webkit-transition: opacity 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
  transition: opacity 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
}
.hero-welcome {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2rem auto;
  opacity: 0;
  text-align: center;

  -webkit-transition: opacity 1.2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.5s;
  transition: opacity 1.2s cubic-bezier(0.47, 0, 0.745, 0.715) 1.5s;
}

svg .svg-elem-1 {
  fill: transparent;
  -webkit-transition: fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
  transition: fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
}
svg.active .svg-elem-1 {
  fill: #fff;
}
svg .svg-elem-2 {
  fill: transparent;
  -webkit-transition: fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
  transition: fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
}
svg.active .svg-elem-2 {
  fill: rgb(255, 0, 0);
}
svg .svg-elem-3 {
  fill: transparent;
  -webkit-transition: fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
  transition: fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
}
svg.active .svg-elem-3 {
  fill: #fff;
}

svg.active + .hero-text {
  opacity: 1;
}

.inline-a {
  display: inline;
}

.ticket {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: justify;
  border: 5px solid #bf5f45;
  border-radius: 20px 40px 40px 20px;
  margin: 2rem auto;
  padding: 2rem;
}
.ticket i,
.ticket p {
  margin: 0;
  padding: 0;
}

.table {
  overflow: auto;
}

.notfound {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.notfound-numbers {
  color: #bf5f45;
  font-size: 120px;
  font-weight: 900;
  margin: 0px;
}

.inline-a {
  display: contents;
  font-family: 'Inter', sans-serif;
  font-size-adjust: 0.5;
  font-size: 16px;
}
@media (max-width: 768px) {
  .cimsor {
    margin: 0px auto;
  }
  .social-links {
    height: 90px;
  }
  .hero-content p {
    font-size: unset;
  }
  .hero-content i {
    font-size: unset;
  }
  .container {
    margin-left: 20px;
  }
  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    top: -0;
    width: 100%;
    height: 40px;
    transition: top 0.3s;
    z-index: 1000;
  }
  #menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    box-shadow: none;
    padding-top: 40px;
    -webkit-transition: top 0.3s;
    transition: top 0.3s;
    margin: 0;
    z-index: 100;
  }
  #menu a {
    display: block;
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
  }
  #menu a:hover {
    background-color: #f2f2f2;
    text-decoration: none;
  }
  #menu.open {
    display: block;
  }
  #main {
    margin: 0;
    margin-top: 35px;
  }
  .close-menu {
    display: none;
  }
  .sor {
    flex-direction: column;
  }
  .bottom {
    margin-left: 10px;
    padding-top: 10px;
  }
  #rolam {
    flex-direction: column;
  }

  #rolam .oszlop {
    display: flex;
    flex-direction: column;
  }
  .szoveg {
    width: 100%;
  }
  .fenykep {
    width: 100%;
  }
  .bottom-img {
    width: 50%;
  }

  .click {
    position: inherit;
    top: 65%;
  }

  #hero {
    margin-top: 10%;
    align-items: flex-start;
  }
  .hero-content {
    height: 75%;
  }

  .class-button {
    flex-direction: column;
  }
  .red-circle {
    width: 8vw;
    height: 8vw;
  }

  .portre {
    width: 100%;
  }

  .button {
    margin: 10px auto;
  }
}
