*{
    margin: 0; padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}
body{
    background: linear-gradient(-90deg, red, yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 1.5rem;
}
main{
    width: 80%;
    height: 90%;/* 
    background-color: rgba(255, 255, 255, 0.404); */
    display: grid;
    justify-content: center;
    align-content: center;
    grid-template-columns: repeat(1, 100%);
    grid-template-rows: auto repeat(5, 16.6%);
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
main section {
    width: 100%;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    flex-direction: column;
    padding: 10px;
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
main section div {
    width: auto;
    height: auto;
}
main section div.current{
    font-size: 2.3rem;
    word-wrap: normal;
    word-break: break-all;
}
main section div.previous {
    text-transform: capitalize;
    width: 100%;
}
main div{
    width: 100%;
    display: flex;
}
main div button{
    width: 25%;
    height: 100%;
    font-size: 1.3rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}
main div button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
main div button.span {
    width: 50%;
}
@media screen and (min-width: 550px) {
    main{
        width: 500px;
        height: 600px;
        font-size: 1.3rem;
    }
    main div button{
        font-size: 1.5rem;
    }
}