/* CSS reset */
header, body, p, h1, h2, h3, h4, footer{
    padding: 0; 
    margin: 0;
}
  
/*box model fix here*/
*{ -moz-box-sizing: border-box; -webkit-box-sizing: border-box;  box-sizing: border-box; 
}
 
html{
   background:rgb(231, 231, 231);
   font-family: 'Merriweather Sans', sans-serif;
   background-color: #c2946f;
}

div#wrapper{
    margin-left:160px;
    margin-right: 160px;
    max-width: 1100px;
    box-shadow: 0 0 20px #444;
    background-color: white;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 1080px;
    height: 250px;
    background-image: url("../images/codeLearningImage.jpg");
    background-repeat: no-repeat;
    background-size: 1030px 260px; 
}

/* putting in the top header h1-h2*/
#company {
    color: white;
    font-size: 40px;
    padding-top: 20px;
    text-shadow: 3px 3px #000;
    text-indent: 30px;
    margin: 0px 100px 30px 10px;
}

#slogan {
    color: white;
    font-size: 36px;
    padding-top: 20px;
    margin-left: 10px;
    text-shadow: 3px 3px #000;
    text-indent: 30px;
}

/* main body stuff*/ 
main, footer {
    background-color:rgb(231, 231, 231);
    clear:both;
}

h1 {
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: left;
    color:#048000;
    padding-top: 20px;
}

h2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    color:#048000;
    margin-top: 10px;
    font-size: 26px;
}

#pageName {
    display: block;
    height: 450px;
    background-color:rgb(231, 231, 231);
    clear: both;
    padding-left: 30px;
    padding-right: 10px;
    padding-bottom: 150px;
}

.pirates {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    font-size: 16px;
    width: 970px;
    max-height: 40px;
    background-color: #00fc3f;
    color: black;
    border-radius: 15px; 
    padding: 8px 0 8px 0;
}

.pirates a{
    color: black;
    list-style: none;
    text-decoration: none;
    font-weight: bold;
    border-left: 2px solid rgb(231, 231, 231);
    border-right: 2px solid rgb(231, 231, 231); 
    padding-left: 24px;
    padding-right: 23px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.pirates a:hover {
    color: rgb(251, 255, 21);
    background-color:#00fc3f;
}



footer{
    background-color:#593C1F;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    text-align: center;
    margin-bottom:20px;
    padding: 20px;
    color: white;
}

div.keepOpen { 
    clear: both;
}  