@import "template.scss";

.description {
  text-align: center;
}

.padding {
  max-width: 600px;
  margin: 0 auto;
}

.published {
  font-size: 12px;
}

.pills {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.header {
  display: flex;
  padding: 0 20px;
  max-width: 1100px;
  gap: 80px;
  margin: 0 auto;
  overflow: hidden;
  justify-content: space-between;
}

.photo {
  object-fit: cover;
  height: 200px;
  width: 510px;
  border-radius: $border-radius;
  opacity: 0.9;
}

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

  .headerText {
    padding: 0 20px;
  }

  .header {
    padding: 0;
    flex-direction: column;
    gap: 20px;
  }

  .photo {
    border-radius: 0;
    width: 100vw;

  }

  .description {
    padding: 0;
  }
}

@media screen and (max-width: 1000px) {
  .header {
    flex-direction: column;
    flex-flow: column-reverse;
    gap: 20px;
  }

  .photo {
    width: 500px;
  }
}