
@font-face {
    font-family: leipateksti;
    src: url(Libre_Caslon_Text/LibreCaslonText-Regular.ttf)
}
@font-face {
    font-family: otsikkofontti;
    src: url(Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf)
}

body {
    background-color: rgb(255, 206, 206);
    font-family: arial, sans-serif;
    margin: 0;
    align-items: center;
}

.container {
    max-width: 1000px;
    background-color: rgb(255, 228, 208);
    margin-left: auto;
    margin-right: auto;
}

header {
    background-image: url(leivoksia\ copy.jpg);
    height: 200px;
    background-size: cover;
    font-size: 20px;
    color: #fff;
    font-family: leipateksti;
    text-shadow: 0px 0px 5px rgb(153, 69, 0);
    display: flex;
    padding: 30px;
    box-sizing: border-box;
}

main{
    padding: 20px 20px 20px 20px;
    color: rgb(255, 136, 166);
    text-align: center;
    font-size: 20px;
    flex: auto;
    overflow: auto;
    font-family: leipateksti;
}

h1 {
    font-family: otsikkofontti;
}

h2{
    font-family: otsikkofontti;
}

nav {
    background-color: rgb(255, 153, 153);
    padding: 10px;
    text-align: center;
    color: #ff3c76;
}

.aukioloajat {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


a:link {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

a:visited {
    color: hsl(0, 0%, 100%);
}

iframe {
    border: 20px double #ffafaf;
    background-color: #ff8b8b;
}

.oikealla {
    float:right;
    margin-left: 10px;
}

.heart-button {
    background-color: transparent;
    border: 2px solid #ff5f74;
    color: #ffbbc1;
    font-size: 24px;
    font-weight: bold;
    border-radius: 35%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    margin: 10px;
    border-radius: 25px;
    border-radius: 20px;
    padding: 12px 40px;
}

.heart-button:hover {
    background-color: #ff597d;
    color: white;
    transform: scale(1.1);
}

.heart-button:focus {
    outline: none;
}

.logo {
    justify-content: center;
    align-items: center;
    padding-left: auto;
    padding-right: auto;
}

.nappi-keskella {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
    overflow: visible;
}

footer {
    padding: 10px;
    text-align: center;
    background-color: rgb(255, 153, 153);
    color: #fff;
}