.menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
  outline: none;
}

.line {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  transition: stroke-dasharray 600ms cubic-bezier(.4,0,.2,1),stroke-dashoffset 600ms cubic-bezier(.4,0,.2,1), stroke 600ms ease;
}

.navbar.dark .line {
  stroke: #51545C;
}

.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 3;
}

.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 3;
}

.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 3;
}

header.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 3;
}

header.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 3;
}

header.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 3;
}

header .layer {
  width: 100%;
  height: 0;
  background: #B0AAAA;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  transition-duration: 1s;
  -webkit-transition-duration: 1s;
  transition-timing-function: cubic-bezier(.86,0,.09,1);
  -webkit-transition-timing-function: cubic-bezier(.86,0,.09,1);
  transition-delay: 1s;
}

header.opened .layer {
  height: 100vh;
}

header.opened .line {
  stroke: #fff;
}

.hamburger-navigation {
  width: 100%;
  height: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: fixed;
  top: 0px;
  left: 0;
  z-index: 5;
  transition-duration: 1s;
  -webkit-transition-duration: 1s;
  transition-timing-function: cubic-bezier(.86,0,.09,1);
  -webkit-transition-timing-function: cubic-bezier(.86,0,.09,1);
  background: #50545D;
}

header.opened .hamburger-navigation {
  height: 100vh;
}

.hamburger-navigation .container {
  position: relative;
  z-index: 1;
  visibility: hidden;
  padding: 26px calc(100vw / 12);
  text-align: center;
  display: block;
  width: 100%;
  transition: all .6s;
}

.hamburger-navigation.opened .container {
  visibility: visible;
}

.navbar {
  width: 100%;
  display: block;
  flex-wrap: wrap;
  margin: 0;
  padding: 16px 80px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 4;
  transition: all .6s ease-in-out;
}

header.opened .navbar {
  background: none !important;
}

.navbar .hamburger-menu {
  display: inline-block;
  z-index: 6;
}

.hamburger-navigation .nav-menu {
  width: auto;
  max-height: 100vh;
  display: block;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .35s ease-in-out;
  -moz-transition: all .30s ease-in-out;
  -ms-transition: all .30s ease-in-out;
  -o-transition: all .30s ease-in-out;
  transition: all .30s ease-in-out;
  overflow: auto;
}

.hamburger-navigation .container.visible {
  visibility: visible;
}

.hamburger-navigation .container.visible .nav-menu {
  opacity: 1;
  visibility: visible;
}

.hamburger-navigation img.logo {
  transition: all .6s;
  opacity: 0;
  width: 120px;
  margin-bottom: 48px;
}

.hamburger-navigation .container.visible img.logo {
  opacity: 1;
}

.hamburger-navigation .nav-menu li {
  margin-bottom: 2vw;
}

.hamburger-navigation .nav-menu li:last-child {
  margin-bottom: 0;
}

.hamburger-navigation .nav-menu li a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-size: 3vw;
  font-weight: 100;
  padding: 0;
  transition: all .3s;
  cursor: pointer;
}

.hamburger-navigation .nav-menu li a:hover {
  color: #D6E6ED;
}

.contacts {
  display: inline-grid;
  grid-template-columns: repeat(4, auto);
  column-gap: 16px;
  align-items: center;
  transition: all 0.6s;
}

.contacts__a {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  padding: 0;
  border-radius: 50%;
  background-color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
  color: #AAC2C7;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.contacts__a.long {
  width: auto;
  background: none;
  font-size: 16px;
  grid-column: 1 / 4;
}

.contacts__a.waze {
  background-color: #9ED8E4;
}

.contacts__a.mail {
  background-color: #AAC2C7;
}

.contacts__a.whatsup {
  background-color: #369B7D;
}

.contacts__a.facebook {
  background-color: #4e96ed;
}

.contacts__a:hover {
  opacity: .7;
}

.navbar.dark .contacts__a.long {
  color: #51545C;
}



/* Hebrew */
.contacts {
  float: right;
}

.navbar .hamburger-menu {
  float: left;
}

/* .hamburger-navigation img.logo {
  margin-right: calc(100 / 12 * 2vw);
} */

.hamburger-navigation .nav-menu {
  margin-right: calc(100 / 12 * 2vw);
  text-align: right;
}

.hamburger-navigation .nav-menu li a {
  padding-right: 5vw;
}

.hamburger-navigation .nav-menu a {
  position: relative;
}

.hamburger-navigation .nav-menu a i {
  position: absolute;
  right: 0;
}

.menuClose__button {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #C9C5C5;
  font-size: 40px;
  font-weight: 100;
  color: #fff;
  padding: 0;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-top: 48px;
  transition: all .6s ease;
}

.menuClose__button:hover {
  background-color: #e0d6d6;
}

.menuBigLinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: center;
  direction: ltr;
}

.menuBigLinks__a {
  height: 45vh;
  text-decoration: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.menuBigLinks__a.villa_1 {
  background-image: url('/assets/img/villa/1/jakuzzi_1.jpg');
}

.menuBigLinks__a.villa_2 {
  background-image: url('/assets/img/villa/2/main_room_6.jpg');
}

.menuBigLinks__a__textLayer {
  display: grid;
  align-items: center;
  height: 100%;
  padding-top: 24px;
  background-color: rgba(0,0,0,.4);
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  opacity: 0;
  transition: all .6s ease-in-out;
}

.menuBigLinks__a:hover .menuBigLinks__a__textLayer {
  padding-top: 0;
  opacity: 1;
}

@media (min-width: 1025px){
  
}

/* iPad Pro Horizontal*/
@media screen and (max-device-width: 1366px) and (max-device-height: 1024px){
  
}

/* iPad Pro Portrait*/
@media screen and (max-device-width: 1024px) and (max-device-height: 1366px){
  .menuBigLinks__a {
    height: 25vh;
  }
}

/* iPad  Horizontal*/
@media screen and (max-device-width: 1024px) and (max-device-height: 768px){
  
}

/* iPad  Portrait*/
@media screen and (max-device-width: 768px) and (max-device-height: 1024px){
  .menuBigLinks__a {
    height: 25vh;
  }
}

@media screen and (max-device-width: 767px){
  .navbar {
    padding: 16px;
  }

  .hamburger-navigation img.logo {
    width: 100px;
    margin-bottom: 24px;
  }

  .menuBigLinks {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .menuClose__button {
    width: 64px;
    height: 64px;
    font-size: 32px;
    margin-top: 24px;
  }

  .menuBigLinks__a__textLayer {
    font-size: 24px;
    padding-top: 0;
    opacity: 1;
  }

  @media (orientation: portrait){
    
  }
  @media (orientation: landscape){
    
  }
}

/* Horizontal orientation of big smartphones  */
@media screen and (max-device-width: 970px) and (max-device-height: 414px){
  
}

/* Portrait orientation of big smartphones  */
@media screen and (max-device-width: 414px) and (max-device-height: 970px){

}


/* Android */
@media screen and (max-width: 767px){
  
}

/* iPhone 4 */
@media only screen and (device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2) {
  
}

/* iPhone 5 */
@media only screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
  
}

/* iPhone 6,7,8 */
@media only screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
  
}

/* iPhone 6,7,8 Plus */
@media only screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 2) {
  
}

/* iPhone 11 */
@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {
  
}
/* iPhone 11 Pro and XS */
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  
}
/* iPhone 11 Pro Max and Xs Max */
@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
  
}