:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    color: #abd69e #CBECEE #FDF6E2 #F0D3ED #FBD985 #3F7B5C rgb(68, 85, 177) #3F7B5C rgb(62, 121, 91) #c9d9f8
}

html {
    width: 100%;
    margin: 0;
    height: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

button {
    font-size: 1rem;
    font-weight: 400;
    padding: 5px 10px;
    border: 4px double #3F7B5C;
    font-family: "Mansalva", sans-serif;
    color: #3F7B5C;
    background: linear-gradient(180deg, #F0D3ED, #FDF6E2);
    cursor: pointer;
    transition: all 0.2s;
}

.tombol {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 0 50px;
}

button:hover {
    scale: 0.95;
    background: linear-gradient(180deg, #CBECEE, #FDF6E2);
}

button:active {
    scale: 1;
}

body {
    background: url('https://ik.imagekit.io/elaravoid/sunera-sae/dithered/1000178922-dithered_SAjh3B0WdW.png?updatedAt=1785664170884');
    background-size: 33%;
    padding: 0px;
    height: auto;
    width: 100%;
    display: block;
    margin: 50px 0;
    font-family: "Mansalva", sans-serif;
}

a {
    text-decoration: none;
}

h1 {
    color: #F0D3ED;
    text-shadow:
        -1px -1px 0 #3F7B5C,
        0 -1px 0 #3F7B5C,
        1px -1px 0 #3F7B5C,
        1px 0 0 #3F7B5C,
        1px 1px 0 #3F7B5C,
        0 1px 0 #3F7B5C,
        -1px 1px 0 #3F7B5C,
        -1px 0 0 #3F7B5C;
    font-family: "Mansalva",
        sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    margin: 30px 50px 0 50px;
}

.painting,
.craft,
.poetry {
    border-top: 4px double #3F7B5C;
    border-bottom: 4px double #3F7B5C;
    background: url('https://ik.imagekit.io/elaravoid/sunera-sae/bg-grain.jpg');
    background-size: 80%;
    padding: 30px 50px;
    gap: 25px;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    scrollbar-width: none;
}

.item {
    background: white;
    padding: 10px 10px 3px 10px;
    box-shadow: 3px 3px 10px #3F7B5C;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    will-change: transform;
    z-index: 1;
    flex-shrink: 0;
    height: fit-content;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    width: 10rem;
    gap: 5px;
}

.item:hover {
    scale: 1.05;
}

.item img {
    width: 10rem;
}

.item::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    background: rgb(240, 211, 237, 0.5);
    border: 1px solid #F0D3ED;
    box-shadow: inset 0px 0px 6px #F0D3ED;
}

.scrapbook-label {
    font-size: 0.95rem;
    font-family: 'Mansalva';
    color: #3F7B5C;
    text-align: center;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 5px;
}

@media screen and (max-width: 768px) {

    body {
        margin: 15px 0;
        background-size: 75%;
    }

    .tombol {
        margin: 0 15px;
    }

    h1 {
        margin: 15px 15px 0 15px;
        font-size: 2rem;
    }

    .painting,
    .craft,
    .poetry {
        padding: 15px;
        gap: 15px
    }

    .item,
    .item img {
        width: 8rem;
    }
}