* {box-sizing:border-box}
html {
  background-image     : url("../media/bg.jpg");
  background-attachment: fixed;
  background-size      : cover;
  background-color     : #d06903cb;
}
body {
  font-family     : Arial, sans-serif;
  margin          : 10px auto;
  padding         : 10px 0 0 0;
  background-color: #f9f9f9;
  color           : #333;
  line-height     : 1.6;
  border-radius   : 10px;
  border          : 2px solid black;
  max-width       : 1000px;
  box-shadow      : 5px 5px 10px black;
}
a:link {
  color: orangered;
  background-color: transparent;
}
a:visited {
  color:darkred;
  background-color: transparent;
}
a:hover {
  color: white;
  background-color: coral;
}
a:active {
  color: goldenrod;
  background-color: transparent;
}

#fomenu ul {
  list-style-type: none;
  margin: 1em 0em;
  margin-top: 0;
  padding: 0em;
  overflow: hidden;
  background-color: lightgray;
  color: black;
}
#fomenu li {
  float: left;
  border-right: 2px solid #bbb;
}
#fomenu li:nth-child(4) {
  border-right: none;
}
#fomenu li a {
  display: block;
  text-align: center;
  padding: 1em;
  text-decoration: none;
}
#fomenu li a:hover {
  background-color: gray;
  color: white;
}
#fomenu li a.active:hover {
  background-color: lightsalmon;
  color: white;
}
.sideIcon{
  text-align: center;
  display: block;
  padding: 1em 0.5em;
}
#fomenu .active {
  background-color: chocolate;
  color: white;
}
#fomenu b{
  font-size: 200%;
}
nav#fomenu {
  font-size     : 1rem;
  text-transform: uppercase;
}
nav#fomenu a {
  padding: 1em 1.5em;
}

#fomenu .icon {
  display: none;
  background-color: darkgray;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 1000px) {
  .topnav li:not(:nth-child(2)) {display: none;}
  #fomenu .icon {
    float: right;
    display: block;
  }
}
@media screen and (max-width: 1000px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  #fomenu.responsive li:not(:first-child) {
    float: none;
    display: block;
    text-align: left;
    text-align: left;
    border: 0px;
  }
}
nav#tartalomra a {
  position: absolute;
  left    : -9999px;
}
nav#tartalomra a:focus {
  position: static;
}

footer {
  background-color: lightsalmon;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  font-family:'Times New Roman', Times, serif;
}
footer a:link{
  color: blue;
}
footer a:visited{
  color:aqua;
}