@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");

 *{
    margin: 1%;
    padding: 0;
    box-sizing: border-box;
 }
 body{
    background-color:teal;
 }

 .wrapper{
    width: 90%;
    margin: auto;
    margin-top: 30px;
    height: 80%;
    padding: 20px;
    border-radius: 10px;
    background-color:#dde1e7 ;
    box-shadow: -3px -3px 7px #ffffff73,
    2px 2px 5px #5e687949;
}

.display-wrap{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

#display{
    width: 75%;
    resize: none;
    height: 70px;
    font-size: 18px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cfcfcf;
    font-family: "poppins", sans-serif;
    caret-color: #3498db;
    caret-width: 2px;
    background-color: #f9f9f9;
}

.keys{
    display: flex;
    justify-content: center;
}

input{
    height: 50px;
    width: 80px;
    align-content: center;
    justify-items: center;
    background: #121313;
    color: white;
    padding: 10px;
    margin: 10px;
    box-shadow: -3px -3px 7px #ffffff73,
    2px 2px 5px #5e687949;
    font-family: "poppins", sans-serif;
    font-size: 20px;
    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;
    }

    input:focus{
        color: #3498db;
        font-size: 19px;
        box-shadow: inset -3px -3px 7px #ffffff73,
        inset 2px 2px 5px #5e687949;
    }

    input[value="backspace"]{
        width: 10%;
    }

    input[value="tab"]{
        width: 10%;
    }

    input[value="caps lock"]{
        width: 9%;
    }

    input[value="enter"]{
        width: 12%;
    }

    input[value="shift"]{
        width: 13%;
    }

    input[value="SPACE"]{
        width: 60%;

    }

     .cute-footer{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
 }
 .cute-footer p{
    margin: 0;
    color: #0e0e0e;
    font-size: 0.9rem;
    text-align: center;
    letter-spacing: 1px;
 } 

@media (max-width: 600px){
    #display{
        width: 95%;
        height: 140px;
        font-size: 20px;
        padding: 14px;
    }

    .keys{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    input{
        height: 56px;
        width: 64px;
        padding: 8px;
        margin: 6px;
        font-size: 18px;
        border-radius: 8px;
    }

    input[value="SPACE"]{
        width: 80%;
    }

    input[value="backspace"],
    input[value="tab"]{
        width: 26%;
    }

    input[value="enter"]{
        width: 36%;
    }

    .cute-footer{
        bottom: 10px;
        padding: 8px 16px;
    }
}