:root {
	--primario: #FCBF49;
	--gris-claro: #042A2B;
	--sombra: 0 0 13px 0 #A7DBD8;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.header {
	background-color: #FCBF49;
	height: 80px;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
  }
  
  .nav {
	display: flex;
	justify-content: space-between;
  
	max-width: 992px;
	margin: 0 auto;
  }
  
  .nav-link {
	color: white;
	text-decoration: none;
  }
  
  .logo {
	font-size: 30px;
	font-weight: bold;
	padding: 0 40px;
	line-height: 80px;
  }
  
  .nav-menu {
	display: flex;
	margin-right: 40px;
	list-style: none;
  }
  
  .nav-menu-item {
	font-size: 18px;
	margin: 0 10px;
	line-height: 80px;
	text-transform: uppercase;
	width: max-content;
  }
  
  .nav-menu-link {
	padding: 8px 12px;
	border-radius: 3px;
  }
  
  .nav-menu-link:hover,
  .nav-menu-link_active {
	background-color: #042A2B;
	transition: 0.5s;
  }
  
  /* TOGGLE */
  .nav-toggle {
	color: white;
	background: none;
	border: none;
	font-size: 30px;
	padding: 0 20px;
	line-height: 60px;
	cursor: pointer;
  
	display: none;
  }
  
  /* MOBILE */
  @media (max-width: 768px) {
	body {
	  padding-top: 70px;
	}
  
	.header {
	  height: 60px;
	}
  
	.logo {
	  font-size: 25px;
	  padding: 0 20px;
	  line-height: 60px;
	}
  
	.nav-menu {
	  flex-direction: column;
	  align-items: center;
	  margin: 0;
	  background-color: #042A2B;
	  position: fixed;
	  top: 60px;
	  width: 100%;
	  padding: 20px 0;
  
	  height: calc(100% - 60px);
	  overflow-y: auto;
  
	  left: 100%;
	  transition: left 0.3s;
	}
  
	.nav-menu-item {
	  line-height: 70px;
	}
  
	.nav-menu-link:hover,
	.nav-menu-link_active {
	  background: none;
	  color: #83c5f7;
	}
  
	.nav-toggle {
	  display: block;
	}
  
	.nav-menu_visible {
	  left: 0;
	}
  
	.nav-toggle:focus:not(:focus-visible) {
	  outline: none;
	}
  }

body {
	background: #042A2B;
	font-family: 'Roboto', sans-serif;
}

main {
	max-width: 1000px;
	width: 90%;
	margin: 40px auto;
}

.titulo {
	color: #fff;
	font-weight: 700;
	text-align: center;
	margin: 60px 0;
}

/*! =================================================*/
/*! ============= Categorias ============= */
/*! =================================================*/
.categorias {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

.categoria {
	cursor: pointer;
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	color: var(--gris-claro);
	border: 2px solid transparent;
	transition: .3s ease all;
}

.categoria:hover {
	box-shadow: var(--sombra);
	color: #000;
}

.categoria:hover path {
	fill: var(--primario);
}

.categoria svg {
	width: 64px;
	margin-bottom: 10px;
}

.categoria path {
	fill: var(--gris-claro);
	transition: .3s ease all;
}

.categoria.activa {
	border: 2px solid var(--primario);
	color: #000;
}

.categoria.activa path {
	fill: var(--primario);
}

/*! =================================================*/
/*! ============= Contenedor Preguntas ============= */
/*! =================================================*/
.contenedor-preguntas {
	display: none;
	grid-template-columns: 1fr;
	gap: 40px;
}

.contenedor-preguntas.activo {
	display: grid;
}

.contenedor-pregunta {
	background: #fff;
	padding: 40px;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	transition: .3s ease all;
	cursor: pointer;
}

.contenedor-pregunta:hover {
	box-shadow: var(--sombra);
}

.contenedor-pregunta.activa {
	border: 2px solid var(--primario);
}

/*! =================================================*/
/*! ============= Preguntas ============= */
/*! =================================================*/
.pregunta {
	font-weight: 700;
	font-size: 20px;
	line-height: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pregunta img {
	width: 14px;
}

.respuesta {
	color: #808080;
	line-height: 30px;
	max-height: 0;
	opacity: 0;
	transition: .3s ease all;
	text-align: justify;
}

.contenedor-pregunta.activa .respuesta {
	opacity: 1;
	margin-top: 20px;
}

.contenedor-pregunta.activa img {
	transform: rotate(45deg);
}

/*! =================================================*/
/*! ============= Responsive Design ============= */
/*! =================================================*/
@media screen and (max-width: 820px){
	.categorias {
		grid-template-columns: 1fr 1fr;
	}

	.categoria {
		padding: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 5px;
	}

	.categoria svg {
		width: 30px;
		margin-right: 10px;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 500px){
	.categorias {
		grid-template-columns: 1fr;
	}
}

