body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
}

/* Barra de Navegacao */  
.navbar {
  background-color: black;
}

.navbar-brand img{
  width: 50%;
  height: auto; 
}

.navbar-nav .nav-link {
  color: #ffffff !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover {
  outline: none;
}


/* Hero Section */
.hero-section {
  background-image: url('img/psico.png');
  background-size: cover;
  background-position: center;
  padding: 150px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: bold;
}

.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 3rem;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Sobre Nos */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
}

/*Imagens da pagina Saude Mental*/
.content-with-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.text {
  width: calc(100% - 200px);
}

.image_1{
  width: 40%;
  height: auto;
  margin-left: 5%;
  margin-right: 3%;
}
.image_2{
  width: 35%;
  height: auto;
}
.image_3 {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 35%;
  height: auto;
}
.image_4{
  width: 35%;
  height: auto;
}
.image_5 {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 35%;
  height: auto;
}

.image_depressao{
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 30%;
  height: auto;
}
.image_ansiedade{
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 30%;
  height: auto;
}
.image_bipolar{
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 30%;
  height: auto;
}
.image_esquizofrenia{
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 30%;
  height: auto;
}
.image_demencia{
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 30%;
  height: auto;
}

.clear {
  clear: both;
}


/*Itens Pagina AP*/
.conteudo-AP{
  width: 90%;
  height: 450px;
}
.itens-AP {
  width: 28%;
  height: 80%;
  margin: 15px;
  border: 1px solid #ccc;
  padding: 25px;
  box-sizing: border-box;
  text-align: center;
  background-color: white;
  border-radius: 15px;
  float: left;
}

/*Numeros/Contactos e linhas de Apoio*/
.conteudo-LA {
  width: 90%;
  height: 300px;
}
.itens-LA {
  width: 45%;
  height: 90%;
  margin: 15px;
  border: 1px solid #ccc;
  padding: 25px;
  box-sizing: border-box;
  text-align: center;
  background-color: white;
  border-radius: 15px;
  float: left;
}

/*Videos e PodCast Sugestões*/
.conteudo-M {
  width: 100%;
  height: 300px;
}
.itens-M {
  width: 28%;
  height: 90%;
  margin: 15px;
  border: 1px solid #ccc;
  padding: 25px;
  box-sizing: border-box;
  text-align: center;
  background-color: white;
  border-radius: 15px;
  float: left;
}

/*Fundo da pagina Index*/
.fundo {
  background-image: url('img/fundo_index.png');
  padding-left: 10%;
  padding-right: 10%;
}
/*Fundo da pagina Saude Mental*/
.fundo-SM{
  background-image: url('img/fundo_SM.png');
  padding-left: 10%;
  padding-right: 10%;
}
/*Fundo da pagina Apoio Psicologico*/
.fundo-AP{
  background-image: url('img/fundo_AP.png');
  padding-left: 10%;
  padding-right: 10%;
}
/*Fundo da pagina Graficos e Estatisticas Psicologicas*/
.fundo-GEP{
  background-image: url('img/fundo_GEP.png');
  padding-left: 10%;
  padding-right: 10%;
}
/*Fundo da pagina Linha de Apoio*/
.fundo-LA{
  background-image: url('img/fundo_LA.png');
  padding-left: 10%;
  padding-right: 10%;
}
/*Fundo da pagina Questionario de Pesquisa*/
.fundo-QP{
  background-image: url('img/fundo_QP.png');
  padding-left: 10%;
  padding-right: 10%;
}

.container-conteudo{
  background-color: #ffffff;
}


/*Tabela dos resultados*/
.container-resultado {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: white;
  padding: 8%;
  border-radius: 10px;
}

.tabela-resultado td {
  text-align: center;
  vertical-align: middle;
  border: 2px solid #dee2e6;
  width: 80%;
  height: 40%;
}

.tabela-resultado th {
  text-align: center;
  vertical-align: middle;
  border: 2px solid #dee2e6;
  background-color: #cf2323;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  max-width: 100px;
}

.table.tabela-resultado {
  width: 100%;
  table-layout: fixed;
  border: 2px solid black;
}

/*Icon OK do questionario*/
.container-ok {
  flex: 1;
  margin-left: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.image-ok {
  margin-right: 20px;
}


/* Tabela com texto que desaparece */
.table-container {
  margin-top: 50px;
}

.table-title {
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

.table-content {
  display: none;
  background-color: #f1f1f1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

.table-container:hover .table-content {
  display: block;
}

.questionario{
  text-align: center;
}

/* Rodapé */
footer {
  background-color: #343a40;
  color: #ffffff;
  padding: 15px 0;
}
.container-rodape{
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 3%;
  padding-bottom: 5%;
}
.container-copy{
  text-align: center;
}
.container-contatos{
  padding-top: 5%;
}
.texto-container{
  text-align: left;
  width: 50%;
  float: left;
  padding-left: 8%;
}
.contatos{
  width: 50%;
  float: left;
  text-align: center;
  padding-left: 18%;
}
.container-icons{
  text-align: center;
  margin-top: 20%;
}

.instagram{
  width: 3%;
  border-radius: 100%;
  margin-right: 1%;
}
.facebook{
  width: 3%;
  border-radius: 100%;
  margin-right: 1%;
}
.youtube{
  width: 3%;
  border-radius: 100%;
  margin-right: 1%;
}