html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  margin-bottom: 60px;
}

.animated-link {
  display: inline-block; /* Required to apply width to the link */
  position: relative;    /* To control the pseudo-element positioning */
  padding-bottom: 5px;   /* Adds space below the link for the border */
  text-decoration: none; /* Optional: remove underline from the link */
}

.animated-link::after {
  content: '';                        /* Required for pseudo-element */
  position: absolute;                  /* Position it absolutely inside the link */
  left: 0;
  bottom: 0;                           /* Position it at the bottom */
  width: 0%;                           /* Start with 0 width */
  height: 2px;                         /* Set the height of the bottom border */
  background-color: #2D6981;              /* Set the border color */
  transition: width 0.3s ease-out;     /* Animate the width */
}

.animated-link:hover::after {
  width: 100%;                         /* On hover, make the width 100% */
}

.btn-outline-secondary:hover {
  color: white !important;
}

.active-link {
  display: inline-block; /* Required to apply width to the link */
  position: relative;    /* To control the pseudo-element positioning */
  padding-bottom: 5px;   /* Adds space below the link for the border */
  text-decoration: none; /* Optional: remove underline from the link */
  font-weight: bold;
}

.active-link::after {
  content: '';                        /* Required for pseudo-element */
  position: absolute;                  /* Position it absolutely inside the link */
  left: 0;
  bottom: 0;                           /* Position it at the bottom */
  width: 0%;                           /* Start with 0 width */
  height: 2px;                         /* Set the height of the bottom border */
  background-color: #2D6981;              /* Set the border color */
  transition: width 0.3s ease-out;     /* Animate the width */
}