@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html {
    font-family: "Nunito", serif;
    background-color: #eee;
}

body {
    margin: 0;
    padding-bottom: 100px;
    padding-top: 80px;
}

article {
    width: 90%;
    max-width: 900px;
    font-size: 17px;
    margin: 0 auto;
}

h1 {
    font-size: 56px;
    font-weight: 900;
}

h2 {
    font-size: 24px;
    font-weight: 800;
}

footer {
    margin-top: 160px;
    text-align: center;
}

nav {
    border-bottom: 2px solid lightgray;
    position: fixed;
    top: 0;
    height: 70px;
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    background-color: #fff;
    padding: 16px;
    margin: 0;
    z-index: 1;
}

nav:nth-child(2) {
    margin-left: auto;
}

.nav-content {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.header-image-link {
    height: 100%;
}

.spacer {
    margin: auto;
}

#download-button {
    background-color: rgba(16, 141, 78, 0.867);
    color: white;
    padding: 12px;
    border-radius: 16px;
}

.header-image {
    height: 100%;
    width: auto;
}

.subtitle {
    font-size: 20px;
    margin-top: -30px;
    margin-bottom: 60px;
    font-weight: 700;
}

#creations-grid, #creations-grid-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 95%;
    margin: 0 auto;
}

.creation {
    background-color: #fff;
    border-radius: 16px;
    height: auto;
}
.creation>img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}
.creation-labels {
    align-items: center;
    display: flex;
    flex-direction: row;
    padding: 0px 24px;
    color: rgb(14, 91, 77);
}
.creation-labels>p {
    margin-left: auto;
    font-size: 18px;
}

@media screen and (max-width: 1200px) {
    .creation-labels {
        flex-direction: column;
    }
    .creation-labels>h2 {
        margin-bottom: -12px;
    }
}

@media screen and (max-width: 800px) {
    #creations-grid {
        grid-template-columns: 1fr;
    }
}