
.testiPage {
  padding-left: 2%;
}

.testiPage h2 {
  font-size: 3rem;
  padding-top: 40px;
  padding-left: .5%;
}
.exteriorA {
  color: teal;
  margin: 3%;
  top: 40px;
  position: relative;
  padding-bottom: 30px;
}

.exteriorA h1 {
  font-family: 'Roboto', 'Open-Sans', sans-serif;
  font-size: 4rem;
}



/**slide carrousel starts**/
/* Slideshow container */

.slideshow-container {
  max-width: 900px;
  position: relative;
  margin: auto;
  margin-top: 40px;
  background-color: rgb(255, 254, 254);

}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 38px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black */
}

.prev {
  left: 0;
}

/* 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);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f3eeee;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active1, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
  /** slide carrousel ends **/



.title-pro h1 {
  
  padding-top: 30px;
  font-size: 6cap;
  text-align: center;
  color: #337288;
  font-weight: 900; 
  font-family: 'Roboto', "Open Sans", sans-serif;
}

.title-pro p {
  text-align: center;
  padding-top: 1%;
}


.condoDesc {
  width: 98%;
  max-width: 1400px;
  margin: auto;
  padding: 20px;
  line-height: 1.6;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.condoDesc h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-left: 3%;
}

.condoDesc p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  margin: 3%;

}

.condoDesc h6 {
  margin-left: 3%;
}

/* Layout for text and image sections */
.section {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  text-align: left;
}

.sectionChild {
  margin-right: 5%;
  width: 50%;
}

/* Style for the images */
.section img {
  width: 45%;
  margin-left: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


 /** Condo project ends **/
.exteriorIntro {
  
  margin-left: 2%;

}

.exteriorIntro h2 {
  color: #0b0b0b;
  margin-bottom: 20px;
  font-size: 4rem;
  position: relative;
  padding-top: 30px;
}

.exteriorIntro p {
  font-size: large;
}

.exteriorIntro h2::after {
  content: '';
  position: absolute;
  bottom: -20px; /* Adjusts the position below the text */
  left: 0;
  width: 6%; /* Set the length of the border */
  border-bottom: #008080 solid 7px;
}

.contenido5 {
  border: black solid 2px;
}

.ext-body {
  border: black solid 2px;
}

.papa {
  display: grid;
  grid-template-columns: 36% 63%;
  grid-template-rows: 80%;
  grid-gap: 2%;
  margin: 2%;
}
.hijo1 {
  font-family: 'Roboto', "Open Sans", sans-serif;
  margin-top: 40px;
}

.hijo1 img {
  object-fit: contain;
  width: 99%;
  border-radius: 10px;
}

.hijo2 {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 40px;
  margin-top: 40px;
}

.hijo2 h2 {
  color: #008080;
  margin-top: 3%;
  margin-bottom: 20px;
}

.hijo2 a {
  color: #008080;
}

.hijo2 img {
  object-fit: contain;
  width: 100%;
  border-radius: 10px;
}

/* google reviews ============*/

.Greviews {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px; /* Add some space between the elements */
  border-radius: 10px;
  max-width: 1400px;
  margin-left: 0;
}

.Rcontent {
  display: flex;
  border-radius: 10px;
  background-color: #f5f5f5;
  align-content: center;
  text-align: center;
}

.Rcontent h1 {
  font-size: 3rem;
  color: white;
}

.Rcontent p {
  color: white;
}

.Gmap, .Rcontent {
  flex: 1; /* Take up the right column */
  display: flex;
  flex-direction: column; /* Ensure content inside .Rcontent is in one vertical column */
  justify-content: center; /* Vertically center the content */
  align-items: center; /* Horizontally center the content */
  border-radius: 10px;
  /*background-color: #f5f5f5;*/
  background-color: rgb(38, 46, 61);
  padding: 20px;
  min-width: 300px;

}

iframe {
  width: 100%;
  height: 50vh;
  border-radius: 10px;
}

/* Media query to stack the elements on smaller screens */

/* END of      google reviews ============*/


.nexDParent {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap if there's not enough space */
  justify-content: space-between; /* Adds space between the items */
  margin-top: 40px;
  background-color: #f9fbfe;
  /*background-color: rgb(38, 46, 61);*/
  border-radius: 15px;
  margin-bottom: 2vh;
}

.nexDParent div {
  flex: 1 1 320px; /* Flex-grow and flex-shrink with a minimum width of 320px */
  margin: 10px; /* Spacing around each item */
  position: relative; /* Ensures control over the image positioning */
  overflow: hidden; /* Hides the bottom part if necessary */
  display: flex;
  justify-content: center;
  align-items: start;
  top: 0;
  background-color: white;
  border-radius: 10px;
}

.nextDoor {
  max-width: 100%; /* Image width is responsive and won't exceed container width */
  height: auto; /* Ensures that aspect ratio is maintained */
  object-fit: cover; /* Ensures that image covers the entire div without distortion */
  object-position: top; /* Prioritizes the top part of the image */
  border-radius: 10px;
}





@media screen and (max-width: 1600px) {

  .testiPage {
    padding-left: 0;
    margin-left: 1%;
    margin: auto;
    width: 90%;
  }

  .testiPage h2 {
    margin-left: 0;
  }

  

  .title-pro h1 {
    font-size: 4cap;
  }
  .exteriorIntro {
    margin-left: 5%;
    
  }

  .exteriorA {
    
    text-align: center;
    
  }
  .papa {
    margin-left: 5%;
    margin-right: 5%;
  }
}

@media (max-width: 1000px) {

  .exteriorIntro h2 {
   
    font-size: 2rem;
    
  }

  
  .testiPage h2 {
    font-size: 3rem;
  }

  .nexDParent div {
    max-width: 45%; /* Allows the images to resize when the screen width reduces */
  }
}

@media screen and (max-width: 768px) {

  .payP24 {
    max-width: 100%;
    width: 100%; /* Ensure it takes full width of its parent */
    overflow: hidden; /* Prevent content from spilling out */
    margin: auto; /* Center it horizontally */
    padding: 0; /* Add some breathing space */
    box-sizing: border-box; /* Include padding in width/height calculations */
}

  #paypal-container-LBTTF2SPHXPKY { 
   width: 100%; 
   max-width: 350px; 
   margin: auto; 
    
  } 
  #paypal-container-LBTTF2SPHXPKY iframe { 
    max-width: 100%; /* Ensure iframe adapts to container's width */ 
    width: 100%; 
  } 
  
  #paypal-container-LBTTF2SPHXPKY div { 
    max-width: 100%; /* Ensure inner div adapts to container's width */ 
    width: 100%; 
  }

  .testiPage {
    
    width: 99%;
  }

  .testiPage h2 {
    text-align: center;
  }

  .title-pro h1 {
    font-size: 3cap;
  }


    .papa{
        display: grid;
        grid-template-columns: 100% ;
        
              grid-template-rows: auto;
              grid-gap: 2%;
    }

    .hijo1{
        font-family: 'Roboto''Open Sans', sans-serif;
        margin-top: 0;
    }

    .hijo1 img{
        object-fit: contain;
        width: 100%;
        
    }

    .section {
      flex-direction: column;
      text-align: center;
    }

    .sectionChild {
      margin-right: 5%;
      width: 90%;
    }
  
    .section img {
      width: 100%;
      margin-left: 0;
      margin-top: 15px;
    }

    .Greviews {
      flex-direction: column;
    }

    .testiPage h2 {
      font-size: 3vh;
  }
  
    .Gmap, .Rcontent {
      width: 100%;
    }
    
  
    .nexDParent div {
      max-width: 100%; /* Stacks the items vertically on smaller screens */
      height: auto; /* Allow the height to adjust based on the container */
      margin-top: 6vh;
    }

    .nextDoor {
      height: 250px; /* Ensures consistent height, but focuses on the top */
    }
}

@media (max-width: 600px) {

  .exteriorA h1 {
   
    font-size: 2rem;
  }
  .nexDParent div {
    max-width: 100%; /* Stacks the items vertically on smaller screens */
    height: auto; /* Allow the height to adjust based on the container */
    margin-top: 4vh;
  }

  



  .nextDoor {
    height: 325px; /* Ensures consistent height, but focuses on the top */
    
  }
}
