body {
  margin: 0;
  overflow-x: hidden;
}

header {
  background-image: url('/res/background/contact-intro.jpg');
  margin-left: 280px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: 0px;
  padding: 30px;
  flex: 1;
}

h1 {
  font-size: 99px;
  font-family: 'Georgia', serif;
  font-weight: bold;
  text-align: center;
  color:rgb(173, 147, 3);
  margin-top: 20px;
  margin-bottom: 10px;
}

h2 {
  font-size: 40px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bolder;
  text-align: center;
  color:rgb(50, 50, 50);
  margin-top: 20px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.sidebar {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: url('/res/background/contact-sidebar.jpg') no-repeat center center;
  background-size: cover;
  padding: 20px;
  box-sizing: border-box;
  border-right: 0px solid #ccc;
  text-align: center;
  overflow-y: auto;
  z-index: 1000;
}

.logo {
  display: block;
  width: 100px;
  margin: 0 auto 20px;
}

.brand {
  display: inline-block;
  font-family: 'Snell Roundhand', 'Great Vibes', cursive;
  background: rgb(50, 50, 50);
  color: white;
  padding: 5px 15px;
  margin: 0 auto 40px;
  border-radius: 2px;
  font-size: 35px;
  font-weight: bold;
}

.menu a {
  display: block;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}

.dropdown {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.dropdown > a {
  position: relative;
  left: 0px;
}

.arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.3s ease;
  pointer-events: none;
  font-size: 20px;
  font-weight: bold;
  user-select: none;
}

.dropdown.open .arrow {
  transform: translateY(-50%) rotate(180deg);
}

.submenu {
  display: none;
  flex-direction: column;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.dropdown.open .submenu {
  display: flex;
}

.submenu a {
  display: block;
  padding-left: 0px;
  margin-bottom: 5px;
  margin-top: 10px;
  font-size: 15px;
  text-align: center;
  color: #000000;

}

.menu-toggle {
  top: 15px;
  background: none;
  z-index: 1001;
}

.ibck {
  text-align: left;
  font-family: 'Times New Roman', Times, serif;
  padding: 65px ;
  font-size: 35px;
  font-weight: lighter;
  margin-left: 300px;
  background-image: url('/res/background/contact-main.jpg');
}

.inm {
  color: rgb(0, 89, 255);
  padding-left: 200px;
  padding-bottom: 15px;
}

.imch {
  color: rgb(255, 0, 4);
  padding-left: 200px;
  padding-bottom: 15px;
}

.iml {
  color: rgb(186, 255, 188);
  padding-left: 200px;
  padding-bottom: 15px;
}

.tl {
  color: rgb(255, 255, 65);
  padding-left: 200px;
  padding-bottom: 50px;
}

a {
  color: inherit;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  .nadpis {
    margin-left: 0;
    padding-left: -10px;
    padding-right: 20px;
    text-align: center;
    font-size: 80px;
  }

  .podnadpis,
  .ibck {
    margin-left: 0;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    font-size: 30px;
  }

  .inm,
  .imch,
  .iml,
  .tl {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.95);
    transition: left 0.3s ease;
    z-index: 1000;
  }

.sidebar.open {
    left: 0;
  }

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
  background: transparent;
  color: #000;
  outline: none;
  box-shadow: none;
  border: none;
}

.brand{
padding-left: 50px;
}

  .menu-toggle {
    position: fixed;
    top: 0px;
    left: 1px;
    margin-left: -150px;
    color: rgb(0, 0, 0);
    font-size: 20px;
    display: grid;
  }
}

