html {
  height: 100%;
  width: 100%;
}

body {
  background-color: #ececec;
}

.carousel-img {
  height: 80vh;
}

.ajust-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  /* Ajustar la imagen para que cubra el div manteniendo la relación de aspecto */
}

.carousel-img div {
  position: absolute;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 1;
  /* Asegurar que las letras estén por encima de la imagen */
}

.carousel-img div {
  top: 50%;
  left: 50%;
  text-align: center;
}

.carousel-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Color y opacidad de la superposición */
  z-index: 0;
  /* Colocar la superposición detrás de la imagen */
}

.service-card {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  min-width: 250px;
  min-height: 300px;
  max-width: 400px;
  max-height: 450px;
}

.service-card:hover {
  transform: scale(1.2);
  transition: ease-in 0.2s;
}

.client {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  height: 200px;
  width: 240px;
}

.card-intro {
  width: 75%;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.card-intro:hover {
  transform: translateY(-5px);
}

.card-intro h4 {
  background: #007bff;
  color: #ffffff;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  margin: 0;
}

.card-intro p {
  border: 1px solid #000000;
  padding: 10px;
  border-radius: 0 0 10px 10px;
  margin: 0;
}

.nav-item {
  transition: ease 0.5s
}

.nav-item a {
  font-weight: 100 !important
}

.nav-item.active a {
  font-weight: bold !important;
  color: green !important
}

.nav-icon {
  transition: ease 0.5s;
  cursor: pointer;
}

.nav-icon:hover {
  transform: scale(1.2)
}

.nav-item:hover {
  transform: scale(1.2)
}

.text-form {
  padding: 30px;
}


/* CONOCENOS */

.logo-conocenos {
  position: absolute;
  top: 25%;
  left: 15px;
  width: 150px;
}

.container-leaf {
  background: #222;
  min-height: 75vh;
  position: relative
}

.desc-conocenos {
  text-align: center;
}

.text-mvv {
  width: 75%;
}

/* leaf animations */

#leaves {
  position: relative;
  top: 10px;
  width: 100%;
  text-align: right;
}

#leaves i {
  display: inline-block;
  width: 200px;
  height: 150px;
  background: linear-gradient(to bottom right, #309900, #005600);
  transform: skew(20deg);
  border-radius: 5% 40% 70%;
  box-shadow: inset 0px 0px 1px #222;
  border: 1px solid #333;
  z-index: 1;
  -webkit-animation: falling 5s 0s infinite;
}

#leaves i:nth-of-type(2n) {
  -webkit-animation: falling2 5s 0s infinite;
}

#leaves i:nth-of-type(3n) {
  -webkit-animation: falling3 5s 0s infinite;
}

#leaves i:before {
  position: absolute;
  content: '';
  top: 117px;
  right: 9px;
  height: 27px;
  width: 32px;
  transform: rotate(49deg);
  border-radius: 0% 15% 15% 0%;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  border-left: 0px solid #222;
  border-right: 1px solid #222;
  background: linear-gradient(to right, rgba(0, 100, 0, 1), #005600);
  z-index: 1;
}

#leaves i:after {
  content: '';
  height: 125px;
  width: 10px;
  background: linear-gradient(to right, rgba(0, 0, 0, .15), rgba(0, 0, 0, 0));
  display: block;
  transform: rotate(125deg);
  position: absolute;
  left: 85px;
  border-radius: 50%;
}


#leaves i:nth-of-type(n) {
  height: 23px;
  width: 30px;
}

#leaves i:nth-of-type(n):before {
  width: 7px;
  height: 5px;
  top: 17px;
  right: 1px;
}

#leaves i:nth-of-type(n):after {
  width: 2px;
  height: 17px;
  left: 12px;
  top: 0px;
}

#leaves i:nth-of-type(2n+1) {
  height: 11px;
  width: 16px;
}

#leaves i:nth-of-type(2n+1):before {
  width: 4px;
  height: 3px;
  top: 7px;
  right: 0px;
}

#leaves i:nth-of-type(2n+1):after {
  width: 2px;
  height: 6px;
  left: 5px;
  top: 1px;
}

#leaves i:nth-of-type(3n+2) {
  height: 17px;
  width: 23px;
}

#leaves i:nth-of-type(3n+2):before {
  height: 4px;
  width: 4px;
  top: 12px;
  right: 1px;
}

#leaves i:nth-of-type(3n+2):after {
  height: 10px;
  width: 2px;
  top: 1px;
  left: 8px;
}

#leaves i:nth-of-type(n) {
  -webkit-animation-delay: 1.9s;
}

#leaves i:nth-of-type(2n) {
  -webkit-animation-delay: 3.9s;
}

#leaves i:nth-of-type(3n) {
  -webkit-animation-delay: 2.3s;
}

#leaves i:nth-of-type(4n) {
  -webkit-animation-delay: 4.4s;
}

#leaves i:nth-of-type(5n) {
  -webkit-animation-delay: 5s;
}

#leaves i:nth-of-type(6n) {
  -webkit-animation-delay: 3.5s;
}

#leaves i:nth-of-type(7n) {
  -webkit-animation-delay: 2.8s;
}

#leaves i:nth-of-type(8n) {
  -webkit-animation-delay: 1.5s;
}

#leaves i:nth-of-type(9n) {
  -webkit-animation-delay: 3.3s;
}

#leaves i:nth-of-type(10n) {
  -webkit-animation-delay: 2.5s;
}

#leaves i:nth-of-type(11n) {
  -webkit-animation-delay: 1.2s;
}

#leaves i:nth-of-type(12n) {
  -webkit-animation-delay: 4.1s;
}

#leaves i:nth-of-type(13n) {
  -webkit-animation-delay: 1s;
}

#leaves i:nth-of-type(14n) {
  -webkit-animation-delay: 4.7s;
}

#leaves i:nth-of-type(15n) {
  -webkit-animation-delay: 3s;
}

#leaves i:nth-of-type(n) {
  background: linear-gradient(to bottom right, #309900, #005600);
}

#leaves i:nth-of-type(2n+2) {
  background: linear-gradient(to bottom right, #5e9900, #2b5600);
}

#leaves i:nth-of-type(4n+1) {
  background: linear-gradient(to bottom right, #990, #564500);
}

#leaves i:nth-of-type(n) {
  opacity: .7;
}

#leaves i:nth-of-type(3n+1) {
  opacity: .5;
}

#leaves i:nth-of-type(3n+2) {
  opacity: .3;
}

#leaves i:nth-of-type(n) {
  transform: rotate(180deg);
}


#leaves i:nth-of-type(n) {
  -webkit-animation-timing-function: ease-in-out;
}

@-webkit-keyframes falling {

  0% {
    -webkit-transform:
      translate3d(300, 0, 0) rotate(0deg);
  }

  100% {
    -webkit-transform:
      translate3d(-350px, 700px, 0) rotate(90deg);
    opacity: 0;
  }
}

@-webkit-keyframes falling3 {
  0% {
    -webkit-transform:
      translate3d(0, 0, 0) rotate(-20deg);
  }

  100% {
    -webkit-transform:
      translate3d(-230px, 640px, 0) rotate(-70deg);
    opacity: 0;
  }
}

@-webkit-keyframes falling2 {
  0% {
    -webkit-transform:
      translate3d(0, 0, 0) rotate(90deg);
  }

  100% {
    -webkit-transform:
      translate3d(-400px, 680px, 0) rotate(0deg);
    opacity: 0;
  }
}



/* PROYECTOS */
.contenedor-imagen {
  height: 30vh;
  position: relative;
  overflow: hidden;
}

.difuminar-imagen {
  filter: blur(2px);
}

.contenedor-imagen::before {
  filter: blur(2px);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.img-project {
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  border-radius: 5px;
  width: 30% !important;
}

#fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 999;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

#fullscreen-image {
  max-width: 90%;
  max-height: 90%;
}

.desc-project {
  font-size: 15px !important
}

.title-project {
  font-size: 30px !Important
}


.center {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#text {
  width: 70%;
  font-size: 30px;
  display: block;
  text-align: center;
}

.char {
  font-size: 40px;
  height: 40px;
  animation: an 1s ease-out 1 both;
  display: inline-block;
}

@keyframes an {
  from {
    opacity: 0;
    transform: perspective(500px) translate3d(-35px, -40px, -150px) rotate3d(1, -1, 0, 35deg);
  }

  to {
    opacity: 1;
    transform: perspective(500px) translate3d(0, 0, 0);
  }
}

.mylink {
  position: absolute;
  z-index: 150;
  bottom: 0;
  right: 0;
  width: 100%;
  text-align: right;
  padding: .6rem;
}

.mylink a {
  font-family: Calibri;
  color: #fff;
  border-bottom: 1px solid #fff;
  opacity: .5;
  transition: opacity .3s;
  text-decoration: none
}

.mylink a:hover {
  opacity: 1
}


/* PROYECTOS */

@media (max-width: 1600px) {
  .desc-project {
    font-size: 12px !important
  }

  .title-project {
    font-size: 25px !Important
  }

  #text {
    width: 80%;
  }

  .char {
    font-size: 35px !Important;
    height: 5px !Important;
  }
}


@media (max-width: 1366px) {
  .desc-project {
    font-size: 12px !important
  }

  .title-project {
    font-size: 25px !Important
  }

  #text {
    width: 80%;
  }

  .char {
    font-size: 25px !Important;
    height: 5px !Important;
  }
}

@media (max-width: 900px) {
  .carousel-img div h1 {
    font-size: 25px !important
  }

  .carousel-img div h3 {
    font-size: 15px !important
  }

  .service-card {
    max-width: initial;
    max-height: initial;
  }

  .logo-conocenos {
    position: absolute;
    top: 30px;
    left: 15px;
    width: 80px;
  }

  .desc-conocenos {
    text-align: justify;
  }

  .text-mvv {
    width: 100%;
    font-size: 10px
  }

  .container-text-mvv {
    padding: 20px;
  }


  .hamburger-mobil {
    right: 50%;
    z-index: 999;
    background-color: white;
    width: 300px;
    top: 80%;
    position: absolute;
  }

  .img-project {
    width: 100% !important;
    height: 45% !important
  }

  .title-project {
    font-size: 20px !important;
  }

  .desc-project {
    font-size: 10px !important
  }

  #text {
    width: 90%;
  }

  .char {
    font-size: 17px !Important;
    height: 1px !Important;
  }

}

@media (max-width: 500px) {
  .card-intro {
    width: 100%
  }

  .text-form {
    text-align: center;
    padding: inherit !important;
    margin-top: 30px;
  }

  .text-form h1 {
    font-size: 30px;
  }

  .section .col {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .marcas h1,
  .intro h1 {
    font-size: 30px !important
  }

  .marcas p,
  .intro p {
    font-size: 20px !important;
    width: 100% !important;
  }

  .service h1 {
    font-size: 30px !important
  }

  .service p {
    font-size: 20px !important
  }

  .service h4,
  .service h2 {
    font-size: 15px !important
  }

  .navbar-mobil {
    width: 100%
  }

  .hamburger-mobil {
    right: inherit
  }

  .title-project {
    font-size: 11px !important;
    margin-left: 10px !important;
  }

  .desc-project {
    font-size: 6px !important
  }

  .project-img-dis-mobile {
    display: none;
  }


}