/* Developer notes — staging cream card */

.notes {
  position: relative;
  background: #fff;
}

.back-to-top {
  position: absolute;
  inset: auto 22px 48px auto;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid #e0bb7f;
  border-radius: 100%;
  background-color: transparent;
  box-sizing: border-box;
  transition: background-color 0.2s;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background-color: #e0bb7f1a;
}

.back-to-top img {
  display: block;
  width: 22px;
  height: auto;
  max-width: 100%;
  transform: none;
}

.notes .container {
  display: flex;
  justify-content: center;
}

.developer-notes,
.notes__card {
  position: relative;
  background-color: #efe8dd;
  width: 928px;
  max-width: none;
  height: 457px;
  min-height: 0;
  margin: 0 auto;
  padding: 26px 36px;
  box-sizing: border-box;
}

.developer-quotes,
.notes__quotes {
  position: absolute;
  top: 42px;
  right: 50px;
  width: 101px;
  height: 100px;
  max-width: 100%;
  pointer-events: none;
}

.developer-logo,
.notes__logo {
  position: absolute;
  inset: auto 36px 54px auto;
  display: block;
  width: 118px;
  height: 76px;
  max-width: 100%;
  margin: 0;
  filter: none;
}

.developer-notes-content,
.notes__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 655px;
  max-width: none;
  align-items: flex-start;
}

.developer-notes-title,
.notes__title-block {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.notes__title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 46px;
  color: #121212;
  margin: 0;
}

.notes__divider {
  background-color: #e0bb7f;
  height: 3px;
  width: 100%;
}

.developer-notes-text,
.notes__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.developer-notes-text-content,
.notes__quote {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  line-height: 160%;
  color: #121212;
  margin: 0;
}

.developer-notes-text-team,
.notes__cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #121212;
}

@media screen and (max-width: 991px) {
  .notes__card {
    width: 100%;
    padding: 24px;
  }

  .notes__logo {
    inset: auto auto 16px 24px;
    width: 118px;
    max-width: 40vw;
  }

  .notes__quotes {
    width: 56px;
    max-width: 56px;
  }

  .notes__content {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .notes__card {
    width: 358px;
    max-width: none;
    height: 540px;
    min-height: 0;
    padding: 26px 16px;
  }

  .notes__quotes {
    top: 16px;
    right: 16px;
    width: 40px;
    max-width: 40px;
  }

  .notes__logo {
    inset: auto auto 16px 16px;
    width: 118px;
    height: 76px;
    max-width: 100%;
  }

  .notes__content {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .notes__title-block,
  .notes__title,
  .notes__divider,
  .notes__text,
  .notes__quote,
  .notes__cite {
    width: 100%;
  }

  .notes__title {
    font-size: 24px;
    line-height: 28.8px;
  }

  .notes__quote {
    font-size: 18px;
    line-height: 25.2px;
  }

  .notes__cite {
    font-size: 16px;
    line-height: 22.4px;
  }
}

@media screen and (max-width: 479px) {
  .notes__card {
    height: 540px;
    min-height: 0;
    padding: 26px 16px;
  }
}
