:root {
  --main-color: #0a1a5c;
  --main-color-darker: linear-gradient(90deg,#0a1a5c,43.5644%,#1f274f 87.1287%,93.5644%,#282f55);
  --dark-grey: #807f7f;
}

.header {
  width: 100%;
  background-image: var(--main-color-darker);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.header-menu {
  width: 100%;
  background-color: var(--main-color);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.header-first {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 40px;
}

.header-first a.link {
  font-size: 0.8em;
}
.header-second a.link {
  font-size: 1em;
}

.header-first--item {
  padding: 14px 0;
  font-size: 14px;
  min-width: fit-content;
}

.header-first--item:not(:last-child) {
  margin-right: 5em;
}

.header-second {
  display: flex;
}
.header-second-menu {
  display: flex;
  border-bottom: 1px solid hsla(0,0%,100%,.05);
}

.header-logo {
  width: 15%;
}
.header-logo-menu {
  width: 15%;
}

.header-second--wrapper {
  width: 85%;
  display: flex;
  flex-direction: column;
}
.header-second-menu--wrapper {
  width: 85%;
  display: flex;
  flex-direction: column;
}

.menu-itens {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.header-second--item {
  margin: 0 40px;
  padding: 14px 0;
  font-size: 18px;
  min-width: fit-content;
}

.language-selector {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 14px;
  margin-right: 50px;
  padding: 14px 0;
}

.language-selector {
  font-size: 0.8em;
}

.header-darken {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.4;
  z-index: 1;
}

.header-img--title {
  font-family: "gt_thin";
  position: absolute;
  width: fit-content;
  top: 130px;
  left: 90px;
  font-weight: 275;
  font-size: 89px;
  line-height: 107px;
  z-index: 2;
}

.header-img--subtitle {
  font-family: "gt_thin";
  position: absolute;
  width: fit-content;
  top: 250px;
  left: 90px;
  width: 620px;
  font-weight: 275;
  font-size: 32px;
  line-height: 39px;
  z-index: 2;
}

.header-bottom {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  height: 62px;
}

.header-bottom--item {
  min-width: fit-content;
  margin: 0 10px;
}

a.link {
  font-family: "gt_thin";
  transition: color 0.2s;
  color: white;
  font-weight: 600;
}

a.link:hover {
  color: rgba(255, 255, 255, 0.7);
}
.menu-burger {
  display: none;
}
.menu-close {
  display: none;
}
#menu-mobile {
  visibility: hidden;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0;
  left: 0;
  background-color: var(--main-color);
  transition: all 0.3s ease-in-out;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  transform: translateX(100%);
  -webkit-transform: translateX(100%);
  flex-direction: column;
}
.menu-mobile-itens {
  list-style: none;
}
li.menu-mobile-itens.separator {
  height: 1px;
  width: 95%;
  background: #ffffff3d;
  margin: 10px 0;
  color: #ffffff00;
}
/* aqui começa o mobile */

@media only screen and (max-width: 950px) {
  .header-second--item {
    margin: 0 30px;
    padding: 5px 0;
    font-size: 16px;
  }

  .header-first--item {
    margin: 0;
    padding: 12px 0;
  }

  .language-selector {
    font-size: 10px;
    padding: 12px 0;
    margin-right: 10px;
  }

  .header-img--title {
    font-size: 72px;
  }

  .header-img--subtitle {
    font-size: 26px;
  }
  .header-first {
    display: none;
  }
  .menu-itens {
    display: none;
  }
  .language-selector {
    display: none;
  }
  .header {
    height: 68px;
    padding: 17px 0;
    justify-content: center;
    justify-items: center;
  }
  .header-menu {
    padding: 0;
    justify-content: center;
    justify-items: center;
  }
  .letters {
    padding-top: 68px !important;
  }
  .header-second {
    display: flex;
    justify-content: center;
    padding-left: 1.2em;
    width: 100%;
    height: 68px;
  }
  .header-second-menu {
    display: flex;
    justify-content: left;
    padding: 1.1em;
    width: 100%;
    margin-bottom: 1.1em;
  }
  .header-second--wrapper {
    width: 10%;
    position: absolute;
    right: 0px;
  }
  .header-second-menu--wrapper {
    width: 10%;
    position: absolute;
    right: 0px;
  }
  .header-logo {
    margin-top: -1%;
    width: 145px !important;
  }
  .header-logo-menu {
    margin-top: -1%;
    width: 145px !important;
  }
  .menu-burger {
    position: absolute;
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 0;
    background-color: transparent;
    padding: 0;
    outline: none;
  }
  .menu-close {
    position: absolute;
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 0;
    background-color: transparent;
    padding: 0;
    outline: none;
  }
  .menu-close > span {
    width: 17px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }
  .menu-close > span:first-child {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .menu-close > span:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .menu-close > span {
    width: 17px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }
  .menu-burger > span {
    width: 21px;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
  }
  nav#menu-mobile.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    visibility: visible;
    transition: all 0.2s ease-in-out;
    height: 100%;
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
  }
  .language-selector.menu-mobile {
    display: flex;
    bottom: 35px;
    position: fixed;
    font-size: 12px;
  }
  nav#menu-mobile > ul {
    margin-left: 0px;
    padding: 1.2em;
  }
  .social-links {
    display: flex;
    bottom: 10px;
    position: fixed;
  }
  a.footer__social-link {
    color: #fff;
    padding-right: 25px;
    margin-left: 0px;
  }
  a.header-first--item.link {
    font-weight: 400;
    font-size: 1.2em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.6em 0;
    line-height: 13px;
    text-transform: lowercase;
  }
}

@media only screen and (max-width: 700px) {
  .header-img--subtitle {
    width: 60%;
  }
}

@media only screen and (max-width: 573px) {
  .header-img--title {
    width: 80%;
  }

  .header-img--subtitle {
    top: 450px;
  }
}

@media only screen and (min-width: 573px) {
  .letters {
    padding-top: 140px;
  }
}
