<template>
  <div>
    <nav class="navbar navbar-expand">
      <div class="container-fluid">
        <a class="navbar-brand" href="#"><img src="~/assets/image/Logo.png"></a>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
          <ul class="navbar-nav mx-auto mb-2 mb-lg-0">
            <li class="nav-item">
              <a class="nav-link fw-bolder fs-5 text-dark" aria-current="page" href="#">Home</a>
            </li>
          </ul>
          <div class="d-flex">
            <ul class="nav">
              <li class="nav-item dropdown">
                <a class="nav-link first-icon px-2 py-2" aria-current="page"  data-bs-toggle="dropdown" href="#"></a>
                <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdownMenuButton1">
                  <li class="px-1"><a class="dropdown-item py-2 " href="#" style="border-bottom: 1px solid lightgray;">Lagoon  <span class="float-end"><img src="~/assets/image/Vector123.png"></span></a></li>
                  <li class="px-1"><a class="dropdown-item py-2" href="#" style="border-bottom: 1px solid lightgray;">Tropics <span class="float-end"><img src="~/assets/image/Vector7.png"></span></a></li>
                  <li class="px-1"><a class="dropdown-item py-2" href="#" style="border-bottom: 1px solid lightgray;">Forest <span class="float-end"><img src="~/assets/image/Vector8.png"></span></a></li>
                  <li class="px-1"><a class="dropdown-item py-2" href="#" style="border-bottom: 1px solid lightgray;">Meadow <span class="float-end"><img src="~/assets/image/Vector121.png"></span></a></li>
                </ul>
              </li>
              <li class="nav-item dropdown">
                <a class="nav-link second-icon   px-2 py-2" data-bs-auto-close="outside" data-bs-toggle="dropdown" href="#">
                </a>
                <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdownMenuButton1">
                  <li class="px-1">
                    <div class="accordion accordion-flush p-0 m-0" id="accordionFlushExample">
                      <div class="accordion-item">
                        <h4 class="accordion-header" id="flush-headingOne">
                          <button class="accordion-button accordion-button-homebar  py-2 px-3 m-0 collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">
                            Headphones Type
                          </button>
                        </h4>
                        <div id="flush-collapseOne" class="p-0 m-0 accordion-collapse collapse" aria-labelledby="flush-headingOne" data-bs-parent="#accordionFlushExample">
                          <div class="accordion-body p-0 m-0">
                            <ul class="nav flex-column">
                              <li class="nav-item">
                                <a class="nav-link text-decoration-none text-dark" aria-current="page" href="#">In-Ear  <span class="float-end"><img src="~/assets/image/airbods.png"></span></a>
                              </li>
                              <li class="nav-item">
                                <a class="nav-link" href="#">Over-Ear <span class="float-end"><img src="~/assets/image/headphone.png"></span> </a>
                              </li>
                            </ul>
                          </div>
                        </div>
                      </div>
                    </div>
                  </li>
                  <li class="px-1">
                    <div class="accordion accordion-flush p-0 m-0" id="accordionFlushExample1">
                      <div class="accordion-item">
                        <h4 class="accordion-header" id="flush-headingOne">
                          <button class="accordion-button accordion-button-homebar  py-2 px-3 m-0 collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne1" aria-expanded="false" aria-controls="flush-collapseOne">
                            Headphones Type
                          </button>
                        </h4>
                        <div id="flush-collapseOne1" class="p-0 m-0 accordion-collapse collapse" aria-labelledby="flush-headingOne" data-bs-parent="#accordionFlushExample1">
                          <div class="accordion-body p-0 m-0">
                            <ul class="nav flex-column">
                              <li class="nav-item">
                                <a class="nav-link text-decoration-none text-dark" aria-current="page" href="#">No  <span class="float-end"><img src="~/assets/image/AudioWave1.png"></span></a>
                              </li>
                              <li class="nav-item">
                                <a class="nav-link" href="#">Yes <span class="float-end"><img src="~/assets/image/audiowave2.png"></span></a>
                              </li>
                            </ul>
                          </div>
                        </div>
                      </div>
                    </div>
                  </li>
               </ul>
              </li>
              <li class="nav-item">
                <a class="nav-link third-icon  px-2 py-2" id="foucused-icon" href="#" ref="foucused"></a>
              </li>
              <li class="nav-item">
                <a class="nav-link fourth-icon  px-2 py-2" href="#"></a>
              </li>
              <li class="nav-item">
                <nuxt-link to="/setting" class="nav-link fivith-icon  px-2 py-2"></nuxt-link>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </nav>
  </div>
</template>

<script>
export default {
  name:'HomeBar',
}
</script>
<style>
.first-icon{
  content: url('~/assets/image/Vector.png');
  border-radius: 5px;
  /*padding: 10px 10px;*/
  text-align: center;
  height: 44px;
}
.first-icon:focus{
  content: url('~/assets/image/Sounscape.png');
  background-color: #e9c046;
  border-radius: 5px;
  /*padding: 10px 10px;*/
  text-align: center;
  height: 44px;
}
.second-icon{
  content: url('~/assets/image/AirPods Pro Max.png');
  border-radius: 5px;
  padding: 10px 10px;
  text-align: center;
}
.second-icon:focus{
  content: url('~/assets/image/AirPods Pro Max (1).png');
  background-color: #e9c046;
  border-radius: 5px;
  padding: 10px 10px;
  text-align: center;
}
.third-icon{
  content: url('~/assets/image/Vector (5).png');
  border-radius: 5px;
  padding: 10px 10px;
  text-align: center;
}
.third-icon:focus{
  content: url('~/assets/image/Vector (3).png');
  background-color: #e9c046;
  border-radius: 5px;
  padding: 10px 10px;
  text-align: center;
}
.fourth-icon{
  content: url('~/assets/image/Audio Wave.png');
}
.fivith-icon{
  content: url('~/assets/image/Vector (1).png');
  border-radius: 5px;
  padding: 10px 10px;
  text-align: center;
}
.fivith-icon.router-link-exact-active{
  content: url('~/assets/image/Vector (4).png');
  background-color: #e9c046;
  border-radius: 5px;
  padding: 10px 10px;
  text-align: center;
}
.accordion-button-homebar::after {
  background-size: 16px;
  background-position-y: 4px;
}
</style>