.contact-container {
  position: relative;
  width: 100%;
  height: auto;
  background-color: black;
}

.contact-main-image-container {
  position: relative;
  text-align: center;
  display: flex;
  width: 100%;
  height: 85vh;

  background-image: url('../assets/images/contacts_main.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: black;
}

.contact-main-image-container::before {
  z-index: 1;
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: radial-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.contact-main-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  clip-path: polygon(0 78%, 100% 92%, 100% 100%, 0 100%);
}

.contact-card {
  position: absolute;
  top: 417px;
  left: 235px;
  width: 40rem;
  height: 32rem;
  background-color: rgb(0, 0, 0);
  z-index: 2;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid rgb(252, 180, 47);
}

.contact-card h1 {
  font-weight: 800;
  font-size: 2.5rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
  text-align: end;
  color: white;
  margin-bottom: 2.5rem;
  margin-right: 2rem;
  color: rgb(252, 180, 47);
}

.contact-card p {
  font-weight: 600;
  font-size: 1.3rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  user-select: none;
  color: white;
}

.black-container {
  background-color: black;
  height: 7rem;
  width: 100%;
}

.phone-row {
  color: white;
  width: 100%;
  font-weight: 600;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 1rem;
}

/* ------------------------MEDIA------------------------ */
@media (max-width: 500px) {
  .contact-main-image-container {
    position: unset;
    height: 60vh;
  }

  .contact-main-image-container::after {
    content: none;
  }

  .contact-main-image-container::before {
    height: 60vh;
  }

  .contact-card {
    position: unset;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    border: none;
  }

  .black-container {
    display: none;
  }
}

@media (501px <= width <= 1000px) {
  .contact-main-image-container {
    position: unset;
    height: 60vh;
  }

  .contact-main-image-container::after {
    content: none;
  }

  .contact-main-image-container::before {
    height: 60vh;
  }

  .contact-card {
    position: unset;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    border: none;
  }

  .black-container {
    display: none;
  }
}
