
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}


body {
    font-family: "forma-djr-deck", sans-serif;
    font-weight: 500;
    font-style: normal;

    background: white;

    overflow: hidden;
}


.portfolio-page {
    position: relative;

    width: 100vw;
    height: 100vh;

    background: white;

    overflow: hidden;

    transition: background-color 0.25s ease;
}


.progress-text {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 2;

    font-size: clamp(46px, 5vw, 90px);
    font-weight: 500;

    line-height: 0.67;
    letter-spacing: 0;

    color: #202020;

    text-align: left;

    width: max-content;

    cursor: pointer;
    user-select: none;
}

/* HOVER */

.progress-text:hover {
    opacity: 0.6;
}


.portfolio-title {
    position: absolute;

    right: 1vw;
    bottom: 1vh;

    z-index: 3;

    font-family: "forma-djr-deck", sans-serif;

    font-size: clamp(90px, 10vw, 170px);
    font-weight: 500;

    line-height: 1;
    letter-spacing: 0.1;

    color: rgba(32, 32, 32, 0.5);

    cursor: grab;

    user-select: none;
    touch-action: none;

    white-space: nowrap;
}

/* WHILE DRAGGING */

.portfolio-title.dragging {
    cursor: grabbing;
}



.portfolio-page.inverted {
    background: #202020;
}

.portfolio-page.inverted .progress-text {
    color: white;
}

.portfolio-page.inverted .portfolio-title {
    color: rgba(255, 255, 255, 0.5);
}


@media (max-width: 1024px) {

    .progress-text {
        font-size: clamp(36px, 6vw, 64px);
    }

    .portfolio-title {
        font-size: clamp(90px, 14vw, 150px);
    }
}


@media (max-width: 700px) {
  .progress-text {
    font-size: 8vw;

    width: max-content;

    text-align: left;
  }

  .portfolio-title {
    font-size: 22vw;

    right: 2vw;
    bottom: 2vw;

    line-height: 1;

    letter-spacing: 0;

    white-space: nowrap;
  }
}


    @media (max-width: 420px) {

        .progress-text {
            font-size: 7.5vw;
        }

        .portfolio-title {
            font-size: 24vw;
        }
    }