@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,500;0,900;1,400;1,500;1,800;1,900&display=swap");

nav {
  width: inherit;
  height: 7rem;
  position: fixed;
  font-family: "Montserrat", sans-serif;
  font-family: "Arvo", serif;
  /* font-family: 'Bebas Neue', cursive; */
  top: 0;
  background: rgba(0, 0, 0, 0.705);
  z-index: 11;
}

.nav_container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav button {
  display: none;
}

.nav_menu {
  margin-top: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 5rem;
  font-size: 17px;
  padding-right: 1rem;
}

.nav_menu li {
  padding-bottom: 0.5rem;
}

.active {
  border-bottom: 1px solid white;
}

.nav_menu li:hover {
  border-bottom: 1px solid white;
  transition: 0.2s ease-in-out;
}

.nav_menu li a:hover {
  color: white;
}

.container_logo {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.logo {
  /* height: 80px; */
  /* width: 80px; */
  margin: 1rem;
  background-repeat: no-repeat;
  background-size: cover;
  flex-direction: row;
}

.compant_name {
  /* padding: 1rem; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.name {
  font-size: 30px;
  margin: 0;
}

.tagline {
  font-size: 13px;
}

/* tablets */
@media screen and (max-width: 1024px) {
  nav button {
    display: block;
    background: transparent;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
  }
  nav button#close-menu-btn {
    display: none;
  }
  nav {
    background: black;
    padding: 1rem;
    width: 100%;
  }
  .nav_menu {
    background: black;
    position: fixed;
    top: 7rem;
    display: none;
    gap: 0.5rem;
    left: 0;
    right: 0;
    padding: 0;
    box-shadow: 0 2rem 2rem rgba(0, 0, 0, 0.425) !important;
    height: fit-content;
    /* right: 50%; */
    flex-direction: column;
    align-items: center;
    margin: 0;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }
  .nav_menu li {
    width: 100%;
    margin: auto;
    /* padding: 0.5rem 0; */
    /* border-bottom: 2px solid black; */
  }

  .display_none {
    display: none;
  }
  .display_block {
    display: block;
  }
  .nav_menu li a {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }
  .logo img {
    height: 5rem;
    width: 25rem;
    margin: 1rem;
  }
}

/* tablets */
@media screen and (max-width: 600px) {
  .logo{
    margin: 0;
  }
  .logo img {
    width: 17rem;
    margin: 0;
    padding: 0;
  }
}
