@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 100%;
    line-height: 160%;
    background-image: url(hatter.jpg);
    color: black;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

header, footer {
    background-color: white;
    color: black;
    padding: 1em;
    text-align: center;
    border-radius: 5px;
}

h2 {
    padding-top: 20px;
}

.oldal {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
}

main {
    flex: 3;
    padding: 1em;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px black;
    min-width: 70%;
}

aside {
    flex: 1;
    padding: 1em;
    background-color: #1a1a1a;
    color: #f5f5f5;
    margin-left: 1em;
    border-radius: 5px;
    min-width: 200px;
}

img, video {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 1em auto;
}

#fejleckep {
    margin-bottom: 1em;
}

#menu {
    font-size: 2em;
    background-color: black;
    color: white;
    padding: 1em;
    border-radius: 5px;
    word-spacing: 2em;
}

#menu p {
    margin: 0;
}

a {
    color: #003366;
    text-decoration: underline;
}

aside a, #menu a {
    color: #00bfff;
}

a:visited {
    color: #800000;
}

a:hover, a:focus {
    color: #0066cc;
}

aside a:hover, aside a:focus{
    color: white;
}

.tartalomjegyzek {
    font-size: 1.5em;
    margin: 1em 0;
}

.tartalomjegyzek ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

.tartalomjegyzek li {
    margin: 0.5em 1em;
}

.tartalomjegyzek a:visited {
    color: #003366;
}

table {
    font-size: 90%;
    border: 1px solid #333;
    width: 100%;
    margin-top: 1em;
    border-collapse: collapse;
}

th, td {
    padding: 0.5em;
    border: 1px solid black;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 1em;
}

figure {
    text-align: center;
    margin: 1em 0;
}

figcaption {
    font-style: italic;
    margin-top: 0.5em;
    font-size: 90%;
}

.szineszkep {
    max-width: 400px;
    cursor: pointer;
}

.film, .szinesz {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin: 1em 0;
}

.filmplakat, .szineszkepek {
    max-width: 400px;
    cursor: pointer;
    margin-right: 1em;
    margin-left: 1em;
    min-width: 150px;
}

.bio {
    flex: 1 1 500px;
}

.nyomtatas{
    display: none;
}

@media screen and (max-width: 900px) {
  .oldal {
    flex-direction: column;
  }

  aside {
    margin-left: 0;
    margin-top: 1em;
  }

  #menu {
    font-size: 1.5em;
    word-spacing: 1em;
  }

  .tartalomjegyzek {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 95%;
  }

  #menu p {
    display: flex;
    flex-direction: column;
  }

  #menu a {
    margin: 0.5em 0;
  }

  table {
    font-size: 90%;
  }
}

body.large-text {
    font-size: 1.3em;
    line-height: 180%;
}

body.large-text h1 {
    font-size: 2.5em;
}

body.large-text h2 {
    font-size: 2em;
}

body.large-text h3 {
    font-size: 1.7em;
}

body.large-text #menu {
    word-spacing: 0.5em;
    padding: 0.5em 1em;
    flex-wrap: wrap;
}
