
@font-face {
    font-family: leipis;
    src: url(Arvo/Arvo-Regular.ttf);
}


@font-face {
    font-family: leipis;
    src: url(Arvo/Arvo-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: leipis;
    src: url(Arvo/Arvo-Italic.ttf);
    font-style: italic;
}

@font-face {
    font-family: otsikko;
    src: url(Gwendolyn/Gwendolyn-Regular.ttf);
}

body {
    font-family: leipis, serif;
    background-color: rgb(215, 238, 201);
    text-align: center;

}

.container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    background-color:rgb(245, 243, 230)
}

img {
    border: 20px solid #fff;
    margin: 10px;
}
    

.etusivu img {
    box-shadow: 2px 2px 15px #dad5c6;
}


.etusivu img:hover {
    box-shadow: 2px 2px 30px #dad5c6;


}

.header {
   
    font-family: otsikko, cursive; 
    background-color: rgb(68, 148, 121);
    background-image: url(header_tausta.jpg);
    background-size: cover;
    background-position: left bottom;
    font-size: 80px;
    color: #fff;
    text-shadow: 0px 0px 5px #795b50;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 40px;
    padding-bottom: 30px;
    line-height: 0.8;
    text-align: right;
}
.nav {
    background-color: #fff;
    padding: 25px;
    text-align: center;

}

.nav {
    color: #566b2e;
    text-align: center;
}

.nav a {
    color: inherit;
    margin: 15px; 
    text-decoration: none;
}

.nav a:hover {
    text-decoration: underline;

}
.footer {
    background-color: rgb(25, 31, 23);
    color: #fff;
    padding: 30px;
    margin-top: 50px;
    text-align: center;
}

h1 {
    color:#a08d36;
}

.tekstisivut .main {
    text-align: left;
    font-family: leipis, serif;
    padding: 50px;
   
    
}

.tekstisivut .main p {
    max-width: 700px;

}

.etusivu {
    
}

.oikealle {
    float: right;
}

a:link {
    color: rgb(117, 54, 48);
}

a:visited { 
    color: rgb(52, 110, 42);
}

.maalaus {
    display: inline-block;
    position: relative;

}

.kuvateksti { 
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
padding: 7px 4px; 
position: absolute;
left: 30px;
bottom: 34px;
width: 200px;
box-sizing: border-box;
visibility: hidden;
}

.maalaus:hover .kuvateksti {
    visibility: visible;
    pointer-events: none;
}