@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

* {
  margin: 0;
  box-sizing: border-box;
}

#contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.window_img {
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: 258px;
}

.what_we_do_div {
  width: 620px;
  margin-top: 24px; 
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  justify-content: center;
  font-size: 20px;
}

.what_we_do_text {
  color: rgb(59, 65, 66);
  width: 600px;
  text-align: left;
  margin-left:8px;
  line-height: 1.25;
  font-family:'Open Sans';
  font-weight: 500;
}

.what_we_do_img {
  margin-top: 6px;
  vertical-align: middle;
  width: 150px;
  height: auto;

}

.contact-help {
  margin-top:-80px;
  width:620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contactBackground {
  width: 880px;
  height: 550px;
}

.contactTitle {
  font-family:'Open Sans';
  font-size: 38px;
  letter-spacing: 2px;
  margin-top: -36px;
  padding-bottom: 30px;
}

.contact-box {
    background-image: linear-gradient(to right, #1691C9, #0F86BB);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 626px;
    height:520px;
    margin-top: -100px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 6px;
}

.contact-form-wrapper {
  width: 100%;
  padding: 8% 5% 10% 5%;
}

.contact-links {
  background-color: #1f2e43;
  background:
    radial-gradient(
      circle at 55% 92%, #426691 0 12%, transparent 12.2%
    ),
    radial-gradient(
      circle at 94% 72%, #426691 0 10%, transparent 10.2%
    ),
    radial-gradient(
      circle at 20% max(78%, 350px), #263a53 0 7%, transparent 7.2%
    ),
    radial-gradient(
      circle at 0% 0%, #263a53 0 40%, transparent 40.2%
    ),
    #1f2e43;
  border-radius: 10px 0 0 10px;
}

@media only screen and (max-width: 800px) {

  .contact-links, .contact-form-wrapper {
    width: 100%;
  }

  .contact-links {
    border-radius: 10px 10px 0 0;
  }

  .contact-form-wrapper {
    border-radius: 0 0 10px 10px;
  }
}

@media only screen and (max-width: 400px) {
  .contact-box {
    width: 95%;
    margin: 8% 5%;
  }
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 50px;
}

.link {
  margin: 10px;
  cursor: pointer;
}

.form-item {
  position: relative;
}

label, input, textarea {
  font-family: 'Poppins', sans-serif;
}

label {
  position: absolute;
  top: 10px;
  left: 2%;
  color: #999;
  font-size: clamp(14px, 1.5vw, 18px);
  pointer-events: none;
  user-select: none;
}

input, textarea {
  width: 100%;
  outline: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 12px;
  font-size: clamp(15px, 1.5vw, 18px);
}

textarea {
    height:130px;
}

input:focus+label,
input:valid+label,
textarea:focus+label,
textarea:valid+label {
  font-size: clamp(13px, 1.3vw, 16px);
  color: #777;
  top: -20px;
  transition: all .225s ease;
  display: none;
}

.submit-btn {
  background-color: #fd917e;
  filter: drop-shadow(2px 2px 3px #0003);
  color: #fff;
  font-family: "Poppins",sans-serif;
  font-size: clamp(16px, 1.6vw, 18px);
  display: block;
  padding: 12px 20px;
  margin: 2px auto;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: 0.2s;
}

/*
img {
    filter:
      drop-shadow(1px 1px 1px rgba(60, 54, 54, 0.4));
    transition: 0.2s;
    user-select: none;
  }
*/

.submit-btn:hover {
  transform: scale(1.1, 1.1);
}

.submit-btn:active {
  transform: scale(1.1, 1.1);
  filter: sepia(0.5);
}

@media only screen and (max-width: 750px) {

  .contactBackground {
    width: 470px;
    height: 720px;
    padding-left: 60px;
    padding-right: 60px;
  }

  .contact-box {
    margin-left: 0px;
    margin-top: -100px;
    width: 400px;
  }

  .contactTitle {
    font-size: 38px;
    margin-top: -26px;
  }

  .window_img {
    margin-bottom: -114px;
    margin-left: 258px;
  }

  h4 {
    font-size: clamp(30px, 12vw, 50px);
  }

  .contact-help {
    width:400px;
    margin-top: -100px;
  }

  .what_we_do_div {
    display: block;
    width: 380px;
    margin-top: 24px;
    flex-direction: column;
  }

  .what_we_do_img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
    width: 150px;
  }
}

/* Identify mobile size */
@media (pointer:coarse)  and (max-width: 450px) {

  .contactBackground {
    width: auto;
    height: 920px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-box {
    width: 320px;
    margin-left: 16px;
    margin-top: -100px;
  }

  .contactTitle {
    font-size: 36px;
    margin-top: -26px;
  }

  .window_img {
    margin-bottom: -114px;
    margin-left: 258px;
  }

  h4 {
    font-size: clamp(30px, 12vw, 50px);
  }

  .contact-help {
    width: 320px;
    margin-top: -100px;
  }

  .what_we_do_div {
    display: block;
    width: 320px;
    margin-top: 24px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
    flex-direction: column;
  }

  .what_we_do_img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
    width: 150px;
  }
}
