/* CSS Document */

@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bangers&display=swap");

:root {
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --accent-color: #3da434; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
}

/*
COLORES:

VERDE FUERTE: #235b4e
VERDE CLARO: #3da435

FONT:
font-family: "Kanit", sans-serif;

font-family: 'Bangers', system-ui;

*/

.link {
  color: #3da435;
  text-decoration: none;
  cursor: pointer;
}

.link:hover {
  color: #235b4e;
  text-decoration: underline;
}

.link2 {
  color: #235b4e;

  text-decoration: none;
  cursor: pointer;
}

.link2:hover {
  color: #3da435;
  text-decoration: underline;
}

#menuTop {
  position: absolute;
  margin-left: 10%;
  top: 100px;
  z-index: 999;
}

.cursoTitulo {
  font-family: "Bangers", system-ui;
  font-size: 50pt;
}
.cursoDescripcion {
  font-weight: 300;
  text-align: justify;
  font-size: 15pt;
  color: #707070;
}

.botonMacro:hover {
  filter: drop-shadow();
}

.actividadTitulo {
  font-size: 20pt;
  font-family: "Bangers", system-ui;
}

#temasDos{
	display: none;
}

/*--------------------------------------------------------------
# Nav Bar
--------------------------------------------------------------*/

#barraTop {
  background-color: #faf8f4;
  height: 80px;
  border-bottom: 5px solid #235b4e;
}

.navbar .navbar-brand img {
  height: 50px;
}

#botonMenu {
  font-family: "Bangers", system-ui;
  font-size: 30pt;
  color: green;
}

.dropdown-item {
  color: #808080;
  font-size: 14pt;
}

.dropdown-item:hover {
  color: #ffff;
  background-color: green;
}

#iconoPerfil {
  width: 44px;
  height: 44px;
  position: absolute;
  right: 10px;
  top: 14px;
  z-index: 9999;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 992px) {
	#temasUno{
		display: none;
	}
	#temasDos{
		display: block;
	}
}

@media (max-width: 768px) {
  #barraTop {
    height: 70px;
  }

  .navbar .navbar-brand img {
    height: 40px;
  }

  #botonMenu {
    font-size: 26pt;
  }

  .dropdown-item {
    font-size: 12pt;
  }

  #imagenTopCurso {
    display: none;
  }
}

@media (max-width: 615px) {
  #iconoPerfil {
    width: 44px;
    height: 44px;
    right: 10px;
    top: 74px;
  }

  .cursoTitulo {
    font-family: "Bangers", system-ui;
    font-size: 40pt;
  }

  .cursoDescripcion {
    font-weight: 300;
    text-align: justify;
    font-size: 12pt;
    color: #707070;
  }
}

@media (max-width: 576px) {
  .navbar .navbar-brand img {
    height: 30px;
  }
}
