main {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    position: relative;
}

#projects {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
}

.project-title {
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    padding: 0.75em 0.4em;
    font-size: 1.5em;
    pointer-events: none;
}

.project-title:hover {
    color: rgb(208, 207, 140);
}

.card {
    border-radius: 10px;
    min-height: 400px;
    height: 100vw;
    max-height: 500px;
    position: relative;
    max-width: 322px;
    width: 70vw;
    min-width: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5.5%;
    pointer-events: auto;
}

.project-card {
    background-color: rgb(29, 29, 31);
    border-radius: 100px;
    inset: 1px;
    position: absolute;
    font-size: 20pt;
    color: white;
    
    transition-property: border-radius;
    transition-duration: 0.35s;
}

.project-card:hover {
    cursor: pointer;
    border-radius: 10px;
    transition-duration: 0.35s;
}

.card:hover::before {
    opacity: 1;
}

.card:before {
    border-radius: inherit;
    content: "";
    inset: 0px;
    opacity: 0;
    position: absolute;
    z-index: 0;
}

.card a {
    height: fit-content;
}

#name {
    margin: 0;
    margin-top: 0.5em;
    padding: 0;
    display: inline-block;
    text-align: center;
    font-size: 3em;
    font-weight: bold;
}

#profession {
    margin: 0;
    margin-top: 0.35em;
    font-size: 1.6em;
    display: inline-block;
    font-weight: bold;
    text-align: center;
}

img {
    min-height: 440px;
    height: inherit;
}
