:root {
    --ghostwhite: #F8F8FF;
    --mulledwine: #4B475F;
    --lavendar: #D7D6FF;
    --blackout: #222;
    --standard-text: 1.7rem;
}

html {
    font-size: 10px;
    color: var(--ghostwhite);
    font-family: "Jost", Arial, Helvetica, sans-serif;
}

body {
    background-color: var(--blackout);
    height: 100vh;
    position: relative;
}

nav {
    height: 90px;
    background-color: var(--ghostwhite);
    color: var(--blackout);
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.logo {
    height: 81px;
    width: 69px;
}

.nav-item, p {
    font-size: var(--standard-text);
    line-height: 1.3;
}

.nav-item {
    font-weight: 500;
}

.nav-item a, .nav-item a:link, .nav-item a:visted, .nav-item a:active, .nav-item a:hover {
    color: var(--blackout);
    text-decoration: none;
}

.nav-item:hover {
    text-decoration: underline;
}

.nav-item-container {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

main {
    display: flex;
    justify-content: center;
}

.everything-container {
    width: 90%;
}

.greeting {
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--lavendar);
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.greeting + p {
    font-style: italic;
}

.greeting span {
    display: block;
}

img {
    width: 100%;
    height: auto;
}

.featured {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100vw;
}

.featured div {
    aspect-ratio: 1/1;
    border: solid 2px var(--ghostwhite);
}

/*
.title, .year {
    display: none;
}
*/

@media screen and (min-width: 600px) {
    /*HOME PAGE*/
    
    .featured div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .title {
        font-size: 2rem;
        font-weight:500;
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .year {
        font-size: 1.4rem;
    }
    
}

@media screen and (min-width: 800px) {
    .greeting {
        font-size: 8rem;
    }
}







