body {
  margin: 0;
  padding: 0;
  background-image: url('images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.3);
  z-index: -1;
}

nav.navbar{
  background-color: rgb(200, 200, 200);
}

a.outsidelink:visited {
  color: rgb(255, 170, 238);
  background-color: transparent;
  text-decoration: none;
}

.custom-btn {
  background-color: rgba(0, 0, 0, 0.5);
  width: 8%;
  transition: background-color 0.3s;
  border: none;
}

.custom-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

section.formsection2{
  background-color: rgb(224, 255, 237);
  padding: 10px;
  border-radius: 18px;
}

section.formsection1{
  background-color: rgb(198, 255, 221);
  padding: 10px;
  border-radius: 18px;
}

section.formbutton{
  padding: 10px;
  border-radius: 18px;
}

.kisszoveg{
  font-family: sans-serif, 'Segoe UI', Tahoma, Geneva, Verdana;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}




body.high-contrast {
  background-color: black !important;
  color: white !important;
  font-family: 'Arial Black', Gadget, sans-serif !important;
  text-transform: uppercase !important;
  background-image: none !important;
}

body.high-contrast div {
  background-color: #000 !important;
  color: #fff !important;
  border: 2px solid #fff;
}

body.high-contrast::before {
  display: none;
}

body.high-contrast nav.navbar {
  background-color: #000 !important;
}

body.high-contrast a,
body.high-contrast a:visited {
  color: yellow !important;
  text-decoration: underline !important;
}

body.high-contrast .custom-btn {
  background-color: #000 !important;
  color: #fff !important;
  border: 2px solid white !important;
}

body.high-contrast .custom-btn:hover {
  background-color: #333 !important;
}

body.high-contrast section.formsection1,
body.high-contrast section.formsection2,
body.high-contrast section.formbutton {
  background-color: #000 !important;
  color: #fff !important;
  border: 2px solid white;
}

body.high-contrast figcaption {
  color: #fff !important;
  background-color: #000 !important;
  border-top: 1px solid #fff;
  padding: 4px;
}

body.high-contrast .kisszoveg {
  font-family: 'Arial Black', sans-serif !important;
}

.contrast-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}