#project-modal-content {
  width: 100%;
  height: 100%;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: all 300ms ease;
}

.modal.visible {
  opacity: 1;
  display: block;
}

.modal .header {
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  transition: opacity 300ms ease;
}

.modal .header:hover {
  opacity: 0.75;
}

.modal .header img {
  width: 100%;
  height: 100%;
}

.modal .left-panel {
  background-repeat: no-repeat;
  background-size: cover;
  padding: 4rem 2.8rem;
}

.modal .left-panel::before {
  content: " ";
  position: absolute;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 15%,
      rgba(0, 0, 0, 0.7) 35%,
      rgba(0, 0, 0, 1) 89%);
}

.modal .right-panel {
  background-color: var(--text-color);
}

.modal .inner {
  z-index: 2;
}

.modal .title {
  text-align: left;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--text-color);
  font-weight: 600;
  /* margin: 0% 5% 0% 5%; */
  padding-bottom: 1rem;
  position: relative;
}

.modal .text_project p {
  padding: 0;
  font-size: 1.15rem;
  color: var(--text-color-gray);
  /* margin: 0% 5% 0% 5%; */
}

.modal .content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: var(--color-background);
}

.modal .content a {
  color: var(--color-primary);
}

.modal .content a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.modal .content h1 {
  font-size: 3rem;
}

.modal .content h2 {
  font-size: 2.5rem;
}

.modal .content h3 {
  font-size: 2rem;
}

.modal .content h4 {
  font-size: 1.5rem;
}

.modal .content h5 {
  font-size: 1.25rem;
}

.modal .content h1,
.modal .content h2,
.modal .content h3,
.modal .content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.modal .content h5,
.modal .content p {
  margin-bottom: 1rem;
}

.fluid-panel {
  overflow: auto;
  width: 100%;
  height: 100%;
  background: var(--text-color);
}

.modal .banner {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.modal .banner .title {
  font-size: 3rem;
}

.modal .banner .text_project p {
  font-size: 1.65rem;
  text-align: left;
  padding: 0 0rem;
}

.modal .banner--inner {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 800px;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  z-index: 1;
  position: relative;
}

.modal .banner::before {
  content: " ";
  position: absolute;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 15%,
      rgba(0, 0, 0, 0.7) 35%,
      rgba(0, 0, 0, 1) 89%);
}

.modal .content h1, .content h2, .content h3, .content h4, .modal .content p {
  padding: 0 10%;
  line-height: 1.75;
}

.modal .content h5 {
  padding: 0 10%;
  line-height: 1.75;
  font-weight: normal;
}

.modal .content hr {
  margin: 5% auto;
  width: 33%;
  border-color: rgb(161 161 161 / 20%)
}