/* Reset CSS */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
* {
  font-family: 'Montserrat', sans-serif;
} 

img {
  pointer-events: none;
  vertical-align: top;
  width: 100%;
}

.divider {
  height: 50px;
  background: red;
}

.underline {
  border: 3px solid cyan;
  width: 6em;
  margin: 1vh 0 2vh;
}

.title {
  padding-top: 20px;
  font-size: 2.4em;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: bold;
}

.black-bg {
  background: #000;
}

/*  PARALLAX */
.parallax {
  background-image: linear-gradient(-90deg, rgba(0, 250, 237, 0.7), rgba(0, 0, 255, .8)), url("../assets/img/workers_parallax.jpg");
  height: 30vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-2 {
  display: none;
  background-image: linear-gradient(-90deg, rgba(0, 250, 237, 0.7), rgba(0, 0, 255, .8)), url("../assets/img/building_parallax.jpeg");
  height: 30vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #FFF;
}

@media only screen and (min-width:768px) {
  .parallax-2 {
    display: block;
  }
}
@media only screen and (max-width: 1366px) {
  .parallax, .parallax-2 {
    background-attachment: scroll;
  }
}



/* Scroll To top BTN */

#toTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background: #00a9d8;
  color: #FFF;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bolder;
  transition: all 0.3s ease-out;
  scroll-behavior: smooth;
}

#toTop:hover {
  background-color: #041874;
  color: #FFF;
}

/* HEADER */

.header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  z-index: 999999;
  position: fixed;
  width: 100vw;
  background: #333;
  transition: all 350ms ease-out;
}

.header a {
  color: #FFF;
}

.logo {
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 1.4em;
}

.nav-links {
  display: flex;
  width: 50%;
  justify-content: space-around;
  text-transform: uppercase;
  transform: translateX(0%);
}

.nav-links a {
  font-weight: bold;
  font-size: 0.8em;
  letter-spacing: 0.2em;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #FFF;
  margin: 5px;
  transition: all 0.3s ease;
}

.nav-active {
  transform: translateX(0%);
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.row {
  width: 100%;
}

.column {
  float: left;
  width: 50%;
  height: auto;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}

/* Intro home */

.intro {
  position: relative;
  background: url(../assets/img/sliderHome/sliderHome4.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100vh;
}

.intro-txt {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #FFF;
}

.intro-txt h1 {
  margin-bottom: 10px;
  font-size: 3em;
  font-weight: bolder;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

#highlights {
  opacity: 0;
  transition: opacity 1s linear;
}

.btn {
  padding: 10px;
  border-radius: 10px;
  background: none;
  margin: 10px 0;
}

.btn-info {
  color: #FFF;
  border: 1px solid #FFF;
  transition: 0.4s ease-out;
}

.btn-info:hover {
  background: #FFF;
  color: #000;
}

.btn-info a:hover {
  color: #000;
}


/* ********** Products ********** */
#prevBtn, #nextBtn {
  padding: 20px;
  cursor: pointer;
}

.products {
  display: flex; 
  flex-wrap: wrap;
  width: 100%;
}

.product-list {
  padding-left: 20px;
}

.title-products {
  margin: 20px 0;
  cursor: pointer;
}

.product-list h3 {
  text-transform: uppercase;
  font-size: 1.4em;
}

.title-products.active {
  color: #007a9d;
  font-weight: bold;
  font-size: 1.1em;
  padding-left: 5px;
}

.hide {
  display: none;
}

.img-products {
  width: 100%;
} 

.gallery {
  display: flex;
}

.gallery img.activeImg {
  display: block;
  height: 100%;
}

.gallery img {
  display: none;
}

.gallery > div {
  width: 100%;
}

/* .img-products {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.img-products img {
  width: 30%;
} */

.normal {
  font-size: 0.8em;
  font-weight: normal;
}

/* .img-products-wrapper {} */

/* ======================================= CALCULADORA =========================================== */
.calc {
  margin: 0 auto; 
  margin-bottom: 8vh;
}

.calc h5, h6 {
  color: #007a9d;
  text-align: center;
  font-size: 1em;
}

.calc h6 {
  margin-top: 10px;
}

.calc-container {
  padding: 20px;
  font-size: 1.1em;
}
.no-style {
  font-weight: normal;
}

.form-calc {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.form-calc div, .btn-calculate {
  margin-bottom: 20px;
}

@media only screen and (min-width: 768px) {
  .form-calc {
    flex-direction: row;
  }
}

.form-calc select {
  border: 1px solid #007a9d;
  padding: 10px;
}
.form-calc input[type="number"] {
  border: 1px solid #007a9d;
  padding: 10px;
  width: 200px;
}
.form-calc div {
  display: flex;
  flex-direction: column;
}
.form-calc div label {
  padding-bottom: 10px;
}

.form-calc button {
  padding: 20px;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 20px;
  background: #007a9d;
  color: #FFF;
  transition: all 0.3s ease-out;
}

.form-calc button:hover {
  background: #041874
}

.circle {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #041874;
  border-radius: 200px;
  padding: 30px;
  font-weight: bold;
}

.desc {
  text-align: center;
  font-style: italic;
  font-weight: bold;
  margin-top: 4vh;
}

.calculator-img {
  display: none;
  position: relative;
  background: url(../assets/img/worker_calc2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.info-calc {
  background: #007a9d;
  color: #FFF;
  margin: auto;
  padding: 20px;
  height: 100vh;
  text-align: center;
  font-size: 0.8em;
  line-height: 2.3em;
}

.info-calc div {
  border-radius: 100px;
  border: 2px solid #FFF;
  margin: 20px auto;
  font-size: 4em;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-calc h4 {
  font-size: 1.7em;
  line-height: 1.5em;
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 1em 0;
}

.info-calc p {
  margin: 10px;
}

.highlight {
  font-weight: bold;
}

@media screen and (min-width: 601px) {
  .calculator-img {
    display: block;
    height: 100vh !important;
  }
}

@media screen and (min-width: 651px) {
  .info-calc {
    height: 90vh !important;
  }

  .calculator-img {
    display: block;
    height: 90vh !important;
  }
}

@media screen and (min-width: 675px) {
  .info-calc {
    height: 80vh !important;
  }

  .calculator-img {
    display: block;
    height: 80vh !important;
  }
}

@media screen and (min-width: 919px) {
  .info-calc {
    height: 70vh !important;
  }

  .calculator-img {
    display: block;
    height: 70vh !important;
  }
}

@media screen and (min-width: 1200px) {
  .info-calc {
    height: 60vh !important;
  }

  .calculator-img {
    display: block;
    height: 60vh !important;
  }
}

@media screen and (min-width: 1589px) {
  .info-calc {
    height: 52vh !important;
  }

  .calculator-img {
    display: block;
    height: 52vh !important;
  }
}

/* ======================== Puntos de Venta ======================== */

.pv-txt, .mapa iframe {
  height: 60vh;
}

.pv-txt {
  padding-left: 20px;
}

.pv-txt p {
  padding: 10px;
}

.pv-txt em {
  font-style: normal;
}

.pv-txt a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

/* Gallery GRID */

.gallery-container {
  width: 100%;
  max-width: 120rem;
  margin: 2vh auto;
  padding: 0 1.5rem;
  text-align: center;
}

.center {
  margin-right: auto;
  margin-left: auto;
}

.desc {
  font-size: 0.9em;
}

.desc a {
  color: #000;
  font-weight: bold;
}

.image-gallery {
  margin-top: 4vh;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 1.5rem;
  grid-template-areas:
    'img-1 img-2 img-3 img-3'
    'img-1 img-4 img-5 img-6'
    'img-7 img-7 img-8 img-6';
}

.image-gallery a {
  width: 100%;
  height: 25rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  align-content: center;
  text-decoration: none;
}

.image-gallery a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(#000, .8);
  opacity: 0;
  transition: opacity .5s;
}

.image-gallery a:hover,
.image-gallery a:hover::before {
  opacity: 1;
}

.img-1 {
  grid-area: img-1;
  background-image: url('../assets/img/gallery/galeria1.jpg');
  min-height: 51.5rem;
}

.img-2 {
  grid-area: img-2;
  background-image: url('../assets/img/gallery/galeria2.jpg');
}

.img-3 {
  grid-area: img-3;
  background-image: url('../assets/img/gallery/galeria7.jpg');
}

.img-4 {
  grid-area: img-4;
  background-image: url('../assets/img/gallery/galeria4.jpg');
}

.img-5 {
  grid-area: img-5;
  background-image: url('../assets/img/gallery/galeria5.jpg');
}

.img-6 {
  grid-area: img-6;
  background-image: url('../assets/img/gallery/galeria8.jpg');
  min-height: 51.5rem;
}

.img-7 {
  grid-area: img-7;
  background-image: url('../assets/img/gallery/galeria6.jpg');
}

.img-8 {
  grid-area: img-8;
  background-image: url('../assets/img/gallery/galeria3.jpg');
}

@media screen and (max-width: 900px) {
  .image-gallery {
    grid-template-areas:
      'img-1 img-1 img-2 img-2'
      'img-1 img-1 img-3 img-3'
      'img-4 img-4 img-5 img-5'
      'img-6 img-7 img-7 img-7'
      'img-8 img-8 img-8 img-8';
  }

  .image-gallery a {
    height: 20rem;
  }

  .img-1 {
    min-height: 41.5rem;
  }

  .img-6 {
    min-height: 20rem;
  }
}

@media screen and (max-width: 600px) {
  .image-gallery {
    grid-template-areas:
      'img-1 img-1 img-1 img-1'
      'img-2 img-2 img-2 img-2'
      'img-3 img-3 img-3 img-3'
      'img-4 img-4 img-4 img-4'
      'img-5 img-5 img-5 img-5'
      'img-6 img-6 img-6 img-6'
      'img-7 img-7 img-7 img-7'
      'img-8 img-8 img-8 img-8';
  }

  .image-gallery a,
  .img-1,
  .img-6 {
    min-height: 30rem;
    height: 30rem;
  }

}

/* Video Galley - Original */
.video-gallery {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 2vh auto;
  padding: 0 1.5rem;
}

.video-wrapper {
  flex-flow: wrap;
  flex-wrap: wrap;
}

.video {
  padding: 1.5rem;
}

/* ======================================================================================
                                            CONTACTO
  ======================================================================================
*/

.form-contact {
  background: #000;
  color: #FFF;
  margin: auto;
  padding: 0 20px;
  height: auto;
}

.form-contact p {
  margin: 20px 0;
}
.form-contact p:last-child {
  line-height: 1.5em;
}

.nombre,
.apellido,
.telefono,
.email,
.m2,
.loseta-reforzada,
.mensaje {
  background: none;
  border: none;
  outline: none;
  border-bottom: 1px solid;
  color: #FFF;
  padding: 10px 6px;
  font-size: 14px;
  margin-bottom: 40px;
}

.loseta-reforzada {
  border:none;
  width: 100%;
}

.loseta-reforzada select {
  background: none;
  color: #FFF;
  font-size: 1em;
  padding: 5px;
  width: 100%;
  border-bottom: 1px solid #FFF;
}

.loseta-reforzada select:focus {
  outline: none;
}

.loseta-reforzada select option {
  outline: none;
  background: black;
  color: #FFF;
}

.nombre,
.telefono,
.m2 {
  float: left;
  width: 45%;
}
.sustratos {
  clear: both;
  width: 100%;
  margin: 20px 0;
}

.sustratos h5,
.tipo-soporte h5 {
  font-weight: normal;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.sustratos input[type="checkbox"] {
  margin-bottom: 10px;
}

.sustratos label,
.tipo-soporte label {
  margin-left: 5px;
  margin-right: 10px;
}

.tipo-soporte {
  margin: 20px 0;
  width: 100%;
}

.email,
.apellido,
.loseta-reforzada {
  float: right;
  width: 45%;
}

.mensaje {
  min-width: 100%;
  max-width: 100%;
}

input[type=submit] {
  background: none;
  color: #FFF;
  border: 1px solid #FFF;
  padding: 12px 40px;
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 1em;
  transition: 0.4s linear;
  cursor: pointer;
  clear: both;
  margin-bottom: 3vh !important;
}

input[type=submit]:hover {
  background: #FFF;
  color: #000;
}

::-webkit-input-placeholder {
  color: #FFF !important;
}
:-ms-input-placeholder {
  color: #FFF !important;
}

::placeholder {
  color: #FFF !important;
}

.form-contact a {
  color: #FFF;
}

/* textarea {
  margin-top: 15px;
} */

.contact-img {
  display: none;
  position: relative;
  background: url(../assets/img/phone-contractor.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (max-width: 600px) {

  .nombre,
  .apellido,
  .telefono,
  .email {
    width: 100%;
  }
}

@media screen and (min-width: 601px) {
  .contact-img {
    display: block;
    height: 86vh;
  }
}

/* Footer */

.ending {
  background: #101014;
  color: #FFF;
  padding: 10px;
  font-size: 0.85em;
}

.ending h4 {
  text-transform: uppercase;
}

.history {
  padding: 20px 10px;
  line-height: 1.8em;
}

.history strong {
  font-weight: bold;
}

.history p {
  padding: 10px 0;
  font-weight: 300;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.social-media {
  padding: 20px 10px;
}

.social-media p {
  margin-top: 20px;
}

.social-media a {
  cursor: pointer;
  text-decoration: none;
  margin-right: 10px;
}

.social-media a:last-child {
  margin-right: 0;
}

footer {
  background: #080808;
  color: #FFF;
  text-align: center;
  font-size: 0.8em;
  padding: 20px;
}

footer a {
  text-decoration: none;
  color: #FFF;
}

footer p:last-child {
  margin-top: 10px;
}

/*Media queries*/
@media screen and (max-width: 1024px) {
  .nav-links {
    width: 60%;
  }
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .nav-links {
    position: absolute;
    right: 0;
    height: 92vh;
    top: 8vh;
    background: rgba(51, 51, 51, 0.97);
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transition: transform 0.5s ease-in-out;
  }

  .nav-active {
    transform: translateX(0%);
  }

  .nav-links li {
    opacity: 0;
  }

  .burger {
    display: block;
  }
}

@media screen and (max-width: 425px) {
  .intro-txt h1 {
    font-size: 2em;
  }
}

/* Animations */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
    ;
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  
  to { 
     opacity: 1;
  }
}
@keyframes fadeIn{
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

.fade-in {
  animation: fadeIn ease 3s;
  -webkit-animation: fadeIn ease 3s;
  -moz-animation: fadeIn ease 3s;
  -o-animation: fadeIn ease 3s;
  -ms-animation: fadeIn ease 3s;
}

/* 404 Error Page & Success Page */
.obreros-image   {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../assets/img/obreros404_2.jpg");
  width: 100%;
  height: 93vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.success   {
  background-color: #03be61;
  width: 100%;
  height: 93vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.general-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.success-text {
  font-weight: bolder;
  font-size: 55px;
  margin-bottom: 0;
}

.success-subtitle {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.error-number {
  font-weight: bolder;
  font-size: 150px;
  margin-bottom: 0;
}

.oops {
  font-size: 80px;
  margin-bottom: 20px;
}

.btn-back, .btn-back-success {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: black;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
  margin-top: 30px;
  border-radius: 20px;
  font-weight: bold;

}

.btn-back:hover {
  background-color: #007a9d;
  color: white;
  transition: 0.2s ease-in-out;
}

.btn-back-success:hover {
  background-color: #017e3f;
  color: white;
  transition: 0.2s ease-in-out;
}

.footer-error {
  height: 7vh;
}

@media (min-width: 768px) {
  .error-number {
    font-size: 225px;
  }

  .oops {
    font-size: 130px;
    margin-top: -70px;
  }

  .success-text {
    font-size: 115px;
  }

  .success-subtitle {
    font-size: 30px;
  }
}