nav {
  z-index: 100;
  padding-top: 0px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: "poppins", sans-serif;
  margin: 0;
  padding-bottom: 10px;
  transition: background-color 0.6s ease-in-out;
}
.nav-color {
  background-color: var(--main-color);
  backdrop-filter: blur(30px);
}

nav-background {
  position: absolute;
  width: 100%;
  height: 100%;
}
.nav-active {
  color: black;
  font-weight: 700;
}
.active {
  color: black;
  font-weight: 700;
}
.nav-sectionA {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
nav ul {
  display: flex;
  gap: 40px;
  -webkit-gap: 40px; /* WebKit-based browsers like Safari */
  display: flex;
  justify-content: center;
  align-items: center;
}
nav ul li {
  list-style: none;
}
nav ul li a:hover {
  text-decoration: underline;
  text-underline-offset: 15px;
}
nav ul li a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 15px;
  font-weight: bold;
  transform: all ease 1s;
  position: relative;
  font-weight: 400;

  /* margin: 0px 10px 0px 10px; */
}
nav ul li a:hover {
  color: #9c9c9c;
  font-weight: 700;
}

nav ul li a::before {
  content: "";
  position: absolute;
  background-color: #ffffff;
  width: 0px;
  margin-top: 7px;
  height: 3px;
  margin-left: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  margin-bottom: -10px;
  transition: ease 0.8s all;
}
nav ul li a:hover::before {
  width: 0px;
  transform: translate(-50px 50px);
}

.menu-and-logo {
  margin-top: 10px;
}
#club-logo-section {
  margin-top: -20px;
}
#club-logo-section {
  margin-top: -20px;
}

#Club-logo {
  width: 25px;
  border-right: 3px solid rgb(255, 255, 255);
  padding-right: 20px;
}
.nav-sectionB {
  gap: 20px;
  -webkit-gap: 20px; /* WebKit-based browsers like Safari */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#search-button {
  color: white;
  font-size: 25px;
  margin-left: 20px;
}

#mode {
  font-size: 30px;
  width: 30px;
  height: 30px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* ........................MODE............ */
/* styles.css */

.dropdown {
  position: relative;
  display: inline-block;

  transition: all ease 0.8s;
}

.dropbtn {
  background-color: var(--bcg-color);
  color: rgb(0, 0, 0);
  width: 30px;
  height: 30px;
  border: none;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  border-radius: 10px;
  transition: all ease 0.8s;
}
.dropdown-content {
  transition: all ease 0.8s;
  margin-top: 10px;
  text-align: left;
  margin-left: -30px;
  border-radius: 5px;
  display: none;
  position: absolute;
  background-color: #01263f;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
#system-theme {
  font-family: "poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: rgb(255, 5, 5);
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.themes {
  font-family: "poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.themes:hover {
  background-color: #013557;
}
.show {
  transition: all ease 0.8s;
  display: block;
}
/*................................ MODE.......... */

#menu {
  width: 20px;
  display: none;
}

#search-icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: none;
}
.search-section {
  display: flex;
  margin: 0px;
  width: auto;
  justify-content: center;
  align-items: center;
}
.search-section input {
  border-radius: 10px;
  border: solid 0.6px rgb(184, 184, 184);
  height: 30px;
  width: 300px;
  transition: all ease 1s;
  padding: 5px;
  margin-right: 3px;
  background-color: transparent;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  text-align: center;
}
::placeholder {
  opacity: 0.2;
  text-align: center;
  color: var(--main-color);
}

/* MEDIA QUERIES  */

/* LARGE DISPLAYS  */
@media screen and (min-width: 2570px) {
}
/*......................... LAPTOP DISPLAYS ...............  */
@media screen and (min-width: 930px) and (max-width: 1440px) {
  nav {
    z-index: 100;
    margin-top: 0px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: "poppins", sans-serif;
    margin: 0;
    transition: background-color 0.6s ease-in-out;
  }
  .nav-color {
    background-color: var(--main-color);
    backdrop-filter: blur(10px);
  }

  .nav-sectionA {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  nav ul {
    display: flex;
    gap: 40px;
    -webkit-gap: 40px; /* WebKit-based browsers like Safari */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #home {
    color: #ffffff;
    font-weight: 600;
    transform: all ease 0.8s;
  }
  nav ul li {
    list-style: none;
  }
  nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 15px;
    font-weight: 300;
    transform: all ease 1s;
    position: relative;
  }

  nav ul li a:hover {
    text-decoration: underline;
    text-underline-offset: 15px;
    color: gray;
  }
  #home:hover {
    color: rgb(255, 255, 255);
  }
  nav ul li a::before {
    content: "";
    position: absolute;
    background-color: #ffffff;
    width: 0px;
    height: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    margin-bottom: -3px;
    transition: ease 0.8s all;
  }
  nav ul li a:hover::before {
    width: 0px;
    transform: translate(-50px 50px);
  }

  .menu-and-logo {
    margin-top: 10px;
  }
  #club-logo-section {
    margin-top: -20px;
  }
  #club-logo-section {
    margin-top: -20px;
  }

  #Club-logo {
    width: 30px !important;
    border-right: 3px solid rgb(255, 255, 255);
    padding-right: 20px;
  }
  .nav-sectionB {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  #menu {
    width: 20px;
    margin-left: 50px;
    display: none;
  }
  #search-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none;
  }
  .search-section {
    display: flex;
    margin: 0px;
    width: auto;
    justify-content: center;
    align-items: center;
  }
  .search-section input {
    border-radius: 10px;
    border: solid 0.6px rgb(184, 184, 184);
    height: 30px;
    width: 300px;
    transition: all ease 1s;
    padding: 5px;
    margin-right: 3px;
    background-color: transparent;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    text-align: center;
  }
  ::placeholder {
    opacity: 0.2;
    text-align: center;
    color: #0447c4;
  }
}

/* MOBILE PHONES  DISPLAYS  */
@media screen and (min-width: 770px) and (max-width: 929px) {
  .nav-sectionA {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  nav ul {
    display: flex;
    gap: 0px;
    /* WebKit-based browsers like Safari */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #home {
    color: white;
    font-weight: 600;
    transform: all ease 0.8s;
  }
  nav ul li {
    list-style: none;
  }
  nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    margin-right: 30px;
    transform: all ease 1s;
    position: relative;
  }
  nav ul li a:hover {
    text-decoration: underline;
    text-underline-offset: 15px;
    color: gray;
  }
  #home:hover {
    color: black;
  }
  nav ul li a::before {
    content: "";
    position: absolute;
    width: 0px;
    height: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    transition: ease 0.8s all;
  }
  nav ul li a:hover::before {
    background-color: var(--main-color);
    width: 0px;
    margin-bottom: 5px;
    transform: translate(-50px 50px);
  }
  .menu-and-logo {
    margin-top: 10px;
  }

  #club-logo-section {
    border: none !important;
  }
  #club-logo-section {
    margin-top: 30px;
  }

  #Club-logo {
    width: 30px;
    border-right: 3px solid rgb(255, 255, 255);
    padding-right: 20px;
  }
  .nav-sectionB {
    gap: 20px;
    -webkit-gap: 20px; /* WebKit-based browsers like Safari */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  #menu {
    width: 20px;
    margin-left: 50px;
    display: none;
  }

  #search-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none;
  }
  .search-section {
    display: flex;
    margin: 0px;
    width: auto;
    justify-content: center;
    align-items: center;
  }
  .search-section input {
    border-radius: 10px;
    border: solid 0.6px rgb(184, 184, 184);
    height: 35px;
    width: 230px;
    transition: all ease 1s;
    padding: 5px;
    margin-right: 3px;
    background-color: transparent;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    text-align: center;
  }
  ::placeholder {
    opacity: 0.6;
    text-align: center;
    color: #a9aaaa;
    font-size: 11px;
  }
}

/* MOBILE PHONES  DISPLAYS  */
@media screen and (min-width: 320px) and (max-width: 769px) {
  nav {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
  }
  .nav-sectionA {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  nav ul {
    display: flex;
    gap: 0px;
    -webkit-gap: 0px;
    display: flex;
    justify-content: flex-start;
    align-items: self-start;
    flex-direction: column;
    position: absolute;
    text-align: center;
    background-color: var(--bcg-color);
    backdrop-filter: blur(10px);
    margin-top: 113.5vh;
    width: 250px;
    padding: 20px 0px 0px 20px;
    height: 100vh;
    border-radius: 0px 0px 0px 0px;
    left: 0;
    transition: all 0.5s ease;
    transform: translateX(-300px);
    overflow: hidden;
  }
  nav ul li {
    padding: 20px 0px 30px 0px;
    text-align: left;
    width: 100%;
    left: 0;
    margin-left: -10px;
  }
  nav ul li:hover {
    border-bottom: 2px solid var(--text-color);
  }
  nav ul li:hover a {
    font-weight: 500;
    opacity: 1;
  }
  nav ul li a {
    left: 0;
    width: max-content;
    font-family: "poppins", sans-serif;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 300;
    font-size: 14px;
    padding: 0px 0px 0px 10px;
    transform: all ease 0.5s;
    position: relative;
    opacity: 0.7;
    padding-right: 170px;
    padding-bottom: 0px;
  }
  nav ul.active {
    transform: all ease 0.5s;
    transform: translateX(0px);
  }
  #home {
    font-weight: 400;
    transform: all ease 0.8s;
    font-family: "roboto", sans-serif;
  }
  nav ul li {
    list-style: none;
  }

  nav ul li a:hover {
    text-decoration: none;
  }
  #home {
    color: #000000;
  }
  #home:hover {
    color: #000000;
  }
  nav ul li a::before {
    content: "";
    position: absolute;
    height: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    margin-top: 40px;
    margin-bottom: -3px;
    visibility: hidden;

    transition: ease 0.8s all;
  }
  nav ul li a:hover::before {
    background-color: #000000;
    width: 0px;
    transform: translate(-50px 50px);
  }
  .menu-and-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    -webkit-gap: 0px; /* WebKit-based browsers like Safari */
    align-items: center;
    margin-left: 20px;

    transition: all ease 1s;
  }

  #club-logo-section {
    margin: 0px 0px 0px 30px;
  }
  #Club-logo {
    width: 30px;
    border: none;
    padding-right: 0px;
  }

  #menu {
    display: block;
    color: white;
    font-size: 30px;
    padding: 0;
    margin: 0;
    transition: all ease 1s;
  }

  .nav-sectionB {
    gap: 20px;
    -webkit-gap: 20px; /* WebKit-based browsers like Safari */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
  }

  .dropdown {
    position: relative;
    display: inline-block;
    transition: all ease 0.8s;
  }

  .dropbtn {
    background-color: var(--bcg-color);
    color: rgb(0, 0, 0);
    width: 30px;
    height: 30px;
    border: none;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    transition: all ease 0.8s;
  }

  .dropdown-content {
    transition: all ease 0.8s;
    margin-top: 10px;
    text-align: left;
    margin-left: -40px;
    border-radius: 5px;
    display: none;
    position: absolute;
    background-color: #01263f;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  #system-theme {
    font-family: "poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: rgb(255, 17, 0);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .themes {
    font-family: "poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
  }
  .themes:hover {
    background-color: #013557;
  }
  .show {
    transition: all ease 0.8s;
    display: block;
  }
}
