/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;

}
/*---------- End Reset ---[--------------*/

}


body {
    font-family: 'Roboto', sans-serif;
    background-color: #bbb;
    
}

a {
    color: #000;
}

/* header */

header {
    top:0; 
    background-color: #59d5d8;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: fixed;
    width: 100%;
    z-index: 3;
}

nav ul{
    overflow: hidden;
    background-color: #59d5d8;
}


header li a {
    display: block;
    font-size: 1.25em;
    padding:  10px;
    border-right: 1px solid #f4f4f4;
  
}

header ul ul{
    display: none;
}

header ul ul{
    display: none;
}




header li a:hover, 
header .menu-btn:hover {
    background-color: #f4f4f4;
}

header .logo {
    display: block;
    float: left;
    font-size: 1.25em;
    padding: 20px;
    text-transform: uppercase;
}

/* menu */

header ul{
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}



header li:nth-of-type(7){
    background-color: #acacff;
    border: 1px solid #f4f4f4;
    border-radius: 1em;
    font-weight: bold;
}



/* menu icon*/

header .menu-icon {
    cursor: pointer;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

header .menu-icon .nav-icon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

header .menu-icon .nav-icon:before,
header .menu-icon .nav-icon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

header .menu-icon .nav-icon:before {
    top: 5px;
}

header .menu-icon .nav-icon:after {
    top: -5px;
}

/* menu btn */

header .menu-btn {
    display: none;
}

header .menu-btn:checked ~ nav ul{
    max-height: 360px;
}

header .menu-btn:checked ~ .menu-icon .nav-icon {
    background: transparent;
}

header .menu-btn:checked ~ .menu-icon .nav-icon:before {
    transform: rotate(-45deg);
    top:0;
}

header .menu-btn:checked ~ .menu-icon .nav-icon:after {
    transform: rotate(45deg);
    top:0;
}

main{
    margin-top: 55px;
    padding: 50px;
    background-color: #f8f8ff;
}
main h1{
    font-size: 1.37em;
    
    text-align: center;
}
main h2{
    font-size: 1.30em;
    padding-bottom: 15px;

}

main img {
    display: block;
    border: 6px solid #acacff;
    border-radius: 1200px;
    margin: 20px auto 20px auto;
    
}

main img:nth-of-type(1){
 border-radius: 60px;           
}

main p{
    font-size: 1.1em;
    line-height: 1.5em;
}

footer{
    height: 3.75em;
    background-color: #59d5d8;
}


@media (min-width: 970px) {
    

main{
    margin-bottom: 3em;
    }
  
main h1{
    font-size: 3.25em;
    margin-top:50px;
}   
 
main h2{
    font-size: 2em;
    font-weight: 400;
    padding: 1.3em 0 .3em 8.5em;
    }
 
main p{   
    font-size: 1.25em;
    line-height: 1.8em;
    margin: 0 13.5em;
    }
  
    
main img:nth-of-type(1){
     width: 230px;
     height: 260px;
}
    
    main h2:nth-of-type(1){
     padding: 1.5em 0 .5em 0;
     text-align: center;
} 
    
main img:nth-of-type(2), img:nth-of-type(4){
      float: left;
}   

 main img:nth-of-type(3), main img:nth-of-type(5){
     float: right;
     margin-bottom: 2em;
}

 
@media (min-width: 900px) {
    
header .logo {
     font-size: 2em;
     padding: 20px;  
} 
    
header li {
     float: left;
  }

    header li a {
        font-size: 1em;
    }
    
header ul{
      clear: none;
      padding: 12px;
      float: right;
      max-height: none;
  }
    
header .menu-icon {
      display: none;
  }


}
    
 