@charset "UTF-8";

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

/* Variáveis de cor para garantir consistência no footer */
:root {
  --ifsp-red: #b30000;
  --ifsp-green-dark: #1e5e26;
  --bg-100: #f5f5f5; /* Geralmente usado como branco/quase branco */
  --black: #08090a;
}

/* Redefinição de link para o contexto do footer, se necessário (geralmente herda do style.css) */
.link:link,
.link:visited,
.link:active,
.link:hover {
  color: var(--black);
  text-decoration: none;
  text-transform: capitalize;
}

/* --------------------------------- FOOTER --------------------------------- */
footer {
  display: flex;
  flex-direction: row;
  padding: 60px 0;
  justify-content: space-around;
  background-color: var(--ifsp-green-dark);
  color: white;
  min-height: 400px;
}

.text-footer {
  align-items: center;
  color: var(--bg-100); /* Usando var para branco/claro */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-footer h1 {
  font-size: 25px;
  padding: 12px;
}

.text-footer h2 {
  color: #ffffff;
  font-size: 18px;
}

.navigation {
  display: flex;
  flex-direction: column;
}

.navigation h1 {
  color: #ffffff;
}

.navigation li {
  margin-top: 12px;
  list-style: none;
}

.navigation a {
  color: var(--bg-100); /* Cor do link normal (branco/claro) */
  text-decoration: none;
  transition: 0.5s;
}

.navigation a:hover {
  color: var(--ifsp-red); /* Cor do link ao passar o mouse (vermelho IFSP) */
}

@media (max-width: 768px) {
  footer {
    align-items: center;
    flex-direction: column-reverse;
    justify-content: center;
  }

  .navigation {
    margin-bottom: 32px;
  }
  .text-footer {
    margin-bottom: 32px;
  }

  .mavigation ul {
    margin-top: 12px;
  }
}
