html, body {
    width: 100%;
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
}

#header {
    margin: 0;
    padding: 5px;
    background-color: #434644;
    position: relative;
}

#info {
    font-size: 80%;
    position: absolute;
    bottom: 5px;
}

.content {
    background-color: #ffffff;
    position: relative;
    margin-bottom: 20px;
}

.etusivu, .yritys {
    text-align: justify;
    padding: 15px;
}

.yhteystiedot {
    text-align: center;
    overflow: auto;
    width: 100%;
}

#otsikko {
    width: 100%;
}

#header li {
    display: inline-block;
    padding: 10px;
}

#logo li {
    display: block;
    margin: 0 0 4px 0;
}

li {
    text-align: left;
}

p, a, ul, h3 {
    font-family: 'Quicksand', sans-serif;
}

h3 {
    text-decoration: underline;
}

.yhteys-oikea, .yhteys-vasen {
    margin: auto;
}

/******************/
/* Linkkimuotoilut*/
/******************/

a:link, a:visited {
    color: #bdc6c1;
    text-decoration: none;
    transition: color 0.5s;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

a:active {
    color: #bdc6c1;
    text-decoration: none;
}

#mail {
    color: red;
    transition: color 0.5s;
}

#mail:hover {
    color: #bdc6c1;
}

#tss, #tss:visited {
    color: red;
    transition: color 0.5s;
}

#tss:hover {
    color: #bdc6c1;
}

/*****************/
/*Responsiivisuus*/
/****************/

@media only screen and (max-width: 500px) {
    .content {
        margin: 0;
        padding: 15px;
    }

    body {
        background-color: #ffffff;
    }

    #logo li {
        display: inline-block;
        padding: 5px;
    }

}

@media only screen and (min-width: 501px) and (max-width: 899px) {
    .content {
        width: 75%;
        margin: auto;
        padding: 20px;
        box-shadow: 5px 5px 5px #a6a6a6;
    }

    body {
        background-image: url("sandpaper.png");
    }

    #logo li {
        display: inline-block;
        padding: 5px;
    }

}

@media only screen and (min-width: 900px) {
    .content {
        width: 55%;
        max-width: 1000px;
        margin: auto;
        padding: 20px;
        box-shadow: 5px 5px 5px #a6a6a6;
    }

    .yhteys-vasen {
        width: 60%;
        padding-top: 20px;
        float: left;
    }

    .yhteys-oikea {
        width: 30%;
        padding-top: 20px;
        float: left;
    }

    body {
        background-image: url("sandpaper.png");
    }

}