h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 25pt;
    padding: 30px;
    padding-bottom: 0px;
    text-align: center;
}

.textcontainer {
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    line-height: 2.5rem;
    margin-top: 20px;
    padding-bottom: 20px;
}

p {
    margin: 0;
    text-align: left;
}

.textcontainer a {
    transition: 0.2s;
    color: rgb(0, 98, 255);
    font-style: italic;
}

.textcontainer a:hover {
    color: rgb(0, 183, 255);
    font-style: italic;
}

.products {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.product {
    display: flex;
    text-align: center; 
    padding-left: 10px;
    padding-right: 10px;
}

.productImg {
    align-self: center;
    height: 160px;
    padding: 0;
    border: 1px solid black;
}

.product a {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.productName {
    width: 280px;
    height: 100px;
    position: relative;
}

h3 {
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
    color: black;
    vertical-align: middle;
    position: absolute;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

.product:hover h3 {
    color: white;
    filter: drop-shadow(0 0 2px black);
}

.product:hover img {
    color: white;
    filter: drop-shadow(0 0 2px black);
}

@media screen and (max-width: 1000px) {
    .content {
        width: 90%;
    }
}

@media screen and (max-width: 600px) {
    .textcontainer {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .productImg {
        padding: 10px;
    }
}