html {
  padding: 0;
  margin: 0;
  overflow-y: scroll;
}

body {padding: 0; margin: 0;}

p {padding: 0; margin: 0;}

img {border: none; padding: 5px;}

#header {
  width: 100%;
  height: 270px;
  background: transparent url("images/header_bg_nyito.png") repeat-x top left;
}

#menu {
  width: 100%;
  height: 27px;
  background: #33822e url("images/menu_bg_nyito.png") repeat-x top left;
}

#text {
  letter-spacing: 3px;
  padding-top: 5px;
  text-align: center;
  font-family: Arial;
  font-size: 13px;
  color: #FFFFFF;
  vertical-align: bottom;
}

#logo {
  width: 400px;
  margin: 0 auto;  
  padding-top: 170px;
}

#content {
  width: 100%;
  height: 480px;
  background: #e8e3cd url("images/content_bg_nyito.png") repeat-x top left;
}

#fejlesztes {
  width: 500px;
  margin: 0 auto;
  padding-top: 20px;
}

#fejlesztes > p {
/*  letter-spacing: 1px; */
  font-family: Arial;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  color: #33822e;
}

#fejlesztes p a {
  text-decoration: none;
  color: #b1b3b4;
}

#footer {
  width: 100%;
  height: 60px;
  background: #33822E url("images/footer_bg_nyito.png") repeat-x top left;
}

#footer-text {
  padding-top: 10px;
  text-align: center;
  font-family: Arial;
  font-size: 13px;
  color: #FFFFFF;
  vertical-align: bottom;
}

@font-face {
 font-family: Cadem;
 src: url("CADEM.eot"); /* EOT file for IE */
}
@font-face {
 font-family: Cadem;
 src: url("CADEM.TTF"); /* TTF file for CSS3 browsers */
}

@font-face {
 font-family: Freehand;
 src: url("freehand_575_bt-webfont.eot"); /* EOT file for IE */
}
@font-face {
 font-family: Freehand;
 src: url("freehand_575_bt-webfont.ttf"); /* TTF file for CSS3 browsers */
}

h1 {
  font-size: 50px;
  text-align: center;
  font-family: Freehand, Arial;
  color: #036b2a;
  padding: 10px;
  margin: 0;
}

h2 {
  font-size: 36px;
  text-align: center;
  font-family: Freehand, Arial;
  color: #036b2a;
  margin: 0;
  padding: 10px;
}

h3 {
  font-size: 28px;
  text-align: center;
  font-family: Freehand, Arial;
  color: #036b2a;
  margin: 0;
  padding: 10px;
}



/*  Responsive 0-520  */
 
@media only screen
and (max-width: 520px) {

  #fejlesztes, #logo{
    max-width: 100%;
  }

  #header, #menu, #content, #footer{
    height: auto;
  }

  img {
    max-width: 97%; 
    height: auto;
  }
  
}