@font-face {
    font-family: "Caveat";
    src: url(./assets/Caveat-VariableFont_wght.ttf);
}

html {
    background-color: palegreen;
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: unset;
}

body {
    max-width: calc(100%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: unset;
}

#list-of-gifts {
    position: relative;
    width: 600px;
    max-width: calc(100% - 40px);
    padding: 20px;
    padding-top: 8px;
}

#buttons {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto;
}

.gift-div,
button {
    background-color: palevioletred;
    border: solid 3px #000;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
    box-shadow: -5px 5px 20px 5px #00000011;
    margin-top: 20px;
    font-family: 'Caveat', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #000;
}

button::after,
.gift-div::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 5px;
    left: 5px;
    background-color: palegoldenrod;
    border: solid 3px #000;
    border-radius: 12px;
    z-index: -1;
    transition: ease transform 200ms;
}

button {
    background-color: #fff;
    cursor: pointer;
}

button:hover::after,
.gift-div:hover::after {
    transform: translate(-3px, -3px);
}

h1 {
    margin: unset;
    font-family: 'Caveat', sans-serif;
    margin: auto 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.gift-div>a {
    margin: auto 0;
    width: fit-content;
    padding: 5px;
    padding-left: 10px;
}

.gift-div>img {
    height: 80px;
    width: 80px;
    margin: auto;
    object-fit: contain;
    margin-right: 15px;
}

.gift-div>a>img {
    width: 30px;
    margin: auto;
}

#options {
    transition: ease height 300ms;
    height: 0px;
    width: calc(100%);
    padding-top: 12px;
}

.options {
    display: flex;
    flex-direction: row;
    overflow: scroll;
    padding-bottom: 8px;
    margin-top: -12px;
}

.options>button {
    margin-left: 20px;
    width: fit-content;
    white-space: nowrap;
    color: #000;
}

button.selected {
    background-color: paleturquoise;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}