body {
    background-color: #2b1a0a;
}

.header {
  margin: 0 auto;
  width: 900px;
  height: 166px;
  background-image: url('../img/header.jpg');
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-inner {
  width: 320px;
  height: 100px;
  background-color: #000000;
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-right: 0;
  padding-left: 10px;
  font-weight: bold;
}

.header-name {
  color: #e3b291;
  font-size: 2.1em;
  display: block;
  margin-top: 6px;
}

.header-title {
  color: #ae8062;
  letter-spacing: 7px;
  font-size: 1.5em;
  display: block;
  margin-top: -4px;
}

.main {
  margin: 0 auto;
  width: 900px;
  background-color: #2b1a0a;
}

.content {
  display: flex;
  flex-direction: column;
}

.content-hatter12 {
  width: 366px;
  height: 890px;
  background-image: url('../img/hatter_12.jpg');
  background-color: #e9cb91;
  background-repeat: no-repeat;
}

.content-hatter01 {
  width: 366px;
  height: 464px;
  background-image: url('../img/hatter_01.jpg');
  background-color: #e9cb91;
  background-repeat: no-repeat;
}

.content-hatter03 {
  width: 366px;
  height: 1333px;
  background-image: url('../img/hatter_03.jpg');
  background-color: #e9cb91;
  background-repeat: no-repeat;
}

.content-hatter05 {
  width: 365px;
  height: 810px;
  background-image: url('../img/hatter_05.jpg');
  background-color: #e9cb91;
  background-repeat: no-repeat;
}

.content-hatter09 {
  width: 502px;
  height: 850px;
  margin-left:20px;
  background-image: url('../img/hatter_02.jpg');
  background-color: #e9cb91;
  background-repeat: no-repeat;
}

.content-hatter {
  width: 100%;
  display: block;
}

.oldal {
  margin: 0 auto;
  width: 900px;
  background-color: #e9cb91;
  display: flex;
  align-items: flex-start;
}

.oldal-bal {
  width: 366px;
  margin-bottom: 25px;
}

.oldal-bal2 {
  width: 266px;
}

.oldal-jobb {
  width: 534px;
}

.oldal-jobb2 {
  width: 614px;
}

.oldal-tartalom {
  background-color: #f2e4cb;
  border: 9px solid #c79b67;
  margin-top: 15px;
  margin-right: 35px;
}

.oldal-tartalom-szoveg {
  color: #917339;
  line-height: 160%;
  font-size: 1.0em;
  padding: 20px;
}

.fooldal-menu {
  width: 366px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gomb {
  position: relative;
  display: block;
}

.gomb img {
  display: block;
  width: 100%;
}

.gomb .hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gomb:hover .hover {
  opacity: 1;
}

.fooldal-gomb img {
    display: block;
    transition: opacity 0.3s ease;
}

.fooldal-gomb2 img {
    display: block;
    transition: opacity 0.3s ease;
}

.fooldal-gomb {
    display: inline-block;
    background-image: url("../img/gomb_0000b.jpg");
    background-size: cover;
}

.fooldal-gomb2 {
    display: inline-block;
    background-image: url("../img/gomb_0000d.jpg");
    background-size: cover;
}

.fooldal-gomb:hover img {
    opacity: 0;
}

.fooldal-gomb2:hover img {
    opacity: 0;
}

.fooldal-gomb-bal img {
    display: block;
    transition: opacity 0.3s ease;
}

.fooldal-gomb-bal {
    display: inline-block;
    background-image: url("../img/gomb_0000b.jpg");
    background-size: cover;
	width: 160px;
    background-color: #c79b67;
    border: 10px solid #c79b67;
	margin-left:90px;
}

.fooldal-gomb-bal:hover img {
    opacity: 0;
}

.fooldal-gomb-tabla {
  width: 160px;
  background-color: #c79b67;
  border: 0px solid #c79b67;
  padding: 9px;
  display: inline-block;
  align-items: center;
  justify-content: center;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 oszlop */
  gap: 9px;
  background-color: #c79b67;
  padding: 9px;
  margin-top: 15px;
  margin-right: 12px;
  position: relative;
  right: 5px;
}

.galeria a {
  display: block;
}

.galeria img {
  width: 100%;
  height: auto;
  display: block;
}

.galeria-bal {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 oszlop */
  gap: 9px;
  background-color: #c79b67;
  padding: 9px;
  margin-top: 15px;
  margin-left:24px; 
  position: relative;
  right: 5px;
  width:333px;
}

.galeria-bal a {
  display: block;
}

.galeria-bal img {
  width: 100%;
  height: auto;
  display: block;
}

.galeria-bal .nagy {
  grid-column: span 2;
  grid-row: span 2;
}

.elerhetoseg-outer {
  background-image: url('../img/hatter04_ulo_ember.jpg');
  background-color: #e9cb91;
  background-repeat: no-repeat;
  float: right;
  width: 534px;
  height: 293px;
  display: flex;
  align-items: center;
}

.elerhetoseg-inner {
  font-family: Times New Roman, sans-serif;
  font-size: 1.2em;
  font-weight: 200;
  width: 70%;
  margin-top: 40px;
  text-align: center;
}

.elerhetoseg-inner span {
  color: #917339;
}

.elerhetoseg-inner::first-letter {
  font-size: 3.5em;
  font-weight: 200;
}


.elerhetoseg-inner::after {
    color: #917339;
	content: "lérhetőség:\A budaitiborgrafikus@gmail.com\A Minden jog fenntartva!\A 2026";
    white-space: pre-line;
}

.szoveg {
  background-color: #f2e4cb;
  border: 9px solid #c79b67;
  padding: 20px;
  margin-top: 15px;
  margin-right: 20px;
  position: relative;
  right: 5px;
  color: #917339;
  line-height: 1.3;
  text-align: justify;
}

.szoveg2 {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #f2e4cb;
  border: 9px solid #c79b67;
  padding: 20px;
  position: relative;
  right: 5px;
  color: #917339;
  line-height: 1.5;
}

.iniciale {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 1.5em;
  text-transform: uppercase
}

.iniciale::first-letter {
  font-size: 1.8em;
}

hr {
  margin-top: 20px;
  border: 1px solid #e2d4bb;
}

.footer {
  margin: 0 auto;
  width: 900px;
  height: 110px;
  background-color: #000000;
  background-image: url('img/footer.png');
  background-repeat: no-repeat;
  border-top: 2px solid #eeeeee;
}

