* {
  box-sizing: border-box;
}
.center-box-header {
  background-color: var(--primary-color);
  width: 100%;
  position: relative;
  z-index: 9;
}

.header {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  font-family: Roboto;
  /*TODO: param tamanho*/
  height: 100px;
  padding: 0 20px;
}

.header a.logo {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  max-height: 110px;
  height: 100%;
  font-size: 25px;
  grid-column: 1;
  justify-self: flex-start;
  width: 100%;
  max-width: 210px;
}

.header .header-links-container {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.header .header-links-container a {
  margin: 0 16px;
  color: var(--tertiary-font-color);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}

.header .header-links-container a:hover {
  opacity: 0.9;
}

.header .header-links-container a.header-link-active {
  position: relative;
  font-weight: bold;
  height: 100%;
  /* TODO: combinar com o param tamanho */
  line-height: 100px;
}

.header .header-links-container a.header-link-active::after {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  background: var(--secondary-color);
  position: absolute;
  bottom: 0;
}

.menu-btn-responsive {
  width: 55px;
  height: 40px;
  position: relative;
  display: none;
  align-items: center;
  margin-right: 15px;
  cursor: pointer;
}

.hamburguer {
  display: block;
  width: 30px;
  height: 5px;
  background: var(--secondary-font-color);
  border-radius: 4px;
  position: relative;
  transition: 0.3s ease-in-out;
}

.hamburguer:before,
.hamburguer:after {
  width: 40px;
  content: "";
  display: block;
  height: 5px;
  background: var(--secondary-font-color);
  border-radius: 4px;
  position: absolute;
  transition: 0.3s ease-in-out;
}

.hamburguer:before {
  top: -11px;
}

.hamburguer:after {
  bottom: -11px;
}

#input-menu-btn-responsive {
  display: none;
}

#input-menu-btn-responsive:checked ~ .menu-btn-responsive .hamburguer {
  transform: rotate(45deg);
  width: 40px;
}

#input-menu-btn-responsive:checked ~ .menu-btn-responsive .hamburguer:before {
  transform: rotate(90deg);
  top: 0;
}

#input-menu-btn-responsive:checked ~ .menu-btn-responsive .hamburguer:after {
  transform: rotate(90deg);
  bottom: 0;
}

.full-container-responsive {
  position: fixed;
  z-index: 7;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  transition: 0.5s;
}

#input-menu-btn-responsive:checked ~ .full-container-responsive {
  display: block;
  background: rgba(0, 0, 0, 0.2);
}

.header .notification {
  display: block;
  margin: 0 auto;
  height: 34px;
  width: 34px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  background-color: var(--secondary-color);
}

.header .notification:active {
  transform: translateY(1px);
}

.header .profile-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
}

.header .profile-container .user-points {
  width: 140px;
  height: 42px;
  line-height: 42px;
  padding-left: 22px;
  padding-right: 22px;
  border-radius: 32px 0 0 32px;
  pointer-events: none;
  background: var(--secondary-color);
  box-shadow: 0 3px 6px rgba(0, 217, 198, 0.2);
  color: var(--secondary-font-color);
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  position: relative;
  left: 16px;
}

.profile-container .user-points span {
  font-size: 16px;
  font-weight: normal;
  display: inline-block;
  margin-left: 4px;
}

.header .profile-container .profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 50px;
  background: lightcyan;
  background-size: contain;
  position: relative;
  left: 0;
}

.wrapper-alert-bell {
  position: relative;
  width: 20px;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 36px;
  z-index: 6;
}

.icon-alert-bell {
  position: relative;
  width: 16px;
  height: 20px;
  cursor: pointer;
}

.alert-bell-stroke {
  fill: none;
  stroke: white;
}

.alert-bell {
  fill: white;
}

.ballon-alert-bell {
  position: absolute;
  background: var(--secondary-color);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  top: 20px;
  right: -20px;
  color: var(--secondary-font-color);
  font-size: 12px;
}

.container-info-alert {
  position: absolute;
  width: 285px;
  max-height: 270px;
  background: var(--alternative-background);
  border: 1px solid var(--secondary-color);
  border-radius: 0 0 8px 8px;
  top: 68px;
  right: -8px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 18px 14px 18px 9px;
  overflow: hidden;
}

.sem-conteudo-info-alert {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

.box-info-alert {
  overflow-y: scroll;
  max-height: calc(270px - 36px);
  padding: 0 14px 0 9px;
}

.item-info-alert {
  position: relative;
  padding-left: 27px;
  margin-bottom: 18px;
}

.img-info-alert {
  position: absolute;
  left: 0;
}

.text-info-alert {
  color: var(--primary-font-color);
  font-size: 14px;
  overflow: hidden;
}

.text-info-alert strong {
  display: block;
  margin-bottom: 4px;
}

.link-info-alert {
  background-color: var(--secondary-color);
  color: var(--secondary-font-color);
  font-size: 15px;
  padding: 10px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  margin-top: 14px;
}

.overlay-info-alert {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 4;
  display: none;
}

@media (max-width: 1024px) {
  .header-links-container {
    position: fixed;
    flex-direction: column;
    bottom: 0;
    top: 100px;
    left: -270px;
    z-index: 9;
    justify-content: flex-start !important;
    background: var(--secondary-font-color);
    box-shadow: -15px -25px 25px 0px var(--primary-color);
    width: 250px;
    padding-top: 40px;
    transition: 0.3s ease-in-out;
  }

  #input-menu-btn-responsive:checked ~ .header-links-container {
    left: 0px;
  }

  .header .header-links-container a {
    color: var(--primary-color);
    font-size: 18px;
    line-height: 24px;
    text-align: left;
    display: flex;
    border-right: 4px solid var(--secondary-font-color);
    width: 100%;
    padding-left: 20px;
    height: 48px;
    max-height: 48px;
    transition: 0.2s;
    align-items: center;
  }

  .header-links-container a:hover {
    right: 4px;
    padding-left: 24px;
    border-right: 4px solid var(--secondary-color);
  }

  .menu-btn-responsive {
    display: flex;
  }

  .header .header-links-container a.header-link-active {
    height: auto;
    line-height: auto;
  }

  .header .header-links-container a.header-link-active::after {
    right: 0;
    bottom: auto;
    height: 100%;
    width: 6px;
  }
}

@media (max-width: 575px) {
  .header .profile-container .user-points {
    width: 115px;
    padding-left: 0px;
    font-size: 17px;
  }

  .wrapper-alert-bell {
    margin: 0 15px;
  }
}

@media (max-width: 455px) {
  .header {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 20px;
  }
  .wrapper-alert-bell {
    margin: 0 15px 0 0px;
    order: 4;
  }

  .ballon-alert-bell {
    top: -20px;
  }

  .header a.logo {
    min-width: 100%;
    order: 1;
    height: 86px;
    margin-bottom: 8px;
  }

  .header .profile-container {
    order: 3;
    flex-grow: 1;
    justify-content: center;
  }

  .menu-btn-responsive {
    order: 2;
    margin-right: 0;
  }

  #input-menu-btn-responsive:checked ~ .header-links-container {
    top: 0;
  }

  .container-info-alert {
    top: 30px;
  }
}

@media screen and (max-width: 1600px) {
  .header .header-links-container a {
    margin: 0 12px;
    font-size: 16px;
  }
}
