@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
:root {
    background-color: Black;
    background-image: url("BG.gif");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-size: 62.5%;
    --glitched-duration: 0.9s;
    --glitched-long-duration: 3s;
    --yellow-color: #f9f002;
    --orange-color: #ff9800;
    --border-color: #6ee6d4;
    --red-color: #ff003c;
    --blue-color: #136377;
    --green-color: #446d44;
    --purple-color: purple;

}

* {
    box-sizing: border-box;
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    padding: 0;
    color: #333;

}

h1,
h2,
h3,
h4 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 5.4rem;
    color: #fff;
    margin-bottom: 5rem;
    text-shadow: 2px 0 0 rgb(193, 0, 44), -2px 0 0 rgb(193, 0, 44), 0 2px 0 rgb(193, 0, 44), 0 -2px 0 rgb(193, 0, 44), 1px 1px rgb(193, 0, 44), -1px -1px 0 rgb(193, 0, 44), 1px -1px 0 rgb(193, 0, 44), -1px 1px 0 rgb(193, 0, 44);
}


h1 > span {
    font-size: 2.4rem;
    font-weight: 500;
}

h2 {
    font-size: 4.2rem;
    margin-bottom: 4rem;
    font-weight: 700;
    color: #fff;

    text-shadow: 2px 0 0 rgb(193, 0, 44), -2px 0 0 rgb(193, 0, 44), 0 2px 0 rgb(193, 0, 44), 0 -2px 0 rgb(193, 0, 44), 1px 1px rgb(193, 0, 44), -1px -1px 0 rgb(193, 0, 44), 1px -1px 0 rgb(193, 0, 44), -1px 1px 0 rgb(193, 0, 44);
    border: none;
    border-radius: 0%;
    /*line-height: 1.5rem;*/
    letter-spacing: 2px;
    padding: 35px 75px;
    position: relative;
    opacity: 1;
    border-right: 3px solid var(--border-color);
    clip-path: polygon(
            -15px 0%,
            calc(100% + 15px) 0%,
            calc(100% + 15px) 100%,
            20px 100%,
            -15px calc(100% - 35px)
    );
    cursor: pointer;
    background-color: #000000;
    outline: none;
    display: inline-block;
}

h3 {
    font-size: 2.8rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 5rem;
    text-shadow: 2px 0 0 rgb(193, 0, 44), -2px 0 0 rgb(193, 0, 44), 0 2px 0 rgb(193, 0, 44), 0 -2px 0 rgb(193, 0, 44), 1px 1px rgb(193, 0, 44), -1px -1px 0 rgb(193, 0, 44), 1px -1px 0 rgb(193, 0, 44), -1px 1px 0 rgb(193, 0, 44);
}

/*UTILITIES*/

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100rem;
    margin: 0 auto;
    padding: 2rem;
}

.container > * {
    width: 100%;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

/*BUTTONS*/

button.cyberpunk2077,
a.cyberpunk2077 {
    --background-color: var(--red-color);

    border: none;
    border-radius: 0%;
    font-size: 1.5rem;
    line-height: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 35px 75px;
    margin: 10px;
    position: relative;
    opacity: 0.8;
    color: #fff;
    border-right: 3px solid var(--border-color);
    clip-path: polygon(
            -15px 0%,
            calc(100% + 15px) 0%,
            calc(100% + 15px) 100%,
            20px 100%,
            -15px calc(100% - 35px)
    );
    cursor: pointer;
    background-color: var(--background-color);
    outline: none;
    display: inline-block;

}

button.cyberpunk2077:hover,
a.cyberpunk2077:hover,
button.cyberpunk2077:focus,
a.cyberpunk2077:focus {
    animation-name: buttonhover;
    animation-duration: var(--glitched-duration);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    opacity: 1;
    scale: 1.1;
}

button.cyberpunk2077.green,
a.cyberpunk2077.green {
    --background-color: var(--green-color);
}

button.cyberpunk2077.purple,
a.cyberpunk2077.purple {
    --background-color: var(--purple-color);
}

button.cyberpunk2077.blue,
a.cyberpunk2077.blue {
    --background-color: var(--blue-color);
}

button.cyberpunk2077:after,
a.cyberpunk2077:after {
    content: "R-25";
    display: block;
    position: absolute;
    bottom: 0px;
    right: 25px;
    padding: 2px 2px 0px 2px;
    font-size: 0.6rem;
    line-height: 0.6rem;
    color: #000;
    background-color: var(--yellow-color);
    border-left: 2px solid var(--border-color);
}

button.cyberpunk2077:hover:after,
a.cyberpunk2077:hover:after,
button.cyberpunk2077:focus:after,
a.cyberpunk2077:focus:after {
    animation-name: buttonhoverafter;
    animation-duration: var(--glitched-duration);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

button.cyberpunk2077:before,
a.cyberpunk2077:before {
    --outside: 4px;
    content: "";
    position: absolute;
    display: none;
    background-color: var(--background-color);
    width: calc(100% + (var(--outside) * 2));
    height: 12px;
    top: 0px;
    left: calc(0px - 1px - var(--outside));
    border-left: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
}

button.cyberpunk2077:hover:before,
a.cyberpunk2077:hover:before,
button.cyberpunk2077:focus:before,
a.cyberpunk2077:focus:before {
    display: block;
    animation-name: buttonhoverbefore;
    animation-duration: var(--glitched-duration);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes buttonhover {
    0% {
        transform: skew(0deg);
    }
    60% {
        transform: skew(0deg);
    }
    61% {
        transform: skew(10deg);
    }
    70% {
        transform: skew(10deg);
    }
    71% {
        transform: skew(0deg);
    }
    100% {
        transform: skew(0deg);
    }
}

@keyframes buttonhoverbefore {
    0% {
        display: none;
        top: 0px;
    }
    10% {
        display: none;
        top: 0px;
    }
    11% {
        display: block;
        top: 10px;
        left: calc(0px - 0px - var(--outside));
    }
    29% {
        top: 10px;
    }
    30% {
        display: none;
        top: 0px;
    }
    50% {
        display: none;
        top: 0px;
    }
    51% {
        display: block;
        top: 55px;
        filter: blur(1px);
        height: 22px;
    }
    90% {
        display: block;
        top: 55px;
        height: 22px;
    }
    91% {
        filter: blur(0px);
        display: none;
        top: 0px;
        height: 12px;
    }
    100% {
        display: none;
        top: 0px;
    }
}

@keyframes buttonhoverafter {
    0% {
        right: 45px;
    }

    10% {
        right: 45px;
    }
    11% {
        right: 35px;
    }
    20% {
        transform: skew(0deg);
    }
    21% {
        transform: skew(-10deg);
    }
    40% {
        transform: skew(-10deg);
    }
    41% {
        transform: skew(0deg);
    }
    49% {
        right: 35px;
    }
    50% {
        right: 55px;
    }

    60% {
        right: 55px;
    }
    61% {
        right: 35px;
    }
    70% {
        transform: skew(0deg);
    }
    71% {
        transform: skew(10deg);
    }
    80% {
        transform: skew(10deg);
    }
    81% {
        transform: skew(0deg);
    }
    100% {
        right: 35px;
    }
}

/* FORMS */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input::placeholder {
    color: #aaa;
}
input[type="text"].cyberpunk,
textarea.cyberpunk {
    width: 50rem;
    border: 30px solid #000;
    border-left: 5px solid #000;
    border-right: 5px solid #000;
    border-bottom: 15px solid #000;
    clip-path: polygon(
            0px 25px,
            26px 0px,
            calc(60% - 25px) 0px,
            60% 25px,
            100% 25px,
            100% calc(100% - 10px),
            calc(100% - 15px) calc(100% - 10px),
            calc(80% - 10px) calc(100% - 10px),
            calc(80% - 15px) calc(100% - 0px),
            10px calc(100% - 0px),
            0% calc(100% - 10px)
    );
    margin-bottom: 10px;
    padding: 12px;
}
/* Typewriter */
.typewriter h1 {
    color: #fff;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid orange; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    margin-bottom: 5rem;
    letter-spacing: .15em; /* Adjust as needed */
    animation:
            typing 3.5s steps(30, end),
            blink-caret .5s step-end infinite;
}

/* The typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange }
}