:root {
  --text: #1D201F;
  --primary-color: #004692;
  --secondary-color: #FFC107;
  --grey: #D1DEDE;
  --bg: #fff;
  --transparent-light: rgba(255, 255, 255, 0.432);
  --transparent-lighter: rgba(255, 255, 255, 0.527);
  --transparent-dark: rgba(0, 0, 0, 0.432);
  --link: #041c9d;
  --link-v: #0072fd;
  --tip-bg: #132742;
}

main {
  margin-top: 3em;
}
h1 {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  margin: auto;
  margin-bottom: 2em;
  padding: 1em;
  width: fit-content;
  background-color: var(--transparent-light);
  border-left: double 0.5em var(--primary-color);
  font-size: min(7vw,2em);
  text-align: center;
}
p {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  text-align: left;
  font-size: 1.2em;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
article {
  margin: auto;
  padding: 1em;
}
h2 {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  font-size: 1.5em;
  text-align: center;
  background-color: var(--text);
  color: var(--bg);
  padding: 1rem;
  width: fit-content;
  border-radius: 5px;
}
body {
  margin-top: 3em;
  color: var(--text);
  background-image: url('../../media/Kezdolap/kepek/bg.jpg');
}
a:link {
  font-size: 1.2em;
  color: var(--link);
}
a:visited {
  color: var(--link-v);
}
figcaption {
  text-align: center;
}
.content {
  position: relative;
  background-color: var(--secondary-color);
  padding: 2em;
  margin-bottom: 3em;
}
.callout {
    border-left: 4px solid var(--primary-color);
    background-color: var(--transparent-light);
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 5px;
  }

  .callout summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--primary-color);
  }

  .callout[open] {
    background-color: var(--transparent-lighter);
  }

  details>summary::before {
    content: "💡 ";
  }

  .same-lvl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.same-lvl img {
    
    height: max(20vw,200px);
    width: auto; /* Let width adjust based on height */
}
.same-lvl figure{
  margin: 1em;
}
figure {
  justify-items: center;

}
.same-w {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.same-w img{
  margin: 1em;
  height: 50%;
  width: calc(60% + 1em);
}
.active {
  font-size: 1.5em;
}
.navbar-nav .nav-link {
  text-align: center;
  color: #333333;
  font-weight: 500;
  transition: color 0.3s, background-color 0.3s;
  align-content: center;
  margin: 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff;
  background-color: #333333;
  border-radius: 0.375rem; /* Rounded edges for hover */
}