/* Käytetyt värikoodit talteen
rgb(234, 231, 220)
rgb(142, 141, 138)
rgb(200, 195, 165)
rgb(232, 90, 79)
rgb(233, 128, 116)
rgb(63, 54, 37) 
*/

@import url('https://fonts.googleapis.com/css2?family=Quintessential&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100');

body {
    margin: 0px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: rgb(234, 231, 220);
}

#ylapalkki {
    position: fixed;
    display: block;
    top: 0;
    width: 100%;
    height: 42px;
    background-color: rgb(234, 231, 220);
    padding-bottom: 10px;
}

#ylapalkkiVasen{
    width: 20%;
    float: left;
    font-family: 'Quintessential', cursive;
    font-size: 26px;
    text-decoration: none;
    color: rgb(63, 54, 37);
    margin: 10px;
    padding-left: 20px;
    line-height: 30px;
    position:relative;
}

#ylapalkkiOikea{
    width: 60%;
    float: right;
    position: relative;
    padding-right: 30px;
}

a.ylamenu_item {
    float: right;
    margin-left: 3px;
    font-size: 15px;
    padding-left: 5px;
    padding-right: 10px;
    padding-top: 15px;
    padding-bottom: 6px;
}

a:link {color:rgb(232, 90, 79); text-decoration: none;}
a:visited {color:rgb(232, 90, 79); text-decoration: none}
a:hover {color:rgb(142, 141, 138); text-decoration: none}

a.ylanimi:link {color:rgb(63, 54, 37); text-decoration: none;}
a.ylanimi:visited {color:rgb(63, 54, 37); text-decoration: none}
a.ylanimi:hover {color:rgb(63, 54, 37); text-decoration: none}

.koko_sisalto {
    background-color: rgb(234, 231, 220);
    display: flex;
    padding-top: 40px;
}

.sisalto1 {
    background-color: rgb(200, 195, 165);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.sisalto2 {
    background-color: rgb(234, 231, 220);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 50px;
    padding-bottom: 60px;
}

.galleria {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.galleria_kategoria {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.galleria_otsikko {
    width: 100%;
    font-family: 'Quintessential', cursive;
    color: rgb(63, 54, 37);
    font-size: 25px;
    margin-bottom: 10px;
    display: block;
}

.tarina_otsikko {
    width: 100%;
    font-family: 'Quintessential', cursive;
    color: rgb(232, 90, 79);
    font-size: 25px;
    padding-bottom: 10px;
}

.tarina_otsikko_pienempi {
    font-family: 'Quintessential', cursive;
    color: rgb(63, 54, 37);
    font-size: 18px;
    padding-top: 10px;
    margin-bottom: -5px;
}

img.galleriakuva {
    height: 250px;
    margin-right: 5px;
    margin-top: 5px;
    display: block;
}

.tarina {
    width: 70%;
    padding-right: 20px;
}

.tarinan_kuvat {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.kuvateksti {
    font-size: 13px;
    text-align: center;
    width: 250px;
    padding-top: 5px;
    padding-bottom: 20px;
}

img.tarinakuva {
    width: 250px;
    border-radius: 5px;
}

#footer {
    margin-top: 30px;
    margin-bottom: 22px;
    font-size: 12px;
    text-align: center;
    background-color: rgb(234, 231, 220);
}

@media screen and (max-width: 800px) {
    body {
        font-weight: bold;
    }

    a.ylamenu_item {
        float: right;
        margin-left: 3px;
        font-size: 14px;
        padding-right: 5px;
        padding-top: 15px;
        padding-bottom: 6px;
    }

}

@media screen and (max-width: 1100px) {

    .tarina {
        width: 100%;
    }
}