@import url('button.css');

* {
    font-family: 'EB Garamond', serif;
}

html {
    scroll-behavior: smooth;
}

li.nav-item {
    font-size: 18px;
}

body, p {
    font-size: 18px;
    line-height: 1.15;
}

.product-img {
    width: inherit;
    height: auto;
}

.product-category-list {
    width: 100%;
    background-color: rgb(245,245,245);
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.product-category-list a {
    color: black;
    text-decoration: none;
}

.product-category-list b {
    padding: 5px 10px;
}

.product-category-list ul {
    list-style: none;
    display: inline-block;
    padding: 0px;
}

.product-category-list ul li {
    display: inline-block;
    padding: 5px 10px;
}

.product-category-list ul li:hover {
    background-color: rgb(230, 230, 230);
}

.product-category-list ul li.selected {
    background-color: rgb(242, 68, 79);
}

.product-category-list ul li.selected a  {
    color: white;
}

.product-item {
    margin: 10px;
    padding: 10px;
    background-color: white;

    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: #CCCCCC 1px 1px 5px;
}

.product-item:hover {
    animation: zoom;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
}

.product-item article {
    font-size: 16px;
    color: rgb(130, 130, 130);
}

.price {
    font-size: 18px;
    color: darkred;
}

@keyframes zoom {
    from {
        transform: scale(1.0);
    }

    to {
        transform: scale(1.05);
    }
}

.product-image {
    width: 215px;
    height: 215px;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    margin-bottom: 10px;
}

.circle {
    overflow: hidden;
    border-radius: 50%;
}

.circle img {
    width: 100%;
    height: auto;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20vh);
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 1.2s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.rounded-corner {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}