@charset "UTF-8";

@font-face {
  font-family: poppinsRegular;
  src: url('../fonts/Poppins-Regular.ttf');
}

#contact-details {
  display: flex;
  justify-content: center;
  gap: 10rem;
  align-items: center;
  height: auto;
  max-width: 1250px;
  margin: 0 auto;
  padding: 3rem;
  padding-bottom: 1.5rem;
}

#contact-details p {
  font-family: PoppinsRegular, sans-serif;
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0;
}

#contact-details div {
  width: 200px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 2rem);
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: #f1f1f1;
  box-sizing: border-box;
}

#contact-form form {
  width: 650px;
  height: fit-content;
  margin-bottom: 1.5rem;
}

#contact-form form input,
#contact-form form label,
#contact-form form textarea {
  font-family: PoppinsRegular, sans-serif;
  font-size: 1.25rem;
}

#contact-form form .row {
  width: 100%;
  height: fit-content;
}

#contact-form form .row:not(:first-child) {
  margin-top: 1rem;
}

#contact-form form .row:nth-child(1) {
  display: flex;
  gap: 1rem;
}

.label-input-group:not(:first-child) {
  margin-top: 1rem;
}

#contact-form form .row:nth-child(1) .label-input-group {
  width: calc(50% - 0.5rem);
  height: fit-content;
}

form .label-input-group label {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

form .label-input-group input {
  width: 100%;
  height: 45px;
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

form .label-input-group input, form #message {
  border: 1px solid #b2b2b2;
  border-radius: 0.25rem;
}

form .label-input-group input:focus, form #message:focus {
  border: 2px solid #000;
}

form #email {
  width: 100%;
  height: 45px;
}

form #message {
  width: 100%;
  height: 150px;
  resize: none;
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

form #submit-btn {
  font-size: 1rem;
  font-family: daysOne, Arial, Helvetica, sans-serif !important;
  width: 100%;
  height: 45px;
  margin-top: 1rem;
  border: none;
  color: #fff;
  background-color: #5c5c5c;
  border-radius: 0.25rem;
}

form #submit-btn:hover {
  cursor: pointer;
  transition: all 300ms ease-in-out;
  background: #b2b2b2;
}

/* Media Queries */

@media only screen and (max-width: 720px) {
  #contact-details {
    flex-direction: column;
    gap: 2rem;
  }
}