/*!
 * Start Bootstrap - Modern Business (https://startbootstrap.com/templates/modern-business)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-logomodern-business-nav/blob/master/LICENSE)
 */
:root {
  --primary: #00add3;
  --primary-contrast: #ffffff;
}
.btn-primary {
  color:  var(--primary-contrast);
  background-color: var(--primary);
  border-color:  var(--primary);
}
.bg-primary {
  background-color: var(--primary) !important;
}
a {
  color: var(--primary-contrast);
  text-decoration: none;
  background-color: transparent;
}
body {
  padding-top: 56px;
  font-family: 'Varela Round', sans-serif;
}

.carousel-item {
  height: 100vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.portfolio-item {
  margin-bottom: 30px;
}
.card-title {
  color: var(--primary);
}

.middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

/* DEMO GENERAL ============================== */
.hover {
  overflow: hidden;
  position: relative;
  padding-bottom: 60%;
}

.hover-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  transition: all 0.4s;
}

.hover img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

.hover-content {
  position: relative;
  z-index: 99;
}

/* DEMO 4 ============================== */
.hover-4 img {
  width: 110%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hover-4 .hover-overlay {
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
}

.hover-4-title {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 3rem;
  z-index: 99;
  font-size: medium;
  padding: 1rem;
}

.hover-4-description {
  position: absolute;
  top: 2rem;
  left: 2rem;
  text-align: right;
  border-right: 3px solid #fff;
  padding: 0 1rem;
  z-index: 99;
  transform: translateX(-1.5rem);
  opacity: 0;
  transition: all 0.3s;
  font-size: 12px;
}

@media (min-width: 992px) {
  .hover-4-description {
    width: 50%;
  }
}
@media (max-width: 992px) {
  .hover-4-title {
    padding: 1rem;
  }
  .hover-4-description {
    font-size: small;
  }
}

.hover-4:hover img {
  width: 100%;
}

.hover-4:hover::after {
  opacity: 1;
  transform: none;
}

.hover-4:hover .hover-4-description {
  opacity: 1;
  transform: none;
  font-size: 12px;
}

.hover-4:hover .hover-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  background-color: var(--primary);
  color: var(--primary-contrast);
}

.navbar-contact {
  color: var(--primary-contrast);
  padding: 0;
  padding-left: 10px;
}
.navbar-contact a:hover{
  text-decoration:none;
  color: var(--primary-contrast);
}
.navbar-dark .navbar-toggler{
  color: var(--primary-contrast)!important;
}
.navbar-dark .navbar-nav .nav-link{
  color: var(--primary-contrast)!important;
 
}

.nav-item{
  padding: 0 15px;
  opacity: 0.5;
}

.nav-item:hover{
  opacity: 1;
}

@media (min-width: 992px) {
  .navbar-brand .card-img-top {
    max-width: 256px;
    display: none;
  }
  .logo-nav-bar {
    opacity: 1;
    max-width: 256px;
  }
  .navbar-brand {
    padding: 0;
  }
  .navbar-nav .nav-link {
    padding-top: 0;
    padding-bottom: 0;
    height: 50px;
    line-height: 50px;
    text-align: center;
  }
  
}

@media (max-width: 992px) {
  .navbar-general{
    margin-top: 3rem!important;
  }
  .logo-nav-bar {
    display: none;
  }
  .navbar-brand .card-img-top {
    max-width: 216px;
    display: inline;
  }
  .nav-item{
    opacity: 1;
  }
}

#serveis h4{
  font-size: larger;
}