.contacts_wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background-color: #00001b;
  box-shadow: 0 0 5px rgba(0, 0, 27, 0.25);
  border-radius: 16px;
  padding: 16px;
}

.contacts_address_item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.contacts_address_item:last-child {
  margin-bottom: 0;
}

.contacts_address_item_title {
  font-size: 16px;
  font-weight: 700;
  color: #fc3a45;
  text-align: center;
  text-transform: uppercase;
}

.contacts_address_item_link_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contacts_address_item_link {
  font-size: 12px;
  font-weight: 600;
  color: #adadb6;
  transition: all 0.3s ease;
}

.contacts_address_item_link:hover {
  color: #ffffff;
}

.contacts_address_item_text {
  font-size: 12px;
  font-weight: 500;
  color: #adadb6;
}

form {
  max-width: 800px;
  margin: 0 auto;
}

.input_wrapper {
  width: 100%;
  margin-bottom: 16px;
}

.input_modal {
  width: 100%;
  height: 50px;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #eaeaea;
  outline: transparent;
  padding: 0 16px;
  color: #adadb6;
  transition: all 0.3s ease;
}

.input_modal:hover,
.input_modal:focus {
  border-color: #ff4b44;
  color: #ffffff;
}

.input_modal:focus::placeholder {
  color: #adadb6;
}

.input_modal:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

.input_modal:-moz-autofill {
  background-color: transparent !important;
  color: #ffffff !important;
}

.input_textarea_wrapper {
  width: 100%;
  margin-bottom: 16px;
}

.input_textarea {
  width: 100%;
  height: 30px;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #eaeaea;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 500;
  color: #adadb6;
  resize: none;
  outline: transparent;
  transition: all 0.3s ease;
}

.input_textarea:hover,
.input_textarea:focus {
  border-color: #ff4b44;
}

.input_textarea::placeholder {
  font-size: 16px;
  font-weight: 500;
}

.input_textarea:focus::placeholder {
  opacity: 0;
}

.input_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px 16px;
  border: 1px solid #ff4b44;
  background-color: #ff4b44;
  box-shadow: 0 0 5px rgba(0, 0, 27, 0.25);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  min-width: 200px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.input_btn:hover {
  border-color: #e5433d;
  background-color: #e5433d;
  box-shadow: 0 0 25px rgba(0, 0, 27, 0.5);
}

.contacts_location_link_wrap {
  background-color: #00001b;
  box-shadow: 0 0 5px rgba(0, 0, 27, 0.25);
  border-radius: 16px;
  padding: 16px;
}

iframe {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

@media screen and (min-width: 1024px) {
  .contacts_address_item_title {
    font-size: 18px;
  }

  .contacts_address_item_link {
    font-size: 14px;
  }

  .contacts_address_item_text {
    font-size: 14px;
  }

  .input_textarea {
    font-size: 14px;
  }

  .input_btn {
    font-size: 16px;
  }
}

@media screen and (min-width: 1200px) {
  .contacts_wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
  }

  .contacts_address_item {
    gap: 24px;
    margin-bottom: 24px;
  }

  .contacts_address_item_title {
    text-align: start;
  }

  .contacts_address_item_link_wrap {
    align-items: flex-start;
    gap: 16px;
  }

  .input_wrapper {
    margin-bottom: 24px;
  }

  .input_modal {
    padding: 0 24px;
  }

  .input_textarea_wrapper {
    margin-bottom: 24px;
  }

  .input_textarea {
    padding: 0 24px;
  }

  .input_btn {
    padding: 16px 24px;
  }

  .contacts_location_link_wrap {
    padding: 24px;
  }
}

@media screen and (min-width: 1440px) {
  .contacts_address_item_title {
    font-size: 20px;
  }

  .contacts_address_item_link {
    font-size: 16px;
  }

  .contacts_address_item_text {
    font-size: 16px;
  }

  .input_textarea {
    font-size: 16px;
  }

  .input_btn {
    font-size: 18px;
  }
}
