@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', arial;
    color: #fff;
}

body {
    background: #070d0f;
}

nav {
    width: 100vw;
    height: 14vh;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100px;
    position: relative;
}

nav::after {
    content: "";
    width: 95vw;
    height: 1px;
    max-width: 600px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    background: #ccc;
}

nav > a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    padding: 4vh;
    height: 100%;
    display: flex;
    align-items: center;
}

nav > a:hover {
    background: #2c2c2c;
    cursor: pointer;
}

main {
    width: 100vw;
    max-width: 1200px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 5vh;
}

main > h1 {
    font-size: 3rem;
    width: 100%;
    text-align: center;
}

.projects {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.project {
    width: 33%;
    max-width: 350px;
    position: relative;
    margin: 15px;
    padding: 10px;
    border: 1px solid #3b3b3b;
    padding-bottom: 30px;
    transition: 0.2s;
}

.project img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.project .info h4 {
    font-size: 1.5rem;
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.project .info a {
    text-decoration: none;
    cursor: pointer;
    position: relative;
    top: 13px;
    border: 1px solid #fff;
    padding: 8px 12px;
    transition: 0.2s;
}

.project .info span {
    position: relative;
    font-size: 1rem;
    font-weight: lighter;
    margin-left: 10px;
    color: #525252;
}

.project .info a:hover {
    background: #fff;
    color: #070d0f;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px #0006;
}




.footer {
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: fit-content;
    height: fit-content;
}