@font-face {
    font-family: "Inter";
    src: url("./fonts/Inter.ttf");
    font-weight: 700;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Black.ttf");
    font-weight: 500;
}


@font-face {
    font-family: "Zachian";
    src: url("./fonts/Zachian.ttf");
    font-weight: 500;
}

@font-face {
    font-family: "Codec";
    src: url("./fonts/CodecPro-Regular.ttf");
    font-weight: 500;
}

@font-face {
    font-family: "GtSuper";
    src: url("./fonts/GT-Super.otf");
    font-weight: 700;
}

@font-face {
    font-family: "NeueMachina";
    src: url("./fonts/NeueMachina-Regular.otf");
    font-weight: 700;
}


#videoFrame {
    filter: grayscale(100%);
    opacity: 20% !important;
}


.row img {
    width: 100%;
    border-radius: 0.5rem;
}


#blogPostMain {
    background: none;
    overflow: hidden;
}

#blogPostMain h3 {
    font-size: 2.5rem;
    line-height: 2.5rem;
}

.blogPostElement {
    padding: 3rem;
    /* background-color: rgba(2,2,2,0.9); */
    border: solid 2px black;

}


.blogFontBackgrounds {

    opacity: 90%;
    padding-bottom: 10vh;
    padding-top: 25vh;
}


#fontBackOne {
    background-image: url("./assets/font1.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: black;
    transition: ease;
    margin-top: 25vh;
    box-shadow: 64px 2px 64px 2px var(--redcolor);
    border-radius: 2% 0 0 2%;
    margin-bottom: 100vh;
}

#fontBackTwo {
    background-image: url("./assets/font2.jpg");
    background-size: 100%;
    transition: ease;
    /* border-bottom: solid 2px rgb(53, 53, 53); */
}

#fontBackThree {
    background-image: url("./assets/font3.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: black;
    transition: ease;
    border-bottom: solid 2px black;
    width: 100%;
    padding-bottom: 20vh;
}


#fontBackFour {
    transition: ease;
}

#fontBackFive {
    background-image: url("./assets/fivebg1.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: black;
    transition: ease;
    padding-bottom: 20vh;
    position: relative;
    z-index: 33;
}

#fontBackSix {
    transition: ease;
    background: linear-gradient(0deg, rgba(248, 79, 37, 0) 0%, rgba(1, 1, 1, 1) 50%);
    width: 100%;
    /* border-top: solid 1px var(--redcolor); */
    margin-top: 0rem;
    backdrop-filter: grayscale(100%);
    position: relative;
    z-index: 35;
    overflow: hidden;
}


#fontBackSeparator {
    height: 384px;
    display: flex;
    align-items: center;
}

#animatedText {
    font-family: 'Univia';
    font-size: 12rem;
    display: flex;
    perspective: 1000px;
    transform: translateX(-20vw);
    transition: ease;
    opacity: 66%;
}


.animatedLetters {
    opacity: 0;
    transform:
        translateX(30%) rotateY(90deg);
    transform-origin: left center;
    will-change: transform, opacity;
    color:var(--redcolor);    
}


#blogPost {
    position: relative;
    z-index: 220;
    transition: ease;
    /* box-shadow: 2px 2px 64px 2px var(--redcolor); */
    transform-origin: center;
}

#blogPostHero {
    background-image: url("./assets/free5.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    display: flex;
    border-bottom: solid 2px black;
    overflow: hidden;
    padding-top: 0;
    margin-bottom: 25vh;
    z-index: 100;
    position: fixed;
}

.alphabetLines {
    color: white;
    font-size: 2rem;
    font-family: 'Univia';
    letter-spacing: 1rem;
    opacity: 100%;
    text-align: right;
}

.alphabet {
    padding-top: 1rem;
    position: relative;

}

#blogPostTeaser {
    width: 100%;
    position: relative;
}

.blogPostText {
    margin-bottom: 0rem;
}

.blogPostColumn {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.fontsHeroText {
    margin-bottom: 1.5rem;
    margin-top: -1.5rem;
    border-radius: 0.5rem;
    padding-bottom: 0.5rem;
    padding-top: 0.25rem;
    font-weight: 700;
    font-family: 'UniviaRegular';
}

h1 {
    position: relative;
    z-index: 200;
    /* filter: drop-shadow(2px 2px 4px var(--redcolor));
    text-shadow: 2px 2px 4px var(--redcolor); */
    color: var(--redcolor) !important;
}

#blogSeparator {
    min-height: 115vh;
    position: relative;
}

#blogPostBorder {
    height: 106.66%;
    position: absolute;
    width: 5%;
    border: solid 4px var(--redcolor);
    border-right: none;
    border-top: none;
    transform: translate(-2.5rem, -3.5rem);
    border-radius: 0rem 0 0 0.5rem;
}



#blogPostSubTitle {
    font-family: 'Univia';
}


#alphabetMirror {
    position: absolute;
    transform: translate(5.5rem, -1.5rem)scale(1);
    text-align: right;
}

#alphabetMirror div {
    color: rgba(1, 1, 1, 0);
    border-bottom: solid 2px white;
    opacity: 100%;
    filter: blur(4px);
    display: none;
}


#blogPostMainTitle,
#blogPostSubTitle {
    animation-name: fonts;
    animation-duration: 40s;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

.alphabetLines {
    animation-name: alphabet;
    animation-duration: 40s;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}


.blogLines {
    margin-bottom: 2rem;
}






#blogContactContainer {
    position: relative;
    z-index: 200;
    padding-top: 24vh;
}




.rightSwipe {
    transform: translateX(64px);
    opacity: 0;
}

.leftSwipe {
    transform: translateX(-96px);
    opacity: 0;
}


.fontTextsLeft {
}

.transitionOut {
    transition: ease-out;
}

#fixedLogo {
    transition: ease;
    position: relative;
    z-index: 50;
}

#fixedLogo img {
    
}



@media screen and (max-width: 1280px) {
    #fontHeroRow {
        justify-content: space-evenly;
    }

    .fontsHeroText {
        font-weight: 500;
    }
}



@media screen and (max-width: 992px) {

    #fontBackSeparator {
        transform: translateX(-20vw);
        font-size: 8rem;
    }


}




@media screen and (max-width: 576px) {
    #blogPostHero {
        position: relative;
        padding-top: 50vh;
        background-size: 300%;
        background-position-x: -100vw;
    }
    #blogSeparator {
        display: none;
    }
    .alphabetLines {
        font-size: 1.25rem;
        text-align: left;
    }
    #animatedText {
        font-size: 4rem;
    }
    #fontBackSeparator {
        transform: translateX(-15vw);
    }
    .blogFontBackgrounds {
        padding-top: 55vh;
        background-size: 200%;
        background-position-x: -100%;
    }


}


@keyframes fonts {
    0% {
        font-family: 'Univia';
        --step: 0;
    }

    12% {
        letter-spacing: 0rem;
        font-family: 'Univia';
        opacity: 100%;
        --step: 0;
    }

    13% {
        letter-spacing: -20px;
        font-family: 'Inter';
        opacity: 0%;
        --step: 1;

    }

    14% {
        opacity: 100%;
        letter-spacing: 0rem;
    }




    26% {
        letter-spacing: 0rem;
        font-family: 'Inter';
        opacity: 100%;
        --step: 1;
    }

    27% {
        letter-spacing: -20px;
        font-family: 'Montserrat';
        opacity: 0%;
        --step: 2;

    }

    28% {
        opacity: 100%;
        letter-spacing: 0rem;
    }





    40% {
        letter-spacing: 0rem;
        font-family: 'Montserrat';
        opacity: 100%;
        --step: 2;
    }

    41% {
        letter-spacing: -20px;
        font-family: 'Zachian';
        opacity: 0%;
        --step: 3;

    }

    42% {
        opacity: 100%;
        letter-spacing: 0rem;
    }



    54% {
        letter-spacing: 0rem;
        font-family: 'Zachian';
        opacity: 100%;
        --step: 3;
    }

    55% {
        letter-spacing: -20px;
        font-family: 'Codec';
        opacity: 0%;
        --step: 4;

    }

    56% {
        opacity: 100%;
        letter-spacing: -2px;
    }


    68% {
        letter-spacing: -2px;
        font-family: 'Codec';
        opacity: 100%;
        --step: 4;
    }

    69% {
        letter-spacing: -20px;
        font-family: 'GtSuper';
        opacity: 0%;
        --step: 5;

    }

    70% {
        opacity: 100%;
        letter-spacing: 0rem;
    }




    82% {
        letter-spacing: 0rem;
        font-family: 'GtSuper';
        opacity: 100%;
        --step: 5;
    }

    83% {
        letter-spacing: -30px;
        font-family: 'NeueMachina';
        opacity: 0%;
        --step: 6;

    }

    84% {
        letter-spacing: 0px;
        opacity: 100%;

    }




    96% {
        letter-spacing: 0rem;
        font-family: 'NeueMachina';
        opacity: 100%;
        --step: 6;
    }

    97% {
        letter-spacing: -20px;
        font-family: 'Univia';
        opacity: 0%;
        --step: 0;

    }

    98% {
        opacity: 100%;
        letter-spacing: 0rem;
        font-family: 'Univia';
    }

    100% {
        opacity: 100%;
        letter-spacing: 0rem;
        font-family: 'Univia';
    }



}

@keyframes alphabet {
    0% {
        font-family: 'Univia';
        --step: 0;
        transform: rotateY(0deg);
    }

    12% {
        letter-spacing: 1rem;
        font-family: 'Univia';
        opacity: 100%;
        --step: 0;
    }

    13% {
        letter-spacing: -20px;
        font-family: 'Inter';
        opacity: 0%;
        --step: 1;

    }

    14% {
        opacity: 100%;
        letter-spacing: 1rem;
    }




    26% {
        letter-spacing: 1rem;
        font-family: 'Inter';
        opacity: 100%;
        --step: 1;
    }

    27% {
        letter-spacing: -20px;
        font-family: 'Montserrat';
        opacity: 0%;
        --step: 2;

    }

    28% {
        opacity: 100%;
        letter-spacing: 1rem;
    }





    40% {
        letter-spacing: 1rem;
        font-family: 'Montserrat';
        opacity: 100%;
        --step: 2;
    }

    41% {
        letter-spacing: -20px;
        font-family: 'Zachian';
        opacity: 0%;
        --step: 3;

    }

    42% {
        opacity: 100%;
        letter-spacing: 1rem;
    }



    54% {
        letter-spacing: 1rem;
        font-family: 'Zachian';
        opacity: 100%;
        --step: 3;
    }

    55% {
        letter-spacing: -20px;
        font-family: 'Codec';
        opacity: 0%;
        --step: 4;

    }

    56% {
        opacity: 100%;
        letter-spacing: 1rem;
    }


    68% {
        letter-spacing: 1rem;
        font-family: 'Codec';
        opacity: 100%;
        --step: 4;
    }

    69% {
        letter-spacing: -20px;
        font-family: 'GtSuper';
        opacity: 0%;
        --step: 5;

    }

    70% {
        opacity: 100%;
        letter-spacing: 1rem;
    }




    82% {
        letter-spacing: 1rem;
        font-family: 'GtSuper';
        opacity: 100%;
        --step: 5;
    }

    83% {
        letter-spacing: -20px;
        font-family: 'NeueMachina';
        opacity: 0%;
        --step: 6;

    }

    84% {
        letter-spacing: 1rem;
        opacity: 100%;

    }




    96% {
        letter-spacing: 1rem;
        font-family: 'NeueMachina';
        opacity: 100%;
        --step: 6;
    }

    97% {
        letter-spacing: -20px;
        font-family: 'Univia';
        opacity: 0%;
        --step: 0;

    }

    98% {
        opacity: 100%;
        letter-spacing: 1rem;
        font-family: 'Univia';
    }

    100% {
        opacity: 100%;
        letter-spacing: 1rem;
        font-family: 'Univia';
    }


}