/* Resetări de bază */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f4f4f4;
	  font-optical-sizing: auto;
	  font-style: normal;
}



p { 
	margin:8px 0px 2px;
	line-height: 22px;
	font-size: 18px



}


/* Containerul central */
.container {
  width: 80%;
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;

  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.align-center {
	text-align: center;
}

.mb-10 {
	margin-bottom: 10px;
}

.mt-30 {
	margin-top: 30px;
}

.mb-30 {
	margin-bottom: 30px;
}

/* Wrapper pentru video pentru aspect responsive */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;

}

.intro-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Textul de sub video */
.intro-text {
  margin-top: 20px;
  font-size: 18px;
  color: #333;
}
.start-btn {
  margin-top: 30px;
  position: relative; /* Pentru poziționarea pointerului în raport cu butonul */
  display: inline-block;
}

.btn {
  display: inline-block;
  background-color: #ff0000; /* Roșu */
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 18px;

  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  animation: pulse 2s infinite;
}

.btn:hover {
  background-color: #cc0000;
}

.no-pulse {
	
	animation:none;
}

.btn-2 {
	background-color: #0B00A3;
  	
}

.mr-20 {
	margin-right: 20px;
}

.large-button{
	
	padding: 20px 30px;
	font-weight: bold;
}

.btn-2:hover {
  background-color: #00052F;
}

/* Animație de pulsare pentru buton */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 10px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Stilul și animația pointerului */
.pointer {
  position: absolute;
  font-size: 24px;
  top: 50%; 
  left: -50px; /* Începe în afara butonului, pe partea stângă */
  transform: translateY(-50%);
  opacity: 0;
  z-index: 10;
  animation: pointerSlide 3s ease-in-out infinite;
}

@keyframes pointerSlide {
  0% {
    opacity: 0;
    left: -50px;
  }
  10% {
    opacity: 1;
    left: -50px;
  }
  30% {
    left: 10px; /* Pointerul se deplasează lângă buton */
  }
  40% {
    transform: translateY(-40%); /* Simulează apăsarea printr-o mică deplasare în jos */
  }
  50% {
    transform: translateY(-50%);
  }
  70% {
    left: -50px; /* Pointerul revine din stânga */
  }
  100% {
    opacity: 0;
    left: -50px;
  }
}


  .result-msg {
      margin-bottom: 20px;
      text-align: center;
      font-weight: bold;
      font-size: 1.2em;
    }

  .error-msg {
      display: none;
      margin-bottom: 20px;
      padding: 10px;
      background-color: #FF0004;
      color: #fff;
      text-align: center;
    
      font-weight: bold;
    }

.survey-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Gridul de răspunsuri, afișat pe o singură coloană */
.answers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Containerul pentru fiecare opțiune */
.answer-option {
  position: relative;

  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Label-ul care acoperă toată zona opțiunii */
.answer-option label {
  display: block;
  padding: 20px;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;

  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Culorile inițiale pentru fiecare opțiune */
.option-1 label {
  background-color: #19297C;  /* roșu */
}
.option-2 label {
  background-color: #C49BBB;  /* albastru */
}
.option-3 label {
  background-color: #A1867F;  /* verde */
}
.option-4 label {
  background-color: #585481;  /* mov */
}

.option-5 label {
  background-color: #C49BBB;  /* mov */
}

/* Efect de hover pentru întreaga opțiune */
.answer-option:hover {
  transform: translateY(-5px);
}

/* Ascundem input-ul radio */
.answer-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Când opțiunea este selectată, schimbăm culoarea label-ului în gri */
.answer-option input[type="radio"]:checked + label {
  background-color: #7f8c8d;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: scale(1.03);
}


 .incorrect {
      background-color: #c0392b !important;
    }


 .correct {
      background-color: #2ecc71 !important;
    }


   .explanation {
      display: none;
      margin-top: 10px;
      font-size: 0.8em;
      font-style: italic;
      color: rgba(255,255,255,0.9);
    }


/* Butonul de submit */
.submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  border: none;

  background-color: #34495e;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #2c3e50;
}


/* Stilizare pentru buton */
    .audio-btn {
      background-color: #3498db;
      color: #fff;
      padding: 10px 20px;
      border: none;
    
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease;
	  margin-bottom: 20px;	
    }
    .audio-btn:hover {
      background-color: #2980b9;
    }
    /* Containerul audio */
    .audio-container {
      display: none;
    
      padding: 10px;



      text-align: center;
      animation: fadeIn 0.5s ease-in-out;
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

@media only screen and (max-width: 1024px) {
	
	h1 {
		
		font-size: 18px;
	}
	
	p {
		font-size: 14px;
	}
	
	
	h2 {
		
		font-size: 18px;
	}
	
	
	.answer-option label {
		
		font-size: 14px;
		padding: 14px;
	}
	
	
	h3 {
		
		font-size: 16px;
		font-weight: 300;
	}
	
	
	.container {
		
		margin: 10px auto;
		width: 95%;

		
	}
	
}
	
	
	
	
	   /* Containerul principal: 100% pe mobil, maxim 900px pe desktop, centrat */
    .containerqr_ {
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
    }
    /* Fiecare div are înălțimea minimă de 400px */
    .containerqr_ > div {
      flex: 1;

    }
    /* Primul div: text centrat pe verticală și orizontală */
    .div1qr_ {
      display: flex;
	  flex-direction: column;
      justify-content: center;
      background-color: #f2f2f2; /* opțional, pentru evidențiere */
      padding: 20px;
    }
    /* Al doilea div: imagine care acoperă tot spațiul */
    .div2qr_ {
      position: relative;
      overflow: hidden;
    }
    .div2qr_ img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    /* Layout pentru ecrane cu lățimea mai mare de 1024px: divurile unul lângă altul */
    @media (min-width: 1024px) {
      .containerqr_ {
        flex-direction: row;
      }
    }
    /* Layout pentru ecrane sub 1024px: divurile unul sub altul */
    @media (max-width: 1023px) {
      .containerqr_ {
        flex-direction: column;
      }
    }