    /* font-family: 'Lato', sans-serif;
    font-family: 'Oswald', sans-serif;
    font-family: 'Playfair Display', serif; */
:root {
    --font-lato: 'Lato', sans-serif;
    --font-oswald: 'Oswald', sans-serif;
    --font-pfDisplay: 'Playfair Display', serif;
}

/* site wide */
html {
    box-sizing: border-box;
    background-color: hsl(0, 0%, 90%);
}
*, *::before, *::after {
    box-sizing: inherit;
}



/* Body and window stuff */
body {
    height: 100%;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: hsl(0, 0%, 90%);
}

ul {
    list-style: none;
}

ul > * {
    display: inline-block;
    padding: 2px;
}

i {
    color: gray;

}

#icons {
    color: lightgray;
    display: inline;

}
#icons > * {
    margin: 4px;
    height: 30px;
    width: 30px;
}

/* Navigation / top bar */
nav {
    width: 100%;
    height: 9vh;
    padding: 0 7%;
    /* border: 2px solid blue; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    background-color: whitesmoke;
}

nav > ul {
    color: gray;
    font-weight: bold;
}
nav > ul > * {
    padding: 10px;
    font-size: .75rem;
    text-transform: uppercase;
    padding: 0 12px;
}

nav > #icons {
    height: 100%;
    display: flex;
    align-items: center;
}

#mobile-nav {
    display: none;
}

/* nav > #icons {
    margin-right: 20%;
} */

/* main-page */
#main-page {
    /* border: 3px solid green; */
    width: 100%;
    display: grid;
    grid-template-areas: "main aside";
    grid-template-columns: 66.5% 33.5%;

}


/* main content (blog posts) */
main {
    grid-area: "main";
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 3%;
    position: relative;
}

.main-post {
    /* border: 2px solid red; */
    width: 84%;
    /* height: 129vh; */
    margin-bottom: 5%;
    text-align: center;
    background-color: whitesmoke;
}

.main-post > img {
    width: 100%;
    height: 65.5vh;
    max-height: 70vh;
}

.post-type {
    color: hsl(20, 80%, 45%);
    text-transform: uppercase;
    font-family: var(--font-oswald);;
    letter-spacing: 1px;
    font-size: .66rem;

    margin-top: 40px;

    /* element {
    --font-lato: 'Lato', sans-serif;
    --font-oswald: 'Oswald', sans-serif;
    --font-pfDisplay: 'Playfair Display', serif; */
}

.post-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--font-oswald);
    transform: scale(1, 1.5);
    letter-spacing: .01rem;
}

.main-post > p {
    padding: 0 30px;
    font-family: var(--font-oswald);
    font-weight: light;
    color: gray;

}

.main-post > button {
    text-transform: uppercase;
    font-size: .85rem;
    font-weight: bold;
    background-color: whitesmoke;
    color: hsl(20, 80%, 45%);
    border: 1px solid hsl(20, 80%, 45%);
    border-radius: 2px;
    padding: 10px 20px;
    margin: 15px;
}
.main-post > button:hover {
    background-color: hsl(20, 80%, 45%);
    color: whitesmoke;
    border-color: whitesmoke;
}

.post-footer {
    margin: 0 auto;
    margin-top: 25px;
    margin-bottom: 30px;
    border-top: 1px solid lightgray;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-footer > p {
    color: hsl(0, 0%, 50%);
    font-size: 1.1rem;
    font-style: italic;
    padding-left: 5px;
}

.post-footer > #icons {
    margin-top: 10px;
}

#pages {
    align-self: flex-start;
    position: relative;
    left: 14%;
    padding: 0 0;
}

#pages > * {
    background-color: whitesmoke;
    /* border: 2px solid red; */
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 100%;
}

#pages > *:hover {
    background-color: hsl(20, 80%, 45%);
    color: white;
}

aside {
    grid-area: "aside";
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

aside > * {
    margin-bottom: 45px;
}

#profile {
    /* border: 2px solid red; */
    padding: 0 10px;
    width: 78%;
    height: 76vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    background-color: whitesmoke;
}

#profile > h3 {
    font-family: var(--font-pfDiaply);
}


#profile > .background {
    position: absolute;
    width: 100%;
    height: 34%;
    margin-bottom: 20%;
    z-index: 0;
}

#profile > .photo {
    border: 6px solid white;
    border-radius: 50%;
    max-width: 55%;
    height: 35%;
    margin-top: 30%;
    z-index: 10;
}

#profile > h3 {
    font-family: var(--font-lato);
    text-transform: uppercase;
    font-size: .85rem;
    transform: scale(1, 1.5);
    letter-spacing: .05rem;
    width: 100%;
    margin: 10px auto;
}

#profile > p {
    text-align: center;
    padding: 0 5%;
    font-size: 1.25rem;
    width: 100%;
}

#profile > #icons {
    position: relative;
    bottom: 0px;
}

#profile > #icons > * {
    border: 1px solid gray;
    border-radius: 50%;
    padding: 5px;
}

#popular {
    /* border: 2px solid red; */
    padding: 0 6%;
    width: 78%;
    height: fit-content;
    /* height: 76vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: whitesmoke;
}

#popular > h3 {
    font-size: 1.2rem;
    font-family: var(--font-oswald);
    font-weight: light;
    text-transform: uppercase;
    transform: scale(.75, 1.1);
    padding: 12px;
}

.mini-post {
    /* border: 2px solid red; */
    border-bottom: 1px solid gray;
    margin-bottom: 3vh;
    width: 100%;
    height: 39vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    text-align: start;
}

.mini-post > img {
    margin-bottom: 5px;
}

.mini-post > .mini-title {
    font-family: var(--font-oswald);
    text-transform: uppercase;
    color: hsl(0, 0%, 25%);
    margin: 10px 0;
}

.mini-post > .mini-date {
    font-size: .9rem;
    font-weight: 400;
    font-family: var(--font-oswald);
    text-transform: uppercase;
    color: hsl(0, 0%, 40%);
    margin: 5px 0;
}

.mini-post > * {
    max-width: 100%;
    max-height: 100%;
}

.mini-post:last-child {
    border-bottom: none;
}

#latest {
    /* border: 2px solid red; */
    padding: 0px 28px;
    width: 78%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    background-color: whitesmoke;
}

#latest > h3 {
    font-size: 1.2rem;
    font-family: var(--font-oswald);
    font-weight: light;
    text-transform: uppercase;
    transform: scale(.75, 1.1);
    padding: 12px;
}

.latest-post {
    /* border: 2px solid red; */
    border-bottom: 1px solid gray;
    padding-bottom: 2.5vh;
    margin-bottom: 2vh;
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    position: relative;
    text-align: start;
}

.latest-post > img {
    width: 34%;
}

.latest-post > .details {
    padding-left: 13px;
}
.details > * {
    margin: 0;
    margin-bottom: 1vh;
    font-size: 1rem;
}

.latest-title {
    color: hsl(0, 0%, 20%);
    font-family: var(--font-lato);
}

.latest-date {
    font-size: .9rem;
    font-weight: lighter;
    font-family: var(--font-oswald);
    color: hsl(0, 0%, 40%);
    margin: 5px 0;
}

#insta-feed {
    /* border: 2px solid red; */
    padding: 0px 28px;
    width: 78%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    background-color: whitesmoke;
}

#insta-feed > h3 {
    font-size: 1.2rem;
    font-family: var(--font-oswald);
    font-weight: light;
    text-transform: uppercase;
    transform: scale(.75, 1.1);
    padding: 12px;
}

.insta-feed {
    display: flex;
    flex-wrap: wrap;
}

.insta-feed > img {

    width: 46%;
    display: inline-block;
    margin: 5px;
}

img {
    object-fit: cover;
}

footer {
    width: 100%;
    /* height: 500px; */
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    align-items: center;

}

footer > h3 {
    font-size: 1.2rem;
    font-family: var(--font-oswald);
    font-weight: light;
    text-transform: uppercase;
    transform: scale(.75, 1.1);
    padding: 30px;
    margin: 0;
}


.gallery {
    width: 100%;
    height: 30%;
    display: flex;
    margin: 0;
}

.gallery > * {
    width: 10%;
    display: inline-block;
    flex: 1;
}

#credits {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 80%);
    font-weight: lighter;
    margin: 0 0;
    padding: 40px 0;
}

#credits > h4 {
    padding: none;
}

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

    #main-page {
        display: flex;
        flex-direction: column;
        /* justify-content: center;
        align-items: center; */
    
    }

    main {
        margin: auto;
        align-items: center;
    }

    aside {
        align-items: center;
    }

    nav {
        display: none;
    }
    #mobile-nav {
        width: 100vw;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 1rem;
        margin-bottom: 1rem;
        background-color: hsl(0, 0%, 92%);
        border-bottom: 1px solid hsl(0, 0%, 80%);

    }
    #mobile-nav > i {
        font-size: 2rem;
    }

}