* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/*padding: 20px;*/
	/*background-color: #333;*/
	color: white;
}
.title {
	flex-grow: 1;
	text-align: center;
	font-size: 24px;
}
.buttons {
	display: flex;
	gap: 10px;
}
.buttons button {
	background: none;
	border: none;
	cursor: pointer;
}
.buttons img {
	width: 30px;
	height: 30px;
}


html {
	font-family: "Open Sans", "Arial", sans-serif;
	font-size: 16px;
}

body {
	background: rgb(34, 34, 31);
	--whiteTextColor: rgb(232, 232, 232);
	margin: 0;
}

h1 {
	text-align: center;
	color: var(--whiteTextColor);
	font-size: 1.1rem;
	margin-bottom: 0;
	margin-top: 0.6rem;
}

p {
	text-align: center;
	color: var(--whiteTextColor);
}

a {
	color: #ffc439;
}

input {
	accent-color: #6e6e6e;
}

.streak p {
	margin: 0;
	margin-bottom: 0;
	font-size: 0.7rem;
}

#current-streak {
	left: 0.23rem;
	float: left;
}

#current-streak-text,
#max-streak-text {
	margin: 0;
	font-size: 1rem;
}

.grow-animation {
	animation: grow-animation 0.5s;
}


@keyframes grow-animation {
	from {
		transform: scale(1.7);
	}
	to {
		transform: scale(1);
	}
}

#max-streak {
	right: 0.23rem;
	float: right;
}

#toppest-container {
	margin: auto;
}

#top-container {
	margin: 0.6rem;
	border-radius: 0.64rem;
	padding: 0.6rem;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	box-shadow: 0.3rem 0.3rem 0.36rem rgb(28, 28, 28);
	background: rgb(44, 43, 41);
}

#top-container-phone {
	margin: 0.6rem;
	border-radius: 0.64rem;
	padding: 0.6rem;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	box-shadow: 0.3rem 0.3rem 0.36rem rgb(28, 28, 28);
	background: rgb(44, 43, 41);
	display: none;
}

#top-container-filtroa {
	margin: 0.6rem;
	border-radius: 0.64rem;
	padding: 0.6rem;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	box-shadow: 0.3rem 0.3rem 0.36rem rgb(28, 28, 28);
	background: rgb(44, 43, 41);
}


#aukerak {
	margin: 0.6rem;
	border-radius: 0.64rem;
	padding: 0.6rem;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	background-color: #f17407;
	vertical-align: top;
	width: 25%;
	color: #000000;
}

#aukerak-hik {
	margin: 0.6rem;
	border-radius: 0.64rem;
	padding: 0.6rem;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	background-color: #42047c;
	vertical-align: center;
	width: 25%;
	color: white;
}

.table-aukerak {
	width:100%;
	overflow:auto;
}

#streak-container:after,
#settings-child-container:after {
	content: "";
	display: table;
	clear: both;
}

#streak-container {
	padding: 0.4rem;
	padding-top: 0.3rem;
}

#verb-box {
	display: inline-block;
	padding: 0.05rem;
	border-radius: 1.14rem;
	/* Using position relative because setting negative margins caused alignment to rely on streak text above*/
	position: relative;
}

#verb-box p {
	margin-left: 1.18rem;
	margin-right: 1.18rem;
}

#verb-container {
	text-align: center;
}

#verb-text {
	font-size: 2.2rem;
	margin-top: 0;
	margin-bottom: -0.5rem;
}

#translation {
	font-size: 0.8rem;
	margin-top: 0;
	margin-bottom: 0.18rem;
}

#verb-type {
	line-height: 1;
	font-size: 0.8rem;
	margin-top: 0.6rem;
	margin-bottom: 0.15rem;
}

#conjugation-inquery-text {
	font-size: 1.3rem;
	margin-top: 0.8rem;
	margin-bottom: 0.5rem;
}

#status-container {
	text-align: center;
	min-height: 4rem;
}

#taula-container {
	text-align: center;
	min-height: 8.5rem;
}

/*normal mode*/
#desk-table {
    display: block;
}
#phone-table {
    display: none;
}

/*mobile mode*/
@media only screen and (max-width: 500px) { 
    #desk-table {
        display: none;
    }
    #phone-table {
        display: none;
    }
	#top-container-filtroa {
    	display: none;
  }
}

#status-box {
	/* change between inline-flex and none */
	display: none;
	background:#009a44;
	border-radius: 0.91rem;
	min-width: 66%;
	min-height: 4rem;
	justify-content: center;
	flex-direction: column;
	pointer-events: none;
}

#taula-box {
	/* change between inline-flex and none */
	display: none;
	background: #009a44;
	border-radius: 0.91rem;
	min-width: 66%;
	min-height: 4rem;
	justify-content: center;
	flex-direction: column;
}

.taula-botoia {
	border: none;
	background-color: inherit;
	margin:0;
    padding:0;
	display: inline-block;
}

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* opcional, para centrarla */
}

#status-text {
	line-height: 1.5;
	vertical-align: middle;
	font-size: 0.9rem;
	color: white;
	margin-left: 0.8rem;
	margin-right: 0.8rem;
	margin-top: 0.3rem;
	margin-bottom: 0.3rem;
}




#content-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

#input-container {
  margin-bottom: 10px;
}

#main-text-input {
  width: 100%;
  max-width: 400px;
  padding: 6px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.tooltip-fade-animation {
	animation: tooltip-fade-animation 6s;
}

@keyframes tooltip-fade-animation {
	0% {
		opacity: 0;
	}
	6% {
		opacity: 1;
	}
	80% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.tooltip {
	position: absolute;
	font-size: 0.66rem;
	color: white;
	background: #da291c;
	border-radius: 0.3rem;
	padding: 0 0.4rem;
	bottom: 100%;
	left: 7%;

	opacity: 0;
}

.tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 14%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #da291c	transparent transparent transparent;
}

#main-text-input,
#settings-child-container {
	width: 88%;
	text-align: center;
	display: inline-block;
}



#main-text-input:hover:not(:focus):not(:disabled) {
	background: rgb(224, 224, 224);
}

#main-text-input:disabled {
	background: rgb(150, 150, 150);
}

#settings-container {
	text-align: center;
	margin: 0;
}

#settings-child-container {
	display: inline-block;
	text-align: center;
	display: inline-block;
}


button {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}


#settings-table td {
	text-align: center;
  padding: 5px;
  vertical-align: middle;
}

#settings-table {
	width: auto;
	border-collapse: collapse;
	margin: 0 auto;
}

#settings-table td {
	text-align: center;
	width: 33.33%;
}

button {
	float: none;
	background: rgb(63, 63, 63);
	border: none;
	box-shadow: 0 0.045rem 0 rgb(35, 35, 35), 0.045rem 0 0 rgb(35, 35, 35),
		0.09rem 0.045rem 0 rgb(35, 35, 35), 0.045rem 0.09rem 0 rgb(35, 35, 35),
		0.136rem 0.09rem 0 rgb(35, 35, 35), 0.09rem 0.136rem 0 rgb(35, 35, 35);
	border-radius: 0.4rem;
	color: var(--whiteTextColor);
	padding-top: 0.18rem;
	padding-bottom: 0.18rem;
	padding-right: 0.27rem;
	padding-left: 0.27rem;
	font-size: 0.73rem;
	margin-right: -0.27rem;
	/*width: 100px;*/
}

#back-button {
	padding-right: 0.4rem;
}

button:hover {
	background: rgb(70, 70, 70);
}

button:disabled {
	background: rgb(40, 40, 40);
	color: rgb(135, 135, 135);
}

#press-any-key-text1 {
	margin: 0;
	font-size: 0.64rem;
	display: none;
	color: var(--whiteTextColor);
}

#press-any-key-text {
	display: none;
	background: #009a44;
	border-radius: 0.91rem;
	min-width: 66%;
	min-height: 4rem;
	justify-content: center;
	flex-direction: column;
	font-size: 15px;
	color: var(--whiteTextColor);
}


h2 {
	text-align: center;
	color: var(--whiteTextColor);
	margin-top: 0.1rem;
	margin-bottom: 0.45rem;
	font-size: 1rem;
}

h4 {
	text-align: center;
	color: var(--blackTextColor);
	margin-top: 0.1rem;
	margin-bottom: 0.45rem;
	font-size: 1rem;
}

#options-view {
	padding-left: 0.73rem;
	padding-right: 0.73rem;
	display: none;
}

#options-form {
	font-size: 0.8rem;
	text-align: left;
	color: var(--whiteTextColor);
}

#aukerak-form {
	font-size: 0.7rem;
	text-align: left;
	font-weight: bold;
}

div.aukerak-row {
	width: 125px;
  }

#options-form .option-row {
	margin-bottom: 0.18rem;
}

#options-form .sub-option-row {
	margin-bottom: 0.09rem;
}

#top-must-choose {
	max-width: 70%;
}

.must-choose-one-text {
	float: right;
	color: #da291c;
	text-align: right;
	font-size: 0.6rem;
}

#options-form td:not(.must-choose-one-text) {
	width: 35%;
}

#options-form input {
	min-width: 13px;
	min-height: 13px;
	width: 0.6rem;
	height: 0.6rem;
}

#options-form label {
	padding-left: 0.25rem;
}

.options-indent {
	padding-left: 1.36rem;
}

#back-button-container {
	display: inline-block;
	width: 100%;
	margin-top: 0.45rem;
}

#options-form h3 {
	display: inline-block;
	margin-top: 0;
	margin-bottom: 0;
}

.transparent {
	opacity: 0;
}

.hide-furigana rt,
.display-none,
.hide-emojis .inquery-emoji {
	display: none;
}

hr {
	margin: 0.18rem;
	border: 0.045rem solid rgb(66, 66, 66);
}

#adjectives-h3-container,
#verbs-h3-container {
	margin-top: 0.45rem;
	margin-bottom: 0.45rem;
}


#donation-section-2 {
	margin: 0.6rem;
	text-align: center;
	display: none;
}

.conjugation-inquery {
	display: inline-block;
}

.inquery-emoji {
	font-size: 0.7rem;
	line-height: 1.1;
}

.inquery-text {
	line-height: 1.1;
}

@media screen and (min-width: 510px) {
	html {
		font-size: 18px;
	}
	#toppest-container {
		width: 510px;
	}
	#top-container {
		padding: 0.6rem 0.6rem;
	}
	#top-container-phone {
		display: none;
		padding: 0.6rem 0.6rem;
	}
		
	h1 {
		font-size: 1.4rem;
		margin-bottom: 0.9rem;
		margin-top: 0.9rem;
	}
	#content-wrapper {
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	}

	#input-container {
	margin-bottom: 10px;
	}

	#main-text-input {
	width: 100%;
	max-width: 400px;
	padding: 6px;
	font-size: 1em;
	border-radius: 6px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	}
	#conjugation-inquery-text {
		margin-top: 1rem;
	}
	#status-container {
		margin: 1rem;
	}
}

@media screen and (min-width: 750px) {
	html {
		font-size: 20px;
	}
	#toppest-container {
		width: 575px;
	}
	#content-wrapper {
		max-width: 600px;
		margin: 0 auto;
		text-align: center;
	}

	#input-container {
		margin-bottom: 10px;
	}

	#main-text-input {
		width: 100%;
		max-width: 400px;
		padding: 6px;
		font-size: 1em;
		border-radius: 6px;
		border: 1px solid #ccc;
		box-sizing: border-box;
	}
}

@media screen and (min-width: 1100px) {
	html {
		font-size: 22px;
	}
	#toppest-container {
		width: 650px;
	}
	h1 {
		margin-bottom: 1rem;
		margin-top: 1rem;
	}
		#content-wrapper {
		max-width: 600px;
		margin: 0 auto;
		text-align: center;
	}

	#input-container {
		margin-bottom: 10px;
	}

	#main-text-input {
		width: 100%;
		max-width: 400px;
		padding: 6px;
		font-size: 1em;
		border-radius: 6px;
		border: 1px solid #ccc;
		box-sizing: border-box;
	}
}

#input-container {
  text-align: center;
  margin-bottom: 10px;
}


#aukerak-button {
  position: relative;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#aukerak-button::before,
#aukerak-button::after {
  content: "▼";
  font-size: 0.7rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
  pointer-events: none;
}

#aukerak-button::before {
  left: 0.5rem;
}

#aukerak-button::after {
  right: 0.5rem;
}

/* ===========================
   FORMULARIO DE CONTACTO
=========================== */

/*#contact-form {
  background: rgb(44, 43, 41);
  padding: 1rem;
  border-radius: 0.64rem;
  box-shadow: 0.3rem 0.3rem 0.36rem rgb(28,28,28);
  max-width: 500px;
  margin: 1rem auto;
  color: var(--whiteTextColor);
  text-align: left;
}*/

#contact-form label {
  display: block;
  margin: 0.5rem 0 0.2rem;
  font-size: 0.7rem;
  color: var(--whiteTextColor);
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.4rem;
  border: none;
  background: rgb(63, 63, 63);
  color: var(--whiteTextColor);
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
  box-sizing: border-box;
}

#contact-form textarea {
  resize: none; /* <- quita el "resize" en esquina */
  min-height: 6rem;
}

#contact-form .buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

#contact-form button {
  padding: 0.3rem 0.8rem;
  border-radius: 0.4rem;
  border: none;
  background: rgb(63, 63, 63); /* igual que el botón de taula/ filtro */
  color: var(--whiteTextColor);
  box-shadow: 0 0.045rem 0 rgb(35,35,35),
              0.045rem 0 0 rgb(35,35,35),
              0.09rem 0.045rem 0 rgb(35,35,35),
              0.045rem 0.09rem 0 rgb(35,35,35),
              0.136rem 0.09rem 0 rgb(35,35,35),
              0.09rem 0.136rem 0 rgb(35,35,35);
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact-form button:hover {
  background: rgb(70,70,70);
}

.footer-text {
	color: gray;
	font-size: 0.61rem;
	margin-bottom: 0.1rem;
	margin-top: 0.3rem;
}

.footer-text p {
  display: flex;
  justify-content: center;
  gap: 12px; /* espacio moderno y limpio */
}

.info-container {
    max-width: 800px;
    margin: 1rem auto;
    padding: 0 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--whiteTextColor); /* o el color de texto que uses */
}

.info-container p {
    margin-bottom: 1rem; /* espacio entre párrafos */
}