:root {
  --gold: #c7b682;
  --blue: #00316b;
}

.wrapper_nav {
  background: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

a {
  text-decoration: none;
}

ul {
  padding-left: 0 !important;
}

.wrapper_nav nav {
  display: flex;
  max-width: calc(100% - 10px);
  margin: 0 auto;
  height: 100px;
  align-items: center;
  justify-content: center;
  border-bottom: 5px solid var(--gold);
}

nav .content {
  display: flex;
  align-items: center;
}

nav .content .links {
  display: flex;
  justify-content: center;
}

.content .logo {
  max-width: 100px;
  height: 80px;
}

@media (min-width: 900px) {
  nav .content .links {
    display: flex;
  }
  .content .logo {
    max-width: 100px;
    height: 80px;
    position: absolute;
    top: 10%;
    left: 0%;
  }
  /* nav .content .links {
        display: flex;
        justify-content: center;
    } */
  /* .content .logo {
        max-width: 100px;
        height: 80px;
    } */
}

.content .logo img {
  width: 100%;
  height: 100%;
}

.content .logo2 img {
  width: 100%;
  height: 100%;
}

.content .logo2 {
  width: auto;
  height: 80px;
  position: absolute;
  top: 10%;
  left: 0%;
  display: none;
}
/* .hover-menu{
    overflow: auto;
} */

.content .links li {
  list-style: none;
  line-height: 70px;
}

.content .links li a,
.content .links li label {
  color: var(--gold);
  font-size: 18px;
  font-weight: 500;
  padding: 9px 20px;
  transition: all 0.5s ease;
  text-decoration: none;
}

.content .links li label {
  display: none;
}

.content .links li a:hover,
.content .links li label:hover {
  border-bottom: 2px solid var(--gold);
}

.wrapper_nav .search-icon,
.wrapper_nav .menu-icon {
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 20px;
  width: 20px;
  text-align: center;
}

.wrapper_nav .search-icon:hover,
.wrapper_nav .menu-icon:hover {
  color: var(--gold);
}

.wrapper_nav .menu-icon {
  display: none;
}

.wrapper_nav #show-search:checked ~ .search-icon i::before {
  content: "\f00d";
}

.cancel-icon,
.search-icon {
  position: absolute;
  top: 30%;
  right: 0%;
  width: auto;
  text-align: center;
  margin: 0 50px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 500px) {
  .cancel-icon,
  .search-icon {
    top: 40%;
  }
}

.cancel-icon {
  display: none;
}

.menu-icon span.hide,
.search-icon.hide {
  display: none;
}

.cancel-icon.show {
  display: block;
  align-items: flex-start;
  color: var(--gold);
}

.form {
  position: absolute;
  top: 80px;
  right: 40px;
  opacity: 0;
  pointer-events: none;
  transition: top 0.3s ease, opacity 0.1s ease;
  display: flex;
}

.form.active {
  position: fixed;
  top: 95px;
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}

.form:before {
  position: absolute;
  content: "";
  top: -10px;
  right: 0px;
  width: 0;
  height: 0;
  z-index: -1;
  border: 10px solid transparent;
  border-bottom-color: #fff;
  margin: -20px 0 0;
}

.form:after {
  position: absolute;
  content: "";
  height: 60px;
  padding: 2px;
  background: #fff;
  border-radius: 2px;
  min-width: calc(100% + 20px);
  z-index: -2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.form .search-data {
  width: 100%;
  height: 100%;
  padding: 10px;
  color: var(--blue);
  font-size: 17px;
  border: 1px solid var(--gold);
  font-weight: 500;
  background: none;
}

.form button {
  padding: 0 15px;
  color: var(--gold);
  font-size: 17px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: 0.2s all;
}

.form button:hover {
  font-size: 1.3rem;
}

.wrapper_nav .search-box {
  position: absolute;
  height: 100%;
  max-width: calc(100% - 50px);
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
}

.wrapper_nav #show-search:checked ~ .search-box {
  opacity: 1;
  pointer-events: auto;
}

.search-box input {
  width: 80%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 17px;
  color: var(--gold);
  background: var(--gold);
  padding: 0 100px 15px;
}

.search-box input::placeholder {
  color: #f2f2f2;
}

.search-box .go-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 60px;
  width: 70px;
  background: var(--gold);
  border: none;
  outline: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.wrapper_nav input[type="checkbox"] {
  display: none;
}

/* Dropdown Menu code start */

.content .links ul {
  position: absolute;
  background: var(--blue);
  top: 80px;
  opacity: 0;
  visibility: hidden;
  width: 70%;
  text-align: center;
  overflow: scroll;
}

.content .links li:hover > ul {
  position: absolute;
  width: 100%;
  right: 0px;
  top: 70px;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: auto auto auto auto;
  overflow: auto;
}

@media screen and (max-width: 900px) {
  .content .links li:hover > ul {
    position: inherit;
  }
}

.content .links ul li a {
  line-height: 30px;
  border-radius: 0px !important;
}

.content .links ul ul {
  position: absolute;
  top: 0;
  right: calc(-100% + 8px);
}

.content .links ul li {
  position: relative;
}

.content .links ul li:hover ul {
  top: 0;
}

/* Responsive code start */

@media screen and (max-width: 1250px) {
  .wrapper_nav nav {
    max-width: 100%;
    padding: 0 20px;
  }
  nav .content .links {
    margin-left: 30px;
  }
  .content .links li a {
    padding: 8px 13px;
  }
  .wrapper_nav .search-box {
    max-width: calc(100% - 100px);
  }
  .wrapper_nav .search-box input {
    padding: 0 50px 0 15px;
  }
}

@media screen and (max-width: 900px) {
  .content .logo2 {
    width: 120px;
    height: auto;
    position: relative;
    display: block;
    margin-right: 25%;
  }
  .content .links li:hover > ul {
    top: 70px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  .content .links ul {
    position: absolute;
    background: var(--gold);
    top: 80px;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    text-align: center;
    overflow-x: hidden;
  }
  .wrapper_nav .menu-icon {
    position: absolute;
    top: 35%;
    left: 10%;
    display: block;
    font-size: 2rem;
  }
  .menu-icon {
    z-index: 2;
  }
  .wrapper_nav #show-menu:checked ~ .menu-icon i::before {
    content: "\f00d";
  }
  nav .content .links {
    display: block;
    position: fixed;
    background: var(--blue);
    height: 100%;
    width: 60%;
    top: 100px;
    left: -100%;
    margin-left: 0;
    max-width: 300px;
    overflow-y: auto;
    padding-bottom: 100px;
    transition: all 0.3s ease;
  }
  nav #show-menu:checked ~ .content .links {
    left: 0%;
  }
  .content .links li {
    margin: 15px 20px;
  }
  .content .links li a,
  .content .links li label {
    line-height: 40px;
    font-size: 20px;
    display: block;
    padding: 8px 18px;
    cursor: pointer;
  }
  .content .links li a.desktop-link {
    display: none;
  }
  /* dropdown responsive code start */
  .content .links ul,
  .content .links ul ul {
    position: static;
    opacity: 1;
    visibility: visible;
    background: none;
    max-height: 0px;
    overflow-y: scroll;
  }
  .content .links #show-features:checked ~ ul,
  .content .links #show-services:checked ~ ul,
  .content .links #show-items:checked ~ ul {
    max-height: 100vh;
  }
  .content .links ul li {
    margin: 7px 20px;
  }
  .content .links ul li a {
    font-size: 18px;
    line-height: 30px;
    border-radius: 5px !important;
  }
}

@media screen and (max-width: 400px) {
  .wrapper_nav nav {
    padding: 0 10px;
  }
  .content .logo a {
    font-size: 20px;
  }
  .wrapper_nav .search-box {
    max-width: calc(100% - 100px);
  }
  .wrapper_nav .search-box .go-icon {
    width: 40px;
    right: 0;
  }
  .wrapper_nav .search-box input {
    padding-right: 30px;
  }
}

.dummy-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  z-index: -1;
  padding: 0 20px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.dummy-text h2 {
  font-size: 45px;
  margin: 5px 0;
}
