* {
  margin: 0;
  box-sizing: border-box;
  
}
body {
  background-image: url("bg.jpg");
}
.header {
  text-align: center;
  display: flex;
  place-items: center;
  background: #ffffff7b;
  padding: 10px;
  color: rgb(0, 0, 0);
  
}
.header a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  padding: 0.5rem;
  font-weight: bold;
  border-radius: 0.5rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  
}
.header a:hover {
  background: #f2b1edb7;
}
.header-ul {
  
  display: flex;
  list-style: none;
  gap: 30px;
  
}
.smaller-font{
  font-size: 3rem;
  color: black;
  
}  
h1{
  font-size: 5rem;
  color: rgba(68, 161, 161, 0.864);
  margin-left: 100px;
}
.rajani{
  margin-left: 100px;
  font-size: 70px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.ui{
  margin-left: 100px;
  font-size: 25px;
  display: flex;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
}
.text-wrapper {
  width: 40%;
}
.image-wrapper {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}
.com-pic {
  max-width: 100%;
  max-height: 100%;
}
.Hire{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  font-size: 30px;
  margin-left: 120px;
  margin-top: 40px;
  margin-right: 200px;
  color: #ffffff;
  border: 1px solid black;
  border-radius: 15px;
}
.Hire:hover{
  cursor: pointer;
  color: #ffffffc9;
  background: #f2b1edb7;
  
}
.About{
  align-items: center;
  margin-left: 200px;
  font-size: xx-large;
  color:#F6D6D6;
}
.container2{
  background-color:#7BD3EA;
  border-radius: 15px;
  padding: 10px;
  width: 1100px; /* decrease the width */
  height: 650px;
  margin-left: 130px;
  opacity: 90%;
  margin-left: 130px;
  margin-top: 20px;
}
.ui2{
  font-size: 20px;
  display: inline;
  color:#A1EEBD;
}
.ui3{
  font-size: 30px;
  display: inline;
  color: rgb(99, 108, 112);
}
.ui4{
  font-size: 20px;
  display: flex;
  color:#F6F7C4;
  margin-top: 50px;
}
.container-row {
  display: flex; /* use flexbox layout */
  flex-direction: row; /* place containers side by side */
  justify-content: center; /* center containers horizontally */
  align-items: center; /* center containers vertically */
}
.text-container {
  border: 1px solid black;
  background-color:#7BD3EA;
  border-radius: 10px;
  padding: 10px;
  width: 95%; /* set width to fit row */
  margin: 5px;
  display: flex;
  
   
}
p{
  padding: 10px;
  
}
h2 {
  text-align: center;
  font-size: 1.5rem;
}
.works-pic{
  align-items: center;
  margin-right: 400px;
  margin-top: 100px;
}
.works-head{
  margin-left: 310px;
  margin-top: 100px;
  align-items: center;
}
.container3{
  background-color:rgb(221, 136, 136);
  border-radius: 15px;
  padding: 10px;
  width: 1100px; /* decrease the width */
  height: 700px;
  margin-left: 130px;
  margin-top: 160px;
  opacity: 100%;
}
.card-pic{
  opacity: 100%;
}
.mt-pic{
  margin-right: 50px; 
}
.contact-form-container {
  padding: 20px;
  border-radius: 10px;
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 200px; /* Add margin-top for spacing */
}
.contact-form-header {
  color: #30596e;
  text-align: center;
  margin-bottom: 20px;
  
}
#contactForm {
  display: flex;
  flex-direction: column;
}
#contactForm input,
#contactForm textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccd4e0;
  border-radius: 5px;
}
#contactForm input:focus,
#contactForm textarea:focus {
  outline-color: #477689;
}
.submit-button {
  cursor: pointer;
  background-color: #477689;
  color: #fff;
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.submit-button:hover {
  background-color: #365b6d;
}
.up-arrow {
  font-size: 4em; 
  text-decoration: none;
  margin-left: 500px;
  color: green; 
}
.click{
  font-size: 50px;
  margin-left: 335px;

}
/* Your existing CSS */

/* Media query for screens smaller than 600px */
@media only screen and (max-width: 500px) {
    .header-ul {
        flex-direction: row;
        padding: 5px;
        margin: 0;
    }
    .text-container{
      padding: 0;
      font-size: 7px;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .text-wrapper,
    .image-wrapper {
        width: 100%;
        
    }


    h1 {
        margin: 0;
        font-size: 3rem;
    }

    .Hire {
        margin: 20px auto;
    }
    .Hireme:hover{
      color: rgb(104, 85, 61);
      background-color: #f2b1edb7;
    }

    .container2,
    .container3 {
        width: 95%;
        margin: 0 auto;
        height: 950px;
    }

    .works-pic,
    .works-head {
        margin: px auto;
    }

    .container3 {
        margin-top: 180px;
    }

    .up-arrow {
        margin-left: 50%;
        text-align: center;
    }

    p {
        margin: 10px 0;
    }
    .contact-form-container {
      border-radius: 10px
      max-width: 100%;
      margin:  auto;
       /* Add margin-top for spacing */
    }
    .click{
      align-items: center;
      margin-left: 100px;
    }
}
 .com-pic,
    .card-pic,
    .mt-pic {
        max-width: 75%; /* Decrease the size of all images to 50% */
        height: auto; /* Maintain aspect ratio */
        margin: 20px auto;
      }


