.nav-item {
  font-size: 1.4vw;
  padding-left: 15px;
  padding-right: 15px;
}

.d-flex{
  font-size: larger;
}

.card img{
  height: 400px;
}

.card p{
  font-size: large;
  text-align: center;
}

.card h5{
  font-size: large;
  text-align: center;
}

.card{
  padding: 10px;
  margin: 20px;
  border: 1px hidden gray;
  border-radius: 6px;
}

#services-one{
  padding-left: 60px;
  padding-right: 60px;
  padding-top: 40px;
  padding-bottom: 20px;
}

#services-two{
  padding-left: 60px;
  padding-right: 60px;
  padding-top: 20px;
  padding-bottom: 40px;
}

#plumbing .card-body{
  background-color: rgba(196,196,196,0.3);
  
}

#electricals .card-body{
  background-color: rgba(205,133,63,0.3);
  
}

#carpentry .card-body{
  background-color: rgba(229,210,171,0.9);
}

#ceramics .card-body{
  background-color: rgba(251,255,244,0.9);
}

#masonry .card-body{
  background-color: rgba(210,209,205,0.9);
}

/*contact box*/
.contact-box {
  position: relative;
  /* top: 200rem; */
}

.screen {
  position: relative;
  background: #3e3e3e;
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 20px 20px;
  background: #4d4d4f;
  /* border-top-left-radius: 15px;
  border-top-right-radius: 15px; */
  color: #f2f2f2;
}

.screen-body {
  display: flex;
  
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.left-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: orange;
  font-size: 26px;
}

.left-title:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: orange;
}

.my-contact {
  margin-top: auto;
  font-size: 1.5vw;
  color: #888;
}

/* Right items */
.text-input {
  margin-bottom: 15px;
}

.text-input.message {
  margin-top: 40px;
}

.submit-buttons {
  margin-bottom: 0;
  text-align: right;
}

.input-example {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}

.input-example::placeholder {
  color: #666;
}

.input-example:focus {
  border-bottom-color: #ddd;
}

.submit-button {
  background: none;
  border: none;
  color: orange;
  font-size: 14px;
  cursor: pointer;
}

.app-form-button:hover {
  color: orange;
}

/* Footer tag */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  color: black;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: normal;
}

/* Controlling responsivity */
@media screen and (max-width: 520px) {
  .screen-body {
    flex-direction: column;
  }

  .screen-body-item.left {
    margin-bottom: 30px;
  }

  .left-title {
    flex-direction: row;
  }

  .left-title span {
    margin-right: 12px;
  }

  .left-title:after {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .screen-body {
    padding: 40px;
  }

  .screen-body-item {
    padding: 0;
  }
}