@import "tailwindcss";
@import './theme-variables.css';

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

#__next {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  background-color: var(--content-bg);
  transition: all 0.3s ease;
}

.main-first-section {
  margin-top: -1.2rem;
  /* kompenserar för main-padding */
}


h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  color: var(--text-color);
  margin: 2rem 0 1.5rem;
  text-align: center;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--text-color);
  margin: 1rem 0 0.5rem;
}

p {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: clamp(0.95rem, 2.5vw, 1rem);
}

/* Override TermsFeed language select – alltid ljus */
.cc-pc-head-lang-select {
  background-color: #ffffff !important;
  color: #212529 !important;
  border: 1px solid #dee2e6 !important;
}

.cc-pc-head-lang-select option {
  background-color: #ffffff !important;
  color: #212529 !important;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}