@import url('https://fonts.googleapis.com/css?family=Roboto');

body {
  font-family: 'Roboto', sans-serif;
}

html,
body {
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
}

i {
  margin-right: 10px;
}

/*----------bootstrap-navbar-css------------*/
.navbar-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 30px;
  padding: 15px;
  margin-left: 15px;
  color: #fff;
}

.navbar-mainbg {
  position: sticky;
  top: 0;
  background-color: #2A6A92;
  margin: 0;
  border: none;
  z-index: 1000;
  padding: 0;
}

#navbarSupportedContent {
  overflow: hidden;
  position: relative;
}

#navbarSupportedContent ul {
  padding: 0;
  margin: 0;
}

#navbarSupportedContent ul li a i {
  margin-right: 10px;
}

#navbarSupportedContent li {
  list-style-type: none;
  float: left;
}

#navbarSupportedContent ul li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 20px 20px;
  transition-duration: .6s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

#navbarSupportedContent>ul>li.active>a {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-weight: bold;
}

#navbarSupportedContent ul li a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
}

#navbarSupportedContent a:not(:only-child):after {
  content: "\f105";
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 14px;
  font-family: "Font Awesome 5 Free";
  display: inline-block;
  padding-right: 3px;
  vertical-align: middle;
  font-weight: 900;
  transition: .5s;
}

#navbarSupportedContent .active>a:not(:only-child):after {
  transform: rotate(90deg);
}

/* hori-selector removed */

/* Navbar yükseklik sorunu düzeltmesi */
.navbar-mainbg {
  min-height: 70px;
  /* Sabit minimum yükseklik */
  display: flex;
  align-items: center;
}

.navbar-nav {
  height: 50px;
  /* Nav menü sabit yükseklik */
  display: flex;
  align-items: center;
  margin-right: 110px;
  /* Shift links to the left - 15px daha sola kaydırıldı */
}

.nav-item {
  height: 50px;
  /* Her nav item sabit yükseklik */
  display: flex;
  align-items: center;
}

#navbarSupportedContent ul li a {
  height: 50px;
  /* Link yüksekliği sabit */
  display: flex;
  align-items: center;
  padding: 0 20px;
  /* Üst-alt padding kaldırıldı */
  line-height: 50px;
}

/* Hori-selector düzeltmesi kaldırıldı - JS kontrolüne bırakıldı */

/* Mobile düzeltmesi */
@media(max-width:991px) {
  .navbar-nav {
    height: auto;
  }

  .nav-item {
    height: auto;
    width: 100%;
  }

  #navbarSupportedContent ul li a {
    height: auto;
    padding: 12px 30px;
    line-height: normal;
  }

  .hori-selector {
    height: auto !important;
    top: auto !important;
  }
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 120px;
  right: 30px;
  z-index: 999;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #6b7280;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  transition: 0.3s;
}

#scrollTopBtn:hover {
  background-color: #4b5563;
}