*{
    padding: 0;
    margin: 0;
}

@keyframes apar {
    0%{
        margin-left: -15.5em;
        width: 16em;    
    }
    100%{
        margin: 0;
        width: 1em;
    }
}

@keyframes cursor{
    0%{
        border-left: 2px solid aliceblue;
    }
    50%{
        border-left: 2px solid rgb(23, 0, 53);
    }
    100%{
        border-left: 2px solid aliceblue;
    }
}

body{
    height: 100vh;
}

.container{
    height: 100vh;
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    background-color: rgb(18, 14, 40);
}

#tit{
    height: 1em;
}

span{
    font-family: monospace;
    font-size: 2.5em;
    text-shadow: 0px 0px 10px black;
}

span::after{
    content: "";
    position: absolute;
    height: 1.2em;
    background-color: rgb(23, 0, 53);        
    animation: apar 1.5s linear , cursor 0.8s infinite;
    border-left: 2px solid aliceblue;
}

.square{
    box-shadow: 0px 0px 20px rgb(111, 0, 170);
    height: 30em;
    width: 40em;
    border-radius: 3em;
    text-align: center;
    background-color: rgb(23, 0, 53);    
    color: aliceblue;
    border: 2px solid aliceblue;
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

button{
    height: 3em;
    width: 6em;
    border-radius: 2em;
    background-color: rgba(0, 0, 0, 0.331);
    color: aliceblue;
    border: 3px solid aliceblue;
    font-weight: bolder;
    font-size: 1.3em;
    cursor: pointer;
}

.buttons{
    display: flex;
    justify-content: center;
    gap: 4em;
}

@media screen and (max-width:900px) {
    .square{
        width: 22em;
        border: 1px solid aliceblue;
    }
    span{
        font-size: 2em;
    }
    span::after{
        content: "";      
        animation: none;
        border-left: none;
    }
    button{
        height: 4em;
        width: 7em;
        font-size: 1em;
    }
    .buttons{
        gap: 2em;
    }
}