@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none !important;
    transition: 0.2s linear;
    border: none;
    outline: none;
    overflow-x: none;
    font-family: 'Montserrat', sans-serif;
  }
  
  .main_color{
    color: #800020
  }
  
  html {
    font-size: 62.5%;
  }

   /* ----------- about section starts ------------- */

   .service_first{  
    background:url('/pics/bg3.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 8rem 0;
    width: 100%;
    margin-top: 8rem;
  }

  .service_container{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service_text_container{    
    width: 60%;
  }

  .service_text_container h1{
    font-size: 4.8rem;
    font-weight: 700;
    position: relative;
    text-align: center;
  }

  .service_text_container p{
    font-size: 2rem;
    margin-top: 1.5rem;
    text-align: center;
    line-height: 1.8;
  }


  /* -------------------- Projects Showcase ---------- */

  .projects{

    padding: 5rem 0;
  }

  .projects_container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    width: 70%;
    
  }

  .one_img_container{
    
    background: url('https://haizen.web.app/static/media/project1.a185a9fddeb5fa53e6a0.webp') no-repeat;
    position: relative;
    height: 70vh;
    width: 100%;
    border-radius: 1rem;
    margin: 3rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
   
  }

  .inner_text{
    backdrop-filter: blur(.4rem);
    background: hsla(0,0%,100%,.81);
    border-radius: 0.2rem;
    padding: 2rem 5rem;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .inner_text span{
    font-size: 2.4rem;
    font-weight: 500;
  }

  .one_img_container img{
    width: 100%;
  }
  
  .one h1{
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 4rem;
  }
  .one h2{
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 2.2rem;
  }

  .two{
    background: url('https://haizen.web.app/static/media/sidra_bg.ecc01c50d28975988903.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
  .three{
    background: url('https://haizen.web.app/static/media/project3.73aa4490522b16e76d40.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
  .four{
    background: url('https://haizen.web.app/static/media/project4.241546abc1b978cf4be1.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
  .five{
    background: url('https://haizen.web.app/static/media/project5.d511c669dc396b3f7a0c.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
  .six{
    background: url('https://haizen.web.app/static/media/project6.f941c99538f12fca2211.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }




  
/* --------------------------- --------------------- */

@media (max-width: 1400px){
  
 

  .projectc-img{
    padding-left: 0rem;
    max-width: 48rem;
  }

  .projectc-right{
    padding-right: 0rem;
  }
}

@media (max-width: 992px){

  html {
    font-size: 55%;
    scroll-padding-top: 8rem;
    
  }
  .service_text_container{    
    width: 90%;
  }

  .first{
    margin-top: 2rem;
  }


  .one h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.inner_text{
  padding: 1rem 3rem;
}

.inner_text span {
  font-size: 1.6rem;
}

.one{
  margin-bottom: 1.5rem;
}

.one h2{
  font-size: 1.5rem;
  margin: unset;
}
.projects{
  padding: unset;
}

.projects_container{
  min-height: unset;
}
.one_img_container{
  margin: unset;
}

.projects_container{
  margin-bottom: 1.5rem;
}

.contact{
  padding: 1rem;
}


}


@media (max-width: 786px){
  .projects_container{
    width: 95%;
  }

  .service_first{
    padding: 4rem 0;
  }

}

@media (max-width:400px) {
  .one h1 {
    font-size: 2rem;
}
}

@media (max-width: 500px) {
  html {
    font-size: 45%;
  }
}

