@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poiret+One&family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body::-webkit-scrollbar{
    background-color: black;
    width: 5px;
}
body::-webkit-scrollbar-thumb{
    background-color: #dc540f;
}
body{
    width: 100%;
    height: 100vh;
    background-color: #121212;
    font-family: "Funnel Display", serif;
}
header{
    background-color: black;
}
header nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
}
header nav a{
    color: #FFFFFF;
    font-size: 2rem;
    text-decoration: none;
    font-weight: 500;
}
header nav h1{
    color: grey;
    font-size: 2rem;
    font-weight: 700;
    pointer-events: none;
}
main{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
main article{
    width: 400px;
    background-color: #212121;
    margin-top: 20px;
    padding: 10px 40px;
}
main article p{
    color: #FFFFFF;
    font-weight: 400;
}
main article h1{
    color: #FFFFFF;
    font-weight: 400;
}
main article h3{
    color: grey;
    font-weight: 300;
}
main article button{
    width: 150px;
    height: 30px;
    border: none;
    outline: none;
    background-color: #FFFFFF;
    color: black;
    margin-top: 20px;
    font-weight: 500;
    transition: all 0.3s;
}
.saved{
    color: grey;
    text-align: center;
    font-size: 2rem;
    margin-top: 20px;
}

/* Fade-out effect for product item */
.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0); /* Optional: Slide out */
    }
}


@media (max-width: 768px) {
    main article{
        width: 95%;
        margin-top: 10px;
        padding: 5px 20px;
    }
}