* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

body{
	margin:auto;
	padding:auto;
	background-image:url(oldpaper.jpg);
	background-size:cover;
	background-position:fixed
	}

.etusivu{
    background-image: url(vanhakuva.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height:90vh;
}

    @media only screen and (max-width: 1200px) {
        .etusivu{
        padding:0vw 0vh;
        min-height:100vh;
        }
        }


.rotuinfo{
    background-image: url(historia.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height:95vh;
}

    @media only screen and (max-width: 1200px) {
        .rotuinfo{
        padding:0vw 0vh;
        min-height:100vh;
        }
        }

.pentueet{
    background-image: url(vaaviotsikko.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    min-height:50vh;
}

    @media only screen and (max-width: 1200px) {
        .pentueet{
        padding:0vw 0vh;
        min-height:30vh;
        }
        }

.tapahtumat{
    background-image: url(oldlineotsikko.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height:50vh;
}

    @media only screen and (max-width: 1200px) {
        .tapahtumat{
        padding:0vw 0vh;
        min-height:100vh;
        }
        }


.rajattusisalto{
    width:100%;
    max-width:1200px;
    margin:auto;
}

        @media only screen and (max-width: 1200px) {
        .rajattusisalto{
        padding:0vw 0vh;
        }
        }

.mustatausta{
    background-color:#2B1D19;
    color:#FFFBF3;
    margin-top:200px
}

        @media only screen and (max-width: 1200px) {
        .mustatausta{
        margin-top:500px
        }
        }

.vaaleatausta{
    background-color:#fff;
    color:#2B1D19;
}

aside{
	width:100vw;
    max-width:40vw;
	display:inline-block;
	vertical-align:top;
	margin:auto;
    padding:3vh 3vw 6vh 3vw;
	}

        @media only screen and (max-width: 1200px) {
        aside{
        max-width:100vw;

        }
        }

main{
	width:60%;
	display:inline-block;
	margin-top:30px;
	}

h1{
	font-family:palatino;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight:lighter;
    font-size:3.0vw;
	}

         @media only screen and (max-width: 1200px) {
            h1{
        font-size:6vw;
        }
            
        }
        @media only screen and (max-width: 1000px) {
            h1{
        font-size:7vw;
        }
        }

h2{
	font-family:'avenir next';
     font-weight:lighter;
     letter-spacing: 1px;
    text-transform: uppercase;
    font-size:1.5vw
	}

          @media only screen and (max-width: 1200px) {
            h2{
        font-size:5vw;
        }
            
        }
        @media only screen and (max-width: 1000px) {
            h2{
        font-size:6vw;
        }
        }

p{
	font-family:'arial';
    line-height: 1.7;
    font-size:1.1vw;
    letter-spacing: 1px
	}


        @media only screen and (max-width: 1200px) {
            p{
        font-size:3vw;
        }
            
        }
        @media only screen and (max-width: 1000px) {
            p{
        font-size:4.5vw;
        }
        }

nav{
	margin-bottom:40px;
	}


.laatikko50pros{
    width:50vw;
    display: inline-block;
    vertical-align: top;
    margin:5px;
    padding:0;
    display:table-cell
}

            @media only screen and (max-width: 1200px) {
        .laatikko50pros{
        width:99vw;
        display:block
        }
        }

.puoliteksti{
    max-width:550px;
}

   @media only screen and (max-width: 1200px) {
        .puoliteksti{
        max-width:100%
        }
        }

nav li{
	padding:20px;
	margin:auto;
	margin-right:3px;
	background-color:#fff;
	color:#000;
	display:inline-block;
	font-weight:none;
	text-decoration:none;
	font-family:palatino;
	text-transform:uppercase;
	letter-spacing:1px;
	font-size:18px;
	}

.linkki{
	padding:10px 15px 10px 15px;
	margin-top:10px;
	background-color:#fff;
	color:#000;
	display:inline-block;
	text-decoration:none;
	font-weight:none;
	font-family:palatino;
	letter-spacing:1px;
	border:2px solid black;
	}

.teksti{
	background-color:#fff;
	padding:10px 20px 20px 20px;
	margin-top:10px;
	}

footer{
     background-color:#2B1D19;
    color:#FFFBF3;
    text-align: center;
    padding-top:50px;
    padding-bottom:50px;
    line-height: 2.0;
    font-family:'palatino'
}





/* RESPONSIVE NAVIGATION*/
                .topnav {
                
                overflow: hidden;
                display:block;
                padding:0px;
                float:right;
                border-bottom:1px solid #2B1D19;
                border-left:1px solid #2B1D19;
                border-right:1px solid #2B1D19;
                }


                @media screen and (max-width: 1100px) {
                          .topnav{
                            display:inline-block;
                            width:100%;
                            max-width:1000px;
                            margin-top:0px;
                            background-color:none;
                            border:none;
                          }
                        }

                /* Style the links inside the navigation bar */
                .topnav a {
                    display: inline-block;
                    background-color:#2B1D19;
                    color:#fff;
                    padding: 20px 20px 10px 20px;
                    letter-spacing: 1px;
                    text-decoration: none;
                    text-transform: none;
                    font-weight:bold;
                    font-size:1.3vw;
                    letter-spacing: 1px;
                    font-family:palatino;
                }




                    @media screen and (max-width: 1100px) {
                          .topnav a:hover{
                              color:#fff
                          }
                        }


                /* Hide the link that should open and close the topnav on small screens */
                .topnav .icon {
                    display: none;
                    padding:40px 30px 40px 30px;
                    font-size:10vw;
                    margin:auto;
                    color:#fff
                }

                        /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
                        @media screen and (max-width: 1100px) {
                          .topnav a:not(:first-child) {display: none;}
                          .topnav a.icon {
                            float: right;
                            display: block;
                            right: 0;
                            top: 0;
                            color:#fff;
                            background-color:#2B1D19;
                          }
                        }

                    

                        /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
                        @media screen and (max-width: 1100px) {
                          .topnav.responsive {position: relative;}
                          .topnav.responsive a.icon {
                            font-size:10vw;
                            display: block;
                            position: absolute;
                            right: 0;
                            top: 0;
                            color:#fff;
                            padding:40px 30px 40px 30px;
                          }
                            
                          .topnav.responsive a {
                            float: none;
                            display: block;
                            text-align: left;
                            color:#fff;
                            border:none;
                            padding:40px 30px 40px 30px;
                            margin:0px;
                            
                            font-size:5.5vw;
                          }
                        }


