
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
header{
  
  height: 180px;
}
.logo{width: 600px;
  height: 180px;}

main{width: 70%;
  min-width: 600px;
  max-width: 1300px;
  margin: 0 auto;
  background-color:    #f7f7fa;}

nav{display: flex;
  flex-direction: row;
}
#hamnav{
  width: 100%;
  background-color: whitesmoke;

}
#hmenu{
  display: flex;
  width: 100%;
  flex-direction: row;
  /*border: 3px solid red;*/
}
#hmenu a{
  height: 40px;
  line-height: 40px;
  background-image: linear-gradient( #AA579D, #871F7D);
  margin: 2px;
  text-align: center;
  text-decoration: none;
  color: white;
  font-family: calibri;
}
.rovid{
  width: 12% ;
} 
.hosszu{
  width: 28%;
}
#hmenu a:hover{ background-image:linear-gradient( #AA579D, white) }
#hamnav label, #ham { display:none; }



}

@media screen and ( max-width: 1200px )
{
  .rovid{
    font-size: 90%;
  }
  .hosszu{
    font-size: 80%;
  }
}


@media screen and ( max-width: 768px )
{
    #hmenu a{
       display: block;
       width: 100%;
       border-top: 1px solid lightgray;
  }
  #hamnav label{ 
      display:inline-block; 
      font-size: 120%;
      color: white;
      background-color:    #AA579D; 
  }

    #hmenu { display:none; }
    #hamnav input:checked ~ #hmenu {display: block;}
}

header{
  text-align: center;
}

.kk{
  float: left;
  width: 25%;
  padding: 10px;
  opacity: 0.3; 
  cursor: pointer; 
}


.kk:hover {
  opacity: 1;
}

/* float törlése. A sor utáni elem már nem kerül az oszlopok mellé */
.sor:after {
  content: "";
  display: table;
  clear: both;   
}

#ablak {
  position: relative;
  display: auto;
}

#nagyKep {
  width: 50%;
}

/* szöveg a nagy képen */
#imgText {
  position: absolute;
  bottom: 25px;
  left: 15px;
  color: white;
  font-size: 20px;
}

.bezar {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}