/* Reset marginesów i paddingu */

@font-face {
    font-family: 'TeleNeo-Bold';
    src: url('fonts/TeleNeo-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'TeleNeo-ExtraBold';
    src: url('fonts/TeleNeo-ExtraBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  background: url('images/background.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'TeleNeo-Bold', sans-serif;
}

/* Header – pozostaje bez zmian */
#headerImg {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 90%;
  height: 20vh;
  z-index: 1001;
  pointer-events: none;
}

/* Footer – pozostaje bez zmian */
#footerImg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  /*height: 20vh;*/
  z-index: 1001;
  pointer-events: none;
}

/* Warstwa ostrzegająca przy złej orientacji */
#orientationWarning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1);
  color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1002;
  padding: 20px;
}

/* Główny kontener – zawartość mieści się między header a footer */
#quizContent {
  position: absolute;
  top: 20vh;    /* poniżej headerImg */
  bottom: 20vh; /* powyżej footerImg */
  left: 0;
  right: 0;
  /* overflow-y: auto; */
  /*padding: 10px;*/
  box-sizing: border-box;
  background: transparent;
}

/* Poprawka dla obrazków call-to-action */
.ctaImage {
  object-fit: contain;
  max-height: 100%;
  max-width: 100%;
  cursor: pointer;
}

/* Nakładki */
.half-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  cursor: pointer;
}
.top-half {
  top: 0;
}
.bottom-half {
  bottom: 0;
}

/* Formularz */
#formTopText {
  color: #e10674;
  width: 80%;
  text-align: center;
  margin: 0 10% 10px 10%;
}
.form-input {
  width: 70%;
  background-color: #fff;
  border: 1px solid #868686;
  border-radius: 12px;
  margin: 10px auto;
  padding: 8px;
}
.form-start-btn {
  width: 70%;
  cursor: pointer;
  margin-top: 10px;
}

/* Style ekranów */
.screen {
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.screen.visible {
  display: flex;
}

/* Sekcja quizu (dynamicznie tworzona) */
#quizSection {
  /*padding: 20px;*/
  text-align: center;
}
#playerMessage {
  font-size: 24px;
  color: #e21274;
  margin-bottom: 10px;
}
#questionContainer {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}
#questionHeader {
  color: #e21274;
  margin-bottom: 20px;
}
.option {
  display: flex;
  align-items: center;
  margin: 15px auto;
  padding: 10px;
  border: 1px solid #e21274;
  border-radius: 5px;
  cursor: pointer;
  width: 80%;
  max-width: 400px;
  color: #e21274;
  text-align: left;
}


/* Efekt po kliknięciu – dodawany przez JS na chwilę */
.option.active {
  background-color: rgba(226, 18, 116, 0.1);
}



.option-circle {
    background-color: #e21274;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    flex-shrink: 0;
}

#contestPrompt {

  padding: 0 !important;
}

/* Styl dla tytułu prompta konkursowego */
#contestPrompt p {
  font-size: 28px;  /* lub większy, w zależności od potrzeb */
  color: #e10674;
  margin-bottom: 20px;
  padding: 0;
}

/* Kontener na przyciski ustawiony w jednym wierszu */
.button-container {
  display: flex;
  justify-content: center;
  gap: 20px; /* odstęp między przyciskami */
}


button {
    background-color: #e21174;
    color: #ffffff;
    margin: 15px;
    padding: 10px 25px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #c10f63;
}

/* Dodatkowe ekrany, np. wyniki i prompt konkursowy */
#contestPrompt {
  width: 100%;
  text-align: center;
}
