
/*=============================================
    GENERAL
=============================================*/
:root {
  --green: #39AC7B;
  --white: #ffffff;
  --light-grey: #E5E5E5;
}


@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&display=swap');
html {
  position: relative;
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  font-size: 18px;
  overflow-x: hidden;
  position: relative;
  max-width: 100%;
}
h2, #offer h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: center;
}
p, li {
  font-size: 0.9rem;
}
a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease-in;
}
a:hover {
  color: #b7b7b7;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
img {max-width: 100%;}
.no-padding {padding: 0;}
.container-fluid {
  padding: 0;
}

/*=============================================
    HEADER
=============================================*/
.preloader {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  background: #fff;
  height: 100vh;
  z-index: 1000;
  opacity: 0;
  width: 100vw;
  visibility: hidden;
  transition: opacity 400ms ease-in-out, visibility 0s 400ms;
}
.show-preloader {
  visibility: visible;
  opacity: 1;
}
.preload_box {
  max-width: 36%;
}
/*=============================================
    HEADER
=============================================*/
  
header.header-fixed {
  position: fixed;
  z-index: 1;
  background: rgb(255 255 255 / 72%);
  width: 100%;
}
.nav-container {
  position: absolute;
  flex-direction: column;
  max-width: 100%;
  right: 0;
  padding-top: 60px;
  height: 100vh;
  justify-content: center;
  background: #b7b7b7;
  z-index: 1000;
  top: 0;
  right: -100%;
  transition: right 0.3s ease-in-out;
  width: 100%;
}
.navbar {
  width: 100%;
}
#main-menu .menu-item a {color: #fff;}
.move-in .navbar {
  margin-top: 0;
}
.move-in .menu-item a {color: #fff;}
.navbar-header {
  flex-wrap: nowrap;
  position: relative;
}
.move-in {
  right: 0 !important;
}
#main-menu {
  flex-direction: column;
}
.menu-item {
  margin: 0 2rem;
}
.menu-item a {
  text-transform: uppercase;
  font-size: 1.2rem;
  transition: color 0.4s ease;
}
.bg-img {display: block;}

/*Paralax*/
#banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.banner_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#about {
  background: #fff;
}
/*********/
.logo {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 49%;
  top: 34%;
  max-width: 15%;
}
.logo img {
  max-width: 100%;
}
.main_heading {
  font-family: 'The Nautigal', cursive;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  font-size: 2rem;
  position: absolute;
  bottom: 1rem;
  transform: translate(-50%);
  left: 50%;
}
#main-menu .menu-item a {
  font-size: 1.8rem;
}
/*=============================================
    ABOUT
=============================================*/
#about {
  padding: 2rem 0;
}
.my_photo img {
  max-height: 350px;
}
#about h2 {
  text-align: left;
  padding-left: 54%;
  padding-bottom: 3rem;
}
.my_photo.text-center {
  float: left;
  width: 38%;
  margin: 0 0.8rem 0 0;
}
/*=============================================
    GALLERY
=============================================*/

.gallery_images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.gallery_img {
  flex-basis: 100%;
  margin: 0.5rem 0;
}
.gallery_img img {
  max-height: 207px;
  object-fit: cover;
  width: 100%;
}
/*=============================================
    OFFER
=============================================*/
#offer {
  padding: 2rem 0;
}
#offer h2 {
  margin-bottom: 3rem;
}
.offer_box {
  padding: 1rem;
  background: #E3E3E3;
  text-align: center;
  margin-bottom: 1rem;
}
#offer ul {
  padding: 0;
  list-style: none;
}
#offer h3 {
  min-height: auto;
}

#offer .read .content {
  max-height: 1000px !important;
}

/*=============================================
    STOPKA
=============================================*/
#contact {
  padding: 0 0 2rem;
}
.social-media ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}
.social-media ul li{
 margin: 0 0.2rem;
}
.social-media img {
  max-width: 30px;
}
.data {
  padding: 0.8rem;
}


/*=============================================
    HAMBURGER MENU
=============================================*/
div#hamburger-menu {
  top: 3rem;
  position: absolute;
  left: -63px;
}
#open-menu {
  transition: left 0.5s ease-in;
}
#menu_checkbox {
  display: none;
}

#hamburger-menu label {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  display: block;
  width: 34px;
  height: 30px;
  margin:  -30px auto 0 auto;
  cursor: pointer;
}


#hamburger-menu label div {
  position: relative;
  top: 0;
  height: 4px;
  background-color: #fff;
  margin-bottom: 7px;
  transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width, 0.3s ease right;
  border-radius: 2px;
  box-shadow: 1px 1px 3px rgb(0 0 0 / 42%);
}
#hamburger-menu label.open div {
  box-shadow: none;
}
#hamburger-menu label div:first-child {
  transform-origin: -1px;
}

#hamburger-menu label div:last-child {
  margin-bottom: 0;
  transform-origin: -1px;
}

#hamburger-menu label div:nth-child(2) {
  right: 0;
  width: 34px;
}
#menu_checkbox:checked + label div:first-child {
  top: 0;
  transform: rotateZ(45deg);
}

#menu_checkbox:checked + label div:last-child {
  top: -22px;
  transform: rotateZ(45deg);
}

#menu_checkbox:checked + label div:nth-child(2) {
  width: 34px;
  top: 2px;
  right: 5px;
  transform: rotateZ(-45deg);
}
#open-menu.open {
  left: 91px;
}
/*=============================================
    MEDIA
=============================================*/
@media screen and (min-width: 400px) {
  .main_heading {
    font-size: 2.7rem;
  }
}
@media screen and (min-width: 575px) {
  .gallery_img {
    flex-basis: 40%;
  }
  p, li {
    font-size: 1rem;
  }
  .main_heading {
    font-size: 3.8rem;
    bottom: 2rem;
  }
  #offer h3 {
    padding-bottom: 1rem;
  }
  #offer .content {
    height: auto;
    opacity: 1;
  }
}
@media screen and (min-width: 767px) {
  .main_heading {
    font-size: 5rem;
    bottom: 3rem;
  }
  #hamburger-menu {
    display: none;
  }
  .nav-container {
    position: initial;
    flex-direction: row;
    max-width: 100%;
    height: auto;
    background: none;
    padding-top: 0;
  }
  .navbar {
    margin-top: 4rem;
  }
  #main-menu {
    flex-direction: row;
  }
  #main-menu .menu-item a {
    font-size: 1.2rem;
    color: #000;
  }
  .navbar {
    margin-top: 0;
    justify-content: center;
  }
  #about h2 {padding-left: 0;}
  #about, #offer {
    padding: 5rem 0;
  }
  .about {
    padding-top: 2rem;
  }
  .offer_box {
    padding: 2rem;
  }
  #offer h2 {
    margin-bottom: 4rem;
  }
  #offer h3 {
    min-height: 80px;
  }
  #contact {
    padding: 0 0 2rem;
  }
  .my_photo.text-center {
      width: 46%;
  }
}
@media screen and (min-width: 992px) {
  #about h2 {
    padding-bottom: 1rem;
  }
  .bg-img {display: none;}
}
@media screen and (min-width: 1199px) {
  .gallery_img {
    flex-basis: 24%;
  }
  .main_heading {
    font-size: 7rem;
    bottom: 9%;
  }
  .menu-item {
    margin: 0 4rem;
  }
  .about {
    padding-right: 4rem;
  }
}
@media screen and (min-width: 1400px) {
  .my_photo img {
    padding-left: 6rem;
  }
}
@media screen and (max-width: 574px) {
  #offer .content {
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
    overflow-y: hidden; 
  }
}
@media screen and (max-width: 767px) {
  .offer_box {height: auto !important;}
}
@media screen and (max-width: 991px) {
  #banner {height: auto !important;}
  .banner_container {position: initial !important;}
  #bg {background: none !important;}
  .logo {top: 34% !important}
  .main_heading {bottom: 9% !important}
}

