body {
    color: #888;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 0.9rem;
}    
body a {
   color: #666; 
   text-decoration: none; 
}    

body a:hover {
    color: #000;
}
    
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin: 2rem;
}

.logo-main {
    font-family: "Antic Didone", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 2.5rem;
    color: #4d4d4d;
    margin-bottom: 1rem;
}

.logo-sub {
    font-family: "Antic", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1rem;
    text-transform: uppercase;
    color: #828282;
    white-space: nowrap;
}

.header-nav {
    flex-grow: 1;
}

.nav-title {
    display: none;
    text-align: center;
    text-transform: uppercase;
}

#menu-wrapper {
    display: block;
}

.menu {
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: center;
    flex-wrap: wrap;
}

.menu a {
    color: #999;
    font-family: "Jost", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.menu a:hover {
    color: #111;
}

.menu li {
    list-style: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 5px;
}


.projects, .category {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    grid-gap: 1.5rem;
}

img {
    width: 100%;
}



.main-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-content p {
    max-width: 900px;
}

.main-content a {
    color: #4AB;;
}

.main-content a:hover {
    color: #156;
}


.footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.socials {
    display: flex;
    flex-direction: row;
}

.social-icon {
    padding: 1rem;
    vertical-align: middle;
}

.social-icon:hover {
    color: #000;
}

.index-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.index-content p {
    max-width: 900px;
}

.images-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.card-image img {
    max-width: calc(100vw / 5);
    max-height: calc(100vw / 5);
}

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

    header {
        flex-direction: column-reverse;
        align-items: center;
    }

    .logo-main {
        text-align: center;
    }

    .header-nav {
        border-bottom: solid 1px #DDD;
        margin-bottom: 1rem;
    }

    .nav-title {
        display: block;

    }

    #menu-wrapper {
        display: none;
    }

    .menu {
        flex-direction: column;
    }

    .footer {
        flex-direction: column;
    }

  }

  @media screen and (min-width: 600px) {

    .menu {
        flex-direction: row;
    }

  }