body{
    padding:0;
    margin:0;
}
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;
}
main {
    background-image: url("../media/kezdo.webp"); 
    background-size: contain; 
    background-size: cover;
    background-position: center ; 
    background-repeat: no-repeat; 
    text-align: center;
    color:white;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    height: 80rem;  
    margin: 0;
    padding: 0;
    -webkit-text-stroke: 0.16rem black; 
    letter-spacing: 0.4rem;
    display: flex;
    flex-direction:column;
    align-items:center;
    justify-content: center;

  }
h1
{
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size:6rem;
    align-items:center;
    margin: 0;
}
a {
    text-decoration: none; 
    color: inherit; 
}
h2{
    font-size:3.1rem;
    align-items:center;
    padding-top: 0;
    margin-top: 0;
    
}
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;
      -webkit-text-stroke: none; 
    }
    h1 {
      font-size:4rem;
    }
    h2 {
      font-size:2.1rem;
    }
    header {
        flex-direction:column;
        justify-content: center;
        height: 15rem;
    }
    footer {
        flex-direction:column;
        justify-content: center;
        height:7.5rem;
    }
}
@media print {
    body {
      color: black;
      background: white;
      text-transform: none;
      font-size: 12pt;
      line-height: 1.5;
      padding: 1rem;
      margin: 0;
    }
  

    main {
      background: none !important;
      color: black;
      -webkit-text-stroke: 0;
      height: auto;
      padding: 2rem;
      text-align: left;
      justify-content: flex-start;
      align-items: flex-start;
    }
  

    h1, h2 {
      color: black;
      -webkit-text-stroke: 0;
      letter-spacing: normal;
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
  

    a::after {
      content: " (" attr(href) ")";
      font-size: 10pt;
      color: gray;
    }
  
    header,
    footer,
    button,
    nav,
    .mod,
    .modn {
      display: none !important;
    }
  
    a, button {
      font-size: inherit;
      color: black;
      background: none;
      border: none;
    }
  

    .page-break {
      page-break-before: always;
    }
  }
  