body {
    background-color: #f0e7d8;
}

h1 {
    color: white;
    text-align: center;
    border-style: dotted;
    border-color: #df6e7d;
    border-radius: 5px;
    padding: 20px;
    margin-left: 50px;
    margin-right: 50px;
    font-family: "Arial Rounded MT Bold";
    font-size: x-large;
}

.topnav {

    overflow: hidden;
    background-color: #9bcfcf;
    color: white;
    font-family: "Ink free"

}

.topnav a {
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #df6e7d;
    color: #9bcfcf;
}

.topnav a.active {
    background-color: #B20A2C;
    color: white;
}

.topnav a:link {
    color: white;
}

.topnav a:visited {
    color: #f0e7d8;
}

.topnav {
    width: 75%;
    text-align: center;
    margin-left: 10%;
}


h2 {
    font-family: "Ink free";
    font-weight: bold;
    font-size: x-large;
    text-align: center;
    color: white;
    border-style: dotted;
    border-color: #B20A2C;
    border-radius: 5px;
    padding: 10px;
    margin-left: 150px;
    margin-right: 150px;
}

p {
    font-family: "Grandview Display";
    font-size: medium;
    color: #B20A2C;
    text-align: center;
    border-style: dotted;
    border-color: #BDC8CD;


}

.imdb-link {

    text-align: center;
    margin-left: 150px;
    margin-top: 20px;
    color: #df6e7d;
    font-size: 20px;
    font-family: "Ink free";
}

.imdb-link:link {
    color: white;
    text-decoration: none;
}

.imdb-link:visited {
    color: #f0e7d8;
    text-decoration: none;
}

.imdb-link:hover {
    color: #df6e7d;
    text-decoration: underline;
}

.imdb-link:active {
    color: #BDC8CD;
    text-decoration: underline;
}

h3 {
    color: white;
    text-align: center;
    border-style: dotted;
    border-color: #df6e7d;
    border-radius: 5px;
    background-color: #9bcfcf;
    padding: 10px;
    margin-left: 150px;
    margin-right: 150px;
    font-family: "Ink free";
    font-weight: bold;
    font-size: medium;
}

h3 a:link {
    color: white;
    text-decoration: none;
}

h3 a:visited {
    color: #f0e7d8;
    text-decoration: none;
}

h3 a:hover {
    color: #df6e7d;
    text-decoration: underline;
}

h3 a:active {
    color: #B20A2C;
    text-decoration: underline;
}



h4 {
    font-family: "Ink free";
    font-weight: bold;
    font-size: medium;
    margin-left: 40px;
    color: #9bcfcf;
}

a:link {
    color: #9bcfcf;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: #df6e7d;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: #B20A2C;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: #9bcfcf;
    background-color: transparent;
    text-decoration: underline;
}


h5 {
    background-image: url("Alabanneri.jpg");
    background-repeat: no-repeat;
    width: 65%;
    font-family: "Ink free";
    font-weight: bold;
    text-align: left;
    margin-left: 20%;
    margin-right: 20%;
    color: white;
    font-size: large;
    padding: 15px;
    border: 2px solid black;
    border-radius: 5px;
}

a:link {
    color: #bdc8cd;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: #df6e7d;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: #B20A2C;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: #9bcfcf;
    background-color: transparent;
    text-decoration: underline;
}


/*pienimmälle näytölle*/
@media only screen and (max-width: 767px) {

    @media only screen and (max-width: 767px) {

        .topnav a {
            float: none;
            display: block;
            width: 100%;
            text-align: center;
        }

        h2 {
            font-size: medium;
            margin-left: 20px;
            margin-right: 20px;
            width: auto;
            box-sizing: border-box;
        }

        h3 {
            margin-left: 20px;
            margin-right: 20px;
            width: auto;
            box-sizing: border-box;
        }

        .imdb-link {
            display: block;
            text-align: center;
            margin-left: 0;
            padding: 10px;
            font-size: 18px;
            overflow-wrap: break-word;
            word-break: normal;
        }

    }

    .h3 {
        font-family: "Ink free";
    }
}

footer {
    color: #B20A2C;
    font-family: "Grandview Display";
    font-size: small;
    text-align: center;

}