@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inconsolata', monospace;
    background-color: #e2e8f0;
}

.container {
    display: block;
}

.header {
    text-align: center;
    margin: 3rem;
}

.header h2 {
    font-weight: 400;
    line-height: 1.3;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-size: 32px;
}

.header .header-underline {
    height: 0.2rem;
    width: 7rem;
    background: #f0db51;
    margin: 0.5rem auto 8px;
}

.container .section-center {
    width: 90vw;
    max-width: 1120px;
    margin: 0 auto 2rem;
    display: grid;
    gap: 3rem 2rem;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

a {
    text-decoration: none;
}

.container .section-center img {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    width: 100%;
}

.project {
    border-radius: 0.25rem;
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
}

.project footer {
    text-align: center;
    padding: 1rem 1.25rem;
    background: white;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.project footer h5 {
    margin-bottom: 0px;
    color: #0f172a;
    font-weight: 500;
}

h5 {
    font-size: 1.25rem;
}

.project:hover {
    transform: scale(1.1);
}

footer .footer h5 {
    text-align: center;
}