* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(20, 20, 0);
    flex-direction: column;
}

.back-side {
    width: 300px;
    height: 150px;
    background-color: #5e6d42;
    box-shadow: 0px 0px 30px 0px #00000055 inset;
    border: 3px solid #fff;
    border-radius: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

#three-d-btn {
    width: 300px;
    height: 150px;
    background-color: #6f9626;
    box-shadow: 0px 0px 30px 0px #00000055 inset;
    border: 3px solid #fff;
    border-radius: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: #fff;
    position: relative;
    transform: translate(0, 75%);
    z-index: 15;
    transition: all 0.3s ease;
    cursor: pointer;
}

#bottom {
    width: 60%;
    height: 100%;
    transform: translate(0, 75%);
    background-color: #d9e0cc;
    box-shadow: 0px 0px 15px #858585 inset;
    cursor: pointer;
}

#three-d-btn:active {
    transform: translate(0, 100%);
}

@media screen and (max-width:320px) {
    .back-side {
        width: 7em;
        height: 3.5em;
    }


    #three-d-btn {
        width: 7em;
        height: 3.5em;
        cursor: pointer;
    }

    #bottom {
        width: 60%;
        height: 100%;
        cursor: pointer;
    }
}