.contact {
 margin-top: 20px;
}

.contact__block {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
}

.contact__left {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.contact__qr {
  background: var(--heading);
  padding: 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact__qr img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 12px;
}

.contact__text {
  max-width: 390px;
  padding-top: 12px;
}

.contact__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.contact__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: max-content;
  padding: 16px;
  background:  var(--bg);
  border-radius: 18px;
}

.contact__abov-cam {
  text-align: center;
  max-width: 280px;
  font-style: italic;
  margin: 0 4px 16px 4px;
  color: black;
  line-height: 18px;
}

.contact__webcam {
  width: 295px;
  height: 165px;
  border-radius: 15px;
  margin-top: 4px;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}

.contact__webcam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__webcam-micro {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(34, 34, 34, 0.7);
  color: white;
  padding: 4px 12px;
  border-radius: 8px 0 15px 0;
  font-family: 'Ubuntu', serif;
  font-size: 0.8em;
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
}

.contact__webcam-micro img {
  width: 16px;
  height: 16px;

}

@media screen and (max-width: 1024px) {
  .contact .center-block {
    padding: 32px;
  }
  .contact__block {
    flex-direction: column;
  }

  .contact__left {
    width: 100%;
    gap: 16px;
  }
}

@media screen and (max-width: 768px) {

  .contact .center-block {
    padding: 16px;
  }

  .contact__block {
    flex-direction: column;
    align-items: center;
  }

  .contact__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact__qr > div:last-child {
    display: none;
  }

  .contact__text {
    max-width: 100%;
    padding-top: 12px;
  }

  .contact__actions {
    justify-content: center;
  }

  .contact__right {
    width: 100%;
  }

  .contact__webcam {
    width: 100%;
    height: inherit;
  }
}


@media screen and (max-width: 600px) {
  .contact__qr img {
    max-width: 150px;
    max-height: inherit;
  }

  .contact__qr {
    width: max-content;
  }

  .contact__qr .social-links {
    display: flex;
    padding: 0;
    gap: 8px;
    justify-content: center;
  }

  .contact__left {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .contact__actions {
    align-items: center;
    flex-direction: column;
  }

  .contact__actions a {
    width: 100%;
  }
}

@media screen and (max-width: 370px) {

}
