
header {
    color :white;
    background-color:black;
    width: 100%;
    height: 10rem;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
    display:flex;
    align-items:center;
    flex-wrap: wrap;
    gap:11%;
    justify-content: space-evenly;
    justify-content: flex-end;


}
.mod{
    font-size:small;
}
a{
    font-size:2rem;
    background-color:black;
    color:white;
    border:none;
}
a:hover{
    color:gray;
}
.nav-link.active {
    color: gray;
}
button{
    background-color:black;
    color:white;
    border:none;
}
button:hover{
    color:gray;
}
strong{
    color:black;
    font-weight:bolder;
}
.szoveg {
  text-align:left;
}
i{
    color:black;
}
mark{
    color:white;
    background-color:gray;
}
body{
    background-color:darkgray;
    color:white;
    justify-content: center;
    align-items: center; 
    text-align:center;
    margin:0;
    padding:0;
}
img {
    width:50%;
    height: auto;
}
.konyv{
    width:20rem;
    height:auto;
}
.link{
  font-size:medium;
  background-color:darkgray;
  color:white;
  text-decoration: underline;
}
form{
    margin-top: 10rem;
    align-items:center;
}
form table{
    display:flex;
    justify-content: center;
}
form tr {
    height:1rem;
}
form td {
    width: 5rem;
    white-space:nowrap;
}
a {
    text-decoration: none; 
    color: inherit; 
}
.mod{
    font-size:small;
}
.cim{
    margin-right:22rem;
}
footer{
    text-align:center;
    height: 5rem;
    background-color:black;
    color:white;
    display:flex;
    justify-content: space-evenly;
    display:flex;
    align-items:center;
    flex-wrap: wrap;
    gap: 25%;
}
@media (max-width: 768px) {
    main {
      background-color: gray;
      background-image: none;
    }
    h1 {
      margin:0;
    }
    header {
        flex-direction:column;
        justify-content: center;
        height: 15rem;
    }
    footer {
        flex-direction:column;
        justify-content: center;
        height:7.5rem;
    }
    img {
        width:100%;
        height: auto;
    }
  }
  @media print {
    body {
      background: white !important;
      color: black !important;
      font-family: Arial, sans-serif;
      font-size: 1rem;
      line-height: 1.5;
      padding: 1.5rem;
      margin: 0;
      text-align: left;
    }
  
    header,
    footer,
    nav,
    button,
    form,
    .mod,
    .modn,
    .cim {
      display: none !important;
    }
  
    main {
      background: none !important;
      color: black !important;
      -webkit-text-stroke: 0 !important;
      height: auto !important;
      padding: 0;
      margin: 0;
      text-align: left;
      display: block !important;
      letter-spacing: normal !important;
    }
  
    h1, h2, h3, strong {
      color: black !important;
      -webkit-text-stroke: 0 !important;
      margin-top: 1rem;
      margin-bottom: 0.5rem;
    }
  
    i {
      color: black !important;
    }
  
    mark {
      background-color: lightgray !important;
      color: black !important;
    }
  
    a {
      color: black !important;
      text-decoration: underline;
    }
  
    a::after {
      content: " (" attr(href) ")";
      font-size: 10pt;
      color: gray;
    }
  
    img {
      width: 50% !important;
      height: auto !important;
      display: block;
      margin-bottom: 1rem;
    }
  
    .konyv {
      width: 40% !important;
      height: auto !important;
    }
  
    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
    }
  
    td, th {
      border: 1px solid #000;
      padding: 0.5rem;
    }
  
    .page-break {
      page-break-before: always;
    }
  }
  