* { box-sizing: border-box; padding: 0; margin: 0; letter-spacing: 0.02em; } *:focus, *::selection { background-color: inherit; outline: none !important; color: #ededed; } body { background-color: #131313; color: lightgray; font-family: Arial, Helvetica, sans-serif; line-height: 1.6; } header { text-align: center; padding: 1em 0em; } header h1 { font-family: "Times New Roman", Times, serif; letter-spacing: 0.1em; } nav { display: flex; justify-content: space-evenly; align-items: center; padding: 0em 2em; background-color: #131313; } main { margin: 2em; min-height: calc(100vh - 108.8px - 25.6px - 25.6px - 32px - 32px); } main .works { display: grid; row-gap: 2em; column-gap: 2em; } @media screen and (min-width: 768px) { main .works { grid-template-columns: 1fr 1fr; } } @media screen and (min-width: 1024px) { main .works { grid-template-columns: 1fr 1fr 1fr 1fr; } } footer { text-align: center; font-size: 0.8em; background-color: #333; } a { text-decoration: none; color: inherit; } a:hover { border-color: #a29d7f; color: #ededed; } .work-card { padding: 2em; background-color: #333; border-radius: 0.3em; border: 1px solid #131313; height: 250px; display: flex; flex-direction: column; justify-content: space-between; } .work-card .title-and-description h3, .work-card .info h3 { font-weight: lighter; color: #a29d7f; } .work-card .info span { background-color: #131313; padding: 0.5em; margin: 0 0.5em; } .work-card:hover { border: 1px solid #a29d7f; } .works-filter { padding-bottom: 2em; font-size: 0.9em; } @media screen and (max-width: 500px) { .works-filter { font-size: 0.7em; } } .works-filter label { margin-left: 2em; color: lightgray; } .works-filter select { background-color: #333; color: #a29d7f; border: none; } /*# sourceMappingURL=style.css.map */