@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@font-face {
  font-family: "Gotham Bold";
  src: url(/fonts/Gotham\ Bold\ Regular.ttf);
}

@font-face {
  font-family: "Gotham Pro Regular";
  src: url(/fonts/Gotham\ Pro\ Regular.ttf);
}

@font-face {
  font-family: "Gotham Book Regular";
  src: url(/fonts/Gotham\ Book\ Regular.otf);
}

@font-face {
  font-family: "Gotham Pro Light";
  src: url(/fonts/Gotham\ Pro\ Light.ttf);
}

body {
  background-color: var(--black-bis);
  color: white;
  font-family: "Gotham Book Regular", sans-serif;
  padding: 15px;
}

.wrapper {
  display: grid;
  gap: 98px;
}

#contact-us .title {
  color: var(--white-bis);
  font-family: "Gotham Book Regular", sans-serif;
  font-size: 40px;
  font-weight: normal;
}

#contact-us .card {
  background: var(--white-ter);
  margin: 0 auto;
  max-width: 400px;
}

#contact-us .image {
  display: none;
}

#contact-us .field {
  position: relative;
}

#footer .text {
  color: var(--grey-dark);
  font-family: "Gotham Book Regular", sans-serif;
  font-size: 15px;
  margin: 0;
}

.line {
  height: 1px;
  width: 100%;
  background-color: var(--grey-darker);
}

.social-networks {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons {
  height: 35px;
  width: 35px;
  margin: 5px;
}

.hidden {
  display: none;
}

.icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 8px;
  right: 12px;
  pointer-events: none;
  z-index: 2;
}

.icon.icon-success {
  fill: green;
}
.icon.icon-error {
  fill: red;
}

.input {
  appearance: none;
  display: block;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px var(--white-ter) inset;
}

.input::placeholder {
  color: #a0aec0;
}

.input.input-error {
  border: 1px solid red;
}

.input.input.input-error::placeholder {
  color: red;
}

.error-message {
  font-size: 0.85rem;
  color: red;
}

/* full width to phone input */
.iti {
  width: 100%;
}

/* make border for flag the same as input */
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  border-radius: 12px 0 0 12px;
}

@media only screen and (min-width: 400px) {
  #contact-us .title {
    font-size: 50px;
  }
}

@media only screen and (min-width: 768px) {
  #contact-us .container {
    display: flex;
    justify-content: center;
    gap: 64px;
    position: relative;
  }

  #contact-us .title {
    font-family: "Gotham Bold", sans-serif;
  }

  #contact-us .card {
    margin: 0;
    flex-basis: 400px;
  }

  #contact-us .image {
    display: block;
    position: absolute;
    top: 100px;
    left: -300px;
  }

  #contact-us .image img {
    height: 400px;
    width: auto;
  }
}

@media only screen and (min-width: 1024px) {
  #header {
    margin-bottom: 5rem;
  }

  #header .text {
    font-size: 40px;
  }

  #contact-us .image {
    top: 0;
    left: -350px;
  }

  #contact-us .image img {
    height: 600px;
  }

  #contact-us .card {
    flex-basis: 550px;
    margin-top: 100px;
    max-width: 550px;
  }

  #contact-us .card .card-content {
    padding: 2rem;
  }
}
