@import url('https://fonts.googleapis.com/css2?family=Lavishly+Yours&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');

body {
    background-color: rgb(238, 248, 204);
    font-family: "Poiret One", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.etusivu, .linkit , .footer, h1 {
    text-align: center;
}

.main {
    padding: 0 30px;
    min-height: 600px;
} 

a {
    color: #000
}

a:hover {
    text-decoration: none;
}

.ylaosa h1 {
  font-family: "Lavishly Yours", cursive;
  font-weight: 400;
  font-style: normal;
  color: #ffffff;
  margin: 0;
  font-size: 400%;
  line-height: 0.6;
  position: absolute;
  right: 10px;
  bottom: 20px;
  text-align: center;
  text-shadow: 0px 0px 10px #9b591b;
}

.container {
    background-color: rgb(178, 216, 156);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

img {
    border: 15px solid #fff;
    margin: 10px;
    box-shadow: 0px 0px 15px #eee56f;
}

.etusivu img:hover {
    box-shadow: 0px 6px 10px #ca732b;
}

.tekstisivu img {
    box-shadow: none;
}

.linkit {
    background-color: #ffffff;
    padding: 10px 0;
    margin-bottom: 20px;
    box-shadow: 0px 10px 10px -5px#eeac6f;
}


.linkit a {
    margin: 15px;
}

.ylaosa {
    background:#eee56f url(tausta.jpg);
    height: 200px;
    position: relative;
    box-shadow: inset 0px -5px 20px -10 #000000; 
}

.ylaosa, .linkit {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background-color: #000;
    color: #ffffff;
    padding: 30px;
    margin-top: 50px;
}

.oikealla {
    float: right;
}

.maalaus {
    display: inline-block;
    position: relative;
}

.kuvateksti {
    background-color: rgba(58, 87, 55, 0.6);
    color: #fff;
    padding: 4px;
    position: absolute;
    left: 25px;
    bottom: 27px;
    width: 200px;
    box-sizing: border-box;
    visibility: hidden;
}

.maalaus:hover .kuvateksti {
    visibility: visible;
    pointer-events: none;
}