* {
  position: relative;
  box-sizing: border-box;  
  margin: 0;
  padding: 0;  
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  font-weight: normal;
}

body {
  color: #424242;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  overflow-x: hidden;
  text-align: justify;
}

body,
html {
  width: 100%;
  height: auto;
  min-height: 100%;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -o-text-size-adjust: none;
  -webkit-text-size-adjust: none;  
}

a {
  cursor: pointer;
  text-decoration: none;  
}

img {
  display: block;
  max-width: 100%;
}

*:focus {
  outline: none !important;
}

.flex {
  display: flex;
}

.col {
  flex-direction: column;
}

.hc {
  justify-content: center;
}

.vc {
  align-items: center;
}

.noscroll {
  overflow-y: hidden;
}

.fixed {
  position: fixed;  
}

/* -------------------------------------------------------------------------- */

@keyframes pulsate {
  0% { 
    opacity: 0.2;
  }
  50% { 
    opacity: 1.0;
  }
  100% { 
    opacity: 0.2;
  }
}

@keyframes spin {
  from {
    transform:rotate(0deg);
  }
  to {
    transform:rotate(360deg);
  }
}

/* -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 100%;
}

header .container,
footer .container,
section#location-container .container {
  z-index: 20;
}

section#intro-container .banner-container img {
  z-index: 5;
}

.mask::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: url(../img/mask.png) center center no-repeat;
  background-size: cover;
  mix-blend-mode: multiply;
  -webkit-mix-blend-mode: multiply;
  -moz-mix-blend-mode: multiply;
  z-index: 10;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1000;
  background: #2f3544;
}

#preloader i {
  color: #2170d8;
  font-size: 30px;
  animation-name: spin;
  animation-duration: 2000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  -webkit-animation-name: spin;
  -webkit-animation-duration: 2000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
}

/* -------------------------------------------------------------------------- */

@media only screen
and (min-width : 1100px) {
  .ease:hover {
    opacity: 0.6;
  } 
  .zoom:hover img {
    transform: scale(1.1) rotate(1deg);
    -o-transform: scale(1.1) rotate(1deg);
    -ms-transform: scale(1.1) rotate(1deg);
    -moz-transform: scale(1.1) rotate(1deg);
    -webkit-transform: scale(1.1) rotate(1deg);
  }  
}

.transition {
  transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;    
}

.pulsate {
  animation: pulsate 3s ease-out;
  animation-iteration-count: infinite;  
  -webkit-animation: pulsate 3s ease-out;
  -webkit-animation-iteration-count: infinite; 
  -moz-animation: pulsate 3s ease-out;
  -moz-animation-iteration-count: infinite;
}

/* -------------------------------------------------------------------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #2f3544;
  box-shadow: 0 0 10px rgba(0,0,0,0.8);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.8);
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.8);
  z-index: 100;
}

header .logo-container {
  width: auto;
  height: 50px;
}

header .logo-container img {
  width: auto;
  height: 100%;
}

header .mail-button,
header .phone-button {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  background: rgba(33,112,216,0.2);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.4);
  border: #ffffff 2px solid;
  margin-left: auto;
}

header .phone-button {
  display: none;
}

header .mail-button i,
header .phone-button i {
  font-size: 21px;
  color: #ffffff;
}

/* -------------------------------------------------------------------------- */

.highlight-box {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  width: 100%;
  height: 50px;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.4);
  color: #ffffff;
}

.highlight-box i {
  margin-right: 5px;
}

.highlight-box.l-blue {
  background: #2170d8;
  font-size: 24px;
  letter-spacing: 1px;
  margin: 20px 0;
}

.highlight-box.d-blue {
  background: #2f3544;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

section#intro-container {
  width: 100%;
  height: 520px;
  margin-top: 80px;
}

section#intro-container .banner-container {
  width: 50%;
  z-index: 10;
}

section#intro-container .banner-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#intro-container .intro-text-container {
  width: calc(50% + 50px);
  background: rgba(229,236,255,0.8);
  margin-left: -50px;
  z-index: 20;
}

section#intro-container .intro-text-container .more {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  background: #2170d8;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.4);
  border: #ffffff 2px solid;
  margin: 20px auto 0 auto;
}

section#intro-container .intro-text-container .more i {
  font-size: 30px;
  color: #ffffff;
}

section#intro-container .intro-text-container .container {
  width: 370px;
  height: max-content;
  margin: 0 0 0 75px;
}

section#location-container {
  width: 100%;
  height: 140px;
  background: #2f3544;
}

section#location-container h2,
section#location-container p {
  color: #ffffff;
}

section#location-container h2 {
  margin-bottom: 10px;
}

section#location-container i {
  font-size: 80px;
  color: #ffffff;
  margin-right: 30px;
}

section#history-container {
  padding: 50px 0;
}

section#gabor-container {
  width: 100%;
  height: 350px;
  background: rgba(229,236,255,0.8); 
}

section#gabor-container .image-container {
  width: 400px;
  height: 400px;
  position: absolute;
  top: -25px;
  left: 0;
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  overflow: hidden;  
}

section#gabor-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

section#gabor-container .contact-container {
  width: 370px;
  height: max-content;
  margin-left: 430px;
}

section#gabor-container .contact-container h2,
section#gabor-container .contact-container a:not(.highlight-box) {
  text-align: center;
  display: block;
  color: #424242;
}

section#offer-container {
  margin-top: 45px;
}

section#offer-container .page-container {
  width: calc(50% - 15px);
}

section#offer-container .page-container:first-child {
  margin-right: 30px;
}

section#offer-container h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 18px;
}

section#offer-container a {
  width: 100%;
  height: 280px;
}

section#offer-container a .image-mask {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  overflow: hidden;
}

section#offer-container a .image-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#offer-container a span {
  margin-top: -50px;
}

footer {
  width: 100%;
  height: 30px;
  background: #2170d8;
  margin-top: 80px;
}

/* -------------------------------------------------------------------------- */

#cookie {
  position: fixed;
  z-index: 2000;
  bottom: 0;
  left: 0;
  background: #2170d8;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  padding: 15px 30px;
}

#cookie a {
  margin-top: 15px;
}

#cookie a i {
  font-size: 30px;
}