@charset "UTF-8";
/*
--- 01 TIPOGRAFIA
- Font Size (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Padrão: 400
Médio: 500 
Semi-bold: 600 
Bold: 700

- Line heights
Padrão: 1
Pequeno: 1.05
Médio: 1.2
Parágrafo: 1.6

- Letter spacing
0.5px
0.75px

--- 02 CORES
- Primária: ;

Tints: 
Shades: 
Accents: 
Greys: #6f6f6f #555 #333 

--- 05 SHADOWS
0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);


--- 06 BORDER-RADIUS
Padrão: 9px
Médio: 12px

--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/
:root {
  --cor-azul: #002643;
  --cor-laranja: #f14821;
  --cor-neutra: #040c10;
  --cor-roxa: #9412dc;
  --cor-azul-claro: #41a9b9;
  --primarioBg: #23252f;
  --secundarioBg: #1a1c23;
  --terciarioBg: #4e66a6;
  --secundarioBg-opacity: rgba(26, 28, 35, 0.5);
  --terciarioBg-opacity: rgba(78, 102, 166, 0.5);
  --corTextoPrimaria: #f3f3f3;
  --primarioBtn: #3b3a51; }

/*
0 - 600px:      Phone
600 - 900px:    Tablet portrait
900 - 1200px:   Tablet landscape
[1200 - 1800] is where our normal styles apply
1800px + :      Big desktop
$breakpoint arguement choices:
- phone
- tab-port
- tab-land
- big-desktop
ORDER: Base + typography > general layout + grid > page layout > components
1em = 16px
*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit; }

html {
  font-size: 62.5%;
  box-sizing: border-box; }
  @media only screen and (max-width: 75em) {
    html {
      font-size: 56.25%; } }
  @media only screen and (max-width: 59em) {
    html {
      font-size: 50%; } }

body {
  font-family: 'Inter', sans-serif;
  line-height: 1;
  font-weight: 400;
  color: var(--corTextoPrimaria);
  background-color: var(--primarioBg);
  overflow-x: hidden; }

strong {
  font-weight: 500; }

/**********************************/
/* COMPOSIÇÃO GERAL */
/**********************************/
.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem; }
  @media only screen and (max-width: 44em) {
    .container {
      padding: 0 1.4rem; } }

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem; }
  .grid:not(:last-child) {
    margin-bottom: 9.6rem; }
  .grid--2-cols {
    grid-template-columns: repeat(2, 1fr); }
  .grid--3-cols {
    grid-template-columns: repeat(3, 1fr); }
  .grid--4-cols {
    grid-template-columns: repeat(4, 1fr); }
  .grid--5-cols {
    grid-template-columns: repeat(5, 1fr); }

.center-text {
  text-align: center; }

.link-to {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 8px;
  margin-left: -8px;
  padding: 8px 12px 8px 8px;
  border-radius: 6px;
  color: inherit;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 23px;
  transition: all 200ms ease; }
  .link-to span {
    margin-left: 1.2rem; }

.link-to:hover {
  background-color: rgba(255, 255, 255, 0.2); }

/**********************************/
/* HEADER */
/**********************************/
.logo {
  height: 6.4rem;
  border-radius: 50%; }

.logo-img {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-decoration: none; }

.logo-text {
  display: inline-block;
  color: var(--corTextoPrimaria);
  font-weight: 700;
  font-size: 1.8rem; }

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primarioBg);
  height: 9.6rem;
  padding: 0 4.8rem; }

/**************************/
/* NAVIGATION */
/**************************/
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem; }

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--corTextoPrimaria);
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s; }

.main-nav-link:hover,
.main-nav-link:active {
  color: var(--terciarioBg); }

.nav-cta:link,
.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: var(--terciarioBg);
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-size: 2rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 1.6rem 3.2rem; }

.nav-cta:hover,
.nav-cta:active {
  background-color: var(--terciarioBg-opacity); }

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none; }

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: var(--corTextoPrimaria); }

.icon-mobile-nav[name='close-outline'] {
  display: none; }

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: var(--secundarioBg-opacity);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03); }

.sticky .section-hero {
  margin-top: 9.6rem; }

@media only screen and (max-width: 44em) {
  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    z-index: 9999; }
  .main-nav {
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;
    /* Hide navigation */
    /* Allows NO transitions at all */
    /* display: none; */
    /* 1) Hide it visually */
    opacity: 0;
    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;
    /* 3) Hide it from screen readers */
    visibility: hidden; }
  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0); }
  .nav-open .main-nav-link {
    color: var(--cor-azul); }
  .nav-open .icon-mobile-nav[name='close-outline'] {
    display: block;
    color: var(--cor-azul); }
  .nav-open .icon-mobile-nav[name='menu-outline'] {
    display: none; }
  .main-nav-list {
    flex-direction: column;
    gap: 4.8rem; }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 3rem; } }

/**********************************/
/* HERO SECTION */
/**********************************/
.section-hero {
  background-image: linear-gradient(to right, #23252f 50%, rgba(35, 37, 47, 0.75)), url("../img/hero.webp");
  background-position: center;
  background-size: cover; }
  @media only screen and (max-width: 44em) {
    .section-hero {
      background-image: linear-gradient(to right, #23252f 60%, rgba(35, 37, 47, 0.75)), url("../img/hero.jpg"); } }

.hero {
  height: 100vh;
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 9.6rem; }
  @media only screen and (max-width: 44em) {
    .hero {
      grid-template-columns: 1fr;
      width: 90%;
      text-align: center; } }

/**********************************/
/* HERO SECTION */
/**********************************/
.section-skills {
  padding: 6.2rem;
  background-color: var(--secundarioBg); }
  @media only screen and (max-width: 44em) {
    .section-skills {
      padding: 3.2rem; } }

.skills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6.4rem; }
  @media only screen and (max-width: 44em) {
    .skills {
      gap: 3.2rem; } }

.skill-logo {
  width: 6rem;
  height: 6rem;
  opacity: 0.7; }
  @media only screen and (max-width: 44em) {
    .skill-logo {
      width: 3rem;
      height: 3rem; } }

/**********************************/
/* WORKS */
/**********************************/
.section-work {
  padding: 9.6rem; }
  @media only screen and (max-width: 44em) {
    .section-work {
      padding: 6.2rem 2.4rem; } }

.works {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 3.2rem; }

.work {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  border-radius: 5px;
  background-color: #214656;
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.12); }
  @media only screen and (max-width: 44em) {
    .work {
      flex-direction: column; } }
  .work__info-text {
    padding: 6.4rem;
    display: flex;
    flex-direction: column;
    gap: 5rem; }
    @media only screen and (max-width: 59em) {
      .work__info-text {
        padding: 3.4rem; } }
    @media only screen and (max-width: 44em) {
      .work__info-text {
        gap: 3rem; } }
  .work-title {
    font-size: 3.2rem;
    font-weight: 700; }
  .work-description {
    font-size: 1.8rem;
    line-height: 1.8; }
  .work__img {
    display: flex;
    align-items: center;
    justify-content: center; }
    .work__img img {
      width: 90%;
      border-radius: 10px;
      box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.095); }
      @media only screen and (max-width: 44em) {
        .work__img img {
          margin: 2rem; } }

/**********************************/
/* footer */
/**********************************/
.footer {
  padding: 6.2rem 2.4rem;
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6; }

.heading__primary, .heading__secondary, .heading__tertiary {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--corTextoPrimaria); }

.heading__primary {
  font-size: 5.2rem;
  line-height: 1.05;
  margin-bottom: 3.2rem; }
  @media only screen and (max-width: 59em) {
    .heading__primary {
      font-size: 4.2rem; } }
  @media only screen and (max-width: 44em) {
    .heading__primary {
      font-size: 3.2rem; } }

.heading__secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
  font-size: 3.4rem; }
  @media only screen and (max-width: 44em) {
    .heading__secondary {
      font-size: 2.4rem; } }

.heading__tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem; }

.heading__skills {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 3.2rem;
  letter-spacing: 0.75;
  text-transform: uppercase;
  opacity: 0.8; }
  @media only screen and (max-width: 44em) {
    .heading__skills {
      font-size: 1.8rem; } }

.hero__description {
  font-size: 2.4rem;
  line-height: 1.6;
  margin-bottom: 4.8rem; }
  @media only screen and (max-width: 59em) {
    .hero__description {
      font-size: 1.8rem;
      line-height: 1.8; } }
  @media only screen and (max-width: 44em) {
    .hero__description {
      font-size: 1.6rem; } }

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #4e66a6;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px; }

/**********************************/
/* BOTÕES */
/**********************************/
.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-size: 2rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 1.6rem 3.2rem; }

.btn--full:link,
.btn--full:visited {
  background-color: var(--terciarioBg); }

.btn--modal {
  display: inline-block;
  background-color: var(--terciarioBg);
  font-size: 1.6rem;
  font-family: inherit;
  font-weight: 500;
  border: none;
  padding: 1.25rem 4.5rem;
  border-radius: 10rem;
  cursor: pointer;
  transition: all 0.3s; }

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60rem;
  background-color: #f3f3f3;
  padding: 5rem 6rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.5s;
  color: #333; }
  .modal__header {
    font-size: 3.25rem;
    margin-bottom: 4.5rem;
    line-height: 1.5; }
  .modal__form {
    margin: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 2.5rem; }
    .modal__form label {
      font-size: 1.7rem;
      font-weight: 500; }
    .modal__form input, .modal__form textarea {
      font-size: 1.7rem;
      padding: 1rem 1.5rem;
      border: 1px solid #ddd;
      border-radius: 0.5rem; }
    .modal__form button {
      color: var(--corTextoPrimaria);
      grid-column: 1 / span 2;
      justify-self: center;
      margin-top: 1rem; }

.btn--close-modal {
  font-family: inherit;
  color: inherit;
  position: absolute;
  top: 0.5rem;
  right: 2rem;
  font-size: 4rem;
  cursor: pointer;
  border: none;
  background: none; }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s; }

.hidden {
  visibility: hidden;
  opacity: 0; }
