
:root {
	--primary-color: #10a37f;
	--secondary-color: #f0f0f0;
	--text-color: #333333;
	--background-color: #ffffff;
	--chat-bg: #f7f7f8;
	--user-message-bg: #dcf8c6;
	--ai-message-bg: #ffffff;
	--button-hover: #0d8a6f;
	--footer-bg: #f0f0f0;
	--footer-active: #10a37f;
		--primary-color2: #4caf50;
	--secondary-color2: #45a049;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}



body {
  font-family: "Inter", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.2;
  font-size: 1.2rem; /* Increased base font size */
  display: flex;
  flex-direction: column;


}
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
 justify-content: flex-start; 
 overflow-y: auto;


}

.subject-selector {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-bottom: 15px;
}

.subject-button {
	padding: 5px 5px;
	background-color: #ffffff;
	border: 5px solid #006400;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
	font-size: 15px;
  
}
.subject-button.active {
	background-color: #006400;
	color: #ffffff;
}
.options-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 10px;  
	
}
.question-count,
.timer-container {

	display: flex;
	align-items: center;
	gap: 10px;
}

.question-count label,
.timer-container label {
	font-size: 13px;
	display: flex;
	align-items: center;
    flex-wrap: wrap;	gap: 4px;

}
input[type="number"] {
	width: 60px;
	padding: 5px;
	border: 1px solid #ccc;
	border-radius: 1px;
	font-size: 23px;
  
}
.timer {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 13px;
	
}

.timer-button {
	padding: 3px 3px;
	background-color: #006400;
	color: #ffffff;
	border: none;
	border-radius: 1px;
	cursor: pointer;
	font-size: 0.5rem;  


}
.generate-button {
	display: block;
	width: 100%;
	padding: 3px;
	background-color: #006400;
	color: #ffffff;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-size: 15px;

  
}
.questions-container {
	max-width: 100%;
	background-color: #ffffff;
	border-radius: 6px;
	padding: 3px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
	overflow-y: auto;
  max-height: 290px;
 
 
}
.question {
	margin-bottom: 1rem;
	font-size: 0.7rem;
}
.question p {
	margin-bottom: 1rem;
	font-size: 0.7rem; /* Exemplo de ajuste para o texto da questão */
}
.question h3 {
	margin-bottom: 1rem;
	color: #006400;
	font-size: 0.7rem;
}
.options {
	list-style-type: none;
}
.option {
	margin-bottom: 10px;
}

.options .option input[type="radio"],
.options .option input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	margin-right: 1rem;
}

.options .option label {
	font-size: 0.9rem;
	display: inline-block;
	vertical-align: middle;
}
.submit-button {
	display: block;
	width: 100%;
	padding: 5px;
	background-color: #006400;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 15px;
	margin-top: 10px;
}
.footer {
  background-color: var(--footer-bg);
    padding: 0.2rem 0.2rem;
  text-align: center;
  position: fixed;
  bottom: 0;
   width: 100%;       z-index: 999;   
  
}

.footer-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;     z-index: 999;
}

.footer-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem; /* Increased footer text size */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.2rem;
  transition: all 0.3s ease;       z-index: 999;
       margin-bottom: 1px;
}

.footer-nav a i {
  font-size: 1rem; /* Increased footer icon size */
  margin-bottom: 0.3rem;
   width: 100%;
  
}

.footer-nav a.active {
  color: var(--footer-active);
}

/* Breakpoints para dispositivos móveis */
@media (max-width: 768px) {


	.subject-selector {
		gap: 0.5rem;
	}

	.subject-button {
		font-size: 0.9rem;
		padding: 0.5rem 0.75rem;
		flex: 1 1 100px;
	}

	input[type="number"] {
		max-width: 10rem;
		font-size: 0.8rem; /* Reduz o tamanho da fonte para inputs numéricos */
		padding: 0.5rem; /* Diminui o padding */
	}

	.timer {
		font-size: 0.8rem; /* Reduz o tamanho da fonte do timer */
	}

	.timer-button {
		font-size: 0.7rem; /* Reduz o tamanho da fonte dos botões do timer */
		padding: 0.5rem 0.5rem; /* Diminui o padding dos botões */
	}

	.generate-button {
		font-size: 0.7rem; /* Reduz o tamanho da fonte do botão "Gerar Exercícios" */
		padding: 0.8rem; /* Diminui o padding */
    
	}

	.options-container {
		flex-direction: column; /* Em dispositivos móveis, empilhar os itens */
	}

	.question-count,
	.timer-container {
		flex-direction: row;
		width: 60%;
		justify-content: space-between;
	}

	.timer-buttons {
		flex-direction: row;
		width: 60%;
		justify-content: space-between;
	}
	
    .footer-nav a {
        font-size: 1rem;
    }

    .footer-nav a i {
      font-size: 1rem; /* Increased footer icon size */
    }
}
@media (max-width: 480px) {
	.header h1 {
		font-size: 1rem;
	}
	.options-container {
		flex-direction: column; /* Em dispositivos móveis, empilhar os itens */
	}

	.question-count,
	.timer-container {
		flex-direction: row;
		width: 90%;
		justify-content: space-between;
	}

	.subject-button {
		font-size: 1rem;
		padding: 0.4rem 0.5rem;
		flex: 1 1 100px;
	}

	input[type="number"] {
		max-width: 4rem;
		font-size: 0.75rem;
		padding: 0.4rem;
	}

	.timer {
		font-size: 0.75rem;
	}

	.timer-button {
		font-size: 0.75rem;
		padding: 0.4rem 0.5rem;
	}

	.generate-button {
		font-size: 0.75rem;
		padding: 0.8rem;
    
	}

	   .footer {
          padding: 0.3rem 0.3rem;
    }

    .footer-nav a {
        font-size: 1rem;
    }

    .footer-nav a i {
        font-size: 1rem; /* Increased footer icon size */
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .footer-nav a {
        font-size: 1rem;
    }

    .footer-nav a i {
  font-size: 1rem; /* Increased footer icon size */
    }

    .card-header h2 {
        font-size: 0.8rem;
    }

}
