* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

::selection {
    background-color: #000;
    color: #fff;
}

body {
    background-image: url(../images/bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
    font-family: sans-serif;
    font-size: 24px;
}

p {
    margin-top: 15px;    
}

.layout {
    background-color: rgba(80, 95, 144, 0.7);    
    max-width: 1200px;
    margin: 0px auto;
    
    height: 1000px;
    
    position: relative;
    z-index: 100;    
}

header {
    background-color: #172556;
    padding: 20px;
    
    /*
    position: fixed;
    z-index: 1000;
    width: 1200px;    
    */
}

footer {
    background-color: #172556;
    position: fixed;
    z-index: 1000;
    width: 1200px; 
    padding: 5px;
    bottom: 0px;
}

nav {
    position: fixed;
    width: 1200px;    
    background-color: #071239;
}

nav ul li {
    display: inline-block;
    padding: 15px;     
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}

nav ul li:hover {
    background-color: #505F90;
}




nav ul li ul li {
    display: none;
    font-size: 16px;
}

nav ul li:hover ul {
    background-color: #505F90;
    position: absolute;
    left: 0px;   
    top: 40px;
    padding: 10px;
}

nav ul li:hover ul li {    
    display: block;
}








section {
    margin-top: 30px;
    padding: 20px;
}

section p {
    width: 32%;
    display: inline-block;
    vertical-align: top;
}

section .maxed {
    height: 200px;
    border: 10px solid red;
    
    overflow: auto;
}

.boat {
    position: absolute;
    bottom: 20px;
    right: 50px;
}


.smiley {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: yellow;
    
    position: relative;
}

.eye {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: black;
    
    display: inline-block;
    position: relative;
    top: 30px;
    left: 35px;
    margin: 10px;
}

.eye:hover {
    border-radius: 0;
    height: 10px;

}

.mouth {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid black;
    
    position: absolute;
    bottom: 20px;
    left: 50px;
    
    clip: rect(50px, 100px, 100px, 0px);
}

.mouth:hover {
    background-color: black;
}
