@font-face {
    font-family: teksti;
    src: url(BarlowCondensed-Light.ttf);
    font-style: normal;
}

@font-face {
    font-family: teksti;
    src: url(BarlowCondensed-Medium.ttf);
    font-style: italic;
}

@font-face {
    font-family: otsikko;
    src: url(CherryBombOne-Regular.ttf);
    font-style: italic;
}


body {
    font-family: teksti, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
}


.tuotteet {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 25px;
    padding: 30px;
}


.arviot {
    color: gold;
    margin-bottom: 10px;
}

.tuote {
    background: white;
    padding: 15px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tuote:hover {
    box-shadow: 0px 5px 20px rgba(65, 73, 87, 0.281);
}

.tuote img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
}

.nimi {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
}


.nimi {
    margin-top: 10px;
    font-style: italic;
    font-size: 20px;
}

.hinta {
    color: var(--primary);
    margin: 10px 0;
    font-size: 24px;
    font-weight: bold;
}

.osta {
    background: #00c6ff;
    color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 6px;
    font-size: 20px;
    font-style: italic;
}

.osta:hover {
    background: #54daff;
    transform: scale(1.03);
}

.header {
    background-color: #00c6ff;
    color: white;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo {
    font-size: 70px;
    font-weight: bold;
    font-family: otsikko;
    margin-top: -20px;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
    position: relative;
    transition: all 0.5s ease;
}

.nav a:hover {
    font-size: 25px;
    font-style: italic;
}


.container {
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

footer {
    background-color: #00c6ff;
    color: white;
    bottom: 0;
    font-size: 25px;
    padding: 50px;
    display: flex;
    justify-content: space-evenly;
}
