@font-face {
  font-family: karaFont;
  src: url(./mtcors.ttf);
}
@font-face {
  font-family: bookFont;
  src: url(./book.ttf);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --c-szoveg: #024182;
  --c-szoveg-white: #eeeeee;
  --c-header: #282d3c77;
}
html {
  overflow: hidden;
  width: 100%;
  font-size: 1em;
}

body {
  font-family: bookFont;
  margin: 1px;
  display: flex;
  touch-action: manipulation;
  margin: 1px;
  position: fixed;
  background-color: transparent;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  width: 100%;
  height: 100vh;

}
#site{
  display: block;
  width: 100%;
  height: 100%;
}


#header{
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
  height: 6rem;
}
#main{
  position: fixed;
  top: 6rem;
  left: 0;
  bottom: 0;
  /*bottom: 3rem;*/
  width: 100%;
  overflow-y: auto;
  
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: normal;
  align-items: normal;
  align-content: normal;
  overflow-x: hidden;
}

#main_left, #main_right{
  display: block;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  align-self: stretch;
  order: 0;
  width: 5%;
}

#main_left{
  background: linear-gradient(270deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 100%);
}
#main_right{
  background: linear-gradient(90deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 100%);
}
#main_content{
  /*display: flex;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  */
  width: 90%;
  background-color: rgba(255,255,255,0.6);
}

.content-flex{
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;

  width: 100% !important;
  
  flex-basis: 100%;
}
.content_left{
  
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 1;
  -webkit-flex: 0 1 1;
  -ms-flex: 0 1 1;
  flex: 0 1 1;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  flex-basis: 100%;
  width: 100%;

}

.content_right{
  
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 2;
  -webkit-flex: 0 1 1;
  -ms-flex: 0 1 1;
  flex: 0 1 1;
  -webkit-align-self: stretch;
  -ms-flex-item-align: stretch;
  align-self: stretch;
  width: 100%;
}


#footer{
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3rem;
  width: 100%;
  background: #5555ff;
}

h3,h2,h1{
  font-family: karaFont;
  display: block;
  text-align: center;
  color: var(--c-szoveg);
  
}
h1{
  font-size: 2.6rem;
  padding: 1rem;
  padding-top: 3rem;
}
h2{
  font-size: 2rem;
  padding: 1rem;
}
h3{
  font-size: 1.6rem;
  text-align:left;
  background: transparent;
  
}


p{
  /*font-family: bookFont;*/
  font-family: 'Arial', Helvetica;
  font-size: 1.3rem;  
  text-align: justify;
  color: var(--c-szoveg);
  padding: 0.8rem 0;
}
.welcome{
  background: url(img/hatter_1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  background-attachment: fixed;
}
.aboutus{
  background: url(img/hatter_2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  background-attachment: fixed;

}
.gallery{
  background: url(img/hatter_3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  background-attachment: fixed;

}
.services{
  background: url(img/hatter_4.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  background-attachment: fixed;

}
.selfie{
  background: url(img/hatter_selfie.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  background-attachment: fixed;

}
.contact{
  background: url(img/hatter_5.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
  background-attachment: fixed;

}
.felsorolas{
  list-style: inside;
  max-width: 80%;
  margin-left: 10%;
}
.felsorolas li{

  font-family: 'Arial', Helvetica;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--c-szoveg);
}
.felsorolas li p{
  margin-left: 1.3rem;
}

#gr_outer{
  display: grid;
  grid-template-columns: 1fr;
  
  
  border-collapse: collapse;
  grid-gap: 1rem;
}
.gr_inner{
  /*max-width: 24%;*/
  display: grid;   
  border: 1px solid var(--c-szoveg);
  /*1 1 1 2 1 1 1 2 1 2 3*/
  grid-gap: 1px;
  grid-template-rows: 1fr 1fr 1fr 2fr 1fr 1fr 1fr 2fr 1fr 2fr 3fr;
  color: var(--c-szoveg);
}
.gr_inner div{
  
  box-shadow: 0 0 0 1px var(--c-szoveg);
  padding: 0.4rem;
}

.gr_inner div:nth-child(1), .gr_inner div:nth-child(2){
  font-weight: bold;
  font-style: italic;

}

input[type="text"],
select,
textarea {
  font-size: 0.8rem;
  width: 100%;
  padding: 0.5rem 0.5rem;
  border: 1px solid #ccc;
  outline: none;
  border-radius: 4px;
  resize: vertical;
  margin-bottom: 0.8rem;
  /*margin-left: 5%;*/
  font-size: 1rem;
}
label {
  font-size: 1rem;
  padding: 0.4rem 0.4rem;
  display: inline-block;
  /*margin-left: 5%;*/
}
input[type="submit"] {
  background-color: rgb(56, 46, 208);
  color: white;
  padding: 0.5rem 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  margin-right: 5%;
}
input[type="submit"].delit{
  background-color: #dc143c;
}
textarea{
  resize: none;
  height: 8rem;
}


input[type="text"]:focus,textarea:focus {
  outline: none;
  border: 1px solid rgb(56, 46, 208);
  box-shadow: 0 0 3px rgb(56, 46, 208);
}

input[type="text"].missing,textarea.missing {
  border: 1px solid #dc143c;
  box-shadow: 0 0 3px #dc143c;
}
.details_button{
  font-family: karaFont;
  height: 2.3rem;
  font-size: 1.9rem;
  line-height: 2.3rem;
  color: var(--c-szoveg);
  background:rgba(56, 46, 208,0.1);
  text-indent: 1.5rem;
  text-align: left;
}
.details_text{
  display: none;
}
.details_text p{
  color: var(--c-szoveg);
  background:rgba(56, 46, 208,0.05);
  padding: 0.8rem 1.5rem;
}
.details_text h3{
  background:rgba(56, 46, 208,0.05);
  padding: 1.5rem 1.5rem;
}

.error_text{
  color: #dc143c;
  margin-top: -0.4rem;
  display: none;
  width: 100%;
  margin-bottom: 0.8rem;
}
#mail_status{
  color: #14dc3c;
  display: none;
  width: 100%;

}


#galleries_list{
  width: 100%;
}

.one_gallery{
  
  margin-bottom: 3rem;

}
.slide{
  /*border: 1px solid red;*/
  position: relative;
  margin-bottom: 4rem;
  box-shadow: rgba(2,65,130,0.5);
}


.fleft, .fright{
  min-height: 300px;
  vertical-align: center;

}
.fleft p, .fright p{
  padding-top: 0rem;
  padding-bottom: 1.6rem;
}

.fleft .img_holder{
  float: left;
  margin-right: 2rem;
  
  display: block;
  max-width: 300px;
  max-height: 300px;
}
.fright .img_holder{
  float: right;
  margin-left: 2rem;
  display: block;
  max-width: 300px;
  max-height: 300px;
}

.fright img, .fleft img{
  max-width: 300px;
  max-height: 300px;
}
.fleft{
  background: linear-gradient(90deg, rgba(2,65,130,0.4) 0px, rgba(2,65,130,0) 300px);
}
.fright{
  background: linear-gradient(270deg, rgba(2,65,130,0.4) 0px, rgba(2,65,130,0) 300px);
}

b.jump{

  padding: 0.1rem 0.4rem;
}

b.jump:hover{cursor: pointer;}

#jump_selfie{
  font-weight: bold;
  font-style: italic;
  color: var(--c-szoveg) !important;
}

.centered{
  width: 100%;
  text-align: center;
  justify-content: center;
  background-color: rgba(56, 46, 208,0.05);
  position: relative;
}

.centered h4{
  color:var(--c-szoveg);
  font-family: Arial, Helvetica, sans-serif;
  display: inline-block;
  
  text-align: center;
}

p img{
  display: inline-block;
  height: 2rem;
  vertical-align: middle;

}

p a{
  text-decoration: underline;
}
p a:visited{
  color: var(--c-szoveg);
}

img.video{
  width: 32%;
  display: inline-block;
  
}

#gdpr{
  width:20px;
  height:20px;
  vertical-align: top;
  margin-bottom: 1rem;

}