* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #d8d5c8;
    color: #292923;
    font-family: "Courier New", monospace;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 70px;
    border: 2px solid #292923;
    margin: 0px auto;
    padding-left: 60px;
}

.header__wrapper {
    display: flex;
    align-items:center;
    justify-content: center;
    gap: 80px;
}

.header__logo {
    margin-right: 500px;
}

.header__nav {
}

.header__nav ul {
    display: flex;
    gap: 30px;

}

.header__nav a {
    color: #55534c;
    font-weight: bold;
    font-size: 18px;
}

.header__nav a:hover {
    text-decoration: underline;

}

.about {
    border: 2px solid #292923;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    box-shadow:
        6px 6px 0 #292923;
}

.about__wrapper {

}

.about__header {
    padding: 10px;
    border-bottom: 2px solid #292923;
    background-color: #d0cdbf;
    font-weight: bold;
    font-size: 20px;
}

.about__body {
    margin: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
}

.stack {
    border: 2px solid #292923;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto auto;
    box-shadow:
        6px 6px 0 #292923;
}

.stack__wrapper {
}

.stack__header {
    padding: 10px;
    border-bottom: 2px solid #292923;
    background-color: #d0cdbf;
    font-weight: bold;
    font-size: 20px;
}

.stack__body {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.stack__item {
    border: 2px solid #292923;
    width: 100px;
    height: 100px;
    background-color: #d0cdbf;
    transition:
        transform .15s ease,
        background .15s ease;
}

.stack__item:hover {
    transform: translate(-3px, -3px);
    background-color: #aaa89d;
}

.stack__title {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.projects {
    border: 2px solid #292923;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    box-shadow:
        6px 6px 0 #292923;
}

.projects__wrapper {
}

.projects__header {
    padding: 10px;
    border-bottom: 2px solid #292923;
    background-color: #d0cdbf;
    font-weight: bold;
    font-size: 20px;
}

.projects__body {
    margin-top: 20px;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 20px;
}

.project {
    border: 2px solid #292923;

    background-color: #ebe8db;

    box-shadow:
        6px 6px 0 #292923;

    transform-style: preserve-3d;

    transition:
        box-shadow 0.15s ease;

    will-change: transform;
}

.project__header {
    padding: 10px;
    border-bottom: 2px solid #292923;

    background-color: #d0cdbf;

    font-size: 12px;
    font-weight: bold;
}

.project__body {
    padding: 10px;
}

.project__wrapper {
    display: flex;
    flex-direction: column;
}

.project__img {
    width: 100%;
    aspect-ratio: 16 / 10;

    border: 2px solid #292923;

    background-color: #a8a8a8;

    overflow: hidden;
}


.project__text {
    margin-top: 18px;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.project__name {
    font-size: 20px;
    line-height: 1.1;
}

.project__description {
    font-size: 11px;

    line-height: 1.6;

    color: #55534c;
}


.project__stack {
    margin-top: 18px;

    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}

.project__stack > div {
    padding: 4px 6px;

    border: 2px solid #292923;

    background-color: #d0cdbf;

    font-size: 9px;
}

.project__links {
    margin-top: 20px;
}

.project__links > ul {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.project__links a {
    user-select: none;
    display: inline-block;

    padding: 6px 8px;

    border: 2px solid #292923;

    background-color: #d0cdbf;

    color: #292923;

    font-size: 10px;

    box-shadow:
        3px 3px 0 #292923;

    transition:
        transform 0.1s ease,
        box-shadow 0.1s ease;
}

.project__links a:hover {
    transform:
        translate(3px, 3px);
    box-shadow: none;
}

.contacts {
    border: 2px solid #292923;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    box-shadow:
        6px 6px 0 #292923;
}

.contacts__wrapper {

}

.contacts__header {
    padding: 10px;
    border-bottom: 2px solid #292923;
    background-color: #d0cdbf;
    font-weight: bold;
    font-size: 20px;
}

.contacts__body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.contacts__link {
    margin: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 250px;
    border: 2px solid #292923;
    height: 60px;
    gap: 5px;
}

.contacts__title {
    font-size: 14px;
}

.contacts__link a {
    font-weight: bold;
    color: #292923;
}


@media (max-width: 900px) {

    .projects__body {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .projects__body {
        grid-template-columns: 1fr;
    }

}
