/**
 * wpt-typewriter-demo.css
 */

.typewriter-demo {
    /* border: 1px solid red; */
    line-height: inherit;
    position: relative;
}

.typewriter-demo video {
    display: block;
    line-height: inherit;
    /* border: 1px solid green; */
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
}

.typewriter-demo h2,
.typewriter-demo .tw-strapline {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 1em;
    padding-left: 2rem;
    color: white;

    -webkit-text-stroke: 1px black;
        /* 3px 3px 0 #000, */
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.typewriter-demo h2 {
    bottom: 50%;
    letter-spacing: 0.1em;
}

.typewriter-demo .tw-strapline {
    top: 50%;
    font-size: 12pt;
    font-family: monospace;
    font-weight: bold;
}

@media(min-width: 922px) {
    .typewriter-demo .tw-strapline {
        font-size: 18pt;
    }
}

.typewriter-demo .tw-restart {
    position: absolute;
    z-index: 100;
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    right: 0.5em;
    bottom: 0.5em;
    color: black;
    background-color: #ffffff88;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.typewriter-demo .tw-restart:hover {
    background-color: #ffffffcc;
    /* width: 3.5em; */
    /* height: 3.5em; */
    transform: scale(1.25);
    box-shadow: 0 0 1em #ffffff66;
}

.typewriter-demo .tw-restart i {
    transition: 0.4s;
    transform: rotate( -45deg );
}

.typewriter-demo .tw-restart:hover i {
    color:  blue;
    transform: rotate( 0deg );
}


/* .typewriter-demo .tw-restart i {
    display:  block;
    text-
}
 */