* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'inter', sans-serif;
    transition-duration: 200ms;
}


:root {
    --primary-color: #adf0d4;
    --secondary-color: #1fd8a4;
    --bg-color: #0d1512;
}

body {
    background: var(--bg-color);
    color: var(--primary-color);
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 72px;
    padding: 14px;
}

.darkerText {
    color: var(--secondary-color);
}

header, main, footer {
    max-width: 700px;
    margin: 0 auto;
    width: 100%
}

p {
    font-size: 1.05em;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    cursor: pointer;
    text-decoration: none;
}


nav a:hover {
    opacity: 0.7;
}


main, section, .nameContainer{
    display: flex;
    flex-direction: column;
}

main {
    gap: 64px;
    padding-bottom: 64px;
}

section {
    gap: 42px;
}

.statsContainer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

.nameContainer {
    gap: 8px;
}

.imgContainer {
    border-radius: 100%;
    max-width: 114px;
    overflow: hidden;
}

.imgContainer img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.stats > div {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats div i {
    font-size: 1.4em;
}

.stats div div {
    display: grid;
    place-items: center;
    min-width: 40px;
}

.aboutMe {
    line-height: 1.5em;
    max-width: 100%;
    margin-right: auto;
}

.outreach {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    margin-right: auto;
    width: fit-content;
}

.outreach i {
    transform: rotate(-45deg);
}

.outreach:hover {
    opacity: 0.7;
}

.projectContainer {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.projectItems {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.projectItems div:first-child {
    display:flex;
    flex-direction: column;
    gap: 14;
}

.projectItems div:last-child {
    aspect-ratio: 16/9;
    max-width: 100%;
    overflow: hidden;
    margin-left: auto;
}

.projectItems div:last-child img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.linkContainer {
    display: flex;
    align-items: center;
    gap: 32px;
}

.linkItem {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 4px;
    color: var(--primary-color);
    text-decoration: none;
}

.linkItem:hover {
    opacity: 0.7;
    color: var(--secondary-color);
    cursor: pointer;
}

@media (min-width:640px) {
    .statsContainer {
        flex-direction: row;
    }
    .stats {
        gap: 0px;
    }
    .aboutMe {
        width: 80%;
        margin-right: auto;
    }
}
