@import url("https://fonts.googleapis.com/css?family=Roboto+Mono:400,700,700i|Work+Sans:400,700&display=swap");
@import url("reset.css");
@import url("mobile.css");

.visible {
  display: flex !important;
  flex-direction: column;
  margin-top: 30px;
}

html,
body {
  overflow-y: hidden;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smooting: antialiased !important;
}

body {
  font-family: "Work Sans", sans-serif;
  display: flex;
  flex-direction: row;
}

/**** ******** **** NAVIGATION MENU **** ******** ****/

aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: #003b4a;
  min-width: 330px;
  height: 100vh;
  z-index: 2;
}

aside a,
aside a:link,
aside a:visited,
aside a:active {
  color: white;
  text-decoration: none;
}

ul {
  padding: 0px;
}

footer p {
  font-size: 11px;
  line-height: 14px;
}

footer a {
  font-size: 10px;
  font-family: "Roboto Mono", sans-serif;
  text-transform: uppercase;
  text-decoration: underline !important;
  font-weight: bold;
  margin-right: 10px;
}

.mobile-menu {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  padding: 40px 20px 0px;
  height: 10%;
}

.logo img {
  width: 170px;
}

.menu-container {
  font-family: "Roboto Mono", monospace;
  font-weight: bold;
  height: 70%;
  padding: 20px 0px 20px 20px;
  color: white;
}

.menu-container ul {
  font-size: 14px;
}

.menu-container li {
  list-style-type: none;
  margin: 13px 10px;
}

.menu-container li a {
  color: white;
}

.menu-container li span {
  cursor: pointer;
}

.submenu li {
  display: table;
  cursor: pointer;
}

.menu-container li span.selected {
  font-weight: bold;
  background: #d73228;
  padding: 0px 10px 0px 50px;
  margin-left: -50px;
  transition: 0.2s all;
}

.menu-container li.selected {
  font-weight: bold;
  background: #d73228;
  box-shadow: 0 0 0 3px #d73228;
  padding: 0px 10px 0px 50px;
  margin-left: -40px;
  transition: 0.2s all;
}

.submenu {
  font-weight: lighter;
  display: none;
}

footer {
  color: white;
  padding: 20px;
}

/**** ******** **** MAIN CONTENT **** ******** ****/

main {
  display: flex;
  flex-direction: column;

  width: -webkit-fill-available;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

header {
  display: flex;
  flex-direction: column;
  height: auto;
}

header figure {
  background-repeat: no-repeat;
  position: relative;
  height: 30vh;
  z-index: -1;
}

header figure label {
  font-family: "Roboto Mono", sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: bold;
  color: #ffffff82;
  font-size: 28vh;
  position: absolute;
  bottom: -35px;

  /* Avoid User Selection */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

section {
  display: flex;
  flex-direction: column;

  margin-left: 60px;
  margin-bottom: 40px;
}

section h1:first-child,
section h3:first-child {
  margin-top: 45px;
}

section h1 {
  max-width: 55%;
  margin-bottom: 30px;
  z-index: 1;
  font-family: "Roboto Mono", sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 56px;
  color: #003b4a;
  font-weight: bolder;
}

section h2 {
  margin: 40px 0px 30px;
  z-index: 1;
  font-family: "Roboto Mono", sans-serif;
  text-transform: uppercase;
  font-size: 30px;
  line-height: initial;
  color: #003b4a;
  font-weight: bolder;
}

section h3 {
  font-family: "Roboto Mono", sans-serif;
  text-transform: uppercase;
  font-weight: bolder;
  background-color: #d73228;
  color: white;
  width: fit-content;
  padding: 6px;
}

section i {
  font-size: 18px;
  vertical-align: middle;
  padding: 10px 8px;
  background: #d73228;
  margin-right: 20px;
  margin-left: -60px;
}

section div {
  display: flex;
  flex-direction: column;

  width: 50%;
  font-size: 16px;
  line-height: 25px;
}

section p {
  margin-bottom: 20px;
}

section p strong {
  font-weight: bold;
}

section ul li::before {
  content: "\25a0";
  color: #d73228;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

button.btn-standard {
  font-family: "Roboto Mono", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  color: #003b4a;
  background: white;
  border: #003b4a 3px solid;
  padding: 20px;
  transition: all 0.2s;
}

button.btn-standard:hover,
button.btn-standard:active {
  color: white;
  background: #003b4a;
}

/**** ******** **** HOME SLIDER **** ******** ****/

.home-slider,
.home-slider-container {
  width: -webkit-fill-available;
  height: -webkit-fill-available;
}

.home-slider a,
.home-slider a:link,
.home-slider a:visited,
.home-slider a:hover,
.home-slider a:active {
  text-decoration: none;
}

.home-slider-desc {
  position: absolute;
  bottom: 0;
}

.home-slider-desc h4 {
  font-family: "Roboto Mono", sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: 300px;
  color: #d73228;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 0 -40px;

  /* Avoid User Selection */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.home-slider-desc h1 {
  background: #d73228;
  color: #003b4a;
  padding: 20px;
  box-sizing: border-box;
  max-width: 48vw;
  font-family: "Roboto Mono", sans-serif;
  font-size: 3vw;
  text-transform: uppercase;
  font-weight: bold;
}

.home-slider-desc p {
  max-width: 25vw;
  background: #003b4a;
  padding: 10px;
  font-size: 14px;
  line-height: 16px;
  color: white;
}

.home-slider-desc span:nth-child(2) {
  width: auto;
  display: block;
  padding: 10px 25px 10px 10px;
}

.home-slider-desc i {
  position: relative;
  color: #d73228;
  float: right;
}

.slick-list,
.slick-track {
  height: -webkit-fill-available !important;
}

.slick-slide {
  height: 100vh !important;
}

/***** ******** **** PROJECTS **** ******** *****/

.project-title {
  white-space: initial;
}

.projects-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
}

.projects-container a {
  flex-grow: 1;
  flex-basis: 33.3333%;
  position: relative;
  text-decoration: none;
}

.projects-container .projeto {
  display: flex;
  flex-direction: column-reverse;
  flex-grow: 1;

  min-width: 300px;
  min-height: 300px;
}

.projects-container .projeto:after {
  content: "\f35d";
  font-family: "FontAwesome";
  font-size: 100px;
  text-align: center;
  padding-top: 90px;
  box-sizing: border-box;
  color: white;
  background-color: #d7322899;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.projects-container .projeto:hover:after {
  opacity: 1;
}

.projects-container .projeto span {
  display: flex;
  flex-direction: column;
}

.projects-container .projeto label {
  font-family: "Roboto Mono", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

.projects-container .projeto label.title {
  width: fit-content;
  background: #d73228;
  color: white;
  padding: 20px;
  font-size: 14px;
}

.projects-container .projeto label.type {
  width: fit-content;
  padding: 10px 10px 10px 20px;
  color: white;
  background: #003b4a;
  font-style: italic;
  font-size: 12px;
}

/***** ******** **** CONTACT ***** ******** ****/

.contact-container {
  display: flex;
  flex-direction: row;

  width: 100%;
}

.contact-container form {
  color: #003b4a;
  font-weight: bolder;

  display: flex;
  flex-direction: column;
}

.contact-container > span {
  width: 50%;
}

.contact-container > span:first-child {
  margin-right: 30px;
}

.contact-container form input[type="text"],
.contact-container form input[type="email"],
textarea {
  font-family: "Work Sans", sans-serif;
  background-color: #eaeaea;
  border: none;
  height: 25px;
  padding-left: 5px;
  margin-bottom: 10px;
}

.contact-container form textarea {
  height: 80px;
}

.contact-container form input[type="submit"] {
  font-family: "Roboto Mono", sans-serif;
  font-weight: bold;
  background-color: #d73228;
  color: #fff;
  border: 0;
  border-bottom: 5px solid #940900;
  height: 35px;
  padding: 4px 0;
  box-sizing: content-box;
  transition: all 0.2s;
  margin-top: 0px;
}

.contact-container form input[type="submit"]:hover {
  background-color: #c03029;
  border-bottom: 5px solid #940900;
}

.contact-container form input[type="submit"]:active,
.contact-container form input[type="submit"]:disabled {
  background-color: #940900;
  border-bottom: 0px solid #940900;
  margin-top: 5px;
}

.contact-container h3 {
  color: #003b4a;
  font-weight: bolder;
  background: none;
}

.contact-container i {
  margin-left: 0px;
  margin-right: 10px;
  min-width: 20px;
  text-align: center;
}

.contact-container form label {
  font-family: "Roboto Mono", sans-serif;
  text-transform: uppercase;
}

.contact-data {
  display: flex;
  flex-direction: column;
}

.contact-data label {
  font-family: "Roboto Mono", sans-serif;
  font-size: 15px;
  color: #003b4a;
}

.contact-data span,
.contact-data h3 {
  display: flex;
  flex-direction: row;
  padding-bottom: 20px;
  align-items: center;
}

.contact-data i {
  color: #003b4a;
}

.contact-data a {
  text-decoration: underline;
  color: #003b4a;
}

.mail-notification-success {
  margin: 10px 0;
  padding: 10px;
  border: 2px solid #003b4a;
  color: #003b4a;
  width: auto;
}

.mail-notification-failure {
  margin: 10px 0;
  padding: 10px;
  border: 2px solid red;
  color: red;
  width: auto;
}

/***** ******** **** CLIENTES **** ******** *****/

.clients-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 80%;
}

.clients-container a {
  padding: 20px;
}

.clients-container a img {
  width: 150px;
}

/***** ******** **** SLIDER PROJECTS **** ******** *****/

/* Slideshow container */
.slideshow-container {
  width: -webkit-fill-available;
  max-height: 85vh;
  overflow: hidden;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
  margin-top: -150px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color: #003b4a;
  background-color: rgba(255, 255, 255, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

#myBtn {
  display: inline-block;
  background-color: #003b4af0;
  width: 50px;
  height: 50px;
  text-align: center;
  margin: 10px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  transition: background-color 0.3s;
  z-index: 1000;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  border: 0;
  box-shadow: 0 1px 12px #0000002e;
}

#myBtn:hover {
  cursor: pointer;
}

#myBtn::after {
  content: "\f077";
  font-family: "FontAwesome";
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

#myBtn.show {
  opacity: 1;
  visibility: visible;
}
