@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,400;1,400&display=swap');

  .upper-class{
    padding: 46px  60px 40px;
  }
.cont{
    padding: 70px 60px;
  }
.one h1{
  color: #000;
  font-size: 35px;
  font-family: Source Sans Pro;
} 
.two {
   margin-left: 10%;
}
.two p{
  color: #000;
  font-size: 16px;
} 

/*End main head*/
/*image*/
 .responsive {
  width: 100%;
  height: auto;
}
/*End image*/

 /*carousel*/
 .carousel-item{
  margin-right: 300px;
  background-color: no repeat scroll center scroll;
  background-size: cover;
 }
  .carousel-item: :befor{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background: #000;
  opacity: 0.7;
 }
 /*end carousel*/

/*third section*/
/*.third-column {
   padding: 70px 80px;
}*/
.cont-thirdcolumn {
  padding: 0px 15px;
  margin-top: -24px;
}
.thirdheadleft{
    margin-left: 10%;
    font-weight: 0;
    padding-bottom: 3vw;
    padding: 40px 15px 40px;
}
 .thirdheadleft h1{
	color: #fff;
  font-size: 30px;
  font-weight: 0;
}
.thirdheadleft p{
	color: #fff;
  font-size: 16px;
  font-weight: 0;
}
.thirdheadright{
  margin-left: 10%;
	font-weight: 0;
	padding-bottom: 3vw;
  padding: 40px 15px 40px;
}
.thirdheadright h1{
	color: #fff;
  font-size: 30px;
  font-weight: 0;
} 
.thirdheadright p{
	color: #fff;
	font-weight: 0;
  font-size: 16px;
  
} 
.bgred{
  background-color: #e80000 ;
}
.bgblack{
  background-color: black;
}
/*End third section*/

/*btn*/
.button{
	top: 1px;
  border-radius: 0;
  background-color: transparent;
  border-color: #000;
  color: #000000;
  text-align: center;
  font-size: 15px;
  padding: 3px;
  width: 140px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}
.button a {
  color: #000;
}
.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  white-space: 10px;
  content:'\27F6';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -30px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 30px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}
/*end btn*/


/*vertical slider*/
.testimonial{
  padding: 70px 60px;
}
.testimonial h2{
  font-size: 30px;
}
/*----------------------------------------Media Queries----------------------------------------------*/
@media screen and (max-width:48em) {
  .upper-class{
     padding: 46px 25px 10px;
  }
  .cont{
    padding: 25px 25px 25px;
  }
 .one h1{
  color: #000;
  font-size: 20px;
} 
.two {
   margin-left: 0%;
}
.two p{
  color: #000;
  font-weight: 0;
} 
/*gallery*/

.img-gallery{
   width: 100%;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   grid-gap: 0px;
}
.img-gallery img{
   width: 100%;
   cursor: pointer;
}
/*third column section*/
 .cont-thirdcolumn {
   padding: 10px 15px 10px;
}
.thirdheadleft{
    margin-left: 0;
    font-weight: 0;
    padding-bottom: 3vw;
}
 .thirdheadleft h1{
  color: #000;
  font-size: 20px;
  font-weight: 0;
}
.thirdheadleft p{
  color: #000;
  font-size: 15px;
  font-weight: 0;
}

.thirdheadright h1{
  color: #fff;
  font-size: 20px;
  font-weight: 0;
} 
.thirdheadright p{
  color: #fff;
  font-weight: 0;
  font-size: 15px;
  
} 
.testimonial{
  padding: 10px 25px 10px;
}
.testimonial h2{
  font-size: 28px;
}
}
  
@media screen and (max-width: 300px) and (max-device-height: 281px)  {

  .upper-cont{
    padding: 100px 25px 10px;
  }
  .cont{
    padding: 25px 25px 25px;
  }
  .one h1{
  color: #000;
  font-size: 20px;
} 
.two {
   margin-left: 0%;
}
.two p{
  color: #000;
  font-weight: 0;
} 
/*gallery*/

.img-gallery{
   width: 100%;
   padding: 0 30px;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   grid-gap: 0px;
}
.img-gallery img{
   width: 100%;
   cursor: pointer;
}
/*third column section*/
 .cont-thirdcolumn {
   padding: 10px 15px 10px;
}
.thirdheadleft{
    margin-left: 0;
    font-weight: 0;
    padding-bottom: 3vw;
}
 .thirdheadleft h1{
  color: #000;
  font-size: 20px;
  font-weight: 0;
}
.thirdheadleft p{
  color: #000;
  font-size: 15px;
  font-weight: 0;
}
.thirdheadright {
  margin-left: 0%;
  font-weight: 0;
  padding-bottom: 3vw;
  padding: 40px 15px 40px;
}
.thirdheadright h1{
  color: #fff;
  font-size: 20px;
  font-weight: 0;
} 
.thirdheadright p{
  color: #fff;
  font-weight: 0;
  font-size: 15px;
  
} 
.testimonial{
  padding: 10px 25px 10px;
}
.testimonial h2{
  font-size: 10px;
}
}

@media screen and (max-width: 366px) and (max-device-height: 499px)  {

  .upper-class{
     padding: 46px 25px 10px;
  }
  .cont{
    padding: 25px 25px 25px;
  }
  .one h1{
    color: #000;
    font-size: 20px;
} 
.two {
   margin-left: 0%;
}
.two p{
  color: #000;
  font-size: 15px;
  font-weight: 0;

} 
/*gallery*/

.img-gallery{
   width: 100%;
   padding: 0 30px;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   grid-gap: 0px;
}
.img-gallery img{
   width: 100%;
   cursor: pointer;
}

/*third column section*/
 .cont-thirdcolumn {
   padding: 10px 15px 10px;
}
.thirdheadleft{
    margin-left: 0;
    font-weight: 0;
    padding-bottom: 3vw;
}
 .thirdheadleft h1{
  color: #000;
  font-size: 20px;
  font-weight: 0;
}
.thirdheadleft p{
  color: #000;
  font-size: 15px;
  font-weight: 0;
}
.thirdheadright{
  margin-left: 0px;
  font-weight: 0;
  padding-bottom: 3vw;
}
.thirdheadright h1{
  color: #fff;
  font-size: 20px;
  font-weight: 0;
} 
.thirdheadright p{
  color: #fff;
  font-weight: 0;
  font-size: 15px;
  
} 
.testimonial{
  padding:   10px 25px 10px;
}
.testimonial h2{
  font-size: 28px;
}

}