body {
    background-color: snow;
}

p {
    font-family: 'Gentium Basic', sans-serif;
    font-family: 'Gentium Book Basic', sans-serif;
}

/* Header */

header ul li {
    display: inline-block;
    text-align: right;
    font-size: 1.7em;
    margin: -37px 0 25px 0;    
    padding-right: 25px;
    float: right;

}

.headerN {
    text-align:Center;
    font-family: 'Rage Italic', sans-serif;
    background: -webkit-linear-gradient(#eee, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2em;
    margin: -37px 0 25px 45px; 
   }

#mainHeader {
    
    margin-top: 50px;
    background-color: rgb(16, 12, 10); 
    padding: 60px 0 60px 0;
    margin-top: 0px;
    z-index: 2;
}

.mainImage {
    height: 300px;
    width: 100%;
    background: url("../images/cairnstonesbsb2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 12% 32%;
}


a {
    color: #fff;
    text-decoration: none;
    text-align: left;
    font-family: 'Gentium Basic', sans-serif;
    font-family: 'Gentium Book Basic', sans-serif;
}


li {
    color: white;
    font-family: 'Gentium Basic', sans-serif;
    font-family: 'Gentium Book Basic', sans-serif;
}

/* introduction section */
.intro {
    display:flex;
    width:80%;
    height:100%;
    display:wrap;

}


.introI {
    display:flex;
    flex-wrap:wrap;
    flex-shrink: 3;
    align-self:center;
    flex-grow:0;
    margin: 0px 0px 50px 50px;
    border-radius: 5px;
    border: 5px solid #e39d01;
}

.introP {
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    order: 2;
    align-self:center;
    margin: 0px 30px 5px 35px;
    font-family: 'Gentium Basic', sans-serif;
    font-family: 'Gentium Book Basic', sans-serif;
    font-size: 1.3em;

    
}

/* .into and .portfolio headers */

.introH, .portfolio{
    text-align:center;
    width:85%;
    margin-top: 48px;
    margin-bottom: 30px;
    font-family: 'Rage Italic', sans-serif;
    background: -webkit-linear-gradient(#eee, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4.5em;
}

/* Portfolio section*/
#portfolio{
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
}
#work {
    display: flex;
    flex-wrap: wrap;
    width: 100%;    
    margin-top: 50px;
    padding: 50px;
    height: 100%;
}

 .work {
    width: 60%;
    margin-left: 30px;
 } 

#portfolio h3{
     background-color: #d83f03;
     padding:16px 14px;
     margin:113px 0px;
 }



 #work a {
     text-decoration: none;
 }

 .mainWork {
    height: 275px;
    width: 100%;
    background-image: url("../images/Beginning.png");
    background-repeat: no-repeat;
    background-size: cover;
    display:flex;
    flex-wrap:wrap;
    margin: 50px 100px 52px auto;
}

.mainWork:hover {
    box-shadow: inset 0px 0px 87px 8px rgb(125, 40, 0);
    opacity: 85%;
}

.work1, .work2, .work3, .work4 {
    height: 200px;
    width: 370px;
    background-repeat: no-repeat;
    background-size: cover;
    display:flex;
    flex-wrap:wrap;
    margin-right:100px;
    margin: 5px 0px 10px 0px;
    border-radius: 5px;
    border: 5px solid #7d2800;
}

.work1 {
   
    background-image: url("../images/workday.jpg");
   
}

.work1:hover {
    box-shadow: inset 0px 0px 87px 8px rgb(216, 63, 3);
    opacity: 85%;
}

.work2 {
   
    background-image: url("../images/weatherDahsboard.jpg");
}

.work2:hover {
    box-shadow: inset 0px 0px 87px 8px rgb(227, 157, 1);
    opacity: 85%;

}

.work3 {
   
    background-image: url("../images/quizCode.png");
}

.work3:hover {
    box-shadow: inset 0px 0px 87px 8px rgb(125, 40, 0);
    opacity: 85%;
}

.work4 {
   
    background-image: url("../images/pwgenerator.jpg");
}

.work4:hover {
    box-shadow: inset 0px 0px 87px 8px rgb(216, 63, 3);
    opacity: 85%;
}

 /* imgages Photo by Tom Swinnen from Pexels, Tuesday Temptation from Pexels, Pixabay from Pexels, Photo by Pixabay from Pexels*/
 .secondrow, .thirdrow {
     display: inline-flex;
     flex-wrap:wrap;
     width: 49%;
     margin-top: 15px;
     margin-right:5px;
 }


 /*Utilities hr/overflow */
 hr {
    width: 1px;
    margin-left: 2%;
    background-color: #3f4e65;
    padding: 2px;
}


 .overflow {
     width: 3%
 }



/* Contact Section */
#contact {
    float:right;
    display:flex;
    flex-wrap:wrap;
    width:85%;
    height:100%;
    justify-content: space-around;
    margin: 100px 108px -12px 0px;
    font-size: 1.5em;
}

#contact h1 {
    font-family: 'Rage Italic', sans-serif;
    background: -webkit-linear-gradient(#eee, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5em;
    margin-top: -4px;
    margin-bottom: 11px;
}

#contact li {
    margin-top: 22px;
    margin-left: -10px;
}

#contact a {
    color: black;
}

/*Aside layout and font */

.aside {
    float:left;
    width:15%;
    background-image:linear-gradient(to bottom left, #e39d01, #d83f03, #7d2800, #1a0101, #090101) ;
    height:100%;
    position:sticky;
    top:0;
    bottom:0;
    font-size: 1.3em;
    z-index:1;
}


.aside h1 {
    text-decoration: underline;
    text-align:center;
    background-color: black;
    color:white;
    padding:26px;
    font-family: 'Gentium Basic', sans-serif;
    font-family: 'Gentium Book Basic', sans-serif;
}

aside ul li {
    margin: 30px 10px 30px 30px;
    list-style-type: none;
    border-color: #610b0b;
    border-style: solid;
    padding:10px;
}


/*Utilities - section break, text overlay*/

hr {
    width: 60%;
    height:100%;
    text-align: center;
    margin:auto;
    margin-top: 68px;
}

.textOverlay {
    position: relative;
    height: auto;
    margin-left: auto;
    margin-right: auto;

}

.overlayTitle {
    position: relative;
    font-family:'Rage Italic', sans-serif;
    font-size: 2em;
    bottom:60px;
    color: #fff;
    padding-left:30px;
}

/* Footer Section */

#footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color:rgb(16, 12, 10);
    padding: 30px;
    margin-bottom: 0px;
    width:100%;
    z-index:2;
}
#footer p {
    display: flex;
    flex-direction: column;
    font-size:16px;
    color:#610b0b;
}
#footer h3 {
    display: flex;
    flex-direction: column;
    color:#660c0c;
}

.colorMe {
    font-family: 'Rage Italic', sans-serif;
    background: -webkit-linear-gradient(#e39d01, #d83f03, #7d2800, #1a0101, #090101);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 72px;
    margin-left: 30px;
}

/* Media Section */

@media screen and (max-width: 1100px) {
    nav {
        margin-right:0px;
    }
    aside {
        display:none;
    }
    section {
        display:flex;
        flex-wrap:wrap;
    }
    .sectionbreak {
        width: 50%;
        text-align: center;
    }
    .sectionbreak2 {
        width: 50%;
        text-align: center;
    }
}

@media screen and (max-width: 1024px) {
    header ul li{
        margin:-23px 85px 28px 0px;
        font-size: 1em;
        padding-right:0.1em;
    }
    #intro img{
        display:none;
    }
    #intro p{
        margin:auto;
   
    }
    #contact{
        display:flex;
        flex-direction:column;
        margin-bottom: 50px;
        align-content: center;
    }
}


@media screen and (max-width: 768px) {
    header ul li {
        margin:-66px 85px 89px 0px;
        /* flex-direction: row; */
        font-size: 1em;

        /* padding-right:0.1em; */
    }
    .mainImage {
        margin-top: 85px;
    }
    #intro {
        justify-content: center;
    }

    .container-work {
        width: 100%;
    }

    .work-div {
        width: 100%;
    }
    .intro img {
        display: none;
    }
    #intro, .intro{
        flex-direction: row;

    }

    .mainWork{
        width: 90%;
    }
    .work1, .work2, .work3, .work4{
        width: 100%;
        margin: 20px;
        justify-content: content;
    }
    #contact {
        display:flex;
        margin: auto;
        margin-bottom: 30px;
        margin-top: 120px;
        flex-direction: column;
        justify-content: center;
    }

    
}


