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

* {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    background-color: #1d1d1f;
    display: flex;
    align-items: center;
    user-select: none;
    overflow-y: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

#cart {
    width: 15%;
}

#input-el {
    width: 15%;
    height: 6%;
    background-color: rgb(218, 218, 218);
    border: none;
    padding: 5px;
    text-align: center;
    font-size: 20px;
    border-radius: 10px;
}

#input-el:focus {
    outline: 2px solid rgb(0, 0, 0);
}

#input-el::placeholder {
    color: rgb(104, 104, 104);
}

#el-submit {
    width: 16%;
    height: 7%;
    background-color: rgb(255, 93, 93);
    border: none;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    transition: 0.2s ease-in-out;
}

#el-submit:hover {
    background-color: rgb(168, 58, 58);
    color: rgb(255, 255, 255);
    cursor: pointer;
}

#el-submit-enter {
    display: none;
}

#shoppinglist {
    margin: 0;
    padding: 0;
    width: 16%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
}

#shoppinglist li {
    background-color: #2f2f35;
    font-size: 20px;
    list-style: none;
    padding: 7px;
    border-radius: 8px;
    color: #fdfdfd;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.75);
    flex-grow: 1;
    user-select: none;
}

#shoppinglist li:hover {
    background-color: #3f3f45;
    cursor: pointer;
}

@media  (max-width: 768px) {
    #cart {
        width: 50%;
    }

    #input-el {
        width: 50%;
    }

    #el-submit {
        width: 51%;
    }

    #shoppinglist {
        width: 50%;
    }
}