@font-face {
    font-family: "Digital";
    src: url("./fonts/digital-7.ttf");
    font-weight: 700;
}

#desktopNavigation {
    background: rgba(10, 10, 10, 0.9)
}


#textCanvas {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-77.5%, -38%)scale(1.3);
    pointer-events: none;
    filter: drop-shadow(2px 2px 120px var(--redcolor))
}


#hiddenMessage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-100%, -20%)scale(1.3);
    letter-spacing: 1.5px;
    pointer-events: none;
    transition: ease;
    font-size: 3.14rem !important;
    color: var(--redcolor);
    font-family: 'Univia';
    filter: drop-shadow(2px 2px 120px var(--redcolor));
    /* animation-name: textFlow;
  animation-duration: 0.15s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-delay: 0s; */
}

#hiddenMessage span {
    transition: ease;
}


#creativeHero {
    position: relative;
    z-index: 500;
    align-content: center;
    min-height: 100vh;
    margin-bottom: 128vh;
}

#creativeHeroMessage {
    transition: ease;
    /* padding-bottom: 4rem;
    padding-left: 4rem;
    margin-left: -4rem;
    border-radius: 2rem 0px 0px 0px; */
}

.creativeHeroTitle {
    font-size: 2.5rem;
    line-height: 3rem;
    color: white;
    margin-bottom: 0.25rem;
    font-family: 'Univia';
    position: relative;
    z-index: 400;
}


#creativeMain {
    background-image: url("./assets/creat1.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: ease;
    overflow: hidden;

}


.creativeHeroTitle span {
    color: var(--redcolor);
}

.creativeHeroTooltip {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: white;
    font-family: 'UniviaRegular';
    position: relative;
    font-weight: 800;
    z-index: 400;
}

#clockMain {
    transition: ease;
    /* position: fixed;
    transform: translate(-75%,50%)scale(0.66); */
}

.clockRow {
    transform: translateY(-2rem);
}


#videoFader {
    z-index: 100;
    transform: translateY(-64px);
    background: linear-gradient(0deg, rgba(17, 216, 133, 0) 66%, rgb(0, 0, 0) 95%);
    display: none;
}

.imagesFader {
    background: linear-gradient(0deg, rgba(17, 216, 133, 0) 66%, var(--redcolor) 95%);
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 300;
    transform: translateY(-64px);
}

#spaces {
    padding-top: 12rem;
    padding-bottom: 12rem;
    min-height: 100vh;
    overflow: hidden;
}

#spaces h2,
#textEffect {
    font-size: 4.5rem;
    line-height: 5rem;
    color: white;
    letter-spacing: 0.5x;
    padding-top: 6rem;
    font-family: 'Univia';
    position: relative;
    z-index: 400;
    text-align: center;
    transition: ease;
    opacity: 0;
    filter: drop-shadow(2px 2px 64px var(--redcolor))
}


#textEffect {
    color: var(--redcolor);
    margin-top: -256px;
    filter: opacity(95%)grayscale(25%)blur(16px)drop-shadow(4px 4px 256px var(--redcolor));
    font-size: 5rem;
    transition: ease;

}

#webTitle {
    font-size: 4.75rem;
    line-height: 12rem;
    color: var(--redcolor);
    letter-spacing: -4px;
    padding-top: 6rem;
    font-family: 'Univia';
    transform: translateY(16px);
    position: relative;
    z-index: 400;
    text-align: center;
    transition: ease;
    /* text-shadow: 2px 2px 64px black; */
    /* filter: drop-shadow(2px 2px 96px var(--redcolor)); */
    opacity: 66.6%;

}

#webTitle span {
    color: white;
}

#simpleMessage span {
    color: var(--redcolor);
    transition: ease;
}


#imageBomb {
    box-shadow: -64px -128px 256px 2px rgba(0, 0, 0, 1);
    width: 100%;
    height: 100%;
    background-color: black;
    transition: ease;
    /* background: radial-gradient(circle, rgba(248, 79, 37, 0.1) 0%, rgba(1, 1, 1, 1) 50%); */
    transform-origin: center;
}

#imagesWrap img {
    width: 100%;
    border-radius: 4px;
    transition: ease;
    position: relative;
    z-index: 100;
}


#elfinFrame {
    transform-origin: center center;
    transform: scale(0.8)translateY(-256px);
    /* box-shadow: 2px 2px 128px 4px var(--redcolor) */
}

#tundiFrame {
    transform-origin: center;
    transform: scale(0.8)translateY(-256px);
    /* box-shadow: 2px 2px 256px 4px #651f0e; */
}

#thirdLine {
    transform-origin: center;
}

#secondLine {
    transform-origin: center center;
}


#firstLine {
    border-radius: 16px;
    box-shadow: 2px 2px 128px 4px rgb(3, 3, 3);
}

#imagesWrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19vw, 1fr));
    gap: 1rem;
    filter: grayscale(0%)hue-rotate(var(--hueneg));
    /* overflow: hidden; */
}


#imagesTitle {
    position: absolute;
    font-size: 5rem;
    line-height: 5.25rem;
    color: rgb(0, 0, 0);
    letter-spacing: 0.5px;
    padding-top: 6rem;
    font-family: 'Univia';
    width: 100%;
    z-index: 400;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contrast {
    color: var(--redcolor);
    text-shadow: 2px 2px 32px rgb(255, 255, 255);
}

#colorWord {
    text-shadow: 2px 2px 32px rgb(0, 0, 0);
}

#imagesMessage {
    color: white;
    /* box-shadow: 2px 2px 64px 4px black; */
    text-shadow: 2px 2px 32px black;
    /* background-color: rgba(0, 0, 0, 0.85); */
    border-radius: 4px;
    padding: 2.75rem;
    transform: translateY(56px);
    transition: ease;
    backdrop-filter: grayscale(100%);
    /* text-shadow: 24px 24px 1px rgb(0, 0, 0); */
}





#videos {
    padding-top: 16vh;
    padding-bottom: 24vh;
    /* background: linear-gradient(90deg, rgb(0, 0, 0) 66%, rgba(0, 0, 0, 0.1) 95%);
    background: black; */
    background: radial-gradient(circle, rgba(248, 79, 37, 0.1) 0%, rgba(1, 1, 1, 1) 40%);
    background-size: 100%;
    box-shadow: 2px 2px 256px 4px black;
}

#videos img {
    width: 100%;
}

#videos h2 {
    font-size: 8rem;
    line-height: 10rem;
    color: rgba(206, 87, 87, 0.33);
    letter-spacing: 0.5px;
    padding-top: 6rem;
    font-family: 'Univia';
    transform: translateY(-640px);
    position: relative;
    z-index: 100;
    text-align: center;
    transition: ease;
    filter: drop-shadow(2px 2px 184px var(--redcolor));
    opacity: 75%;
    text-shadow: 1px 1px 2px var(--redcolor);
    display: none;
}

.servicesElement {
    margin: 1rem;
    align-content: flex-end;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.servicesTitles {
    font-size: 3rem;
    line-height: 4rem;
    color: var(--redcolor);
    letter-spacing: 0.5px;
    padding-top: 1rem;
    font-family: 'Univia';
    position: relative;
    z-index: 100;
    text-align: center;
    transition: ease;
    /* filter: drop-shadow(2px 2px 184px var(--redcolor)); */
    opacity: 100%;
    /* text-shadow: 1px 1px 2px var(--redcolor) */
}

#videosTooltip {
    text-align: center;
    color: grey;
    font-family: 'Univia';
    font-size: 4rem;
    transform: translateY(6rem);
}

#videosTooltip span {
    color: white;
}

.adImage {
    /* filter: grayscale(0%)hue-rotate(var(--hueneg)); */
    border-radius: 8px;
}

.creativeHeroTexts {
    transform: translate(0, 48px);
}

#counterWrapper {
    display: flex;
    position: absolute;
    text-align: center;
    transform: translate(32.3vw, -67vh);
}

#timerCounter {
    font-family: 'Digital';
    color: white;
    font-size: 4.5rem;
    transform: translateY(1rem);
    opacity: 100%;
    color: var(--redcolor);
    display: flex;
    width: max-content;
}


#summary {
    padding-top: 16rem;
    padding-bottom: 12rem;
    backdrop-filter: grayscale(100%);
    background-image: url("./assets/bback2.png");
    background-size: 100%;
    background-repeat: no-repeat;
    min-height: 100vh;
    opacity: 100%;
    transition: ease;
}

.summaryTitle {
    font-family: 'Univia';
    color: var(--redcolor);
    font-size: 4rem;
    line-height: 3.75rem;
}

.summaryTitle span {
    color: rgb(255, 255, 255);
}

.summaryTooltip {
    color: white;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}


.summaryTooltip span {
    color: var(--redcolor);
}

.summaryTexts {
    transform: translateY(-64px);
    opacity: 100% !important;
    transition: ease;

}

#textMirror {
    transform: rotateX(180deg)translate(0rem, -2rem);
    opacity: 25%;
    filter: blur(0px);
    display: none
}

.creativeContact {
    /* background: linear-gradient(0deg, rgba(17, 216, 133, 0) 66%, rgb(0, 0, 0) 95%); */
    backdrop-filter: grayscale(100%);
}



@media screen and (max-width: 1440px) {
    #imagesWrap {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(18vw, 1fr));
        gap: 1rem;
    }

    #hiddenMessage {
        font-size: 2rem !important;
    }

    #summary {
        padding-top: 8rem;
    }

}


@media screen and (max-width: 991px) {
    #creativeHero {
        align-content: unset;
        padding-top: 10vh;
        margin-bottom: 10vh;
    }

    #creativeMain {
        transition: linear 0.3s;
    }

    .creativeHeroTexts {
        padding-top: 30vh;
    }

    .creativeHeroTitle {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .servicesElement {
        margin: 0;
        margin-bottom: 4rem;
    }

    .aboutVideo {
        text-align: center;
        margin-left: 1rem;
    }

    #summary {
        padding-top: 30rem;
    }

    #hiddenMessage {
        position: relative;
        margin-bottom: 4rem;
        text-align: left;
        margin-left: 0.5rem;
        left: 0;
    }

    .designRow {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #textCanvas {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    #clockMain {
        transition: ease;
        position: fixed;
        transform: translate(-6%, -160px)scale(1);
    }

    #hiddenMessage {
        font-size: 1.5rem !important;
        transform: translate(0, 0)scale(1);
    }

    #textCanvas {
        left: 66%;
        top: 35%;
    }

    .creativeHeroTexts {
        padding-top: 4vh;
    }

    .creativeHeroTitle {
        font-size: 1.5rem;
        padding-top: 8.5rem;
        line-height: 2rem;
    }

    #creativeMain {
        padding-top: 33vh;
    }

    #timerCounter {
        transform: translateY(9rem);
        font-size: 3rem;
    }

    #imagesWrap {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(26vw, 1fr));
        gap: 1.25rem;
    }

    #spaces {
        padding-top: 2rem;
    }

    #spaces h2 {
        font-size: 3rem;
        line-height: 3rem;
        padding-top: 0rem;
    }

    #videoFader {
        top: 0;
    }

    #tundiFrame {
        display: none;
    }

    #elfinFrame {
        display: none;
    }

    #textEffect {
        display: none;
    }

    #secondLine {
        margin-left: 1rem;
    }

    #imagesTitle {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    #imagesMessage {
        padding: 1rem;
        margin-top: -256px;
    }

    #webTitle {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .servicesElement {
        margin: 0;
        margin-bottom: 2rem;
    }

    .aboutVideo {
        margin-left: 1rem;
    }

    #summary {
        padding-top: 16rem;
    }
}





@keyframes textFlow {
    0% {
        transform: translate(-100%, -20%)scale(1.3);
        opacity: 0%;
    }

    75% {
        transform: translate(-100%, -20%)scale(1.33);
        opacity: 0%;
    }

    100% {
        transform: translate(-100%, -20%)scale(1.3);
        opacity: 100%;

    }
}