/*//// CSS Reset ////*/
html,
body {
  border: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
  border: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-align: inherit;
}

blockquote::before,
blockquote::after {
  content: "";
}

/*//// General Settings ////*/
::-moz-selection {
  /* Code for Firefox */
  /* background: rgba(51, 122, 227, 0.56); */
  background: rgba(42, 102, 190, 0.48);
}

::selection {
  /* background: rgba(51, 122, 227, 0.56); */
  background: rgba(42, 102, 190, 0.48);
}

img {
  border: 0;
  margin: 0;
  display: inline-block;
  max-width: 100%;
}

.container {
  max-width: 1280px;
  padding: 0 24px;
  margin: 0 auto;
}

body {
  font-family: "Raleway", sans-serif;
}

.center {
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 120%;
}

h1.featured {
  font-size: 3.6rem;
  line-height: 120%;
}

h1 span.highlight {
  background-color: #2872e2;
  box-shadow: inset -12px 40px 0 0 #020912;
}

h2 {
  font-size: 2rem;
  line-height: 120%;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.37rem;
  line-height: 120%;
  margin-bottom: 1rem;
}

p {
  font-size: 1.12rem;
  line-height: 150%;
  margin-bottom: 1.5rem;
}

p.featured {
  font-size: 1.3rem;
  line-height: 150%;
  margin-bottom: 2rem;
}

a {
  font-size: inherit;
  display: inline-block;
  font-weight: 700;
  color: #2872e2;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 167ms;
}

a:hover {
  color: #2a66be;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 167ms;
  text-decoration-style: dotted;
}

a.dark {
  color: #fff;
}

a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
}

a.dark:hover {
  color: #2872e2;
}

a.btn {
  font-size: 1rem;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  margin: 8px 4px;
}

a.btn-primary {
  color: #fff;
  background-color: #2872e2;
  border: 2px solid #2872e2;
  box-shadow: 0px 8px 14px rgba(40, 114, 226, 0.25);
}

a.btn-primary:hover {
  background-color: #4b8ae6;
  border: 2px solid #538fe7;
  box-shadow: 0px 4px 4px rgba(40, 114, 226, 0.25);
}

a.btn-secondary {
  background: #ffffff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.24);
}

a.btn-secondary:hover {
  background: #f7f7f7;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.32);
}

a.btn-ghost-dark {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

a.btn-ghost-dark:hover {
  border: 2px solid #fff;
  background-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px #fff;
}

ul.tags {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
}

ul.tags li {
  border-radius: 8px;
  background-color: #f7f7f7;
  padding: 10px 16px;
  font-size: 1rem;
  color: #020912;
}

/*//// Navigation ////*/

#main-menu {
  background-color: #0c131b;
}

#header {
  box-sizing: border-box;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* background-color: #0C131B; */
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  z-index: 99;
}

#header a {
  margin-bottom: 0;
}

#header .logo-area {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#header a.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-block;
  margin: 0;
  color: #fff;
  text-decoration: none;
}

#menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  justify-content: right;
}

#menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.72;
  padding: 14px 24px;
  border-radius: 8px;
}

#menu a:hover {
  /* text-decoration: underline; */
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.08);
}

img.logo {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

#btn-mobile {
  display: none;
}

/*******************
 Home Page 
********************/

body#home-en,
body#home-pt {
  background-color: #020912;
}

/*//// Hero ////*/

#hero {
  background-color: #020912;
  padding: 40px 0;
  color: #fff;
  display: grid;
  height: 70vh;
  min-height: 600px;
  background-image: url("/img/bg-element-line.png");
  background-repeat: repeat-x;
  background-size: 237px 472px;
  background-position: top center;
}

#hero .grid-hero {
  display: grid;
  /* overflow: hidden; */
  box-sizing: border-box;
  grid-template-columns: 1fr 1fr;
}

#hero .buttons-hero {
  margin-left: -8px;
}

#hero .hero-info {
  align-self: center;
}

#hero .hero-img {
  align-self: center;
  justify-self: center;
}

#hero .hero-img img {
  box-sizing: border-box;
  max-width: 370px;
  width: 100%;
  height: auto;
  padding: 0 1rem;
}

.page-section {
  padding: 72px 0;
}

.section-primary {
  background-color: #2872e2;
  color: #fff;
  /* background-image: url("/img/blue-noise-bg.png"); */
  background-size: 200px;
  background-repeat: repeat;
}

.section-dark {
  background-color: #020912;
  color: #fff;
}

.card {
  border-radius: 20px;
  /* padding: 12px; */
  background-color: #fff;
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.24);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 167ms;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 167ms;
}

.card:hover img {
  opacity: 0.88;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 167ms;
}

.featured-area {
  border-radius: 16px;
  padding: 24px;
}

.featured-area-full {
  padding: 24px 0;
}

.featured-area.light {
  background-color: rgba(0, 0, 0, 0.12);
}

/*//// Works ////*/

.work-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-sizing: border-box;
  width: 100%;
  gap: 1.4rem;
  margin-bottom: 24px;
  /* padding: 0 40px; */
}

.work-list .card img {
  /* border-radius: 20px 20px 0 0; */
}

.work-list a {
  text-decoration: none;
  color: #020912;
  margin: 0;
}

.work-list .card h3 {
  text-decoration: none;
  padding: 16px 0;
  margin: 0;
  font-size: 1.2rem;
}

#featured-works {
  border: 20px solid #020912;
  border-radius: 40px;
}

#featured-works .featured-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  place-content: center;
}

#featured-works .featured-area h3 {
  margin: 0;
  padding: 12px 0;
  margin-right: 16px;
  text-align: left;
}

/*//// Footer ////*/

#footer {
  padding: 96px 0;
}

#footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#footer h2 {
  font-size: 3.5rem;
  line-height: 4.25rem;
  margin-bottom: 3.5rem;
}

#footer p {
  margin: 0;
}

#footer .social-links {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.btn-img {
  display: flex;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  width: 64px;
  height: 64px;
  justify-content: center;
}

.btn-img:hover {
  border: 2px solid rgba(255, 255, 255, 1);
  background-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px #fff;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 167ms;
}

.btn-img img {
  justify-content: center;
  width: 50%;
}

#footer-end {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #020912;
  color: #fff;
  padding: 16px;
  text-align: center;
}

#footer-end p {
  font-size: 1rem;
  margin: 0;
}

/*******************
 About Page 
********************/

#about-header {
  padding-top: 40px;
  text-align: center;
}

#about-header img {
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
  margin-bottom: -40px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

#about-content {
  margin-top: 24px;
}

#about-content .container {
  max-width: 765px;
}

#about-contact .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  place-content: center;
}

#about-contact h3 {
  padding: 16px 0;
  margin: 0;
  margin-right: 16px;
}

/*******************
 Work Page 
********************/

body#work-page {
  background-color: #020912;
}

#work-content {
  padding: 40px 0 80px 0;
  color: #fff;
  background-image: url("/img/bg-element-line.png");
  background-repeat: repeat-x;
  background-size: 237px 472px;
  background-position: top center;
}

#work-content header p {
  margin-bottom: 1rem;
}

hr {
  background-color: #020912;
  height: 2px;
  box-shadow: none;
  border: none;
}

#work-content .work-info {
  display: flex;
  gap: 56px;
  padding: 8px 0;
}

#work-content .work-info h3 {
  font-size: 1.2rem;
  margin: 0;
}

#work-content ul.tags li {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#work-content .work-category,
#work-content .work-tools {
  display: flex;
  gap: 16px;
  align-items: center;
}

#work-content .work-image {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin: 40px 0;
}

#work-content .featured-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  place-content: center;
  gap: 8px;
}

#work-content .featured-area.light {
  background-color: rgba(255, 255, 255, 0.12);
}

#work-content .featured-area h3 {
  margin: 0;
}

/*//// Media Queries ////*/

@media (max-width: 992px) {
  #header a.logo-text {
    font-size: 1.1rem;
  }

  #header a.logo-img img {
    height: 36px;
  }

  h1.featured {
    font-size: 3rem;
  }

  p.featured {
    font-size: 1.2rem;
  }

  #hero .grid-hero {
    grid-template-columns: 3fr 2fr;
    padding: 0 40px;
    gap: 40px;
  }

  .work-list {
    grid-template-columns: 1fr 1fr;
    /* gap: 8px; */
  }

  #about-header {
    padding-top: 16px;
  }

  #work-content {
    padding: 40px 0;
  }
  /* te */

  #footer h2 {
    font-size: 2.2rem;
    line-height: 1.75rem;
  }

  #footer .social-links {
    gap: 8px;
  }

  .btn-img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 768px) {
  #work-content .work-info {
    display: grid;
    gap: 8px;
  }

  #hero .grid-hero {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hidden-sm {
    display: none !important;
  }

  .container {
    padding: 0 12px;
  }

  a.btn {
    font-size: 0.875rem;
    padding: 12px 24px;
    margin: 4px;
  }

  h1 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    line-height: 2.25rem;
  }

  h1.featured {
    font-size: 2rem;
  }

  h1 span.highlight {
    background-color: #2872e2;
    box-shadow: inset -12px 26px 0 0 #020912;
  }

  h2 {
    font-size: 1.37rem;
    margin-bottom: 24px;
  }

  h3 {
    font-size: 1.12rem;
    margin-bottom: 16px;
  }

  p {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  p.featured {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .page-section {
    padding: 32px 0;
  }

  #hero .hero-info {
    text-align: center;
  }

  #hero .hero-img {
    grid-row-start: 1;
  }

  #hero .hero-img img {
    max-width: 180px;
  }

  #featured-works {
    border: 10px solid #020912;
    border-radius: 25px;
  }

  .work-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    border-radius: 10px;
    /* padding: 8px; */
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.16);
  }

  .card:hover {
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.24);
  }

  .featured-area {
    border-radius: 10px;
    padding: 16px;
  }

  ul.tags {
    gap: 4px;
  }

  ul.tags li {
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.875rem;
  }

  #menu {
    display: block;
    position: absolute;
    width: 100%;
    top: 72px;
    right: 0;
    background-color: #0c131b;
    height: 0;
    transition: 0.6s;
    z-index: 1000;
    visibility: hidden;
    overflow-y: hidden;
  }
  #nav.active #menu {
    height: calc(100vh - 72px);
    visibility: visible;
    overflow-y: auto;
  }
  #menu a {
    padding: 1.4rem 1rem;
    margin: 0.5rem 1rem;
    display: block;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-align: center;
  }
  #btn-mobile {
    display: flex;
    padding: 1rem 0.8rem;
    font-size: 1rem;
    border: none;
    background: #020912;
    cursor: pointer;
    color: #fff;
    gap: 0.5rem;
    border-radius: 100px;
  }
  #hamburger {
    border-top: 2px solid;
    width: 24px;
    color: #fff;
  }
  #hamburger::after,
  #hamburger::before {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
  }
  #nav.active #hamburger {
    border-top-color: transparent;
  }
  #nav.active #hamburger::before {
    transform: rotate(135deg);
  }
  #nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  #hero {
    padding: 32px 0;
    height: inherit;
    min-height: 440px;
    background-size: 118px 236px;
  }

  #hero a.link-lang {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }

  #hero .grid-hero {
    grid-template-columns: auto;
    gap: 24px;
  }
  /* #hero h1 {
    font-size: 3rem;
  } */
  #hero .hero-info p {
    font-size: 1rem;
    line-height: 1.7rem;
  }

  #hero .buttons-hero {
    margin-left: -4px;
  }

  .work-list .card h3 {
    padding: 10px 0;
    font-size: 0.875rem;
  }

  #footer {
    padding: 48px 0;
  }

  #footer .content-mail {
    text-align: center;
  }

  #footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  #footer h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
    margin-bottom: 1.5rem;
  }

  #footer p.featured {
    margin-bottom: 1.5rem;
  }

  #footer .social-links {
    gap: 8px;
    justify-content: center;
  }

  .btn-img {
    width: 48px;
    height: 48px;
  }

  #footer-end p {
    font-size: 0.875rem;
  }

  #about-header {
    padding-top: 0;
  }

  #about-header .container {
    padding: 0;
  }

  #about-header img {
    border-radius: 0;
    box-shadow: none;
  }

  #work-content {
    padding: 32px 0;
    background-size: 118px 236px;
  }

  #work-content h1 {
    margin-bottom: 16px;
  }

  #work-content .work-info {
    display: none;
  }

  #work-content .work-info h3 {
    font-size: 1rem;
  }

  #work-content .work-info .work-category {
    align-items: baseline;
  }

  #work-content .work-image {
    border-radius: 8px;
    margin: 24px 0;
  }
}
