*{
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;

  
}
html {
scroll-behavior: smooth;
}
body {

  font-size: 24px;
  background-color: #f4f4f492;
}

a
{
text-decoration: none;

}

 

.headers{


background-image: linear-gradient(rgba(118, 118, 118, 0.5), rgba(0, 0, 0, 0.5)),url(../images/contacthero.jpg);
margin-top: 127px;
background-size: cover;

height: 30vmax;

position: relative;


}



.headers .content{
 
 
text-align: center;

color: #fff;
}
.headers .content h2{
padding-top: 10%;

}


@media (max-width: 1050px) {
  .headers{


    background-image: linear-gradient(rgba(118, 118, 118, 0.5), rgba(0, 0, 0, 0.5)),url(../images/contacthero.jpg);
    
    background-size: cover;
    background-position: right;
    height: 40vh;
    align-self: right;
    margin-top: -10px;
    position: relative;
    
    
    }
    
    
    
    .headers .content{
     
      font-size: 1rem;
    text-align: center;
    
    color: #fff;
    }
    .headers .content h2{
    padding-top: 10vh;
    }
    nav .fa-solid {
      display: flex;
      justify-content: right;
      color: #2D292A;
      margin: 10px;
      font-size: 30px;
      cursor: pointer;
  }
}

.contactusmap{
  background-color: #f4f4f492;

 overflow: hidden;
  position: relative;
}
.contactusf{
  box-sizing: border-box;
  position: relative;
  height: 700px;
  padding: 50px 100px;
  display: flex;
  justify-content:center ;
  align-content: center;
 margin-bottom: 40px;
 gap: 10rem;
 overflow: hidden;
}

.contactform{

  position: relative;
 width: 33%;
 border: 1px #2c2c2c;
 border-style: solid;
 border-radius: 20px;
 padding: 40px;
 box-shadow: 0 5px 10px #4f4f4f;
 background-color: white;
 
}


.contactform p{
  text-align: center;
  margin-top: -30px;
  margin-bottom: 50px;
  padding: -50px -100px;
  font-weight: bold;
}


.contactform .inputbox{
  position: relative; 
  width: 100%;
  margin-top: 10px;
 
}

.contactform .inputbox input{
width: 100%;
padding: 5px 0;
font-size: 16px;
margin: 10px 0;
border: none;
border-bottom: 2px solid #000000;
outline:none;
resize: none;
}


.contactform .inputbox textarea{
width: 100%;
padding: 5px 0;
font-size: 16px;

border: none;
border-bottom: 2px solid #000000;
outline:none;
resize: none;
}

.contactform .inputbox textarea:focus,
.contactform .inputbox textarea:valid {

margin: 100px 0;
transition: 0.5s;
}


.contactform .inputbox textarea:focus ~ span,
.contactform .inputbox textarea:valid ~ span{
color:#9e1d21;
font-size: 12px;

}

.contactform .inputbox span{

  position: absolute;
  left: 0;
  padding: 5px 0;
font-size: 16px;
margin: 10px 0;
pointer-events: none;
transition: 0.5s;
}

.contactform .inputbox input:focus ~ span,
.contactform .inputbox input:valid ~ span
{
color:#9e1d21;
font-size: 12px;
transform: translateY(-20px);
}


.contactform .inputbox input[type="submit"]
{
  width: 120px;
  background: #2c2c2c;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  font-size: 20px;
}

.googlemap{
  border: 1px #2c2c2c;
 border-style: solid;

left: 0;
top: 0;
 border-radius: 20px;
 box-shadow: 0 5px 10px #4f4f4f;
 display:block; 
 width: 40%;
 padding-bottom: 30px;
}

.googlemap p
{
  font-family: 'Inter';
  font-weight: bold;
  text-align: center;

}

.contact-header{
  width: 100%;
  height: 100%;
 
}
.contact-header img{
  width: 100%;
  height: 800px;
  object-fit: cover;
 

}




  @media(max-width: 1050px) {
    body {
    
      font-size: 24px;
      background-color: #f4f4f492;
    }
      
  .aboutus {
    background: rgb(235,235,235);
    background: linear-gradient(0deg, rgba(235,235,235,1) 0%, rgba(252,252,252,1) 35%, rgba(236,236,236,0) 100%);
    padding-bottom: 5px;
    font-family: 'Inter';
    
  }
  
   .contactusmap{
    background-color: #f4f4f492;

   overflow: hidden;
    position: relative;
  }
   .contactusf{
    box-sizing: border-box;
 
    height: 100%;
    padding: 50px 80px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
   margin-bottom: 40px;
   gap: 10rem;
   overflow: hidden;
  }


  .googlemap{
    border: 1px #2c2c2c;
   border-style: solid;
   height: 400px;
   border-radius: 20px;
   box-shadow: 0 5px 10px #4f4f4f;
   display:block; 
   width: 110%;
   padding-bottom: 30px;
  }
  
  .googlemap p
  {
    font-family: 'Inter';
    font-weight: bold;
    text-align: center;
  
  }

  .contactform{
    width: 100%;
  
   
   border: 1px #2c2c2c;
   border-style: solid;
   border-radius: 20px;
   padding: 40px;
   box-shadow: 0 5px 10px #4f4f4f;
   background-color: white;
   
  }
  }