/*General */
h1 {
font-size: 4.8rem;
}

h2 {
font-size: 4.4rem;
}

h5 {
font-size: calc(2.04rem + 0.3vw);
}

select,
.list-inline-item,
.bi {
font-size: 1.8rem !important;
}

#login p, #register p, #reset-password p, #google-justification p {
font-size: 1.6rem !important;
}

#login input, #register input, #reset-inputassword input, #google-justification input {
font-size: 1.4rem !important;
}

a:has(> .bi-search),
.bi {
font-size: 1.6rem !important;
}

h6 {
font-size: 2rem;
}

/* Navbar */
/* Animation */
.navbar {
    width: 100%;
    padding-block: 0.6rem;
    border-bottom: 0.1rem solid var(--gray-darker);
  
    position: fixed;
    top: 0;
    z-index: 15;
  
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  .navbar.hide {
    transform: translateY(-100%);
    opacity: 0;
  }
  
  nav {
    /* Logo */
    img {
      flex-shrink: 0;
      width: max(3.6rem, min(5rem, 12vw));
      height: max(3.6rem, min(5rem, 12vw));
    }
  
    li {
      font-family: var(--header-font);
    }
  
    .dropdown-menu li {
      height: auto;
      font-size: 1.6rem;
    }
  
    .dropdown-item {
      transition-duration: 100ms;
      transition-property: background;
      transition-timing-function: ease-in-out;
    }
  
    .dropdown-item:active,
    .dropdown-item:hover {
      background-color: var(--gray-dark) !important;
    }
  
    a {
      text-decoration: none;
    }
  
    a.navbar-brand {
      color: var(--white);
      font-size: 2.4rem;
      font-weight: 700;
    }
  
    a.navbar-brand:hover {
      color: var(--white);
    }
  
    .nav-link,
    .nav-item {
      font-size: 1.8rem;
      font-weight: 400;
      color: var(--white) !important;
    }
  
    .nav-link:hover {
      color: var(--blue-primary-hover-dark) !important;
    }
  
    #sign-in-button,
    #sign-up-button,
    #sign-up-button-mobile {
      font-size: 1.6rem;
      font-family: var(--header-font);
      font-weight: 500;
  
      padding: 0.68rem 1.28rem;
      border-radius: 0.4rem;
      cursor: pointer;
  
      background-color: var(--blue-primary);
      color: var(--white);
  
      cursor: pointer;
      transition-property: border transform background-color;
      transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
      transition-duration: 300ms;
    }
  
    #sign-up-button:hover,
    #sign-up-mobile:hover {
      background-color: var(--blue-primary-hover-darker);
      border-radius: 0.4rem;
    }
    /* Mobile */
    .navbar-toggler {
      border-color: var(--gray-dark) !important;
    }
  
    .navbar-toggler-animation {
      color: white;
      background-color: white;
    }
  
    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
  }
  
  /* Responsive navbar */
  @media screen and (max-width: 768px) {
    nav {
      width: 100% !important;
    }
    nav .nav-border {
      border-radius: 0rem !important;
    }
  }
  
  /* Mobile */
  .navbar-collapse {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  @media (min-width: 1200px) {
    .navbar-expand-xl .navbar-collapse {
      display: flex !important;
      flex-basis: auto;
      opacity: 1 !important;
      transform: translateX(0) !important;
    }
  }
  
  .collapse:not(.show) {
    display: block;
    opacity: 0;
    transform: translateX(-100%);
  }
  
  .navbar-toggler.d-block + .collapse:not(.show) {
    display: flex;
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  @media screen and (max-width: 1200px) {
    .navbar-nav {
      background-color: var(--navbar-mobile-bg);
  
      position: absolute;
      left: 0;
      z-index: 10;
  
      width: 100%;
  
      li {
        padding-block: 0.6rem;
      }
      li:nth-child(n + 1) {
        border-bottom: 0.02rem solid var(--navbar-mobile-border);
      }
      li:last-child {
        border: none !important;
      }
  
      .nav-link {
        padding-left: 1rem;
      }
  
      .gap-3 {
        gap: 0 !important;
      }
    }
  }

  /* Modals */
.error-message {
    color: var(--red-danger) !important;
    font-size: 1.4rem !important;
    font-weight: 400;
    font-family: var(--text-font);
  
    padding: 0rem;
  }
  
  .success-message {
    color: var(--green-success-dark) !important;
    font-size: 2rem !important;
    font-weight: 700;
    font-family: var(--text-font);
  }
  
  .advanced-filter.active {
    background-color: var(--blue-primary) !important;
    border-color: var(--blue-primary) !important;
  }
  
  #reset-filters-button {
    transition-property: color;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(1, 0, 0, 1);
  }
  #reset-filters-button:hover {
    cursor: pointer;
  }
  
  #reset-filters-button:hover > p {
    color: var(--gray-light) !important;
  }
  
  #login,
  #register,
  #reset-password,
  #google-justification {
    .modal-header > img {
      flex-shrink: 0;
      width: max(3.6rem, min(5rem, 12vw));
      height: max(3.6rem, min(5rem, 12vw));
    }
  
    .inline-separator {
      width: 25%;
      height: 0.2rem;
      background-color: var(--gray-light);
    }
  
    h1 {
      color: var(--black);
      font-size: 3.2rem;
    }
  
    p {
      color: var(--gray-dark);
      font-size: 1.2rem;
      margin-block: 0rem !important;
    }
  
    a {
      color: #0d6efd;
      text-decoration: underline;
      font-size: 1.7rem;
    }
  
    form {
      filter: var(--drop-shadow-card);
    }
  
    label {
      font-size: 2rem;
      font-weight: 500;
      color: var(--black);
      font-family: var(--heading-font);
    }
  
    .icons {
      position: relative;
    }
  
    .container button {
      width: 100%;
    }
  
    input + i.bi {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
  
      font-size: 2rem;
    }
  
    textarea {
      font-size: 1.4rem;
    }
  
    .input-icon {
      padding: 1rem 3.6rem;
  
      position: relative;
  
      border-radius: 0.4rem;
      border: 0.05rem solid var(--gray-dark);
  
      font-family: var(--text-font);
      font-weight: 400;
      font-size: 1.4rem;
    }
  
    .modal-link {
      text-decoration: underline;
      width: fit-content;
      color: var(--blue-primary);
      cursor: pointer;
  
      transition-property: color;
      transition-duration: 200ms;
      transition-timing-function: ease;
    }
  
    .modal-link:hover {
      color: var(--blue-primary-hover-darker);
    }
  }
  
  @media screen and (min-width: 768px) {
    #login p,
    #register p,
    #reset-password p,
    #google-justification p {
      font-size: 1.8rem;
    }
  }
  
  @media screen and (min-width: 576px) {
    #login .container,
    #register .container,
    #reset-password .container,
    #google-justification .container {
      width: 40rem !important;
    }
  }
  @media screen and (min-width: 768px) {
    #login .container,
    #register .container,
    #reset-password .container,
    #google-justification .container {
      width: 45rem !important;
    }
  }
  @media screen and (min-width: 992px) {
    #login .container,
    #register .container,
    #reset-password .container,
    #google-justification .container {
      width: 50rem !important;
    }
  }
  @media screen and (min-width: 1200px) {
    #login .container,
    #register .container,
    #reset-password .container,
    #google-justification .container {
      width: 55rem !important;
    }
  }
  footer {
    padding: 3.3rem 11.6rem;
  
    h3 {
      font-size: 3.6rem;
    }
  }
  
  footer span {
    font-size: 2rem;
  }
  
    footer a:not(.btn):hover {
      color: var(--blue-primary-hover-dark) !important;
      transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    }

  
