main{
    min-height: 200rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hero{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

#hero-video{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero-video video{
    width: 100%;
    min-width: 144rem;
}

#hero-video img{
    width: 100%;
    min-width: 144rem;
}



.scanlines {
    position: relative;
    overflow: hidden;
  }
  
  .scanlines:before,
  .scanlines:after {
    display: block;
    pointer-events: none;
    content: '';
    position: absolute;
  }
  
  .scanlines:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 0.2rem;
    opacity: 0.75;
  }
  
  .scanlines:after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
  #crt-content {
    position: relative;
    overflow: hidden;
  }
  
  #crt-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    background: rgba(0, 0, 0, 0.25);
    animation: scan-moving 8s linear infinite;
  }
  
  #crt-content:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(44, 36, 36, 0.25) 51%);
    background-size: 100% 0.6rem;
    animation: scan-crt 2s steps(90) infinite;
  }
  #tv-content {
    position: relative;
    overflow: hidden;
  }
  
  #tv-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20rem;
    background: rgba(0, 0, 0, 0.25);
    animation: scan-moving 8s linear infinite;
    z-index: 1;
  }
  
  #tv-content:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(44, 36, 36, 0.25) 51%);
    background-size: 100% 0.6rem;
    animation: scan-crt 2s steps(90) infinite;
  }
  
  @keyframes scan-moving {
    0% {
      transform: translate3d(0, 150vh, 0);
    }
    100% {
      transform: translate3d(0, -100vh, 0);
    }
  }
  
  @keyframes scan-crt {
    0% {
      background-position: 0 50%;
    }
    100% {
      background-position: 0 -50%;
    }
  }
  
  #hero-crt {
    position: relative;
    width: 100%;
    height: 60rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #hero-crt img {
    position: absolute;
    width: 80rem;
    max-width: 90%;
  }
  
  #hero-crt #crt-content {
    position: relative;
    width: 50rem;
    height: 40rem;
    padding-right: 12rem;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0A0F15;
  }
  
  #hero-crt #crt-content img {
    width: 10rem;
    height: auto;
  }
  


  #hero{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#hero-crt{
    height: 74vw;
    width: 70% !important;
}
#tv-content{
    display: flex !important;
    width: 103% !important;
    max-width: none !important;
    padding-right: 0 !important;
    background: #0A0F15 !important;
    margin-left: -3.4%;
    margin-top: 2%;
}
#tv-content video{
    width: 100% !important;
    height: 100% !important;
    filter: saturate(0.5) contrast(1.2) brightness(2);
}
#crt{
    width: 175% !important;
    max-width: none !important;
    z-index: 2;
}

@media (max-width: 960px) {
    #hero-text{
        filter: none !important;
        opacity: 1  !important;
        width: fit-content !important;
        margin: 0 auto !important;
        transform: none !important;
    }
}

#portfolio{
    width: 120rem;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#portfolio h1{ 
    z-index: 1;
    width: 100%;

    font-family: 'That-New-Pixel';
    font-style: normal;
    font-weight: 400;
    font-size: 12rem;
    line-height: 110%;
    text-align: left;
    margin: 0;
    /* identical to box height, or 188px */

    color: #F4F4F4;
    margin-bottom: 2rem;
}

#portfolio-container{
    z-index: 2;
    /* Frame 9333 */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: center;
    padding: 0px;

    width: 100%;
    gap: 4rem;

    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;

}

.portfolio-item{
    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 2rem;

    background: #20232660;
    border-radius: 2rem;

    text-emphasis: none;
    text-decoration: none;
    border: 0.1rem solid rgba(244, 244, 244, 0.3);
    transition: all 0.8s cubic-bezier(0, 0.77, 0.21, 1);
}

.portfolio-item-disabled{
    cursor: not-allowed;
    opacity: 0.5;
}

.portfolio-item:hover{
    background: #202326;
    border: 0.1rem solid rgba(244, 244, 244, 0.7);
}

.portfolio-item-short{
    width: calc(50% - 2rem);
}

.portfolio-img-wrap{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0, 0.77, 0.21, 1);
}

.portfolio-item:hover .portfolio-img-wrap{
    transform: scale(0.95);
    border-radius: 0.4rem;
}

.portfolio-img-wrap img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0, 0.77, 0.21, 1);
    will-change: transform, top, left;
}

.portfolio-item:hover .portfolio-img-wrap img{
    transform: scale(1.2);
}


.portfolio-item h2{
    /* FC Roskilde */

    font-family: 'That-New-Pixel';
    font-style: normal;
    font-weight: 400;
    margin: 0;
    font-size: 4.8rem;
    line-height: 100%;
    margin-top: 0.9rem;
    /* identical to box height, or 53px */

    color: #F4F4F4;

}

.portfolio-item-tags{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;


}

.portfolio-item-tags span{
    /* Frame 85 */

    box-sizing: border-box;

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.6rem;

    background: rgba(244, 244, 244, 0.12);
    border: 0.1rem solid rgba(244, 244, 244, 0.7);
    border-radius: 0.8rem;

    font-family: 'Mona-Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 2rem;
    line-height: 110%;
    /* or 23px */
    text-align: center;

    color: #F4F4F4;


    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;


}

#points{
    position: relative;
    z-index: 3;
    background: #F4F4F4;
    /* Use a pseudo-element for the background */
    &::before {
        content: '';
        position: absolute;
        top: 30rem; /* Offset by the margin-top value */
        left: 0;
        width: 100%;
        height: calc(100% - 30rem);
        background: #F4F4F4;
        z-index: -1;
    }
    width: 100%;
    min-height: 100rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    margin-top: -30rem;
    /* Remove the background from main element */
    background: none;

}

#points-wrapper{
    overflow: visible;
    width: 120rem;
    gap: 2rem;
    max-width: 90%;
    /* Frame 9329 */
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 13.3rem;
    flex-wrap: wrap;
}

#points-wrapper .scrollmagic-pin-spacer{
    width: 42% !important;
    min-width: 0 !important;
}

#points-title{
    position: relative;
    overflow: visible;
    clip-path: inset(0);
    max-width: 65rem;
    width: 100%;

    font-family: 'That-New-Pixel';
    font-style: normal;
    font-weight: 400;
    font-size: 8rem;
    line-height: 110%;
    text-align: left;
    margin: 0 !important;
    /* identical to box height, or 188px */

    color: #0A0F15;
    margin-bottom: 5rem;

    transform: translateX(-50px);
    filter: blur(10px);
    opacity: 0;
}

#points-container{
    /* Frame 9328 */

    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16rem;

    width: 51%;

}

.point{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
    /* Frame 9327 */

    transform: translateX(50px);
    filter: blur(10px);
    opacity: 0;
}

.point h1{
    font-family: 'That-New-Pixel';
    font-style: normal;
    font-weight: 400;
    font-size: 10rem;
    line-height: 120%;
    /* identical to box height, or 188px */

    color: #0A0F15;
    margin: 0;
    margin-top: -1rem;
}

.point-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3.2rem;
}

.point-content p{
    font-family: 'Mona-Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    line-height: 150%;
    /* or 26px */

    color: #515459;
    margin: 0;
}

.point-title{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    
}

.point-title h2{
    font-family: 'Mona-Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: expanded;
    font-size: 3.2rem;
    line-height: 110%;
    /* identical to box height, or 53px */

    color: #0A0F15;
    margin: 0;
}

.point-line{
    width: 100%;
    height: 0.15rem;
    background: #515459;
}

@media (max-width: 1400px) {
    #points-wrapper{
        width: 52rem !important;
        gap: 10rem;
    }
    #points-container{
        width: 100% !important;
        gap: 10rem !important;
    }
    .point{
        flex-direction: column !important;
    }
}

@media (max-width: 960px) {
    #hero-crt{
        transform: scale(2);
    }

    #portfolio{
        margin-top: 4rem !important;
    }

    #portfolio h1{
        font-size: 12rem;
        margin-bottom: 3rem;
    }

    #portfolio-container{
        flex-direction: column !important;
    }

    .portfolio-item-short{
        width: 100% !important;
    }

    #points-title{
        font-size: 6rem !important;
    }
    .point-content{
        gap: 2.4rem !important;
    }

    .point-title h2{
        font-size: 3.2rem !important;
    }
}

@media (max-width: 770px) {
    
    #hero-video video{
        min-width: 100rem !important;
    }
    #hero-video img{
        min-width: 100rem !important;
    }
    #hero-text{
        margin: 0;
    }
    #hero-text p{
        font-size: 1.6rem !important;
    }
    #portfolio{
        margin-top: -8rem !important;
    }
    #portfolio h1{
        font-size: 6rem;
        margin-bottom: 2rem;
    }
    #portfolio-container{
        gap: 2rem !important;
    }
    .portfolio-item-tags{
        gap: 0.8rem !important;
    }
    .portfolio-item-tag{
        font-size: 1.4rem !important;
        padding: 0.8rem 1.2rem !important;
    }
    .portfolio-item h2{
        font-size: 3.2rem !important;
    }
    .portfolio-item{
        padding: 1.2rem;
        gap: 1.2rem;
    }

    #points{
        margin-top: -44rem !important;
    }

    #points-wrapper {
        gap: 6rem !important;
    }

    #points-title{
        font-size: 5rem !important;
    }

    .point{
        gap: 1rem !important;
    }

    .point h1 {
        font-size: 8rem !important;
    }

    .point-title h2{
        font-size: 2.4rem !important;
    }

    .point-content p{
        font-size: 1.6rem !important;
    }

}