body {
    background-color: #f0f2f5;
    color: #333;
    font-family: 'Helvetica', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.logo img {
    margin-bottom: 8%;
    max-width: 35%;
    height: auto;
}

.bitmoji {
    display: flex;
    justify-content: center;
    height: 30%;
    width: auto;
}

.buttons {
    margin-top: 10%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;
}

button {
    padding: 1rem 2rem;
    min-width: 12.5rem;
    font-size: 1.89rem;
    border: 2px solid #ccc;
    border-radius: 0.5rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
}

.project {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
    border: 2px solid #ccc;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0; /* remove extra padding, description handles top padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* keeps content neatly inside */
}

.project-description {
    width: 100%;
    padding: 2rem;
    background: #111827ee;
    color: white;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    text-align: center;
}


.project-description p {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 1.2rem; 
    line-height: 1.4;
    font-weight: 500;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.project img {
    border-radius: 1rem;
    max-width: 90%;
    height: auto;
    margin-bottom: 1rem;
}

.title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.icon {
    width: 22px;
    height: 22px;
}

@media (max-width: 450px) {
    .icon {
        width: 32px;
        height: 32px;
    }

    .buttons {
        gap: 1.1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    button {
        border-radius: 0.50rem;
        font-size: 1.59rem;
        padding: 0.5rem 2rem;
        width: 90vw;
    }
}


.project h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .logo {
        display: flex;
        justify-content: center;
    }

    .logo img {
        margin-top: 2%;
        width: 10%;
    }

    .bitmoji {
        margin: -5%;
        height: 35%;
    }

    .buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    button {
        padding: 0.5rem 1.2rem;
        min-width: 10.625rem;
        font-size: 1.39rem;
    }

    .projects {
        justify-content: center;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .project {
        display: flex;
        width: 35%;
    }

}

.technologies {
    display: flex;
    width: 90%;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.technologies img {
    border-radius: 0.3rem;
    height: 1.875rem;
    transition: transform 0.2s ease;
}

.technologies img:hover {
    transform: scale(1.1);
}

