@import url(gombok.css) screen;
@import url(nyomtatas.css) print;
@import url(akadalymentes.css) screen;

html{
    background-color: #ffebcd;
}

h1{
    text-align: center;
}

header fieldset{
    display: flex;
    gap: 2em; 
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
}

.headernav{
    flex: 2;
    min-width: 300px;
}

.headernav a{
  text-decoration: none;
}

.container {
    max-width: 1200px;   
    margin: 0 auto;                      
}  

body{
    font-family: 'Quicksand', Arial, sans-serif;
    font-size: 1.2em;
    color: #333;
    padding: 10px 30px;
    text-align: justify;
}

section{
    margin-bottom: 22px;
}

details{
  font-family: sans-serif;
  font-size: 80%;
}

span[lang]{
    font-style: italic;
}

h1,h2,h3{
    margin-bottom: 10px;
    color: black;
}

fieldset{
    display: block;
    border: 5px black;
}

footer{
    text-align: end;
    font-size: 80%;
}

.intro-wrap {
    display: flex;
    gap: 2em; 
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .elsoszoveg {
    flex: 2;
    min-width: 250px;
  }
  
  .armadillo-tablazat {
    flex: 1;
    min-width: 250px;
  }

  aside{
    border: 2px solid #333;
    border-radius: 5px;
  }

  #besorolas table{
    width: 100%;
    max-width: 500px;
    margin: 4px;
    padding: 5px;
    border-collapse: separate;
    border-spacing: 0.3em;
    font-family: 'Arial', sans-serif;
  }
  
  #besorolas caption {
    text-align: center;
    margin-bottom: 2px;
    font-size: 125%;
  }

  #besorolas details{
    border-bottom: 4px black;
  }
  
  #besorolas summary {
    cursor: pointer;
    margin-top: 0.5em;
    font-size: 0.74em;
    color: #444;
  }
  
  #besorolas th {
    text-align: left;
    font-weight: bold;
    border-right: 2px solid black;
    padding-right: 20px;
  }
  
  #besorolas{
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  #besorolas table{
    border-top: 3px dotted black;
  }

  #besorolas td {
    text-align: center;
    font-weight: normal;
  }

  .end-wrap{
    display: flex;
    gap: 2em; 
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .veszely{
    height: 40px;
    min-width: 300px;
    flex: 1;
    display: block;
    margin-top: auto;
    margin-bottom: auto;
  }

  figure {
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* a képaláírást (figcaption-t) is középre rakja */
    display: block;
    margin: 0 auto;
  }

  .end-szoveg{
    flex: 2;
    min-width: 300px;
  }

  progress{
    background-color: lightgreen;
    border-radius: 10px;
    width: 100%;
  }

  .veszely figcaption{
    text-align: center;
  }

  .video-container {
    text-align: center;
    max-width: 95%;
  }

  video{
    width: 80%;
    height: auto;
  }

  .utso{
    margin-top: 50px;
  }

  #figyelem{
    padding: 10px;
    background-color: white;
    border: 2px solid darkred;
    font-weight: bold;
    font-style: italic;
    border-radius: 20px;
    color: red;
  }