@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
html {
  scroll-behavior: smooth;
}
* {

  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: "Montserrat","Poppins", sans-serif;
}

/* .first{
  height: 80vh;
  background-image: url(../assets/video/Untitled\ design.mp4);
  background-size: cover;
  background-repeat: no-repeat;
 
} */


h1{
  font-size: 20px;
  font-family: "Montserrat","Poppins", sans-serif;
  font-weight: 350;
  text-transform: uppercase;
  z-index: 999;
  
}

.pop-up-text {
  font-size: 2em;
  opacity: 0;
  transform: scale(0.9);
  animation: popUp 1.5s ease-out forwards;
}


h1 span{
  color: #BC996F;
}



.imagecontent{
    width: 100%;
    height: 70vh;
    position: relative;
    margin-top: 7vh;

}



.first .h1text{
    display: flex;
    flex-direction: column-reverse;
    align-items: end;
    z-index: 9;
    font-size: 70px;
    color: #EEE9E5;
    position:absolute;
    margin-top: 400px;
    margin-right: 1050px;
    
}

                                        /* second-section */

.second-section{
  color: #525252;
  display: flex;
  align-items: center;
  height: 80vh;
  background-color: black;
  overflow: hidden;
  width: 100%;

}

h2{letter-spacing: 10px!important;
  z-index: 999;
  padding-left: 20px;
  color: white;
  font-size: 6em;
}
.second-section p  {
  color:#F6F6F6 ;
}

.drywall-description{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-left: 9%;
  margin-right: -20%;
  font-weight: 180;

}

.drywall-description p{
  margin-top: 40px;
  width: 60%;
  text-align:end ;

}
.drywall-description p::first-line {
  padding-left: 100px; /* This will not work on ::first-line */
  color: #BC996F;
  font-weight: bold; /* Example: make the first line bold */
}



.drywall-description .previous{

  border: solid 0.5px #F6F6F6  ;
  width: 20rem;
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: 40px;
  
  

 
}
.drywall-description a{
  color:#F6F6F6 ;
  text-decoration: none;
  padding: 30px;
  width: 100%;
 
}



.drywall-description .previous :hover{
  color:#000000 ;
  background-color: #F6F6F6;
  transition-duration: 0.5S ;
 
}

                                /* third section */
.third-section{
  color: #525252;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  height: 100vh;
background-color: black;
  overflow: hidden;
  width: 100%;

}
 .ceilingsec .second-section img {
  width: 50%;
  transform: scaleX(-1);

}
.ceilingsec .previous{
margin-left: 40%;
 
}

.paintsec .second-section img {
  transform: scaleX(-1) !important;
  width: 50%;
}


.ceilingsec .second-section {
  display: flex;
flex-direction: row-reverse;

}
.demolitionsec .second-section {
  display: flex;
flex-direction: row-reverse;

}
.demolitionsec .second-section img{
  width: 50%;
}

   /* footer */




.footer{
  text-align: center;
  padding: 9.6em 0 5.5em;
  font-size: 12px;
  color: #aaa;
}

.footer .brand{
  margin-top: -0.45em;
  font-size: 3.4em;
}

.author-link{
  font-family: 'Montserrat', sans-serif;
  color: #d0d0d0;
}

.author-link:hover{
  text-decoration: none;
}




@media screen and (max-width: 1325px) {
  .navigation-menu.active {
    margin:0;
    background: rgb(255, 255, 255);
      display: flex; /* Make it visible */
      flex-direction: column;
      gap: 0;
      animation: slideDown 0.5s ease forwards; /* Trigger the keyframe animation */
  }
  

  .drywall-description p:first-child {
   color: #F6F6F6; /* This will not work on ::first-line */

  }

  .first {
    height: 70vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% 75%;
  }

.drywall-description p{
  margin-top: 20px;
  width: 100%;
  text-align:start ;

}

h2{
  font-size: 3em;
  margin-left: 30px;
}
  .second-section {
    height: 65vh;
    display: flex;
    flex-direction: row; /* Keep it row layout */
    flex-wrap: nowrap;
    justify-content: space-between; /* Align elements to use the space evenly */
    align-items: center;
    width: 100%;
    font-size: smaller;
  }

  .second-section img {
    scale: 1;
    width: 50%; /* Adjust the image width to fit well on smaller screens */
    height: auto; /* Maintain image proportions */
    min-width: 350px;
  }

  .drywall-description {
    margin: 0;

    width: 40%; /* Adjust the width to a smaller percentage to fit beside the image */

    padding-right: 20px; /* Adjust padding for better fit */
    padding-left: 40px; /* Add left padding for spacing */
     min-width: 460px;
  }

  .drywall-description #ceiling{
    background-color: #fff;
  }

  .drywall-description .previous{

    border: solid 1px #F6F6F6  ;
    width: 15rem;
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 40px;
    margin-left: 30px;
  
   
  }
  .drywall-description a{
    color:#F6F6F6 ;
    text-decoration: none;
    padding: 15px;
  
   
  }
  
  /* If the image with class 'plasteboard' is separate, target it directly */
  .plasteboard {
    width: 100%;

  }



}

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

.demolitionsec .second-section img{
  width: 160%;
}
}

  @media screen and (max-width: 700px) {
    .second-section{
      justify-content:center;
      height: 120vh;
      flex-direction: column !important;
 
    }

    .second-section img{
      height: 60vh;
      width: 120%;
      scale: 1;
      background-color: black;
  
    }
.drywall-description h2{display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  left:0;
  padding: 0;

}

    .drywall-description {
      
      margin: 0;
      padding: 0;
      width: 80%; /* Adjust the width to a smaller percentage to fit beside the image */
      display: flex;
      align-items: end;
      flex-direction: column;
      align-items: end;
    }
    .drywall-description p {
      text-align: end;
  
    }
    h2{
      margin: 20px;
      font-size: 3em;
      margin-left: 0px;
      text-align: center;
    }

    .drywall-description .previous{
      align-self: start;
      margin: 50PX;
      margin-left: 0;
      margin-bottom: 0;
      border: solid 0.3px #F6F6F6  ;
      font-size: smaller;
      padding: 1px;
      width: 55%;
      }


                   /* third section  ceilings */

                   .ceilingsec .second-section {
                    flex-direction: column;
                    
                    }

                    .ceilingsec .second-section img {
                      transform: scaleX(-1) !important;
                      width: 100%;
                    }
                    .paintsec .second-section img {
                      transform: scaleX(-1) !important;
                      width: 100%;
                      min-width:500px ;
                    }
                    .second-section img {
                      margin-top: 50px;
                      scale: 1;
                      width: 100%; /* Adjust the image width to fit well on smaller screens */
                      height: auto; /* Maintain image proportions */
                      min-width: 260px;
                    }
                    .drywall-description {
   
                       min-width: 260px;
                    }
                    .demolitionsec .second-section img{
                      width: 160%;
                    }
                    

    }

  