@font-face {
    font-family: teksti;
    src: url(static/JosefinSans-Regular.ttf);
    font-style: normal;
}

@font-face {
    font-family: teksti;
    src: url(static/JosefinSans-Italic.ttf);
    font-style: italic;
}

@font-face {
    font-family: otsikko;
    src: url(Meddon-Regular.ttf);
    font-style: normal;
}


body {
    font-family: teksti, sans-serif;
    margin: 0;
    background-color: #fde6f9;
}


.tuotteet {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 19px;
    padding: 20px;
}

.tuote {
    background: white;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}


.tuote img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 7px;
}


.nimi {
    margin-top: 11px;
    font-style: italic;
    font-size: 17px;
    color: #303030;
}

.asia {
    margin-top: 11px;
    font-style: italic;
    font-size: 22px;
}

.tahti {
    color: #ff83e4;
    margin-bottom: 3px;
}

.hinta {
    color: #ff83e4;
    margin: 10px 0;
    font-size: 26px;
    font-style: italic;
    font-style: italic;
}


a {
    text-decoration: none;
}

.osta {
    background: #aef5e7;
    color: rgb(0, 0, 0);
    padding: 10px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 17px;
    font-style: italic;
    display: block;
   
}

.osta:hover {
    background: #61a591;
    color: #fff;
}

.header {
    background-color: #faade0;
    color: white;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    
}

.logo {
    font-size: 40px;
    font-weight: bold;
    font-family: otsikko;
    text-align: center;
}

.nav a {
    color: #aef5e7;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
    transition: 0.2s;
}

.nav a:hover {
    text-decoration: underline;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

.tuote:hover {
    box-shadow: 0px 5px 20px #ff83e4;
}

