/*--https://www.sitepoint.com/understanding-and-using-rem-units-in-css/

grande parte dos tutoriais que vi utilizavam o rem como medida. como começei dessa forma optei 
por continuar assim até ao fim. --*/

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-weight: normal;
  line-height: 1;
  text-rendering: optimizeLegibility;
  word-wrap: break-word;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: none;
}

header {
  background: var(--background);
  text-align: center;
  position: fixed;
  z-index: 999;
  width: 100%;
}

.nav-toggle {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1em;
  height: 100%;
  display: flex;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
  font-family: 'helvetica', sans-serif;
  font-weight: 700;
}

nav a:hover {
  color: darkred;
}

.nav-toggle:checked ~ nav {
  transform: scale(1,1);
}

.nav-toggle:checked ~ nav a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

  header {
    display: grid;
    grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr;
  }
  
  .logo {
    grid-column: 2 / 3;
  }
  
  nav {
    // all: unset; 
    position: relative;
    text-align: left;
    transition: none;
    transform: scale(1,1);
    background: none;
    top: initial;
    left: initial;
   
    
    grid-column: 3 / 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  nav ul {
    display: flex;
  }
  
  nav li {
    margin-left: 3em;
    margin-bottom: 0;
    margin-top:3em;
  }
  
  nav a {
    opacity: 1;
    position: relative;
  }
  
  nav a::before {
    content: '';
    display: block;
    height: 5px;
    background: darkred;
    position: absolute;
    top: -.75em;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transition: transform ease-in-out 250ms;
  }
  
  nav a:hover::before {
    transform: scale(1,1);
  }


html, body {
  height: 100%;
}

body {
  background: #111111;
  font-family: "helvetica", sans-serif;
  font-size: 1.6rem;
  line-height: 3rem;
  color: #fff;
  margin: 0;
  padding: 0;
}


/* ---------fontes--------- */
h1, h2, h3, h4, h5, h6,
.h01, .h02, .h03, .h04, .h05, .h06 {
  font-family: "helvetica", sans-serif;
  color: #000;
  font-style: normal;
  text-rendering: optimizeLegibility;
  margin-bottom: 2.1rem;
}

h3, .h03, h4, .h04 {
  margin-bottom: 1.8rem;
}

h5, .h05, h6, .h06 {
  margin-bottom: 1.2rem;
}

h2, .h02 {
  font-size: 2.4rem;
  line-height: 1.25;
}

h3, .h03 {
  font-size: 2rem;
  line-height: 1.5;
}

h4, .h04 {
  font-size: 1.7rem;
  line-height: 1.76;
}

h5, .h05 {
  font-size: 1.4rem;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: .2rem;
}

h6, .h06 {
  font-size: 2rem;
  line-height: 1.85;
  text-transform: uppercase;
  letter-spacing: .2rem;
}



/* ------ botão ------- */

a.button,

input[type="button"] {
  display: inline-block;
  font-family: "helvetica", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .3rem;
  height: 5.4rem;
  line-height: 5.4rem;
  padding: 0 3rem;
  margin: 0 .3rem 1.2rem 0;
  border:5px darkred;
  color: #222222;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: none;

}


a.button:hover,
input[type="button"]:hover,
button:focus,
input[type="button"]:focus {
  background: #641d1d;
  color: #000000;
  outline: 0;
}


a.button.button-primary,
input[type="button"].button-primary {
  background: #151515;
  border: 5px darkred;
}


button.medium, .button.medium {
  height: 5.7rem !important;
  line-height: 5.7rem !important;
  padding: 0 1.8rem !important;
}

button.large, .button.large {
  height: 6rem !important;
  line-height: 6rem !important;
  padding: 0rem 3rem !important;
}

button.stroke, .button.stroke {
  background: transparent !important;
  border: 3px solid darkred;
  line-height: 4.8rem;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}


/*------- introduções portfólio --------- */
.section-intro {
  text-align: center;
  position: relative;
  margin-bottom: 1.5rem;
}
.section-intro h1 {
  font-family: "helvetica", sans-serif;
  font-size: 4.8rem;
  line-height: 1.375;
  color: #151515;
}
.section-intro h3 {
  font-family: "helvetica", sans-serif;
  font-size: 4 rem;
  line-height: 1.667;
  color: rgba(242, 242, 242, 0.24);
  text-transform: uppercase;
  letter-spacing: .3rem;
  margin-bottom: 1.2rem;
}
.section-intro .lead {
  font-family: "helvetica", sans-serif;
  font-size: 2.6;
  line-height: 1.833;
}
.section-intro.with-bottom-sep {
  padding-bottom: 4.2rem;
  position: relative;
}
.section-intro.with-bottom-sep::after {
  display: inline-block;
  height: 2px;
  width: 200px;
  background-color: rgba(242, 242, 242, 0.1);
  text-align: center;
}


/* ------logo------- */

header .header-logo {
  position: absolute;
  left: 32px;
  top: 42px;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
header .header-logo a {
  display: block;
  margin: 0;
  padding: 100;
  outline: 0;
  border: none;
  width: 87px;
  height: 57px;
  background: url("../images/logo.png") no-repeat center;
  background-size: 87px 57px;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}


/* ------ menu ---------- */
#header-menu-trigger {
  display: block;
  position: fixed;
  right: 32px;
  top: 30px;
  height: 42px;
  width: 42px;
  line-height: 42px;
  font-family: "helvetica", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .2rem;
  color: rgba(255, 255, 255, 0.5);
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#header-menu-trigger.opaque {
  background-color: #000000;
}
#header-menu-trigger.opaque .header-menu-text {
  background-color: #000000;
}
#header-menu-trigger:hover, #header-menu-trigger:focus {
  color: #FFFFFF;
}
#header-menu-trigger .header-menu-text {
  display: block;
  position: absolute;
  top: 0;
  left: -75px;
  width: 75px;
  text-align: center;
  background-color: transparent;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#header-menu-trigger .header-menu-icon {
  display: block;
  height: 3px;
  width: 24px;
  background-color: #FFFFFF;
  position: absolute;
  top: 50%;
  right: 9px;
  margin-top: -1.5px;
}
#header-menu-trigger .header-menu-icon::before, 
#header-menu-trigger .header-menu-icon::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: inherit;
  position: absolute;
  left: 0;
}
#header-menu-trigger .header-menu-icon::before {
  top: -9px;
}
#header-menu-trigger .header-menu-icon::after {
  bottom: -9px;
}

/* ------ inicio ----- */
#inicio {
  width: 100%;
  height: 100%;
  background-color: #151515;
  background-image: url(../images/ines-bg.jpg);
  background-repeat: no-repeat;
  background-position: center 30%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  min-height: 804px;
  position: relative;
}
#inicio .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .2;
  background-color: #19191b;
}

.inicio-content-table {
  width: 100%;
  height: 100%;
  display: table;
  position: relative;
  text-align: center;
}

.inicio-content-tablecell {
  display: table-cell;
  vertical-align: middle;
  z-index: 500;
}
.inicio-content-tablecell .row {
  position: relative;
  padding-top: 16.2rem;
  padding-bottom: 15rem;
}
.inicio-content-tablecell h3 {
  font-family: "helvetica", sans-serif;
  font-size: 2.2rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: .3rem;
  margin: 0 0 .9rem 0;
}
.inicio-content-tablecell h1 {
  font-family: "helvetica", sans-serif;
  font-size: 9rem;
  line-height: 1.133;
  color: #FFFFFF;
}
.inicio-content-tablecell .more {
  margin: 4.8rem 0 0 0;
}
.inicio-content-tablecell .more .button {
  border-color: #FFFFFF;
  color: #FFFFFF;
}


/* ---img---*/
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  line-height: inherit;
}

a img {
  border: none;
}

img, video {
  max-width: 100%;
   height: auto;
 }
 

/* ------ trabalhos ----- */
#trabalhos {
  position: relative;
  padding: 4.2rem 0 12rem;
  background-color: #FFFFFF;
  min-height: 696px;
  text-align: center;
}
#trabalhos .about-wrap {
  max-width: 850px;
}
#trabalhos span {
  color: #07617d;
}
#trabalhos h3 {
  font-family: "montserrat-bold", sans-serif;
  font-size: 1.8rem;
  line-height: 1.667;
  color: #07617d;
  text-transform: uppercase;
  letter-spacing: .3rem;
  position: relative;
}
#trabalhos h3::before {
  display: block;
  content: "";
  width: 3px;
  height: 9.6rem;
  background-color: rgba(149, 149, 149, 0.7);
  margin: 0 auto 2.4rem;
}
#trabalhos .lead {
  font-family: "helvetica", sans-serif;
  font-size: 4rem;
  line-height: 1.8;
  color: #2e383f;
  margin-top: 6rem;
}


/* ----- portfolio ----- */
#portfolio {
  background: #000;
  min-height: 800px;
  position: relative;
  padding: 0;

}
#portfolio .intro-wrap {
  padding: 15rem 0 21rem;
  background: #05090b;
}
#portfolio .section-intro h3 {
  color: rgba(242, 242, 242, 0.5);
  font-size:25px;
}
#portfolio .section-intro h1 {
  color: #FFFFFF;
  font-family:helvetica;
  font-size:30px;
}
#portfolio .section-intro .lead {
  color: rgba(242, 242, 242, 0.4);
  font-size:20px;
}
#portfolio .portfolio-content {
  margin-top: -22.2rem;
}
#portfolio .bricks-wrapper:before, 
#portfolio .bricks-wrapper:after {
  content: "";
  display: table;
}
#portfolio .bricks-wrapper:after {
  clear: both;
}
#portfolio .bricks-wrapper .brick {
  float: left;
  width: 50%;
  padding: 0;
  margin: 0;
}
#portfolio .bricks-wrapper .brick:nth-child(2n+1) {
  clear: both;
}

/* ----- portefolio -------- */

.bricks-wrapper .item-wrap {
  position: relative;
  overflow: hidden;
}
.bricks-wrapper .item-wrap .overlay {
  cursor: zoom-in;
}

.bricks-wrapper .item-wrap .overlay::before {
  content: "";
  display: block;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

.bricks-wrapper .item-wrap .item-text {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3.6rem 0 0 3rem;
  margin-right: 6rem;
  z-index: 3;
}
.bricks-wrapper .item-wrap .item-text .folio-title {
  color: #FFFFFF;
  font-size: 2.2rem;
  line-height: 1.364;
}

.bricks-wrapper .item-wrap:hover .overlay::before {
  opacity: 1;
  visibility: visible;
}

/* ----- grid --------- */

.row {
  width: 94%;
  max-width: 1170px;
  margin: 0 auto;
}
.row:before, .row:after {
  content: "";
  display: table;
}
.row:after {
  clear: both;
}

.row .row {
  width: auto;
  max-width: none;
  margin-left: -20px;
  margin-right: -20px;
}

[class*="col-"], .bgrid {
  float: left;
}

[class*="col-"] + [class*="col-"].end {
  float: right;
}

[class*="col-"] {
  padding: 0 20px;
}

.col-one {
  width: 8.33333%;
}

.col-two, .col-1-6 {
  width: 16.66667%;
}

.col-three, .col-1-4 {
  width: 25%;
}

.col-four, .col-1-3 {
  width: 33.33333%;
}

.col-five {
  width: 41.66667%;
}

.col-six, .col-1-2 {
  width: 50%;
}

.col-seven {
  width: 58.33333%;
}

.col-eight, .col-2-3 {
  width: 66.66667%;
}

.col-nine, .col-3-4 {
  width: 75%;
}

.col-ten, .col-5-6 {
  width: 83.33333%;
}

.col-eleven {
  width: 91.66667%;
}

.col-twelve, .col-full {
  width: 100%;
}



/* ----- contactos ----- */
#contactos {
  background-color: #180b0b;
  background-image: url(../images/contact-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  padding: 6rem 0 20rem;
  position: relative;
}

#contactos .section-intro h1 {
  color: white;
  font-family:"helvetica", sans-serif;
  font-size:25px;
}
#contactos .section-intro h3 {
  color: #fff(242, 242, 242, 0.5);
  font-family:"helvetica", sans-serif;
}
#contactos .section-intro p.lead {
  color: #fff(242, 242, 242, 0.4);
  font-family:"helvetica", sans-serif;
}

.contactos-content {
  max-width: 1024px;
  margin-top: 3rem;
  color: #FFFFFF;
  z-index: 600;
  position: relative;
  font-family:"helvetica", sans-serif;
}

.contactos-content h5 {
  color: #FFFFFF;
  margin-bottom: 10rem;
  font-family:"helvetica", sans-serif;
}


.contactos-content h6 {
  color: #fff;
  font-size: 6rem;
  font-family:"helvetica", sans-serif;
}


/* contactos info */
.contactos-info .cinfo {
  margin-bottom: 4.2rem;
  padding:5px;
  font-family:"helvetica", sans-serif;
  
}

#contactos .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .75;
  background-color: #29374b
}









