*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  min-height: 100vh;
  /* font-family: 'Inter', sans-serif; */
  font-family: 'Nunito', sans-serif;
}

.main-content {
  flex: 1;
}

.bg { 
  background-image: url('../img/bg.svg');
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover; /* lub contain, auto, etc. */
  background-position: center;
}

.bg_gradient {
  background: linear-gradient(to bottom, #c4c2c2, #fef1e9);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.07em;
}

h1, .h1 {
  font-size: calc(1.375rem + 1.5vw); }
  @media (min-width: 1200px) {
    h1, .h1 {
      font-size: 2.5rem; } }

h2, .h2 {
  font-size: calc(1.325rem + 0.9vw); }
  @media (min-width: 1200px) {
    h2, .h2 {
      font-size: 2rem; } }

h3, .h3 {
  font-size: calc(1.3rem + 0.6vw); }
  @media (min-width: 1200px) {
    h3, .h3 {
      font-size: 1.75rem; } }

h4, .h4 {
  font-size: calc(1.275rem + 0.3vw); }
  @media (min-width: 1200px) {
    h4, .h4 {
      font-size: 1.5rem; } }

h5, .h5 {
  font-size: 1.25rem; }

h6, .h6 {
  font-size: 1rem; } 

.question {
  font-family: 'Crimson Text', serif;
  font-size: 3rem;
  font-weight: 600;
  /* color: #3c3838; */
  /* color: #4D4C7D; */
  color: #204252;
  text-align: center;
  line-height: 1;
  padding-bottom: 10px;
}

.question-box {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 2.5rem;    
    background-color: white;
    color: #212529;
    padding: 20px 25px;
    margin: 15px 0px;
    text-align: left;
    word-wrap: break-word;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 10px;
    box-shadow: 0 0 2.4em rgba(25, 0, 58, 0.1);
}

.answer-box {
    background-color: white;
    /* color: #5b5d5e; */  /* #212529; */
    color: #416e85; /* #214252 */
    padding: 10px 25px 20px;
    min-height: 150px;
    text-align: left;
    word-wrap: break-word;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 10px;
    box-shadow: 0 0 2.4em rgba(25, 0, 58, 0.1);
    transition: transform 0.3s;
    position: relative;
}

.answer-box:hover {
  transform: scale(1.02);
}

.answer-box.good {
    background-color: #d2f8c8;
}

.answer-box.fail {
    background-color: #fbdade;
}

.answer-box.selected {
  border: 1px solid red;
}

.answer-box.answer-icon-fail {
  background-image: url('../img/fail.png');
  background-repeat: no-repeat;
  background-size: 24px 24px; /* Dopasowanie rozmiaru */
  background-position: right 12px bottom 12px; /* Pozycjonowanie ikony */
}

.answer-box.answer-icon-good {
  background-image: url('../img/ok.png');
  background-repeat: no-repeat;
  background-size: 24px 24px; /* Dopasowanie rozmiaru */
  background-position: right 12px bottom 12px; /* Pozycjonowanie ikony */
}

/* Dodaj ten CSS po załączeniu plików CSS Bootstrap */
.navbar {
    background-color: #214252;
    color: #ffffff; /* Biały kolor tekstu */
    height: 60px !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #ffffff; /* Biały kolor tekstu dla linków */
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #cccccc; /* Jasnoszary kolor tekstu dla linków przy najechaniu */
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.25rem;
  color: white !important;
  text-decoration: none;
  white-space: nowrap; 
}

.navbar-brand:hover {
  color: white !important;
}

.scale-half {
    transform: scale(0.5);
    transform-origin: top left;
}

.smaller-card {
    padding: 0.5rem; /* Adjust padding */
    font-size: 0.8rem; /* Adjust font size */
}

.smaller-card .card-body {
    padding: 0.5rem; /* Adjust padding */
}
  
.smaller-card .progress {
    height: 0.5rem; /* Adjust progress bar height */
}

.progress-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #ffffff;
}

.btn-answer {
  background-color: transparent;
  border-color: #214252;
  color: #214252;
  border-radius: 10px;
  padding: 8px 15px;
}

.btn-answer:hover {
  background-color: #214252;
  color: #ffffff;
}

.main-img {
  width: 100%;
  background-image: url('../img/mozg.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 782 / 533;
  border-radius: 15px;
}

.header-margin {
  margin-top: 50px;
}

.header-text-big {
  /* color: #4D4C7D; */
  color: #204252;
}

.header-text-small {
  /* color: #848d92; */
  font-family: Roboto, system-ui;
  font-weight: 400;
  color: #596972;
  font-size: 1.0rem;
  line-height: 1.5;
}

.site-footer {
  background: #214252;
  font-size: 14px;
  padding: 8px 0px 5px 0px;
  color: white; 
}

.footer-email {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #343a40; /* ciemne tło, np. Bootstrapowe bg-dark */
    padding: 1rem;
  }
}
