@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

* {
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background-color: cadetblue;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h1 {
    font-size: 3rem;
    padding: 1rem;
}

.pfp {
    width: 20vw;
    border-radius: 5%;
}

.info {
    font-size: 2.2rem;
}

.fact-image {
    width: 15vw;
    border-radius: 5%;
}

.homePrompt {
    font-size: 1.6rem;
}

.goHome {
    font-size: 2rem;
}

.bold {
    font-weight: bold;
}

.facts-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    margin-left: 10%;
    margin-right: 50%;
    margin-bottom: 2rem;
}

.facts-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: right;
    margin-left: 50%;
    margin-right: 10%;
    margin-bottom: 2rem;
}

.projects-container {
    display: flex;
    flex-wrap: wrap; /* allows project cards to go to multiple lines*/
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: aliceblue;
    color: black;
    border-radius: 10px;
    padding: 2rem;
    max-width: 350px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:active {
    transform: scale(0.95);
}

.project-card h2 {
    margin-top: 0;
    color: #373737;
    font-size: 1.5rem;
}

.project-card p {
    color: #666;
    line-height: 1.6;
    margin: 1rem 0;
}

footer{
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    padding-top: 4rem;
}

.project-link{
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    outline: none;
}

button {
    width: 20vw;
    border-radius: 5%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: transform 0.1s ease-in; /* makes transitions smooth*/
}

button:active{
    transform: scale(0.95);
}
