:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #548640;
    --greendark: #274b18;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: var(--green);
    --secondary: #F3F6FF;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #FFFFFF;
    --dark: #22395d;
    --gray2: #CBD0C9
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: "Montserrat", sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  }
.sobre-nosotros{
    display: flex;
    flex-direction: column;
    width: 50vw;
    margin: 0 45px 0 30px;
}
.sobre-nosotros p{
    font-size: 1.2vw;
}
.section1_img{
    width: 35vw;
    height: 100%;
    }
.section1{
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 114px;
}
.section2{
    background-color: #e9ecef;
    display: flex;
    margin: 100px 0  37px 0;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 12px #0000003b;
}
.treformas{
  text-align: center;
    display: flex;
    width: 90vw;
    max-width: 780px;
    flex-direction: column;
}
.treformas h2{
  font-size: 5.3vw;
  margin-bottom: 15px;
}
.section2_obras{
    width: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.section2_obras_obra_img img{
    border-radius: 5px;
    width: 21vw;
    transition: 0.3s;
}


.section2_obras_obra_img{
    position: relative;
    text-align: center;
}
.section2_obras_obra{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}
.section2_obras_obra_img p{
    font-size: 20px;
    width: 50%;
    text-decoration: none;
    font-weight: 800;
    border-radius: 20px;
    padding: 10px;
    BACKGROUND: rgba(255, 255, 255, 0.5);
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}
.section2 h2{
    font-size: 5vw !important;
    position: relative;
    bottom: 4.4vw;
    margin: 0;
    height: 50px;
}
.section2_obras_obra_img a:hover p {
    background: rgba(255, 255, 255, 0.897);
}
.section2_obras_obra_img a:hover img {
    box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.6);
}

.f-bg{
    background-color: #e8e8e8b0;
}
.section2_obras_obra_img a:hover + .h3_obra {
    font-size: 3rem !important;
}
.f_redes{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fadeTop {
    opacity: 0; 
    transform: translate(0, 10vh);
    transition: all 1.5s;
  }
  
.fadeRight {
    opacity: 0;
    transform: translate(10vh, 0vh);
    transition: all 1.5s;
  }
.fadeLeft {
      opacity: 0;
      transform: translate(-10vh, 0vh);
      transition: all 1.5s;
    }
    .visible {
        opacity: 1;
        transform: translate(0, 0);
      }
      



@media(max-width: 992px){
  .treformas h2{
    font-size: 11.2vw;
  }
    .section1{
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 20px;
    }
    .sobre-nosotros{
        text-align: center;
        display: flex;
        flex-direction: column;
        width: 80%;
        margin: 0 45px 0 30px;
        align-items: center;
    }
    .sobre-nosotros p {
        font-size: 4vw;
    }
    .section1_img {
        width: 60vw;
    }
    .section2 h2 {
        font-size: 13vw !important;
        bottom: 11.4vw;
    }
    .section2{
        margin-top: 40px;
    }.section2_obras{
        width: 95%;
        display: flex;
        flex-direction: column;
    }
    .section2_obras_obra_img img {
        width: 89vw;
    }
}

/* PAYSANDU */
.ltitle{
    font-size: 40px;
}
.img-c{
  border-radius: 20px;
}
.h-80{
  height: 80% !important;
}
.pay_section1{
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 30px;
    border: solid 2px #e3e3e3;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pay_section1 h1{
    font-size: 60px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}
.p_s1_title{
    font-size: 60px;
    font-weight: 600;
    display: flex;
    align-items: center;
    text-align: center;
}
.p_s1_title p{
    font-size: 70px;
    color: var(--greendark);
}
.s_obra{
  padding-top: 40px;
  padding-bottom: 40px;
  border-radius: 30px 30px 0 0;
  border: solid 2px #e3e3e3;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.tam_carousel{
    width: 50%;
    transition: 0.7s;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.ul-obra{
  display: flex;
  font-weight: 700;
  margin: 20px;
  color: black;
  flex-direction: column;
}
.caract{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.caract ul{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}
.carousel {
    position: relative;
  }
  
  .carousel.pointer-event {
    touch-action: pan-y;
  }
  
  .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .carousel-inner::after {
    display: block;
    clear: both;
    content: "";
  }
  
  .carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
  }

  * {
    box-sizing: border-box;
  }
  /* You can remove this page div in your website */
#page{
  width:100%;
  height:100%;
  position:absolute;
}

/* Our normalize css */
*{
  margin:0;
  box-sizing: border-box;
}

/* Our wrapper */
.wrapper{
  width: 800px;
  height: 600px;
  position: absolute;
  left:50%;
  top:50%;
  transform:translate3d(-50%,-50%,0);
  overflow:hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

/* Our image information */
.before,
.after {
  width:100%;
  height:100%;
  background-repeat:no-repeat;
  background-color: white;
  background-size: cover;
  background-position: center;
  position: absolute;
  top:0;
  left:0;
  pointer-events:none;
  overflow: hidden;
}

.content-image{
  height:100%;
}

.after{
  width:125px;
}

.scroller{
  width: 50px;
  height:50px;
  position: absolute;
  left:100px;
  top:50%;
  transform:translateY(-50%);
  border-radius:50%;
  background-color: transparent;
  opacity:0.9;
  pointer-events:auto;
  cursor: pointer;
}

.scroller:hover{
  opacity:1;
}

.scrolling{
  pointer-events:none;
  opacity:1;
  z-index: 1;
}

.scroller__thumb{
  width:100%;
  height:100%;
  padding:5px;
}
.reformas{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.ad{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.scroller:before,
.scroller:after{
  content:" ";
  display: block;
  width: 7px;
  height: 9999px;
  position: absolute;
  left: 50%;
  margin-left: -3.5px;
  z-index: 30;
  transition:0.1s;
}
.scroller:before{
  top:100%;
}
.scroller:after{
  bottom:100%;
}

/* If you want to cahnge the colors, make sure you change the fill in the svgs to match */
.scroller{
  border: 5px solid #fff;
}
.scroller:before,
.scroller:after{
  background: #fff;
}
  /* Position the image container (needed to position the left and right arrows) */
  .container-g {
    position: relative;
    width: 500px;
    border-radius: 20px 20px 0 0;
    border: solid 2px lightgrey;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  .caract h2{
    font-size: 4vw;;
  }
  @media(max-width: 600px){
    .container-g{
      width: 90%;
    }
    .caract h2{
      font-size: 10vw;;
    }
  }
  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    width: 16.66%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .carousel-item {
      transition: none;
    }
  }
  
  .carousel-item.active,
  .carousel-item-next,
  .carousel-item-prev {
    display: block;
  }
  
  .carousel-item-next:not(.carousel-item-left),
  .active.carousel-item-right {
    transform: translateX(100%);
  }
  
  .carousel-item-prev:not(.carousel-item-right),
  .active.carousel-item-left {
    transform: translateX(-100%);
  }
  
  .carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
  }
  
  .carousel-fade .carousel-item.active,
  .carousel-fade .carousel-item-next.carousel-item-left,
  .carousel-fade .carousel-item-prev.carousel-item-right {
    z-index: 1;
    opacity: 1;
  }
  
  .carousel-fade .active.carousel-item-left,
  .carousel-fade .active.carousel-item-right {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 0.6s;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .carousel-fade .active.carousel-item-left,
    .carousel-fade .active.carousel-item-right {
      transition: none;
    }
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.15s ease;
  }
  div#comparison { 
    width: 80vw;
    height: 60vw;
    max-width: 780px;
    max-height: 600px;
    overflow: hidden; }
  div#comparison figure { 
    border-radius: 16px;
    background-image: url(../img/reforma-despues.JPG); 
    background-size: cover;
    position: relative;
    font-size: 0;
    width: 100%; 
    height: 100%;
    margin: 0; 
  }
  div#comparison figure > img { 
    position: relative;
    width: 100%;
  }
  div#comparison figure div { 
    border-radius: 16px;
    background-image: url(../img/reforma-antes.JPG);
    background-size: cover;
    position: absolute;
    width: 50%; 
    box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
  }
  
  input[type=range]{
    -webkit-appearance:none;
    -moz-appearance:none;
    position: relative;
    top: -2rem; left: -2%;
    background-color: rgb(243 246 186 / 30%);
    width: 102%; 
  }
  input[type=range]:focus { 
    outline: none; 
  }
  input[type=range]:active { 
    outline: none;  
  }
  
  input[type=range]::-moz-range-track { 
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    top: -2rem;
    left: -2%;
    background-color: rgb(243 246 186 / 30%);
    width: 102%;
   }
   .flex{
    display: flex;
   }
  input[type=range]::active { 
    border: none; 
    outline: none;
  }
  input[type=range]::-webkit-slider-thumb {
      -webkit-appearance:none;
      width: 14px; height: 30px;   
      background: #fff;
      border-radius: 0;
     }
  input[type=range]::-moz-range-thumb {
    -moz-appearance: none;
    width: 20px;
    height: 15px;
    background: #fff;
    border-radius: 0;
       }   
  input[type=range]:focus::-webkit-slider-thumb {
      background: rgba(255,255,255,0.5);
     }
  input[type=range]:focus::-moz-range-thumb {
      background: rgba(255,255,255,0.5);
     }
  
  @media (prefers-reduced-motion: reduce) {
    .carousel-control-prev,
    .carousel-control-next {
      transition: none;
    }
  }
  
  .carousel-control-prev:hover, .carousel-control-prev:focus,
  .carousel-control-next:hover,
  .carousel-control-next:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
  }
  
  .carousel-control-prev {
    left: 0;
  }
  
  .carousel-control-next {
    right: 0;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: no-repeat 50% / 100% 100%;
  }
  
  .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
  }
  
  .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
  }
  
  .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
  }
  
  .carousel-indicators li {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity 0.6s ease;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .carousel-indicators li {
      transition: none;
    }
  }
  
  .carousel-indicators .active {
    opacity: 1;
  }
  
  .carousel-caption2 {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
  }
  