/*Estilos para la seccion encabezado*/

#encabezado {
  position: relative;
  padding: 0 !important;
}

#encabezado .wave {
  position: absolute;
  width: 100%;
  bottom: 0px;
  z-index: 8;
}

#encabezado .carousel {
  height: 95vh;
  padding: 0px;
  margin-top: -200px;
}

#encabezado .carousel-inner,
.carousel-item,
.view {
  height: 100%;
}

#encabezado .carousel .carousel-control-prev-icon {
  margin-right: 100px;
}

#encabezado .carousel .carousel-control-next-icon {
  margin-left: 100px;
}

#encabezado p {
  color: white;
}

#encabezado .carousel-indicators {
  display: none;
}

#encabezado .container-fluid {
  padding: 0px;
  z-index: 2;
}

/* Estilos para el apartado del formulario de cotizacion */

#encabezado .card{
  background: var(--color-primario-background);
}

#encabezado .elemento{
  padding-left: 10px;
}

#encabezado .form-control{
  background: #fff;
}

#encabezado .form-header{
  background: var(--color-terciario-background);
}

/*Estilos para la seccion de services*/

#services {
  padding: 40px 0;
}

#services .content-center h2:after {
  content: "";
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 20%;
  border: 0;
  border-bottom: 6px solid #444;
  display: block;
}

#services .container{
  display: grid;
  place-items: center;
  height: 100%;
}

#services .row {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

#services .title{
  font-size: 50px;
}

#services .subtitle{
  font-size: 15px;
}

/* Elimina el borde derecho de la última columna */
.col:last-child {
  border-right: none;
}

#services .bg-numbers{
  background: var(--color-primario-background);
  padding: 40px 0;
}

#services ul li {
  list-style: circle;
}

#services .img-style{
  width: 100%;
  height: auto;
  border-radius: 20%;
  box-shadow: 2px 2px 5px 2px;
}

#services .carousel-indicators {
  position: absolute;
  right: 0;
  bottom: -40px;
  left: 0;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.written-style{
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
}

/* Estilos para el loader */
.hidden{
  overflow: hidden;
  opacity: 1;
}

.centrado{
  height: auto;
  top: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#carga{
  border: 15px solid var(--color-secundario-background);
  border-top-color: var(--color-secundario-background);
  border-top-style: groove;
  height: 100px;
  width: 100px;
  border-radius: 100%;
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation-name: girar;
  -o-animation-name: girar;
  animation-name: girar;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#preloader.close{
  opacity: 0;
  display: none;
}

#preloader {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 10px solid #eee;
  border-top: 10px solid #666;
  border-radius: 50%;
  animation-name: girar;
  z-index: 2000;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*Estilo del logo en las secciones*/

.logo-global {
  max-height: 160px;
}

/*Estilos para la seccion Uhall*/

#uhall .content-center h2:before {
  content: "";
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  width: 20%;
  border: 0;
  border-bottom: 6px solid #000;
  display: block;
}

.hero-section {
  color: white;
  text-align: center;
  padding: 100px 20px;
}

/*Estilos para la seccion contacto*/

#contact {
  position: relative;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Capa negra semitransparente */
  z-index: 1;
}

#contact .container {
  padding: 0px;
  z-index: 2;
}

#contact h2 {
  font-weight: 600;
}

/*Estilo para el mapa de contacto*/

.map-container-section {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.map-container-section iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/*Estilos del formulario de contacto*/

.elemento {
  -webkit-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.75);
  box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.75);
  border-radius: 2rem;
  padding-left: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 120px 0;
  margin-top: -60px;
}

.space {
  margin-top: 50px;
}

.icon {
  color: white;
}

.letter {
  color: white;
}

#contact .circulo-icon {
  display: inline-block;
  font-size: 25px;
  padding-bottom: 0px;
}

#contact .subtitle {
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  font-size: 16px;
}

#contact .fondo-icon {
  min-width: 60px;
  height: 60px;
  background: #9f152d 40%;
  color: #fff;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.46);
  -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.46);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.46);
}

#contact .tam-p {
  font-size: 13px;
}

.fondo {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 100%;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border: 0px solid #000000;
  -webkit-box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 16px -2px rgba(0, 0, 0, 0.75);
}

.select-material {
  color: #616161;
  border: 1px solid #acacac;
  width: 100%;
}

#contact .card{
  background: var(--color-primario-background);
}

#contact .form-control{
  background-color: #fff;
}

#contact label{
  color: #fff;
}

/*Mediaquerys para ajustar elementos al responsive*/

@media (max-width: 575.98px) {
  #encabezado h2 {
    font-size: 30px;
  }

  .subtitle {
    font-size: 14px;
  }

  .elemento {
    padding-left: 10px;
  }

  #aboutus {
    margin-top: 0px;
  }

  #aboutus h2 {
    font-size: 35px;
  }

  #aboutus p {
    font-size: 14px;
  }

  #aboutus .tam-img {
    width: 100%;
    height: 1190px;
  }

  #contact h2 {
    font-size: 25px;
  }

  #contact p {
    font-size: 14px;
  }

}

@media (min-width: 576px) and (max-width: 767.98px) {

  .elemento {
    padding-left: 20px;
  }

  #aboutus h2 {
    font-size: 40px;
  }

  #aboutus p {
    font-size: 16px;
  }

  #aboutus .tam-img {
    width: 100%;
    height: 1050px;
  }

}

@media (min-width: 768px) and (max-width: 991.98px) {

  .elemento {
    padding-left: 10px;
  }

  #aboutus .tam-img {
    width: 100%;
    height: 1100px;
  }

}
