@import url("https://fonts.googleapis.com/css?family=Poppins:100,300,400,500,600,700,800, 800i, 900&display=swap");

@font-face {
  font-family: "Gilroy";
  src: url(Gilroy-Regular.otf);
  font-weight: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url(Gilroy-Bold.otf);
  font-weight: bold;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Gilroy";
  max-width: 100%;
  background-color: #f1f1f1;
}

::selection {
  background-color: #ec1d6f;
  color: #fff;
}

.main-content {
  min-height: calc(100vh - 90px);
  position: relative;
}

/* Navigation Bar */

.navbar {
  background-color: #fff;
  height: 100px;
  transition: 0.2s;
  box-shadow: 0 0.1rem 0 rgba(0, 0, 0, 0.3);
}

.offcanvas {
  z-index: 1000000;
  width: 100% !important;
}

.offcanvas-body a {
  text-decoration: none;
}

.nav-item {
  padding: 15px;
}

.navbar-brand {
  font-size: 30px;
  padding-left: 40px;
  padding-right: 30px;
}

.nav-link {
  font-size: 18px;
  color: #000;
  border-radius: 10px !important;
}

.nav-link:hover {
  color: #fff !important;
  background-color: #ec1d6f;
}

.fa-magnifying-glass {
  padding-right: 10px;
}

.active {
  color: #369 !important;
}

.disabled {
  color: #000 !important;
}

.navbar-brand img {
  width: 150px;
}

.navbar-toggler-icon {
  background-image: url("/images/nav-bar-photo.png");
}

.dropend .nav-link {
  color: #000;
  text-decoration: none;
  font-size: 17px;
  padding: 0;
  width: 100% !important;
}

.dropdown-item {
  padding: 0 10px;
}

.dropdown-item:hover {
  color: #fff;
  background-color: #ec1d6f !important;
}

.dropdown-menu-mehsullarimiz {
  margin-top: 0;
}

.dropdown-mehsullarimiz:hover {
  .dropdown-menu-mehsullarimiz {
    display: block;
  }
}

.dropdown-promo:hover {
  .dropdown-menu-promo {
    display: block;
    margin-left: 177px;
    margin-top: -35px;
    max-height: 300px;
    overflow: auto;
  }
}

.dropdown-stekan:hover {
  .dropdown-menu-stekan {
    display: block;
    margin-left: 177px;
    margin-top: -35px;
    max-height: 300px;
    overflow: auto;
  }
}

.dropdown-qab:hover {
  .dropdown-menu-qab {
    display: block;
    margin-left: 177px;
    margin-top: -35px;
    max-height: 300px;
    overflow: auto;
  }
}

.dropdown-geyim:hover {
  .dropdown-menu-geyim {
    display: block;
    margin-left: 177px;
    margin-top: -35px;
    max-height: 300px;
    overflow: auto;
  }
}

/* Log In */

.login-container {
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 150px auto;
  padding: 30px;
  text-align: center;
}

.logo {
  max-width: 100px;
  margin-bottom: 20px;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.input-container {
  position: relative;
  margin-bottom: 20px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 5px;
  background-color: #f5f5f5;
  font-size: 16px;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  background-color: #e8e8e8;
}

.login-container button {
  background-color: #369;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}

.login-container button:hover {
  background-color: #001f3e;
}

/* Footer */

footer {
  background-color: #001f3e;
  padding: 20px;
  color: #fff;
}

.footer-section {
  margin-bottom: 20px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style-type: none;
  padding-left: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-section ul li:hover,
.footer-section ul li:focus {
  color: rgba(255, 255, 255, 1);
  background-color: transparent;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section .social-icons {
  margin-top: 10px;
}

.footer-section .social-icons a {
  margin-right: 10px;
  color: #fff;
}

.footer-bottom {
  font-size: 14px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-section ul li a:hover {
  color: inherit;
  text-decoration: none;
}

/* Mobile Version */

@media (max-width: 800px) {
  /* Navigation Bar */

  .navbar {
    background-color: #fff;
    z-index: 100000;
    height: 60px;
    box-shadow: 0 0.1rem 0 rgba(0, 0, 0, 0.3);
  }

  .navbar-brand img {
    margin-top: -10px;
    margin-left: -10px;
    width: 80px;
  }

  .offcanvas {
    background-color: #001f3e;
    border: 1px solid #001f3e !important;
    width: 100% !important;
    height: 100% !important;
  }

  .offcanvas-title {
    color: #fff;
    font-weight: bold;
  }

  .active {
    color: #fff !important;
  }

  .navbar-brand {
    padding: 0;
  }

  .nav-link {
    border: 1px solid #666;
    color: #fff;
    padding: 5px;
    font-size: 20px;
    margin-left: 10px;
  }

  .dropdown-mehsullarimiz:hover {
    .dropdown-menu-mehsullarimiz {
      margin: 0;
      background-color: #fff;
      border: none !important;
    }
  }

  .dropdown-promo:hover {
    .dropdown-menu-promo {
      margin: 0;
      background-color: #fff;
      border: none !important;
    }
  }

  .dropdown-stekan:hover {
    .dropdown-menu-stekan {
      margin: 0;
      background-color: #fff;
      border: none !important;
    }
  }

  .dropdown-qab:hover {
    .dropdown-menu-qab {
      margin: 0;
      background-color: #fff;
      border: none !important;
    }
  }

  .dropdown-geyim:hover {
    .dropdown-menu-geyim {
      margin: 0;
      background-color: #001f3e;
      border: none !important;
    }
  }

  .dropdown-item {
    color: #fff;
  }

  .dropdown-menu .nav-link {
    border: none;
    color: #000 !important;
  }

  .dropdown-toggle {
    color: #fff !important;
  }

  .russian-flag {
    padding-left: 15px !important;
  }

  .search-mobile {
    position: absolute;
    left: 72.5%;
    color: #1f1f1f;
    margin-top: -10px;
  }

  .search-mobile i {
    font-size: 20px;
  }

  .navbar-toggler {
    margin-top: -15px;
    padding-right: 0;
    border: none;
    padding: 0;
  }

  .navbar-toggler-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .nav-item {
    padding: 7px 15px;
  }

  .nav-link:hover {
    color: #000 !important;
    background-color: #fff;
  }

  /* Log In */

  .login-container {
    margin-top: 100px;
    max-width: 300px;
    padding: 20px;
  }

  /* Footer */

  .footer-section {
    padding: 10px;
  }
}
