body {
background-color: blue;
font-family: Arial, sans-serif;
font-size: 18px;
margin: 0;
padding: 0;
overflow-x: hidden;
}

h1 {
font-size: 30px;
font-weight: normal;
margin-top: 0;
margin-bottom: 30px;
margin-left: 0;
margin-right: 0;
}


h2 {
font-size: 18px;
font-weight: normal;
text-transform: uppercase;
margin-top: 30px;
margin-bottom: 0px;
margin-left: 0;
margin-right: 0;
}

h6 {    /* Kuvateksti */
font-size: 11px;
font-weight: bold;
text-transform: none;
margin-top: 11px;
margin-bottom: 48px;
margin-left: 0;
margin-right: 0;
}


.kuvat {
    padding-top: 18px;
}



#overlay {
position: fixed; /* Sit on top of the page content */
width: 100%; /* Full width (cover the whole page) */
/* background-color: rgba(0,0,0,0.5); /* Black background with opacity */
z-index: 2;
/* cursor: pointer; /* Add a pointer on hover */
background-color: #AED6F1;
/* border: 1px solid black;*/
padding: 10px 10px 10px 50px;
}

/* .scaled {
transform: scale(0.7);
background-color: pink;
}
*/

#menu {
}


ul {
padding: 0;
margin: 0;
list-style-type: none;
}


li {
/* background-color: white; */
padding: 5px 20px 5px 0px;
}


li a {
color: blue;
}

li a:visited {
color: blue;
}

li a:hover {
cursor: pointer;
color: transparent;
text-shadow: 0 0 5px greenyellow;
}


.class_menu {
display: inline-block;
}


.class_sidebar {
display: block;
}


a.class1:link  {
text-decoration:none;
font-size: 2vw;
}


a.class2:link  {
text-decoration:none;
font-size: 18px;
/* line-height: 30px; */
}

main {
height: 100%;
position: relative;
background-color: #FEF5E7;
}

aside {
float: left;
position: absolute;
height: 100%;
width: 300px;
padding-top: 100px;
padding-left: 50px;
background-color: lavender;
color: blue;
margin-left: 0px;
z-index: 1;
}

#content {
color: blue;
max-width: 1000px;
margin-left: 300px;
padding: 100px;
z-index: 1;
height: 100%;
}

/* a {
text-decoration: none;
} */

#content a, a:visited, a:active {
color: blue;
}

#content a:hover {
color: greenyellow;
}

#footer {
height: auto;
height: 100%;
width: 100%;
background-color: blue;
padding-top: 5px;
padding-left: 50px;
padding-bottom: 200px;
color: greenyellow;
position: relative;
z-index: 2;
}

/* ------ TABLE ------ */
table { /* CV */
border-collapse: collapse;
table-layout: fixed;
width: 100%;
font-size: 16px;
text-align: left;
}

td, th { /* CV */
background-color: none;
/* border: 1px solid black; */
}

tr:nth-child(even) { /* CV */
background-color: none;
}
/* ------ TABLE ------ */



#footer a, a:visited, a:hover, a:active {
color: greenyellow;
text-decoration: underline;
}


}

::-moz-selection { /* Code for Firefox */
  color: #FEF5E7;
  background: blue;
}


::selection {
  color: lavender;
  background: blue;
}

    iframe { 
    width: 700px;
    height: 400px;
    border: none;
    }

    @media screen and (max-width: 960px) {
    #overlay {
    position: static;
    width: 100%;
    z-index: 2;
    padding: 10px 10px 10px 50px;
    }

    aside {
    float: none;
    position: static;
    width: 100%;
    padding: 10px 10px 10px 50px;
    margin: 0;
    background-color: lavender;
    color: blue;
    z-index: 1;
    }

    .class_menu {
    display: block;
    }

    .class_sidebar {
    display: block;
    }
    
a.class1:link  {
text-decoration:none;
font-size: 18px;
}

a.class2:link  {
text-decoration:none;
font-size: 18px;
}
    
#content {
margin: 0;
padding: 50px;
z-index: 1;
height: 100%;
}
    
footer {
padding: 10px 10px 100px 50px;
margin: 0;
}
    
li {
/* background-color: white; */
padding: 5px 20px 5px 0px;
}

    
}