* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--sans-font, sans-serif);
  text-align: justify;
}

p {
  text-align: justify;
  margin-bottom: 1em;
}

h1, h2, h3 {
  text-align: center;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h4, h5, h6 {
  text-align: left;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

nav a {
  margin: 0 1em;
  text-decoration: none;
  font-weight: normal;
}

nav a:hover,
nav a.active {
  text-decoration: underline;
}

main {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
}

img {
  display: block;
  margin: 2em auto;
  max-width: 50%;
  height: auto;
}

ul {
  padding-left: 1.2em;
  list-style-position: outside;
  text-align: justify;
  margin-left: 0;
}

li {
  text-indent: 0;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}


footer a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

footer a:visited {
  color: var(--text);
  text-decoration: none;
}

footer a:visited:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-nav-left {
  text-align: left;
}

.footer-nav-left a {
  margin-right: 1em;
}

.footer-nav-right {
  text-align: right;
}

.footer-nav-right a {
    margin: 0 1em;
}

.iframe-container {
  max-width: 700px;
  margin: 2rem auto;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1rem;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  height: 800px;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
  display:block;
}