*,
*::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  font-size: 10px;
  overflow-x: hidden;
}

body{
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.container-fluid{
  padding: 0 10%;
}

img {
	pointer-events:none;
}

/* NAVBAR AND TITLE SECTION */
#title{
  /*background-color: #00B4DB;*/
  animation: change 10s ease-in-out infinite;
  background: linear-gradient(-45deg, #00B4DB, rgb(0, 91, 124));
  background-size: 300% 300%;
  color: white;
  height: 80vh;
  position: relative;
}

@keyframes change{
  0%{
    background-position: 0 50%;
  }
  50%{
    background-position: 100% 50%;
  }
  100%{
    background-position: 0 50%;
  }
}

.navbar {
  padding: 1.5rem 0;
  position: absolute;
  z-index: 999;
  width: 80%;
}

.nav-item{
  padding: 0 1.5rem;
  text-align: right;
  font-family: 'Raleway', sans-serif;
}

nav .navbar-nav li a{
  color: white !important;
  font-size: 1.8rem;
  opacity: 1;
  transition: opacity 350ms;
}

nav .navbar-nav li a:hover{
  opacity: 0.7;
}

.navbar-toggler-icon{
  font-size: 1.8rem;
}

.title-container{
  position: relative;
  height: 80vh;
  text-align: center;
}

.title-align{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.logo{
  font-family: 'Raleway', sans-serif;
  font-size: 4rem;
  font-weight: 700;
}

.logo-caption{
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.5;
  margin-top: 1rem;
}

/* SERVICES SECTION */
#servicos{
  background-color: #fff;
  padding: 12rem 0;
  text-align: center;
}

.servico-item:not(:last-of-type){
  margin-bottom: 7rem;
}

.servico-icon{
  color: #515E65;
  transition: all .3s ease-in-out;
}

.servico-icon:hover{
  color: #8C9FAA;
  transform: scale(1.05);
}

.servico-item h2{
  color: #159CC7;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1.8rem 0 1.2rem 0;
}

.servico-item p{
  color: #515E65;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 2;
}

/* ABOUT SECTION */
#sobre{
  background-color: #8C9FAA;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.8;
  padding: 12rem 10%;
}

.sobre-texto{
  margin: 0 auto;
}

/* PORTFOLIO SECTION */
#portfolio{
  padding: 12rem 0;
}

.container-gallery{
  margin: 0 auto;
  max-width: 1200px;
  padding: 0;
}

.responsive-image {
  max-width: 100%;
}

.cell-gallery img {
  display: block;
  border: solid #fff 1px;
}

.grid-gallery {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.cell-gallery {
  width: 50%;
}

.portfolio-card {
  position: relative;
}

.card__img {
  max-width: 100%;
  display: block;
}

.card__text {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 300;
  color: white;
  background-color: rgba(81,94,101, .8);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity ease-out 250ms;
}

.portfolio-card:hover .card__text {
  opacity: 1;
}

.card__title {
  font-size: 1.8rem;
  color: white;
  margin-top:25%;
  text-transform: uppercase;
}

@media screen and (min-width: 992px) {
  .cell-gallery { width: 33.3%; }
}
@media screen and (max-width: 576px) {
  .cell-gallery { width: 100%; }
}

/* CONTACT SECTION */
#contactos{
  animation: change 10s ease-in-out infinite;
  background: linear-gradient(-45deg, #00B4DB, rgb(0, 91, 124));
  background-size: 300% 300%;
  padding: 15rem 0;
  text-align: center;
}

.contacto-item:not(:last-of-type){
  margin-bottom: 7rem;
}

.contacto-icon {
  color: #fff;
  transition: all .3s ease-in-out;
}

.contacto-icon:hover{
  opacity: 0.8;
  transform: scale(1.05);
}

.contacto-item p{
  color: #fff;
  font-size: 1.6rem;
  font-weight: 300;
  margin-top: 1.8rem;
}

/* FOOTER SECTION */
#footer{
  background-color: #515E65;
  color: #fff;
  padding: 1.5rem;
}

#footer p{
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
}

.footer-arrow{
  color: #fff;
  transition: all .3s ease-in-out;
}

.footer-arrow:hover{
  color: #8C9FAA;
}