
html, body { height: 100% }

body {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;

    background-color: #000;
    color: #fff;
    font-family: 'Bricolage Grotesque', sans-serif;

    --max-width: 800px;
    
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: 'Young Serif', serif;
}

p {
    margin: 0;
}

header {

    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 1rem;
    z-index: 2;

    img {
        height: 24rem;
        margin: -9.5rem;
    }

    .title {
        display: flex;
        flex-direction: column;
        h1 {
            font-size: 3.5rem;
            letter-spacing: -5%;
        }
        p { margin-top: -.5rem }

    }
    

}

.hero {

    position: relative;
    width: 100%;
    max-height: 600px;
    margin-bottom: -8rem;

    .credits {
        position: absolute;
        top: 0;
        right: 0;
        font-size: .8rem;
        color: #fff5;
        padding: .5rem;
        max-width: 180px;
        text-align: end;
    }

    video {
        width: 100%;
        height: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        z-index: -1;
        pointer-events: none;
    }

    &::before {
        
        content: '';

        position: absolute;
        width: 100%;
        height: 100%;

        background-image: linear-gradient(#0000, #000);

    }

}

.cta {
    
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: 2rem;

    padding-bottom: 8rem;
    margin-bottom: -6rem;

    width: calc(100% - 4rem);
    max-width: 500px;

    text-align: center;

    &::before {
        content: '';

        position: absolute;
        width: 100%;
        height: 100%;
        opacity: .5;

        background-image: linear-gradient(#e6326400 0%, #e63264 80%, #e6326400 100%);
        clip-path: polygon(0 0, 10% 100%, 90% 100%, 100% 0);

    }

    > * { z-index: 1 }

    h1 {
        letter-spacing: -7%;
        text-shadow: 0 0 1rem #fff8;
        font-size: 3rem;
        line-height: 3rem;
    }

    p { color: #fffb }
    

}

.benefits {

    display: flex;
    gap: .5rem;
    padding: 0 1rem;
    max-width: 1500px;
    z-index: 1;

    > div {

        position: relative;
        overflow: hidden;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-grow: 1;

        padding: 4rem 2rem;
        border-radius: .5rem;
        border: 2px solid #fff3;

        background-size: cover;
        background-position: center;

        &:nth-child(1) { background-image: linear-gradient(#0008, #0008), url('assets/benefit1.png') }
        &:nth-child(2) { background-image: linear-gradient(#0008, #0008), url('assets/benefit2.png') }
        &:nth-child(3) { background-image: linear-gradient(#0008, #0008), url('assets/benefit3.png') }

        h2 {
            font-size: 2rem;
        }

        .sub {
            color: #fff8;
        }
        
    }

    @media (max-width: 800px) {
        flex-direction: column;
    }
    
}

.btn {

    font-size: 1.8rem;
    font-weight: bold;
    
    padding: .75rem 2rem;
    border-radius: 1rem;
    margin: 1rem 0 .5rem 0;

    border: 2px solid #fff3;
    background-image: linear-gradient(#fff4, #fff0);
    background-color: #e63264;

    text-decoration: none;
    color: inherit;

}

.hint {
    font-size: .9rem;
    color: #fff8;
}