* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: "josefin sans", sans-serif;
}
body {
  width: 100%;
  height: 100vh;
  background-image: url(./images/pexels-eberhard-grossgasteiger-2437293.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.container {
  width: 60%;
  margin: 50px auto;
}
.contact-box {
  background-color: white;
  display: flex;
}
.contact-left {
  flex-basis: 60%;
  padding: 40px 60px;
}
.contact-right {
  flex-basis: 40%;
  padding: 40px;
  background-color: rgb(85, 120, 218);
  color: white;
}
.container h1 {
  color: white;
  font-weight: 700;
  font-size: 50px;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 3px 3px 10px black;
}
.container p {
  color: white;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 3px 3px 10px black;
}
.input-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 10px;
}
.input-group .input-row {
  flex-basis: 45%;
}
input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  padding: 2px;
  margin: 1rem auto;
}
textarea {
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  padding: 10px;
  box-sizing: border-box;
}
label {
  margin-bottom: 6px;
  display: block;
}

button {
  background: rgb(85, 120, 218);
  width: 100px;
  cursor: pointer;
  border: none;
  outline: none;
  color: white;
  font-weight: 500;
  height: 35px;
  border-radius: 30px;
  margin-top: 20px;
}

.contact-left h3 {
  font-size: 25px;
  color: rgb(85, 120, 218);
  font-weight: 600;
  margin-bottom: 30px;
  text-shadow: 1px 1px 1px black;
}
.contact-right h3 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 30px;
  text-shadow: 3px 3px 10px black;
}
tr td:first-child {
  padding-right: 20px;
}
tr td {
  padding-top: 20px;
}
.centerdiv {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
footer .centerdiv a {
  height: 50px;
  width: 50px;
  background-color: white;
  border-radius: 50px;
  margin: 15px;
  text-align: center;
  line-height: 70px;
}

footer {
  position: absolute;
  bottom: 25%;
  left: 68%;
  transform: translateX(-50%);
}

.centerdiv a i {
  z-index: 21;
}

footer .centerdiv a i {
  transform: all 0.3 linear;
}
footer .centerdiv a:hover i {
  transform: scale(1.4);
}
.fa-instagram {
  color: #e84393;
}
.fa-twitter {
  color: #0097e6;
}
.fa-github {
  color: black;
}
.fa-facebook {
  color: blue;
}
@media only screen and (max-width: 786px) {
  body {
    background-repeat: repeat;
    height: 100vh;
    width: 100%;
  }
  .container {
    width: 80%;
    margin: 50px auto;
  }
  .contact-box {
    background-color: white;
    display: flex;
    flex-direction: column;
  }
  .contact-left {
    flex-basis: 60%;
    padding: 40px 40px;
  }
  .contact-right {
    flex-basis: 40%;
    padding: 20px;
    background-color: rgb(85, 120, 218);
    color: white;
  }
  .container h1 {
    color: white;
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 3px 3px 10px black;
    letter-spacing: 2px;
  }
  .container p {
    color: white;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 3px 3px 10px black;
  }
  .input-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    padding: 2px;
    margin: 1rem auto;
    transition: all 0.3s ease;
  }
  input:focus {
    border-color: rgb(48, 46, 139);
  }
  textarea:focus {
    box-shadow: 0px 0px 1px 1px rgb(48, 46, 139);
  }
  .contact-right h3 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 3px 3px 10px black;
    text-align: center;
  }
  .footer {
    width: 100%;

    position: relative;
  }
  footer .centerdiv a {
    height: 50px;
    width: 50px;
    background-color: white;
    border-radius: 50px;
    margin: 7.5px;
    line-height: 65px;
  }
  .centerdiv {
  }
}
