.contacts_wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contacts_address_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contacts_address_item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: #191a1d;
  border: 1px solid #3c3f46;
}

strong {
  color: #dddddd;
}

.contacts_address_link {
  font-size: 12px;
  font-weight: 600;
  color: #dddddd;
  transition: all 0.9s ease;
}

.contacts_address_link:hover {
  color: #de0404;
}

form {
  max-width: 800px;
  margin: 0 auto;
}

.input_wrapper {
  width: 100%;
  margin-bottom: 16px;
}

.input_label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #dddddd;
  padding-left: 8px;
  margin-bottom: 8px;
}

.input_modal {
  width: 100%;
  height: 50px;
  background-color: #191a1d;
  border: 1px solid #3c3f46;
  padding: 0 16px;
  outline: transparent;
  color: #ffffff;
  transition: all 0.9s ease;
}

.input_modal:hover,
.input_modal:focus {
  border-color: #de0404;
}

.input_modal:focus::placeholder {
  color: #ffffff;
}

.input_modal:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #252729 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

.input_modal:-moz-autofill {
  background-color: #252729 !important;
  color: #ffffff !important;
}

.input_textarea_wrapper {
  width: 100%;
  margin-bottom: 16px;
}

.input_textarea {
  width: 100%;
  height: 120px;
  background-color: #191a1d;
  border: 1px solid #3c3f46;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 500;
  color: #dddddd;
  resize: none;
  outline: transparent;
  transition: all 0.9s ease;
}

.input_textarea:hover,
.input_textarea:focus {
  border-color: #de0404;
}

.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 #de0404;
  background-color: #de0404;
  font-size: 14px;
  font-weight: 600;
  color: #dddddd;
  text-transform: capitalize;
  min-width: 200px;
  margin: 0 auto;
  transition: all 0.9s ease;
}

.input_btn:hover {
  border-color: #ef4623;
  background: #ef4623;
}

@media screen and (min-width: 768px) {
  .contacts_address_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .contacts_address_link {
    font-size: 14px;
  }

  .input_label {
    font-size: 14px;
  }

  .input_textarea {
    font-size: 13px;
  }

  .input_btn {
    font-size: 16px;
  }
}

@media screen and (min-width: 1200px) {
  .contacts_wrapper {
    gap: 24px;
  }

  .contacts_address_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .contacts_address_item {
    gap: 16px;
    padding: 24px;
  }

  .input_wrapper {
    margin-bottom: 24px;
  }

  .input_label {
    margin-bottom: 16px;
  }

  .input_modal {
    padding: 0 24px;
  }

  .input_textarea_wrapper {
    margin-bottom: 24px;
  }

  .input_textarea {
    padding: 16px 24px;
  }

  .input_btn {
    padding: 16px 24px;
  }
}

@media screen and (min-width: 1440px) {
  .contacts_address_link {
    font-size: 16px;
  }

  .input_label {
    font-size: 16px;
  }

  .input_textarea {
    font-size: 15px;
  }

  .input_btn {
    font-size: 18px;
  }
}
