* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
  
body{
  background-image: url("media/hatter.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 20px;
}
  
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
  padding: 20px;
  color: white
}

footer{
  text-align: center;
}

.logo img {
height: 80px;
}

h1 {
    font-size: 3rem;
    flex-grow: 1;
    text-align: center;
    margin-bottom: 30px;
}
  
  
nav a {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid black;
    text-decoration: none;
    color: black;
    font-weight: bold;
    border-radius: 4px;
}
  
  nav a.active {
    background-color: black;
    color: white;
}


  .tippjatek {
    font-family: Arial, sans-serif;
    background-color: #fff;
    padding: 30px;
    max-width: 700px;
    margin: auto;
    color: #222;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  label, p {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
  }
  
  input[type="text"],
  select,
  textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  
  textarea {
    resize: vertical;
  }
  
  .radio-group label {
    display: block;
    font-weight: normal;
    margin: 4px 0;
  }
  
  .required {
    color: red;
  }
  
  .form-group input[type="checkbox"] {
    margin-right: 10px;
  }
  
  .form-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
  }
  
  input[type="submit"],
  input[type="reset"] {
    padding: 10px 20px;
    font-weight: bold;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  input[type="submit"]:hover,
  input[type="reset"]:hover {
    background-color: #444;
  }


  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    nav {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 10px;
    }
  
    nav a {
      width: 100%;
      max-width: 200px;
      text-align: center;
    }
  
    .logo img {
      height: 60px;
    }
  
    h1 {
      font-size: 2rem;
    }
  }