


html,
main,
body {
    margin: 0;
}

main {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-style: normal;
    height: 100vh;
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 25px;

}

.add-item {
    display: flex;
    flex-direction: row;
    
}

.add-item-input {
    box-sizing: border-box;
    width: 65%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid grey;
    margin: 0;
    padding-left: 12px;
}

.add-button {
    background-color: #CA3884;
    color: white;
    border: 1px solid #CA3884;
    border-radius: 16px;
    width: 25%;
    font-size: 16px;
    cursor: pointer;
    margin-left: 56px;

}

.return-button {
    color: #CA3884;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 40px;
    margin-bottom: 0;
    display: flex;
    height: 16px;

}

.return-button::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('assets/arrow.svg');


}

.display-grid {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-rows: auto;
}

.display-grid>* {
    grid-column: 2;
}

section {
    display: flex;
    flex-direction: column;
}

.title {
    margin-top: 16px;
}

.shopping-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-item {
    box-sizing: border-box;
    border: 1px solid gray;
    height: 49px;
    border-radius: 12px;
    margin: 6px 0;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 12px;
    justify-content: space-between;
}

.alert {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: left;
    background-color: #cf3240;
    color: white;
    height: 44px;
    border-radius: 12px;
    width: 100%;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    margin-top: 16px;
}

.hidden {
    display: none;
}

section {
    margin-top: 32px;
}

.delete-icon {
    cursor: pointer;
}

.empty-message {
    color: #CA3884;
    text-align: center;
    
}
