/* Importing fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Reseting */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1C476C;
}

.typing::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 50%;
    background: #305879;
    animation: cursorBlink 0.8s steps(3) infinite;
}

/*@keyframes cursorBlink {

    0%,
    75% {
        opacity: 1;
        margin-left: 20px;
    }

    76%,
    100% {
        opacity: 0;
    }
}*/

.typing {
    position: relative;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #3333);
}

.typing h2 {
    position: relative;
    color: #fefefe;
    letter-spacing: 5px;
    font-size: 2rem;
    overflow: hidden;
    margin-bottom: 0;
    padding-right: 10px;
/*    animation: type 5s steps(11) infinite;*/
}
.typing h3 {
    position: relative;
    color: #ffffff;
    letter-spacing: 5px;
    overflow: hidden;
    margin-bottom: 0;
/*    animation: type 10s steps(11) infinite;*/
}

@keyframes type {

    0%,
    100% {
        width: 0px;
    }

    30%,
    60% {
        width: 394.09px;
    }
}

@media(max-width: 330px) {
    .typing h2 {
        font-size: 3rem;
        animation: type 5s steps(10) infinite;
    }

    @keyframes type {

        0%,
        100% {
            width: 0px;
        }

        30%,
        60% {
            width: 305px;
        }
    }
}