/* Resume modal, shared by every page (base layout and standalone project pages) */

.resume-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-family: var(--font-main);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0;
}

.resume-btn:hover {
  color: var(--text-main);
}

.resume-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 50%);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.resume-modal.open {
  display: flex;
}

.resume-modal-content {
  position: relative;
  width: 90%;
  height: 90vh;
  max-width: 900px;
  padding: 16px;
  background-color: #f3eeea;
  border: 1px solid var(--color-creme);
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 14px 36px rgb(0 0 0 / 20%);
}

.resume-modal-close {
  position: absolute;
  top: -18px;
  right: -24px;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid var(--color-creme);
  border-radius: 999px;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-main);
  z-index: 1002;
  transition: color 0.2s ease;
}

.resume-modal-close:hover {
  color: var(--color-cinna);
}

.resume-pdf-shell {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    #fff 0,
    #fff calc(100% - 18px),
    var(--color-chai) calc(100% - 18px),
    var(--color-chai) 100%
  );
  border: 1px solid #e6dfda;
  border-radius: 8px;
  padding-right: 18px;
  overflow: hidden;
}

.resume-pdf {
  width: calc(100% + 18px);
  height: 100%;
  border: 0;
}
