html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  box-sizing: border-box;
  background-color: #f4f1ea;
  user-select: none;
}

.mobileMenuIsOpen {
  overflow: hidden !important;
}

section {
  font-family: sans-serif;
  padding: 60px 0;
  box-sizing: border-box;
}

.swiperWrapper {
  isolation: isolate;
  position: relative;
}

.swiper {
  width: 100%;
  height: calc(100vh - 90px);
  z-index: 1;
}

@media only screen and (max-width: 799px) {
  .swiper {
    height: 450px;
  }
}

@media only screen and (max-width: 1079px) {
  .swiper {
    height: 600px;
  }
}


.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.swiper-slide p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Lato";
  text-transform: uppercase;
  font-size: 64px;
  line-height: 80px;
  letter-spacing: 2px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0px 3px 15px rgba(38, 42, 41, 1);
  width: 65%;
}

@media only screen and (max-width: 1439px){
  .swiper-slide p {
    font-size: 54px;
    line-height: 70px;
    width: 75%;
  }
}

@media only screen and (max-width: 1079px) {
  .swiper-slide p {
    font-size: 44px;
    line-height: 60px;
    width: 85%;
  }
}

@media only screen and (max-width: 799px) {
  .swiper-slide p {
    font-size: 28px;
    line-height: 42px;
    width: 96%;
  }
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid {
  display: grid;
  grid-column-gap: 120px;
  grid-template-columns: 45% auto;
  padding: 0 80px;
  box-sizing: border-box;
}

@media only screen and (max-width: 1439px){
  .grid {
    display: grid;
    grid-column-gap: 90px;
    grid-template-columns: 45% auto;
    padding: 0 50px;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 1079px) {
  .grid {
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: 40% auto;
    padding: 0 10px;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 799px) {
  .grid {
    padding: 0;
    grid-template-columns: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 20px;
  }
}



.firstSection, .thirdSection {
  background-color: #f4f1ea;
  color: #262a29;
}

.secondSection {
  background-color: #f4f1ea;
  color: #262a29;
  margin: -30px 0;
}

@media only screen and (max-width: 799px) {
  .secondSection .text{
    grid-row: 2;
  }
  
  .secondSection img {
    grid-row: 1;
  }
}

.grid img {
  width: 100%;
}

.grid .text {
  height: fit-content;
  margin: auto 0;
  font-size: 20px;
  line-height: 36px;
  font-family: "Playfair Display";
}

@media only screen and (max-width: 1079px) {
  .grid .text {
    font-size: 16px;
    line-height: 30px;
  }
}

@media only screen and (max-width: 799px) {
  .grid .text {
    font-size: 16px;
    line-height: 30px;
  }
}

.adjust-width {
  width: 96%;
  max-width: 1520px;
  margin: 0 auto;
}

header {
  position: fixed;
  top: 0;
  left:0;
  right: 0;
  transition: 0.2s linear all;
  background-color: rgba(0, 0, 0, 0);
  z-index: 2
}

header.notontop {
  background-color: #ffffff;
  -webkit-box-shadow: 0px 2px 16px -4px rgba(38, 42, 41, 1);
  -moz-box-shadow: 0px 2px 16px -4px rgba(38, 42, 41, 1);
  box-shadow: 0px 2px 16px -4px rgba(38, 42, 41, 1);
}

.headerMenu {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  width: fit-content;
  margin-left: auto;
}

.headerRow {
  padding: 25px 80px;
  display: grid;
  grid-template-columns: auto 50px;
}

@media only screen and (max-width: 1439px) {
  .headerRow {
    padding: 15px 50px;
  }
}

@media only screen and (max-width: 1079px) {
  .headerRow {
    padding: 15px 10px;
  }
}

@media only screen and (max-width: 799px) {
  .headerRow {
    padding: 15px 0;
    display: none;
  }
}

.headerMenu li {
  list-style: none;
  margin-left: 30px;
}

.headerMenu li a {
  text-decoration: none;
  color: #262a29;
  font-size: 20px;
  font-family: "Lato";
  text-transform: uppercase;
}

.headerMenu li:after {
  display: block;
  width: 0;
  height: 2px;
  content: '';
  background-color: #262a29;
  transition: 0.2s linear width;
}

.headerMenu li:hover:after {
  width: 100%;
}

.headerMenuMobile {
  height: 36px;
  width: 36px;
  display: none;
  margin-left: auto;
  margin-top: 12px;
  margin-bottom: 12px;
  border: 1px solid #262a29;
  background-color: #262a29;
  transition: 0.2s linear all;
}

.headerMenuMobile:hover {
  background-color: #ffffff;
}

.headerMenuMobile:hover .menuIcon:after {
  background-color: #262a29;
}

.mobileMenu {
  min-height: 100vh;
  transition: 0.5s linear all;
  transform: translateX(200%);
  position: fixed;
  top: 0px;
  right: 0px;
  width: 90%;
  height: 100%;
  overflow-y: scroll;
  background: #ffffff;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.33);
  z-index: 10000;
  font-weight: 500;
  padding: 10px;
  box-sizing: border-box;
}

.open {
  display: block;
  transform: translateX(0px);
  transition: 0.5s linear all;
}

.mobileMenu ul {
  margin: 20px 0 0 0;
  padding: 0;
}

.mobileMenu ul li {
  list-style: none;
  margin-bottom: 15px;
}

.mobileMenu ul li a {
  font-family: "Lato";
  font-size: 20px;
  color: #262a29;
  text-decoration: none;
  transition: 0.2s linear all;
  text-transform: uppercase;
}

.mobileMenu ul li a:hover {
  color: #8a4619
}

.menuIcon {
  display: block;
  height: 30px;
  width: 30px;
  margin: 3px 3px;
}

.menuIcon:after {
    mask-image: url("/assets/icons/list.svg");
    -webkit-mask-image: url("/assets/icons/list.svg");
    display: block;
    content: '';
    background-color: #ffffff;
    height: 30px;
    width: 30px;
    mask-size: 30px 30px;
    -webkit-mask-size: 30px 30px;
    transition: 0.2s linear all;
}

@media only screen and (max-width: 799px) {
  .headerMenuMobile {
    display: block;
  }
}

.sectionContact {
  background-color: #f4f1ea;
  color: #262a29;
}

.contactDiv {
  display: grid;
  grid-template-columns: 45% auto;
  grid-column-gap: 120px;
  padding: 0 80px;
  box-sizing: border-box;
}

@media only screen and (max-width: 1439px){
  .contactDiv {
    display: grid;
    grid-column-gap: 90px;
    grid-template-columns: 45% auto;
    padding: 0 50px;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 1079px) {
  .contactDiv {
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: 40% auto;
    padding: 0 10px;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 799px) {
  .contactDiv {
    grid-template-columns: 1fr;
    grid-column-gap: 0px;
    padding: 0px;
    grid-row-gap: 20px;
  }
}

form {
  display: block;
}

form label {
  display: block;
  width: fit-content;
  padding: 0px 0px 0px 15px;
  margin: 15px 0px 8px 0px;
  font-size: 18px;
  font-family: "Lato";
  color: #676969;
}

@media only screen and (max-width: 1079px) {
  form label {
    font-size: 15px;
    padding: 0px 0px 0px 8px;
    margin: 10px 0px 6px 0px;
  }
}

@media only screen and (max-width: 799px) {
  form label {
    font-size: 15px;
    padding: 0px 0px 0px 8px;
    margin: 10px 0px 6px 0px;
  }
}

form input {
  width: 100%;
  border-radius: 0px;
  border: 1px solid #a8a9a9;
  font-size: 16px;
  padding: 8px 12px;
  box-sizing: border-box;
  font-family: "Lato";
  outline: none;
  transition: 0.2s linear all;
}

@media only screen and (max-width: 1079px) {
  form input {
    font-size: 13px;
    padding: 6px 9px;
  }
}

@media only screen and (max-width: 799px) {
  form input {
    font-size: 13px;
    padding: 6px 9px;
  }
}

form input:focus {
  border: 1px solid #8a4619;
}

form textarea {
  width: 100%;
  border-radius: 0px;
  border: 1px solid #a8a9a9;
  font-size: 16px;
  padding: 8px 12px;
  box-sizing: border-box;
  font-family: "Lato";
  resize: vertical;
  min-height: 180px;
  outline: none;
  transition: 0.2s linear all;
}

form textarea:focus {
  border: 1px solid #8a4619;
}

form button {
  display: block;
  margin: 20px auto 0 auto;
  text-transform: uppercase;
  font-size: 18px;
  font-family: "Lato";
  font-weight: 600;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 0px;
  border: 2px solid #8a4619;
  background-color: #8a4619;
  color: #ffffff;
  transition: 0.2s linear all;
}

@media only screen and (max-width: 1079px) {
  form button {
    font-size: 15px;
    padding: 8px 16px;
  }
}

@media only screen and (max-width: 799px) {
  form button {
    font-size: 15px;
    padding: 8px 16px;
  }
}

form button:hover {
  cursor: pointer;
  background-color: #ffffff;
  color: #8a4619;
}

form button:focus {
  cursor: pointer;
  background-color: #ffffff;
  color: #8a4619;
  outline: none;
}


.mail {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
  font-family: "Lato";
  color: #262a29;
}

.icon-mail {
  height: 16px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.icon-mail:after {
  mask-image: url("/assets/icons/envelope-fill.svg");
  -webkit-mask-image: url("/assets/icons/envelope-fill.svg");
  display: block;
  content: '';
  background-color: #8a4619;
  height: 16px;
  width: 16px;
  mask-size: 16px 16px;
  -webkit-mask-size: 16px 16px;
}

.menuClose {
  height: 26px;
  width: 26px;
  margin-left: auto;
}

.menu-close {
  height: 26px;
  display: inline-block;
  width: 26px;
  vertical-align: middle;
}

.menu-close:after {
  mask-image: url("/assets/icons/x.svg");
  -webkit-mask-image: url("/assets/icons/x.svg");
  display: block;
  content: '';
  background-color: #262a29; 
  height: 26px;
  width: 26px;
  mask-size: 26px 26px;
  -webkit-mask-size: 26px 26px;
  transition: 0.2s linear all;
}

.facebookLink {
  display: inline-block;
  margin-left: auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.facebookLink:hover .icon-facebook:after{
  background-color: #4b5351;
}

.brown:hover .icon-facebook:after {
  background-color: #8a4619; 
}

.icon-facebook {
  height: 20px;
  display: inline-block;
  width: 20px;
  vertical-align: middle;
}

.icon-facebook:after {
  mask-image: url("/assets/icons/facebook.svg");
  -webkit-mask-image: url("/assets/icons/facebook.svg");
  display: block;
  content: '';
  background-color: #262a29;
  height: 20px;
  width: 20px;
  mask-size: 20px 20px;
  -webkit-mask-size: 20px 20px;
  transition: 0.2s linear all;
}

.menuClose:hover .menu-close:after {
  background-color: #8a4619; 
}

video {
  width: 100%;
  display: block;
  margin-top: auto;
  margin-top: 15px;
}

.anchor {
  display: block;
  position: relative;
  top: -17vh;
  visibility: hidden;
}

@media only screen and (max-width: 1079px) {
  .anchor {
    top: -12vh;
  }
}

@media only screen and (max-width: 799px) {
  .anchor {
    top: -8vh;
  }
}

@media only screen and (max-width: 799px) {
  .contactContainer {
    grid-row: 2;
  }
}

@media only screen and (max-width: 799px) {
  .contactInfo {
    grid-row: 1;
  }
}
