
/*------------------         Master Styles       ------------------*/

body {
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
    color: #404040;
    margin: 0;
    border: 1px solid black;
}


/*-------------         Navigation Bar Styles       ---------------*/

header {
    height: 12rem;
    background-color: #ececec;
}

nav {
    font-size: 1.4rem;
    display: flex;
}

nav a {
    color: #1f4b8e;
    text-decoration: none;
}

.navBar {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link {
    margin: 1rem 1rem;
}

.active-nav-link {
    border-bottom: 1px solid #1f4b8e;
}

#brandName {
    font-size: 2rem;
    font-weight: 700;
    color: #1f4b8e;
}

@media (max-width: 800px) {
    .navBar {
        padding-top: 0.5rem;
        flex-direction: column;
    }

    .nav-link {
        margin-top: 0rem;
    }
}


/*--------------------     Main Section Styles     ----------------*/

main {
    text-align: center;
    width: 70%;
    margin: 10rem auto;
}

.greeting {
    font-size: 1.2rem;
}

.title {
    font-size: 3.1rem;
    font-weight: 700;
    margin-bottom: 0;
}

.homeImages {
    margin: 3rem auto;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
}

.divideHomeImages {
    width: 50%;
}

.homeImage {
    width: 85%;
    min-width: 250px;
    max-width: 375px;
}

.imageCaption {
    width: 85%;
    min-width: 250px;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 800px) {

    main {
        width: 95%;
        margin: 3rem auto
    }

    .title {
        font-size: 2rem;
    }

    .greeting {
        font-size: 1.1rem;
    }

    .homeImages {
        flex-direction: column;
    }

    .homeImage {
        width: 60%;
        max-width: 350px;
        margin-top: 1.5rem;
    }

    .imageCaption {
        width: 80%;
    }

    .divideHomeImages {
        width: 100%;
    }
}

/*-----------------     Projects Section Styles     ---------------*/

h2 {
    margin: 2rem 0;
}

.technologies {
    width: 40%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.techLogo {
    width: 4rem;
    margin: 0 1rem;
}

.projectsContainer {
    max-width: 1000px;
    margin: 3rem auto;
    display: flex;
    justify-content: space-between;
}

.project {
    width: 85%;
}

.projectImage {
    width: 80%;
    min-width: 250px;
    max-width: 400px;
}

.projectButtons {
    margin: 0.5rem auto;
}

.projectButton {
    width: 80px;
    font-size: 1rem;
    height: 2rem;
    margin-right: 1rem;
    border: none;
    border-radius: 12px;
    background-color: #bbbbbb;
}

.projectDescription {
    width: 80%;
    min-width: 250px;
    margin: 1rem auto;
    text-align: left;
}

.projectButton:hover,
.projectButton:focus {
    background-color: #1f4b8e;
    color: #ececec;
}

@media (max-width: 800px) {

    .techLogo {
        width: 3.5rem;
        margin: 0 0.5rem;
    }

    .projectsContainer {
        flex-direction: column;
        align-items: center;
    }

    .projectImage {
        width: 95%;
    }

    .projectDescription {
        width: 80%;
        margin: 1rem auto;    }

    .separateImages {
        width: 85%;
        margin: 1rem auto;
    }
}


/*---------------       Contact Form Styles        ----------------*/

form {
    font-size: 1rem;
    width: 85%;
    min-width: 250px;
    max-width: 31rem;
    margin: 0 auto;
    padding-top: 1rem;

}

.formWrapper {
    width: 90%;
    max-width: 38rem;
    height: 31rem;
    margin: 3rem auto;
    background-color: #ececec;
}

.aboutCaption {
    line-height: 1.7rem;
    margin: 0 1rem;
    text-align: left;
}

.inputLabel {
    text-align: left;
    margin-bottom: 0;
}

.contactBox {
    font-size: 1rem;
    width: 100%;
    line-height: 1.6rem;
}

#messageBox {
    font-family: 'Lato', sans-serif;
    width: 100%;
    min-width: 250px;
    max-width: 31rem;
    height: 11rem;
    min-height: 11rem;
    max-height: 11rem;
}

#sendButton {
    font-size: 0.9rem;
    height: 2rem;
    width: 4rem;
    margin-top: 0.5rem;
}

#sendButton:hover,
#sendButton:focus {
    background-color: #bbbbbb;
}

#error {
    margin-top: -1rem;
}


/*----------------------      Footer Styles       -----------------*/

footer {
    height: 13rem;
    color: #bbbbbb;
    background-color: #0f1225;

    text-align: center;
}

h3 {
    width: 7.3rem;
    margin: 1rem auto;
}

.footerLinks {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
}

.footerNav a{
    color: #bbbbbb;
    margin: 0 1rem;
    text-decoration: none;
}

.socialMedia {
    margin-top: -1rem;
}

.mediaIcons {
    display: flex;
    justify-content: center;
}

.fa {
    font-size: 1.5rem;
    color: #bbbbbb;
    text-decoration: none;
    padding: 0rem 0.5rem 1.5rem 0.5rem;
}

#copyRight {
    font-size: 1rem;
}

@media (max-width: 800px) {
    .footerNav a{
        display: flex;
        padding-bottom: 0.5rem;
    }

    .footerLinks {
        padding-top: 2rem;
    }
}
