@font-face {
    font-family: pallo;
    src: url(BowlbyOneSC-Regular.ttf);
}

@font-face {
    font-family: kullervo;
    src: url(AlfaSlabOne-Regular.ttf);
}

@font-face {
    font-family: yli;
    src: url(Overpass-VariableFont_wght.ttf);
}

body{
    background-color: #f8f9fa;
    margin: 0;
}

h1{
    text-align: center;
    font-family: pallo, sans-serif;
    font-weight: normal;
    transition: all 0.3s ease;
}

h1:hover{
    transition: all 0.3s ease;
    font-size: 40px;
}

.container{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px;
    text-align: center;
}

.tuote{
    background-color: #fff;
    color: #000000;
    text-align: center;
    padding: 10px;
    display: inline-block;
    border-radius: 20px;
    max-width: 200px;
    max-height: 400px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    margin: 10px;
    font-family: yli, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.tuore{
    background-color: #fff;
    color: #000000;
    text-align: center;
    padding: 50px;
    border-radius: 20px;
    max-width: 2000px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    margin: 10px;
    font-family: yli, sans-serif;
    font-size: 14px;
    font-weight: 600;
    overflow: auto;
    text-align: left;
}

.tuote:hover{
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

header{
    background-color: #fff;
    padding: 1px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.osta{
    background: #25343F;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

.title{
    font-family: yli, sans-serif;
    font-size: 30px;
    font-weight: 900;
}

.isompi{
    font-size: 35px;
    font-weight: 900;
}

.toinen{
    overflow: hidden;
    width: 200px;
    padding: 20px;
    margin-top: 20px;
    margin-left: 0;
    text-align: center;
    font-size: 20px;
}

.lisatiedot{
    padding: 1px;
}

.teksti{

}

.osta:hover{
    background-color: #3c4b57;
}

img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.nimi{
    font-family: yli, sans-serif;
    font-weight: bolder;
}

.hinta{
    margin-top: 10px;
    font-size: 18px;
    font-weight: 800;
    font-family: yli, sans-serif;
}

footer  {
    background-color: #171717;
    color: #ffffff;
    bottom: 0;
    font-size: 14px;
    padding: 60px;
    display: flex;
    justify-content: space-evenly;
    font-family: yli, sans-serif;
}

footer div{
    width: 300px;
}

.vasen{

}

.keski{
    text-align: center;
}

.oikea{
    text-align: right;
}

a:active{
    text-decoration: none;
}

a{
    text-decoration: none;
    color: inherit;
}

.kuva{
    float: left;
    max-width: 550px;
    margin-top: auto;
    margin-bottom: auto;
    width: 50%;
    margin-right: 80px;
}

select{
    background-color: #25343F;
    color: #ffffff;
    text-align: center;
    padding: 5px;
    border-radius: 20px;
    border: none;
    max-width: 200px;
    max-height: 400px;
    font-family: yli, sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
}

select:hover{
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

@media (max-width: 1038px){
    .kuva{
        float: none;
        width: 90%;

    }
}