/* Header CSS - Estilos do header e navegação */

/* Header */

#header {
  color: var(--text-white);
  -moz-align-items: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -moz-justify-content: -moz-flex-end;
  -webkit-justify-content: -webkit-flex-end;
  -ms-justify-content: -ms-flex-end;
  justify-content: flex-end;
  pointer-events: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 20rem;
  padding-bottom: 8rem;
  position: relative;
  text-align: center;
  z-index: 2;
}

#header input,
#header select,
#header textarea {
  color: var(--text-white);
}

#header a {
  color: var(--text-white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

#header a:hover {
  border-bottom-color: transparent;
  color: var(--primary-color-light) !important;
}

#header strong,
#header b {
  color: var(--text-white);
}

#header h1,
#header h2,
#header h3,
#header h4,
#header h5,
#header h6 {
  color: var(--text-white);
}

#header blockquote {
  border-left-color: var(--text-white);
}

#header code {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--text-white);
}

#header hr {
  border-bottom-color: var(--text-white);
}

#header .logo {
  -moz-transition:
    border-color 0.2s ease-in-out,
    color 0.2s ease-in-out,
    opacity 0.5s ease,
    -moz-transform 0.5s ease,
    visibility 0.5s;
  -webkit-transition:
    border-color 0.2s ease-in-out,
    color 0.2s ease-in-out,
    opacity 0.5s ease,
    -webkit-transform 0.5s ease,
    visibility 0.5s;
  -ms-transition:
    border-color 0.2s ease-in-out,
    color 0.2s ease-in-out,
    opacity 0.5s ease,
    -ms-transform 0.5s ease,
    visibility 0.5s;
  transition:
    border-color 0.2s ease-in-out,
    color 0.2s ease-in-out,
    opacity 0.5s ease,
    transform 0.5s ease,
    visibility 0.5s;
  pointer-events: auto;
  border-style: solid;
  border-color: var(--text-white);
  border-width: 5px !important;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1;
  padding: 1rem 1.75rem;
  text-transform: uppercase;
  visibility: visible;
}

#header .logo:hover {
  border-color: var(--primary-color-light) !important;
  color: var(--primary-color-light) !important;
}

/* Nav */

#nav {
  color: var(--text-white);
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-transition:
    -moz-transform 1s ease,
    opacity 1s ease;
  -webkit-transition:
    -webkit-transform 1s ease,
    opacity 1s ease;
  -ms-transition:
    -ms-transform 1s ease,
    opacity 1s ease;
  transition:
    transform 1s ease,
    opacity 1s ease;
  background: rgba(255, 255, 255, 0.175);
  height: 4rem;
  line-height: 4rem;
  margin: -4rem auto 0 auto;
  overflow: hidden;
  padding: 0 2rem 0 0;
  position: relative;
  width: calc(100% - 4rem);
  max-width: 72rem;
  z-index: 2;
}

#nav ul.divided li {
  border-top-color: var(--text-white);
}

#nav ul.icons li a.icon:hover:before {
  color: var(--primary-color-light);
}

#nav ul.icons.alt li .icon:before {
  box-shadow: inset 0 0 0 2px var(--text-white);
}

#nav ul.icons.alt li a.icon:hover:before {
  box-shadow: inset 0 0 0 2px var(--primary-color-light);
}

#nav input,
#nav select,
#nav textarea {
  color: var(--text-white);
}

#nav a {
  color: var(--text-white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

#nav a:hover {
  border-bottom-color: transparent;
  color: var(--primary-color-light) !important;
}

#nav strong,
#nav b {
  color: var(--text-white);
}

#nav h1,
#nav h2,
#nav h3,
#nav h4,
#nav h5,
#nav h6 {
  color: var(--text-white);
}

#nav blockquote {
  border-left-color: var(--text-white);
}

#nav code {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--text-white);
}

#nav hr {
  border-bottom-color: var(--text-white);
}

#nav ul.links {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-grow: 1;
  -webkit-flex-grow: 1;
  -ms-flex-grow: 1;
  flex-grow: 1;
  -moz-flex-shrink: 1;
  -webkit-flex-shrink: 1;
  -ms-flex-shrink: 1;
  flex-shrink: 1;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.075em;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
  text-transform: uppercase;
}

#nav ul.links li {
  display: block;
  padding-left: 0;
}

#nav ul.links li a {
  -moz-transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  -webkit-transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  -ms-transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  display: block;
  font-size: 0.8rem;
  outline: none;
  padding: 0 2rem;
}

#nav ul.links li a:hover {
  color: inherit !important;
  background-color: rgba(255, 255, 255, 0.1);
}

#nav ul.links li.active {
  background-color: var(--text-white);
}

#nav ul.links li.active a {
  color: var(--text-primary);
}

#nav ul.links li.active a:hover {
  color: var(--primary-color-light) !important;
}

#nav ul.icons {
  -moz-flex-grow: 0;
  -webkit-flex-grow: 0;
  -ms-flex-grow: 0;
  flex-grow: 0;
  -moz-flex-shrink: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-shrink: 0;
  flex-shrink: 0;
  margin-bottom: 0;
}

/* Nav Panel */

#navPanelToggle {
  text-decoration: none;
  -moz-transition:
    color 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  -webkit-transition:
    color 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  -ms-transition:
    color 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  transition:
    color 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  display: none;
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.95);
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  padding: 0.5rem 1.25rem;
  text-transform: uppercase;
  z-index: 10001;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

#navPanelToggle:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
}

#navPanelToggle:before {
  content: "\f0c9";
  margin-right: 0.5rem;
}

#navPanelToggle.alt {
  background-color: rgba(33, 41, 49, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  color: var(--text-white);
}

#navPanelToggle.alt:hover {
  background-color: rgba(33, 41, 49, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#navPanel {
  -moz-transform: translateX(20rem);
  -webkit-transform: translateX(20rem);
  -ms-transform: translateX(20rem);
  transform: translateX(20rem);
  -moz-transition:
    -moz-transform 0.5s ease,
    box-shadow 0.5s ease,
    visibility 0.5s;
  -webkit-transition:
    -webkit-transform 0.5s ease,
    box-shadow 0.5s ease,
    visibility 0.5s;
  -ms-transition:
    -ms-transform 0.5s ease,
    box-shadow 0.5s ease,
    visibility 0.5s;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    visibility 0.5s;
  display: none;
  background: var(--bg-white);
  box-shadow: none;
  color: var(--text-primary);
  height: 100%;
  max-width: 80%;
  overflow-y: auto;
  padding: 3rem 2rem;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  width: 20rem;
  z-index: 10002;
}

#navPanel .links {
  list-style: none;
  padding-left: 0;
}

#navPanel .links li {
  border-top: solid 2px var(--border-light);
}

#navPanel .links li a {
  border-bottom: 0;
  display: block;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  padding: 0.75rem 0;
  text-transform: uppercase;
}

#navPanel .links li:first-child {
  border-top: 0;
}

#navPanel .close {
  text-decoration: none;
  -moz-transition: color 0.2s ease-in-out;
  -webkit-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 3.25rem;
  line-height: 3.25rem;
  padding-right: 1.25rem;
  position: absolute;
  right: 0;
  text-align: right;
  top: 0;
  width: 7rem;
}

#navPanel .close:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
}

#navPanel .close:before {
  content: "\f00d";
  font-size: 1.25rem;
}

#navPanel .close:hover {
  color: var(--text-primary);
}
