/* Site Stuff */

body {margin:0;
background-color: rgb(0, 0, 0);
}

/* Navegador */

nav {
  padding: 8px;
}

nav ul {
  float: left;
  position: fixed;
}

nav ul li {
  display: inline-block;
}

nav ul li:not(:first-child) {
  margin-left: 48px;
}

nav ul li:last-child {
  margin-right: 24px;
}

nav ul li a {
  display: inline-block;
  outline: none;
  color: rgb(255, 255, 255);
  font-family: 'Exo', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.2px;
}

@media screen and (max-width: 864px) {

  .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: rgb(0, 0, 0);
        opacity: 0;
        transition: all 0.2s ease;
  }

  .nav-wrapper ul {
        position: absolute;
        top: 50%;
        left: 20%;
        transform: translateY(-50%);
        width: 0%;
  }

  .nav-wrapper ul li {
        display: block;
        float: none;
        text-align: center;
        margin-bottom: 10px;
  }

  .nav-wrapper ul li:nth-child(1) a {
        transition-delay: 0.2s;
  }

  .nav-wrapper ul li:nth-child(2) a {
        transition-delay: 0.3s;
  }

  .nav-wrapper ul li:nth-child(3) a {
        transition-delay: 0.4s;
  }

  .nav-wrapper ul li:nth-child(4) a {
        transition-delay: 0.5s;
  }

  .nav-wrapper ul li:not(:first-child) {
        margin-left: 0;
  }

  .nav-wrapper ul li a {
        padding: 10px 24px;
        opacity: 0;
        color: rgb(255, 255, 255);
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1.2px;
        transform: translateX(-20px);
        transition: all 0.2s ease;
  }

  .nav-btn {
        position: fixed;
        right: 10px;
        top: 10px;
        display: block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        z-index: 9999;
        border-radius: 50%;
  }

  .nav-btn i {
        display: block;
        width: 20px;
        height: 2px;
        background: rgb(255, 255, 255);
        border-radius: 2px;
        margin-left: 14px;
  }

  .nav-btn i:nth-child(1) {
        margin-top: 16px;
  }

  .nav-btn i:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
  }

  .nav-btn i:nth-child(3) {
        margin-top: 4px;
  }
}

#nav:checked + .nav-btn {
  transform: rotate(45deg);
}

#nav:checked + .nav-btn i {
  background: rgb(255, 255, 255);
  transition: transform 0.2s ease;
}

#nav:checked + .nav-btn i:nth-child(1) {
  transform: translateY(6px) rotate(180deg);
}

#nav:checked + .nav-btn i:nth-child(2) {
  opacity: 0;
}

#nav:checked + .nav-btn i:nth-child(3) {
  transform: translateY(-6px) rotate(90deg);
}

#nav:checked ~ .nav-wrapper {
  z-index: 9990;
  opacity: 1;
}

#nav:checked ~ .nav-wrapper ul li a {
  opacity: 1;
  transform: translateX(0);
}

.hidden {
  display: none;
}

/* Título Portfólio */

.titulo img {
  width: 100%;
}

/* Sobre Topic */

#sobre {
  background-color: white;
}

#sobre h1 {
  font-family: 'Saira Extra Condensed', sans-serif;
  color: black;
  font-size: 350%;
  padding-left: 5vw;
  padding-top: 5vw;
}

#sobre p {
  font-family: 'Exo', sans-serif;
  text-align: justify;
  padding-left: 5vw;
  padding-right: 5vw;
  color: black;
  padding-bottom: 10vw;
}

/* Fotos Portfólio */

.crepe {
  overflow: hidden;
  margin: 10px;
  padding-left: 5vw;
  padding-right: 5vw;
}
.caixa {
  float: left;
  position: relative;
  width: 20%;
  padding-bottom: 20%;
}
.caixai {
  position: absolute;
  overflow: hidden;
}
.caixai img {
  width: 100%;
}

.caixai img:hover {
  -ms-transform: scale(1.5); 
  -webkit-transform: scale(1.5); 
  transform: scale(1.5); 
}

.caixa .caixat:hover {
  -ms-transform: scale(1); 
  -webkit-transform: scale(1); 
  transform: scale(1); 
}

.caixai .caixat {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-bottom: 75px;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFF;
  font-family: 'Exo', sans-serif;
  text-align: justify;
  padding: 20%;
  text-align: center;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

section.no-touch .caixai:hover .caixat, section.touch .caixai.touchFocus .caixat {
  margin-bottom: 0 auto;
  opacity: 1;
}

/* Medida 1/1 */

@media only screen and (max-width : 480px) {

  .caixa {
    width: 100%;
    padding-bottom: 100%;
  }
}

/* Medida 2/2 */

@media only screen and (max-width : 650px) and (min-width : 481px) {

  .caixa {
    width: 50%;
    padding-bottom: 50%;
  }
}

/* Pequeno e Extras */

@media only screen and (max-width : 1050px) and (min-width : 651px) {

  .caixa {
    width: 33.3%;
    padding-bottom: 33.3%;
  }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {

/* Médio */ 

  .caixa {
    width: 25%;
    padding-bottom: 25%;
  }
}

/* Portfólio Font */

#trabalhos h1 {
    font-family: 'Saira Extra Condensed', sans-serif;
    color: white;
    font-size: 350%;
    padding-left: 5vw;
    padding-top: 3.5vw;
}


/* Contactos */

#contactos h1{
  color: white;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 350%;
  padding-left: 5vw;
  padding-top: 3.5vw;
}

#contactos a{
  color: white;
  font-family: 'Exo', sans-serif;
  padding-left: 5vw;
}


#contactos {
  box-sizing: border-box;
}

#ids {
  padding-left: 5vw;
  width: 150%;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  margin-top: 6px;
  margin-bottom: 6px;
  resize: vertical;
  object-position: center;
}

input[type=submit] {
  background-color: #353535;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #353535;
}

.coluna {
  float: left;
  width: 50%;
  margin-top: 6px;
  padding: 20px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

#contactos p {
  color: aliceblue;
  font-family: 'Exo', sans-serif;
}


#contactos h2 {
  color: white;
  font-family: 'Inconsolata', monospace;
  padding-left: 5vw;
}

/*Responsive Contactos*/

@media screen and (max-width: 600px) {
  .coluna, input[type=submit] {
    width: 60%;
    margin-top: 0;
    overflow: hidden;
  }
  #contactos a {
    padding-left: 0;
  }
}

/*Cor na Barra de Navegação*/

nav ul:hover {
background-color: black;
}
