/* header two  */
@font-face {
  font-family:Afacad;
  src: url('../font/Afacad/Afacad-VariableFont_wght.ttf');
}

* {
  margin: 0;
  padding: 0;
  /* font-family: "Work Sans", sans-serif; */
}

body {
  position: relative;
}

.site-logo a {
  position: relative;
  z-index: 5;
}

body:not(.menu_open) .site-logo a{
  z-index: 6;
 }

/* h1 {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  color: #fff;
  font-weight: 700;
  font-size: 48px;
  z-index: 10;
  width: 100%;
  text-align: center;
} */
@media only screen and (max-width: 880px) {
  h1 {
    font-size: 32px;
  }
}

.menu__item a {
  color: #000;
}

.new-header {
  display: flex;
  /* height: 100vh; */
  z-index: 6;
  position: fixed;
  top: 0;
  width: 100%;
}
.new-header.container__open{
  height: 100vh;
}
.container__open .menu {
  display: block;
}

.container__open .new-header {
  position: fixed !important;
}

.menu_open .toggle__span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
  width: 30px;
  background-color: #303030;
}
.menu_open .toggle__span:nth-child(2) {
  background-color: transparent;
}
.menu_open .toggle__span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
  width: 30px;
  background-color: #303030;
}

.menu_open .flex-box:nth-child(2) {
  flex: 0 0 0;
}
.menu_open{
  overflow: hidden;
}
.menu_open .toggle{
  top: 5px;
  top: 5px;
  left: 39px;
  position: fixed;
}
.box-left {
  background-image:url(../img/header-image.jpg) !important;
  
  background-size: cover;
  background-position: center;
}

.box-right {
  background-color: #FFCD0C !important;
}

.flex-box {
  /* background-color: #004d40; */
  flex: 0 1 50%;
  transition: 0.5s all ease-in-out;
  position: relative;
  z-index: 15;
}

.flex-box:nth-child(2) {
  flex: 1 0 100%;
  /* background-color: #333; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 56px;
  color: #fff;
  font-weight: 700;
  z-index: 1;
}

.container:hover.flex-box:nth-child(2) {
  flex: 0 0 0;
}

.menu {
  display: none;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0%;
  height: 100vh;
  color: #fff;
  transform: translateY(-100%);
  background-color: transparent;
  animation: 0.4s slideDown 0.25s forwards;
  z-index: 100;
  -webkit-backface-visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
}
.menu__list {
  position: absolute;
  top: 50%;
  left: 83%;
  flex-direction: column;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: start;
  list-style: none;

  color: #000;
  width: 35%;
   height: 100%; 
}
@media only screen and (max-width: 880px) {
  .menu__list {
    flex-direction: column;
  }
}
.menu__item {
  font-weight: 700;
  font-size: 32px;
  padding: 5px 15px;
  margin: 0 1rem;
  text-align: center;
  background: linear-gradient(120deg, transparent 0%, transparent 50%, #fff 50%);
  background-size: 240%;
  transition: 0.3s all ease-in-out;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  font-family:Afacad;
}
.menu__item:hover {
  background-position: 99%;
  color: #000;
  /* background-color: #000; */
}
@media only screen and (max-width: 1250px) {
  .menu__item {
    font-size: 36px;
  }
}
@media only screen and (max-width: 1000px) {
  .menu__item {
    font-size: 28px;
  }
}

.hover-box {
  background-color: #fff;
  color: green;
  display: none;
  animation: 0.6s fadeIn ease-in-out;
  position: absolute;
  color: #004d40;
  top: 100%;
  width: 100%;
  left: 0;
  border-top: 4px solid #004d40;
  backface-visibility: none;
}
.hover-box__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.hover-box__item {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  padding: 6px 12px;
  border-bottom: 2px solid #004d40;
  transition: 0.2s background;
  box-sizing: border-box;
  backface-visibility: none;
}
.hover-box__item:hover {
  background-color: #a5d6a7;
}
@media only screen and (max-width: 880px) {
  .hover-box {
    display: block;
    position: relative;
    width: auto;
    border-top: 2px solid #004d40;
  }
  .hover-box__list {
    flex-direction: row;
  }
}

.toggle {
  cursor: pointer;
  position: absolute;
  z-index: 10000;
  width: 33px;
  height: 33px;
  margin-top: 18px;
      top: 24px;
    right: 68px;
}

@media (max-width:600px){


.toggle {
      top: 20px;
    right: 30px;
}


}

.toggle__span {
  height: 1px;
  width: 100%;
  background-color: #000;
  position: absolute;
  transition: 0.4s;
}
.toggle__span:nth-child(1) {
  top: 10px;
}
.toggle__span:nth-child(2) {
  top: 19px;
}
.toggle__span:nth-child(3) {
  top: 28px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@media only screen and (max-width:768px)  {
  .box-left {
    display: none !important;
  }

  .flex-box {
    flex: 0 1 100%;

  }

  .menu__list {
    left: 57%;
    width: 64%;
}
/* 
.menu_open .toggle__span:nth-child(3), .menu_open .toggle__span:nth-child(1) {


  n
  background-color: #000000;
}
   */
}

  .menu-close{
        
    right:12px;
    position: fixed;
        z-index: 10000;
    width: 40px;
    height: 40px;
    margin-top: 18px;
    cursor:pointer;
  }
  .menu-close .toggle_span{
    top: 18px;
    transform: rotate(45deg);
    width: 30px;
    background-color: #fff;
    position: absolute;
    height:3px;
  }
  .menu-close .toggle_span:nth-child(2) {
    background-color: transparent;
}
.menu-close .toggle_span:nth-child(3){     
  top: 18px;
    transform: rotate(-45deg);
    width: 30px;
    background-color: #fff;
}
.menu_open .toggle{
  display:none;    
}
body:not(.menu_open) .menu-close{
  display:none;
}


@media (max-width:424px) {
  .toggle {
        width: 30px;
  }

  .toggle__span {
    height: 2px;
}
}