html{
  background-color: wheat;
}
body{
  background-color: wheat;
}
td {
  vertical-align: middle;
  text-align: center;
}
th {
  text-align: center;
}
.card {
  margin-top: 50px;
  height: auto;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}
.kepek{
  width: 150px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}
.leiras{
  font-size: 18px;
  font-style: italic;
  padding-top: 25px;
  padding-bottom: 25px;
  text-align: center;
}
h1{
  text-align: center;
}
.hir-nev{
  text-align: center;
  padding-top: 10px;
}
nav{
  background-color: white;
}
.cim{
  padding-top: 50px;
}
.alcim{
  padding-left: 20px;
}
.hir-kep{
  width: 300px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}
.hir-szoveg{
  margin-top: 20px;
}
.vissza{
  margin-left: 10px;
}
.leiras-piros{
  color: darkred;
}
.leiras-zold{
  color: darkgreen;
}
.nev{
  text-align: center;
  padding-top: 10px;
}
.szoveg-hir{
  margin-left: 10px;
  margin-top: 20px;
  font-size: larger;
}
a:link{
  text-decoration: none;
}
a:visited{
  text-decoration: none;
}
a:hover{
  text-decoration: none;
}
a:active{
  text-decoration: none;
}
body {margin: 0;}

ul.sidenav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 25%;
  background-color: red;
  position: fixed;
  height: 100%;
  overflow: auto;
}

ul.sidenav li a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}
 
ul.sidenav li a.active {
  background-color: #4CAF50;
  color: white;
}

ul.sidenav li a:hover:not(.active) {
  background-color: #555;
  color: white;
}

div.content {
  margin-left: 25%;
  padding: 1px 16px;
  height: 1000px;
}

@media screen and (max-width: 900px) {
  ul.sidenav {
    width: 100%;
    height: auto;
    position: relative;
  }
  
  ul.sidenav li a {
    float: left;
    padding: 15px;
  }
  
  div.content {margin-left: 0;}
}

@media screen and (max-width: 400px) {
  ul.sidenav li a {
    text-align: center;
    float: none;
  }
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: rgba(75, 52, 14, 0.998);
}

nav li {
  float: left;
}

nav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
nav li a:hover {
  background-color: darkgreen;
}
.aktiv {
  background-color: green;
  color: white;
}
nav a{
  color: white;
}
nav a:hover{
  color: white;
}
nav a:active{
  color: white;
}