@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

::selection {
  background-color: #8e99a2;
  color: white;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  #logo {
    width: 60px;
    border-radius: 50px;
  }

  nav {
    background-color: #8e99a2;
  }

  .navbar-brand {
    color: white !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 20px !important;
    font-weight: 600;
    margin-left: 15px;
  }

  .nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 14px !important;
    margin-right: 10px;
  }

  .nav-link:hover {
    color: #ffbde4 !important;
  }

  .nav-link.active-section {
    border: solid 1px #ffbde4;
    border-radius: 5px;
  }

  .navbar-btn {
    background-color: white;
    text-decoration: none !important;
    color: #8e99a2;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 0px;
    transition: all ease-in-out 0.2s;
    margin: auto;
  }

  .navbar-btn:hover {
    background-color: #ffbde4;
    color: white;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  /* Logo */
  #logo {
    width: 50px;
    border-radius: 40px;
  }

  nav {
    max-width: 100dvw;
  }

  /* Navbar wrapper */
  nav.navbar {
    background-color: #8e99a2;
    padding: 10px 15px;
  }

  /* Navbar brand name */
  .navbar-brand {
    font-family: "DM Sans", sans-serif !important;
    font-size: 18px !important;
    font-weight: 600;
    color: white !important;
    margin-left: 10px;
  }

  /* Navbar toggler icon */
  .navbar-toggler {
    border: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%288, 8, 8, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  /* Nav links in collapsed menu */
  .navbar-nav {
    padding-top: 10px;
  }

  .nav-link {
    display: block;
    color: white !important;
    font-weight: 500;
    font-size: 14px !important;
    padding: 8px 10px;
    margin: 4px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link:hover {
    color: #ffbde4 !important;
  }

  .nav-link.active-section {
    border-right: solid 1px #ffbde4;
    border-bottom: solid 1px #ffbde4;
    color: white !important;
  }

  /* Quote button */
  .navbar-btn {
    display: block;
    width: 100%;
    background-color: white;
    color: #8e99a2;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 15px;
    margin: 10px 0;
    transition: all 0.2s ease-in-out;
    text-align: center;
    text-decoration: none !important;
  }

  .navbar-btn:hover {
    background-color: #ffbde4;
    color: white;
  }
}
