html {
  font-size: 16px;
}

.szoveg,
.form-input,
.form-textarea,
.form-checkbox label,
.form-radio-group label,
.form-label,
.footer,
.header,
.button,
.note-text,
.sidebar-content,
.sidebar-icon,
.skip-link {
  font-family: "Arial", sans-serif;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: white;
  display: flex;
  height: 100vh;
}

.szamonkeres-container {
  left: 12%;
  top: 12%;
  display: flex;
  position: fixed;
  flex-wrap: wrap;
}

.note-image {
  width: 20vw;
  height: 20vh;
  object-fit: contain;
  margin-bottom: 10px;
}

.note-text {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  text-align: center;
}

.sidebar-container {
  position: relative;
}

.sidebar {
  position: fixed;
  border-top-right-radius: 15px;
  left: 0;
  width: 20.5%;
  height: 100vh;
  background-color: #484848;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(-86%);
  transition: transform 0.3s ease;
  z-index: 10;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-content {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  display: flex;
  bottom: 5vh;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  flex-direction: column;
  align-self: center;
  gap: 10px;
}

.sidebar.open .sidebar-content {
  opacity: 1;
  visibility: visible;
}

.vonal {
  width: 10%;
  height: 1%;
  background-color: white;
  border-radius: 15px;
  margin-top: 15px;
}

.vonal1 {
  width: 10%;
  height: 30%;
  background-color: white;
  border-radius: 15px;
  margin-top: 15px;
}

.footer {
  position: fixed;
  left: 3.5%;
  bottom: 0;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  width: 96vw;
  height: 3.5%;
  background-color: #484848;
  display: flex;
  justify-content: center;
}

.jegyzetfooter {
  opacity: 98%;
  position: fixed;
  left: 3.5%;
  bottom: 0;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  width: 96vw;
  height: 90vh;
  background-color: #484848;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}

.szoveg {
  justify-self: left;
  align-self: flex-start;
  position: relative;
  margin-left: 20px;
  margin-top: 20px;
  overflow-y: auto;
}

.jegyzetfooter {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #888 #484848;
}

.tabla {
  border: none;
  border-collapse: collapse;
  width: 10%;
  table-layout: fixed;
  color: black;
}

.tabla th,
.tabla td {
  border: 1px solid white;
  padding: 0.5rem;
  text-align: center;
  width: 50%;
}

.tabla th:nth-child(2){
  background-color: white;

}

.tabla td:first-child,
.tabla th:first-child {
  background-color: #f0f0f0;
}

.tabla tbody {
  background-color: #ffffff;
}

.sidebar-icon {
  font-size: 2rem;
  border-top-right-radius: 15px;
  position: fixed;
  top: 1%;
  right: 4%;
  background-color: #484848;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 11;
}

.video{
  width: 18%;
}

.main {
  flex: 1;
  background-color: #1e1e1e;
  background-image: url('hatter.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  flex-direction: column;
}

.header {
  position: relative;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  top: 3%;
}

.button {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  background-color: #484848;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.kep {
  width: 18%;
}

.kep:hover {
  transform: scale(1.2);
}

.form-container {
  color: white;
  padding: 2%;
  width: 90%;
  font-family: Arial, sans-serif;
}

.media-row {
  position: relative;
  left: 5%;
}

.form-label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  width: 90%;
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 8px;
  background-color: white;
  color: #484848;
  font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: 2px solid #888;
}

.form-textarea {
  resize: none;
  min-height: 80px;
}

.form-radio-group {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.form-radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-checkbox {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.form-button {
  padding: 10px 20px;
  background-color: #666;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-button:hover {
  background-color: #888;
}

.skip-link {
  display: none;
  top: -40px;
  right: 0;
  padding: 8px;
  z-index: 1000;
  text-decoration: none;
}

a.button,
a.note {
  text-decoration: none;
}

a:visited {
  color: darkgray;
}

.skip-link:focus {
  top: 0;
}

h1,
h2 {
  color: lightblue;
}

.red {
  color: red;
}

@media print {
  .sidebar,
  .sidebar-container,
  .sidebar-content,
  .sidebar-icon,
  .footer,
  .header,
  nav,
  video {
    display: none !important;
  }

  img {
    max-width: 300px;
    height: auto;
  }

  body {
    color: black;
    background: white;
    font-size: 12pt;
    line-height: 1.5;
  }

  .main {
    background: none !important;
  }

  .main,
  .szoveg {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  a {
    text-decoration: none;
    color: black;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  @page {
    margin: 1.5cm;
  }
}
