h2 {
  font-size: 23px;
  font-weight: bold;
}

@media (min-width: 576px) {
  h2 {
    font-size: 30px;
    font-weight: bold;
  }
}

.form-check-input:focus {
  border-color: #0054ad;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(55,99,244,.25);
}

h2 {
  font-size: 23px;
}

@media (min-width: 576px) {
  h2 {
    font-size: 30px;
  }
}

h1 {
  font-weight: bold;
  font-size: 30px;
}

.accordion-button:focus {
  z-index: 3;
  border-color: rgba(155,177,250,0);
  outline: 0;
  box-shadow: var(--bs-accordion-btn-focus-box-shadow);
}

::selection {
  color: #ffffff;
  background: #0054ad;
  text-shadow: none;
}

h1 {
  font-size: 23px;
}

@media (min-width: 576px) {
  h1 {
    font-size: 30px;
  }
}

nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 10px;
}

.search-icon {
  display: none;
}

/* Media Queries for Mobile */

/* Adjust the breakpoint as needed */

@media screen and (max-width: 768px) {
  .search-icon {
    display: block;
  }
}

.nav-link:hover, .nav-link:focus {
  color: #ccddef;
}

.logo-slider {
  width: 200px;
  height: 50px;
  overflow: hidden;
  position: relative;
}

.logo-slider img {
  width: 200px;
  height: 50px;
  position: absolute;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.5s ease, opacity 0.2s ease-in-out;
}

.logo-slider img.active {
  opacity: 1;
  transform: translateY(0);
}

.accordion-item {
  color: var(--bs-accordion-color);
  background-color: var(--bs-accordion-bg);
  /*border: var(--bs-accordion-border-width) solid rgba(155,177,250,0);*/
}

@media (max-width: 768px) {
  a.btn {
    width: 100%;
    display: block;
  }
}

/* Cookies banner styles */

.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0054ad;
  padding: 16px;
  text-align: center;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  z-index: 9999;
  transition: transform 0.3s ease;
  transform: translateY(100%);
}

.cookies-banner.show {
  transform: translateY(0);
}

.cookies-banner p {
  margin-bottom: 16px;
  color: #ffffff;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.cookies-btn {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 6.4px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.cookies-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

.reject-btn {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 6.4px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.reject-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

.link-container {
  margin-top: 16px;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
}

.link-container a {
  color: #ffffff;
  text-decoration: underline;
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  font-weight: bold;
}

.link-container a:hover {
  color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

/* Override inherited styles on your website */

.navbar {
  padding: 0 !important;
}

/* Responsive Adjustments */

@media (max-width: 768px) {
  .cookies-banner {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .cookies-banner {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .btn-container {
    flex-direction: column;
  }
}

.cb-gradient-text {
  background: linear-gradient(90deg, #0054ad, #ccddef, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th, td {
  border: 1px solid #ccddef;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #ffffff;
}

@media screen and (max-width: 600px) {
  table {
    overflow-x: auto;
  }
}

/* Custom hover effect for primary buttons */

.btn-primary:hover {
  background-color: #003366;
  border-color: #ffffff;
}

.btn-dark:hover {
  background-color: #ccddef;
  border-color: #0054ad;
}

/* Custom hover effect for white buttons */

.btn-white:hover {
  background-color: #0054ad;
  border-color: #ffffff;
}

/* Light mode */

.light-mode .navbar-nav .nav-link {
  color: #000000 !important;
}

/* Dark mode */

.dark-mode .navbar-nav .nav-link {
  color: #ffffff !important;
}

.review-container {
  position: relative;
  overflow: hidden;
  height: 250px;
  max-width: 600px;
  margin: 0 auto;
}

.review {
  transition: transform 0.5s ease, opacity 0.2s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
}

.review.active {
  opacity: 1;
  transform: translateY(0);
}

.review:not(.active) {
  transform: translateY(100%);
}

@media (max-width: 600px) {
  .review-container {
    height: 250px;
  }
}

@media (max-width: 600px) {
  .review p {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .review-container {
    height: 280px;
  }
}

@media (max-width: 400px) {
  .review p {
    font-size: 12px;
  }
}

#installPromptContainer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0054ad;
  color: #fff;
  padding: 10px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
}

#installPromptContainer span {
  margin-right: 10px;
}

#installButton {
  background-color: #ffffff;
  color: #0054ad;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

#installButton:hover {
  background-color: #003366;
}

@media only screen and (max-width: 600px) {
  #installPromptContainer {
    bottom: 10px;
    right: 10px;
    padding: 8px 16px;
    border-radius: 6px;
  }
}

@media only screen and (max-width: 600px) {
  #installButton {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* Sidemenu style */

#side-menu, .side-menu-overlay {
  position: fixed;
  top: 0;
  height: 100%;
  display: none;
}

body.overflow-hidden {
  overflow: hidden;
}

#side-menu {
  width: 300px;
  right: -300px;
  overflow-y: auto;
  z-index: 1035;
  background: #0054ad;
  padding: 20px 30px;
  color: #fff;
  transition: .4s;
}

body.side-menu-visible #side-menu {
  transform: translateX(-300px);
}

#side-menu .contents {
  margin-top: 15px;
}

#side-menu .nav-link {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 0;
}

#side-menu .nav-link:hover {
  opacity: .8;
}

#side-menu .close {
  font-size: 23px;
  font-weight: 400;
}

.side-menu-overlay {
  left: 0;
  min-width: 100%;
  background: rgba(0,0,0,.4);
  z-index: 100;
}

#side-menu.side-menu-left {
  right: auto;
  left: -300px;
}

body.side-menu-visible #side-menu.side-menu-left {
  transform: translateX(300px);
}

