.background-pop-up {
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 500;
}

.pop-up-add-contact {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 84%;
  height: 84%;
  border-radius: 30px;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.08);
}

.contact-side-info {
  width: 467px;
  height: 594px;
  background-color: #2a3647;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px 0 0 30px;
}

.contact-logo {
  position: absolute;
  top: 154px;
  left: 47px;
  width: 56px;
  height: 67px;
}

.contact-side-info-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.add-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.add-contact-headline {
  font-size: 61px;
  font-weight: 700;
  color: white;
}

.add-contact-info {
  font-size: 27px;
  font-weight: 400;
  color: white;
}

.add-contact-vector {
  height: 3px;
  width: 90px;
  background-color: #29abe2;
}

.close-popup {
  display: flex;
  position: absolute;
  top: 48px;
  left: 1132px;
  border: none;
  background-color: white;
}

.close-popup img {
  width: 32px;
  height: 32px;
}

.close-popup img:hover {
  background-color: rgb(0, 0, 0, 0.1);
  border-radius: 50%;
}

.contact-pic {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 204px;
  left: 550px;
}

.contact-field {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 137px;
  left: 742px;
  width: 100%;
  max-width: 422px;
}

.contact-field #name::placeholder {
  background-image: url(../assets/icons/contact/person.png);
  background-repeat: no-repeat;
  display: flex;
  background-position: 100%;
  background-size: 24px;
}

.contact-field #email::placeholder {
  background-image: url(../assets/icons/contact/mail.png);
  background-repeat: no-repeat;
  display: flex;
  background-position: 100%;
  background-size: 24px;
}

.contact-field #phonenumber::placeholder {
  background-image: url(../assets/icons/contact/call.png);
  background-repeat: no-repeat;
  display: flex;
  background-position: 100%;
  background-size: 24px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input {
  height: 51px;
  line-height: 30px;
  font-size: 20px;
  padding: 13px 21px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid #d1d1d1;
  cursor: pointer;
}

input:focus {
  border-width: 1.8px;
  border-color: rgb(41, 171, 226);
  outline: none;
}

button {
  cursor: pointer;
}



.input-button {
  display: flex;
  gap: 24px;
  max-width: 364px;
  height: 56px;
  position: absolute;
  top: 400px;
  left: 742px;
}

.cancel {
  width: 126px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px;
  border: 1px solid black;
  padding: 16px;
  gap: 4px;
  font-size: 20px;
  font-weight: 400;
}

.create {
  width: 214px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 15px;
  gap: 4px;
  font-size: 21px;
  font-weight: 700;
  background: #2a3647;
  color: white;
}

.success-message {
  width: 326px;
  height: 74px;
  font-size: 20px;
  font-weight: 400;
  background-color: #2a3647;
  color: white;
  border-radius: 20px;
  z-index: 500;
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translate(-50%, 0);
}


.error-me{
  color: red;
  font-size: 0.8rem;
}

.errorP{
  height: 32px;
}

.border-red{
  border-color: red;
}
