/* Tanne tulee CSS ulkoasu1:lle */



body {

    margin: 0;

    padding: 0;

    font-family: Quicksand;

}



/* header osuus */

.header {

    position: absolute;

    text-align: center;

    font-family: 'Lobster', cursive;

    top: 30%;

    left: 50%;

    transform: translate(-50%,-50%);

    z-index: 1;

}



.header h1 {

    color: #fff;

    font-size: 6em;

}



.tagline {

    position: absolute;

    text-align: center;

    top:36%;

    left: 50%;

    transform: translate(-50%,-50%);

}



.tagline p {

    color: #fff;

    font-family: Raleway;

    font-size: 20px;

}



.logo {

      line-height: 60px;

      position: fixed;

      float: left;

      margin: 16px 46px;

      color: #fff;

      font-weight: bold;

      font-size: 20px;

      letter-spacing: 2px;

}



nav {

      position: fixed;

      width: 100%;

      line-height: 60px;

      z-index: 2;

}

 

nav ul {

      line-height: 60px;

      list-style: none;

      background: rgba(0, 0, 0, 0);

      overflow: hidden;

      padding: 0;

      text-align: right;

      margin: 0;

      padding-right: 40px;

      transition: .1s;

}

 

nav.black ul {

      background: #000;

}

 

nav ul li {

      display: inline-block;

      padding: 16px 40px;;

}

 

nav a {

      text-transform: uppercase;

      text-decoration: none;

      color: #fff;

      font-size: 16px;

}



nav a:active, a:hover {

    text-transform: uppercase;

      text-decoration: none;

      color: #a9bce2;

      font-size: 16px;

}

 

.menu-icon {

    width: 100%;

    background: #000;

    text-align: right;

    box-sizing: border-box;

    padding: 15px 24px;

    cursor: pointer;

    color: #fff;

    display: none;

}







/* Sisältö osuus */

section.sec1 {

    width: 100%;

    height: 100vh;

    background: url(../IMG/ulkoasukuvat.png);

    background-size: cover;

    background-position: center;

}


.content {

    margin-top: -80px;

    width: 100%;

}



.content p {

    width: 50%;

    margin: 30px auto;

    text-align: justify;

    font-size: 20px;

    line-height: 30px;

}



.content h1,h2 {

    padding-left: 30%;

    margin: 2px auto;

    font-size: 30px;

    color: #20354a;

    font-family: 'Lobster', cursive;

}



.content h2 {

    font-size: 25px;

    margin: 15px auto;

}





/* Iso otsikko */



.iso-otsikko {

    margin: 12px;

    float:left;

    width: 25%;

    text-align: right;

    border-right: 2px solid grey;

}

.iso-otsikko h1 {

    font-size: 13em;

    font-family: 'Amatic SC', cursive;

    float:right;

}





/* Footer */



.footer {

    margin: 0;

    width: 100%;

    line-height: 60px;

    background: black;

    color: white;

}



.footer p {

    margin:0;

    text-align: right;

    padding-right: 20px;

    font-family: courier;

    font-size: 15px;

}


/* Kapea näyttö obtimointi */

@media(max-width: 1045px) {
    
    .header h1 {

    color: #fff;

    font-size: 4em;

}



.tagline {

    position: absolute;

    text-align: center;

    top:36%;

    left: 50%;

    transform: translate(-50%,-50%);

}
    
}


/* Mobiili obtimointi */



@media(max-width: 777px) {

 

      .logo {

            position: fixed;

            top: 0;

            margin-top: 16px;

      }

 

      nav ul {

            line-height: 10px;

            max-height: 0px;

            background: #000;

      }

 

      nav.black ul {

            line-height: 10px;

            background: #000;

      }

 

      .showing {

            max-height: 24em;

      }

 

      nav ul li {

            box-sizing: border-box;

            width: 100%;

            padding: 24px;

            text-align: center;

      }

 

      .menu-icon {

            display: block;

      }

    

    .header h1 {

        color: #fff;

        font-size: 2em;

    }

    

.iso-otsikko {

    margin: 10px;

    float:left;

    width: 30%;

    text-align: left;

    border-right: 2px solid grey;

}

.iso-otsikko h1 {

    font-size: 7em;

    font-family: 'Amatic SC', cursive;

}



    .content p {

        width: 90%;

    }

    .tagline p {

    color: #fff;

    font-family: Raleway;

    font-size: 14px;

}

}

