@font-face {
    font-family: 'FixelText';
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(fonts/FixelText-Regular.woff2) format('woff2');
}
  
@font-face {
    font-family: 'FixelText';
    font-style: normal;
    font-display: swap;
    font-weight: 600;
    src: url(fonts/FixelText-SemiBold.woff2) format('woff2');
}
  
@font-face {
    font-family: 'FixelText';
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url(fonts/FixelText-Bold.woff2) format('woff2');
}
  
@font-face {
    font-family: 'FixelText';
    font-style: normal;
    font-display: swap;
    font-weight: 800;
    src: url(fonts/FixelText-ExtraBold.woff2) format('woff2');
}
  
body {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FBFC;
    text-align: center;
    padding: 15px 15px 50px;
    font-family: FixelText;
    overflow: hidden;
}


@media (min-width: 767.98px) {
    body {
        padding: 15px;
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


/* - - - - - LOGO STYLES - - - - - */

.printerhub-logo {
    height: 44px;
    margin-bottom: 70px;
    animation: 1s .2s logo-appear ease 1 normal;
    animation-fill-mode: both;
}

@media (min-width: 767.98px) {
    .printerhub-logo {
        height: 70px;
        margin-bottom: 70px;
    }
}

@keyframes logo-appear {
    12% { 
        opacity: 0;
        transform: translate3d(0px, 50px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        filter: blur(8px); 
    }
    100% {
        opacity: 1;
        transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        filter: blur(0px);
    }
}

/* - - - - - TITLE STYLES - - - - - */


.title-wrapper {
    position: relative;
    width: 100%;
}

h1 {
    font-weight: 800;
    font-family: FixelText;
    font-size: 56px;
    line-height: 60px;
    animation: 1s 1s title-appear ease 1 normal;
    animation-fill-mode: both;
}

@media (min-width: 767.98px) {
    h1 {
        font-size: 140px;
        line-height: 140px;
    }
}

@keyframes title-appear {
    0% { 
        opacity: 0;
        transform: translate3d(0px, 50px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        filter: blur(8px); 
    }
    100% {
        opacity: 1;
        transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        filter: blur(0px);
    }
}

h1#highlighted-word {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    height: 60px;
}

@media (min-width: 767.98px) {
    h1#highlighted-word {
        display: inline;
        height: 160px;
    }    
}

.coming-soon-badge {
    position: absolute;
    right: -8px;
    top: -60px;
    height: 70px;
    width: 70px;
    z-index: -1;
    animation: .8s 4s badge-appear ease 1 normal;
    animation-fill-mode: both;
}

@keyframes badge-appear {
    0% { 
        opacity: 0;
        scale: 0.8;
        transform-style: preserve-3d;
        filter: blur(8px); 
    }
    60% {
        scale: 1.2
    }
    100% {
        opacity: 1;
        scale: 1;
        transform-style: preserve-3d;
        filter: blur(0px);
    }
}

@media (min-width: 767.98px) {
    .coming-soon-badge {
        height: 110px;
        width: 110px;
        position: absolute;
        top: unset;
        right: unset;
        left: 95%;
        bottom: 60%;
    }
}

@media (min-width: 1023.98px) {
    .coming-soon-badge {
        height: 110px;
        width: 110px;
        position: absolute;
        left: 100%;
        bottom: 20%;
    }
}


/* - - - - - SELECT CIRCLES STYLES - - - - - */


.select-word__wrapper {
    margin: 20px auto 70px;
    display: flex;
    gap: 16px;
    align-items: center;
    animation: .7s 1.7s title-appear ease 1 normal;
    animation-fill-mode: both;
}

.select-word {
    color: white;
    width: 16px;
    font-size: 10px;
    line-height: 16px;
    border-radius: 50%;
    transition: transform .7s;
}

.select-word-cyan {
    background: #21B4FD;
}

.select-word-magenta {
    background: #EB1BD6;
}

.select-word-yellow {
    background: #FFC700;
}

.select-word-black {
    background: #0F1013;
}

.select-word.active {
    height: 22px;
    width: 22px;
    font-size: 14px;
    line-height: 22px;
    font-family: FixelText;
    transform: scale(1.4);
}


/* - - - - - FORM STYLES - - - - - */

form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    animation: .5s 2.2s form-appear ease 1 normal;
    animation-fill-mode: both;
}

@keyframes form-appear {
    0% { 
        opacity: 0;
        transform: translate3d(0px, 50px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        filter: blur(8px); 
    }
    100% {
        opacity: 1;
        transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        filter: blur(0px);
    }
}

form input[type=email] {
    padding: 24px;
    height: 56px;
    width: 100%;
    background: #F3F3F5;
    border: 2px solid #C0C0C2;
    border-radius: 60px;
    outline: none;
}

form input[type=email]::placeholder {
    color: black;
    font-size: 18px;
}

form input[type=submit] {
    width: 100%;
    background: #0F1013;
    color: white;
    height: 56px;
    padding: 0 30px;
    border-radius: 30px;
    font-size: 18px;
    font-family: FixelText;
    transition: all 0.4s ease-out;
}

form input[type=submit]:hover {
    background: #257DE2;
}

@media (min-width: 767.98px) {
    form {
        background: #F3F3F5;
        height: 74px;
        max-width: 600px;
        border: 2px solid #C0C0C2;
        border-radius: 60px;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 7px;
    }
    
    form input[type=email] {
        padding: 24px;
        height: 100%;
        width: 100%;
        border: none;
        background: transparent;
    }
    
    form input[type=email]::placeholder {
        color: black;
        font-size: 18px;
    }
    
    form input[type=submit] {
        background: #0F1013;
        color: white;
        height: 60px;
        width: 230px;
        padding: 0 30px;
        border-radius: 30px;
        font-size: 18px;
        font-weight: 800;
        font-family: FixelText;
    }    
}


/* - - - - - POPUP STYLES - - - - - */

#popup-back {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #e1e1e1cc;
    backdrop-filter: blur(8px); 
    align-items: center;
    justify-content: center;
    display: none;
    transition: all 0.4s ease-out;
}

.popup {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 30px 70px;
    border-radius: 16px;
    width: 90%;
    max-width: 570px;
}

.star-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 58px;
}

.star {
    height: 50px;
    width: 50px;
}

.rays {
    position: absolute;
    height: 40px;
    width: 58px;
    top: 5px;
    right: 0; 
    bottom: 0;
    left: 0;
    animation: scale-rays 1s ease infinite normal;
    animation-fill-mode: both;
}

@keyframes scale-rays {
    0% { transform: scale(1.2) }
    100% { transform: scale(1) }
}

.popup-text {
    font-family: FixelText;
    font-size: 24px;
    background: linear-gradient(89.17deg, #00A1FC 0.08%, #13C6FF 56.71%, #749BFF 108.42%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 30px;
}


/* - - - - - OTHER STYLES - - - - - */

@media (min-width: 767.98px) {
    .hidden-desktop {
        display: none !important;
    }
}
