/* ********** GLOBAL SECTION ********** */
* {
    padding: 0;
    margin: 0;
    font-family: 'inter', Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: #111;
    color: #fff;
}

/* ********** TYPOGRAPHY ********** */

a {
    color: darksalmon;
    font-weight: bold;
}

a:hover {
    color: dodgerblue;
}

/* ********** GLOBAL CLASS & ID STYLES ********** */

.container {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #777;
}

.selected {
    color: dodgerblue;
}

/* ********** HEADER SECTION STYLES ********** */

header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid #777;
}

.logo {
    width: 50%;
    height: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

nav {
    width: 50%;
    height: 100%;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

nav ul li {
    padding: 0 20px;
}

/* ********** HERO SECTION STYLES ********** */

.hero {
    width: 100%;
    height: 500px;
    background-image: url(../images/hero.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
}

.hero-text {
    width: 100%;
    height: 100%;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.25);
}

.hero-message {
    width: 80%;
    font-size: 1.5em;
    text-align: center;
}

/* ********** ABOUT SECTION STYLES ********** */

.about {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid #777;
}

.abouthp-img {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.abouthp-img img {
    width: 60%;
    border-radius: 10%;
}

.abouthp-text {
    width: 50%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.abouthp-text h2, .abouthp-text p {
    padding: 20px 0;
}

/* ********** CONTACT SECTION STYLES ********** */

.contact {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #777;
} /* FORM ONLY */

.contacthp {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid #777;
} /* TEASER ON HOMEPAGE */

.contacthp-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contacthp-text h2, .contacthp-text p {
    padding: 20px 0;
}

.contacthp-img {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.contacthp-img img {
    width: 50%;
    border-radius: 25px;
}

/* ********** BLOG SECTION STYLES ********** */

.bloghp {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid #777;
}

.bloghp-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bloghp-text h2, .bloghp-text p {
    padding: 20px 0;
}

.bloghp-img {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
}

.bloghp-img img {
    width: 50%;
    border-radius: 25px;
}

.blog-archives {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #777;
}

.hide {
    display: none;
}

.blog-img {
    width: 20%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.blog-img img {
    width: 100%;
    border-radius: 25px;
}

.blog-text {
    width: 80%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.blog-text h2, .blog-text p {
    padding-bottom: 10px;
}

/* ********** BLOG ENTRY STYLES ********** */

.blog {
    width: 100%;
}

.blog-article {
    padding: 0 20px;
}

.blog-article h2 {
    padding: 20px 0;
}

.blog-article p {
    padding: 10px 0;
    line-height: 1.5;
}

.blog-article img {
    width: 100%;
    padding: 20px 0;
}

.video {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.blog-article h3 {
    padding: 10px 0;
}

.blog-article ul {
    padding-left: 30px;
    padding-bottom: 20px;
}

.blog-article ul li {
    padding: 5px 0; 
}

/* ********** PROJCTS SECTION STYLES ********** */

.projects {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid #777;
}

.projectshp-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projectshp-text h2, .projectshp-text p {
    padding: 20px 0;
}

.projectshp-img {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
}

.projectshp-img img {
    width: 50%;
    border-radius: 25px;
}

/* ********** FOOTER SECTION STYLES ********** */

footer {
    width: 100%;
    height: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    background-color: #111;
    border-top: 1px solid #777;
}

.identification {
    width: 33%;
    height: 100%;
    margin: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.identification h1, .byline {
    padding: 10px 0;
}

.main-nav {
    width: 33%;
    height: 100%;
    margin: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.main-nav h2 {
    padding: 20px 0 18px 0;
}

.main-nav ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    word-wrap: wrap;
    gap: 10px;
}

.main-nav ul li {
    padding: 5px;
}

.socials {
    width: 33%;
    height: 100%;
    margin: 0 20px 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.socials h2 {
    padding: 20px 0;
}

.socials ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    word-wrap: wrap;
    gap: 10px;
}

/* ********** MEDIA QUERY STYLES ********** */

@media only screen and (max-width: 800px) {

    /* ********** HEADER SECTION STYLES *********** */

    header {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: 1px solid #777;
    }

    .logo {
        width: 100%;
        height: 100%;
        padding: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    nav {
        width: 100%;
        height: 100%;
        padding: 20px;
    }

    nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        word-wrap: wrap;
        gap: 20px;
        text-align: center;
    }

    nav ul li:first-child {
        display: none;
    }

    /* ********** HERO SECTION STYLES ********** */

    .hero {
        width: 100%;
        height: 200px;
        border: 1px solid #777;
    }

    .hero-text {
        width: 100%;
        background-color: rgba(0,0,0,0.25);
    }

    .hero-message {
        width: 80%;
        font-weight: 1em;
        font-size: 1.2em;
    }

    /* ********** ABOUT SECTION STYLES ********** */

    .about {
        width: 100%;
        flex-direction: column;
    }

    .abouthp-text {
        width: 100%;
        text-align: center;
    }

    /* ********** CONTACT SECTION STYLES ********** */

    .contacthp {
        width: 100%;
        flex-direction: column-reverse;
    }

    .contacthp-text h2, .contacthp-text p {
        padding: 20px 0;
    }

    /* ********** BLOG SECTION STYLES ********** */

    .bloghp {
        width: 100%;
        flex-direction: column;
    }

    .bloghp-text h2, .bloghp-text p {
        padding: 20px 0;
    }

    .blog-archives {
        flex-direction: column;
    }

    .blog-img {
        width: 100%;
        padding-bottom: 20px;
    }

    /* ********** PROJECTS SECTION STYLES ********** */

    .projects {
        width: 100%;
        flex-direction: column-reverse;
    }

    .projectshp-text h2, .projectshp-text p {
        padding: 20px 0;
    }

    /* ********** FOOTER SECTION STYLES ********** */

    footer {
        width: 100%;
        margin: 0;
        padding: 0 0 20px 0;
        flex-direction: column;
        align-items: center;
    }

    .identification {
        width: 100%;
        margin: 0;
        padding: 20px 0;
        align-items: center;
        text-align: center;
    }

    .byline {
        width: 70%;
    }

    .main-nav {
        width: 100%;
        padding: 20px 0;
    }

    .socials {
        width: 100%;
    }

}
