@charset "UTF-8";

/* CSS Document */
h1 {
  color: black;
  font-family: Helvetica;
  font-size: 5em;
  font-weight: bold;
}

h2 {
  color: black;
  font-family: Helvetica;
  font-size: 3em;
  font-weight: bold;
}

h3 {
  color: black;
  font-family: Helvetica;
  font-size: 2em;
  font-weight: bold;
}

h5 {
  color: black;
  font-family: Helvetica;
  font-size: 1em;
}

p {
  color: black;
  font-family: Helvetica;
  font-size: 1em;
  margin-left: 10%;
  margin-right: 10%;
}

.text p {

  text-align: justify;
}

.carousel-caption {
  position: unset;
}

img {
  max-width: 100%;
  max-height: 100%;
}

.picture2 {
  display: none;
}

.usThemMainImages:hover .picture1 {
  display: none;
}

.usThemMainImages:hover .picture2 {
  display: block;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  margin-top: 30px;
  padding: 30px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .copyright {
  text-align: center;
  color: #000;
}

.footer .credits {
  padding-top: 6px;
  text-align: center;
  font-size: 13px;
  color: #000;
}

.footer .credits a {
  color: #000;
}


/*--------------------------------------------------------------
# Questions Page 
--------------------------------------------------------------*/
.questionnaire-page {
  font-family: Arial, sans-serif;
  margin: 20px;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

.questionnaire-page h1 {
  text-align: left;
  font-size: 2em;
  margin-bottom: 20px;
}

.questionnaire-form {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.questionnaire-form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
  font-size: 1.1em;
}

.questionnaire-form input[type="radio"],
.questionnaire-form input[type="text"] {
  margin-bottom: 10px;
  font-size: 1em;
}

.questionnaire-form input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 1.1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.questionnaire-form button {
  width: 100%;
  padding: 12px;
  font-size: 1.2em;
  font-weight: bold;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  margin-top: 20px;
  cursor: pointer;
}

.questionnaire-form button:hover {
  background: #0056b3;
}

.radio-group {
  margin: 10px 0;
}

.radio-group label {
  font-weight: normal;
  display: block;
  padding: 6px 0;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.popup-content p {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.popup.hidden {
  display: none;
}

/*--------------------------------------------------------------
# SignIn Page
--------------------------------------------------------------*/
.signin-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f4f4f4;
}

.signin-page .wrapper {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
}

.signin-page .input-box {
  margin-bottom: 20px;
}

.signin-page input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.signin-page .button {
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.signin-page .button:hover {
  background-color: #45a049;
}


/*--------------------------------------------------------------
# Admin Page
--------------------------------------------------------------*/
#adminTable {
  width: 90%;
  margin: 30px auto;
  border-collapse: collapse;
  font-family: Helvetica;
  font-size: 16px;
}

#adminTable th,
#adminTable td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  padding: 8px;
}

#adminTable th {
  background-color: #f2f2f2;
  font-weight: bold;
}

#adminTable td {
  word-break: break-word;
  max-width: 250px;
}

#adminTable tr:nth-child(even) {
  background-color: #f9f9f9;
}

.delete-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
}

.delete-btn:hover {
  background-color: #c0392b;
}

.admin-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
}

.action-btn {
  background-color: #383d39;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
  font-family: Helvetica, Arial, sans-serif;
  transition: background-color 0.2s ease;
}

.action-btn:hover {
  background-color: #2980b9;
}

/*--------------------------------------------------------------
# Animate Response boxes 
--------------------------------------------------------------*/
.scroll-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.scroll-content-boxes-moving {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.scroll-inner {
  position: absolute; 
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/*--------------------------------------------------------------
# Us Response boxes 
--------------------------------------------------------------*/
.response-row {
  display: flex;
  align-items: center;
  vertical-align: top;
  gap: 37.5px;
  margin: 37.5px auto;
  max-width: 2000px;
}

.response-box {
  border: 2px solid black;
  background-color: white;
  padding: 25px;
  max-width: 1500px;
  margin: 10px auto;
  text-align: center;
  font-size: 2.8em;
  font-family: Helvetica, Arial, sans-serif;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.response-text {
  margin: 0;
  font-size: 2.75em;
  font-family: Helvetica, Arial, sans-serif;
  flex: 1;
}

/*--------------------------------------------------------------
# Them Response boxes 
--------------------------------------------------------------*/
.them-response-row {
  display: flex;
  align-items: center;
  gap: 37.5px;
  margin: 37.5px auto;
  max-width: 2000px;
}

.them-response-box {
  border: 2px solid black;
  background-color: rgb(0, 0, 0);
  padding: 25px;
  max-width: 1500px;
  margin: 10px auto;
  text-align: center;
  font-size: 2.8em;
  font-family: Helvetica, Arial, sans-serif;
  color: white !important;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.them-response-text {
  margin: 0;
  font-size: 2.75em;
  font-family: Helvetica, Arial, sans-serif;
  flex: 1;
}

/*--------------------------------------------------------------
# Results Response boxes 
--------------------------------------------------------------*/
#resultsContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Reuse US style */
.response-box {
  border: 2px solid black;
  background-color: white;
  padding: 10px;
  max-width: 600px;
  margin: 10px auto;
  text-align: center;
  font-family: Helvetica, Arial, sans-serif;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Reuse THEM style */
.them-response-box {
  border: 2px solid black;
  background-color: black;
  padding: 10px;
  max-width: 600px;
  margin: 10px auto;
  text-align: center;
  font-family: Helvetica, Arial, sans-serif;
  color: white !important;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}