@import "root.css";

.container {
	display: grid;
	justify-content: center;
	width: 100%;
	max-width: var(--max-width);
	padding: 24px;
}

#content {
    display: grid;
    justify-content: center;
    gap: 256px;
    @media (max-width: 620px) {
        gap: 128px;
    }
}

.header__info {
	display: grid;
    justify-content: center;
}

.header__name p {
    text-align: center;
    font-size: 24px;
    color: var(--color-link);
}

.header__menu {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
    margin-bottom: 256px;
    @media (max-width: 620px) {
        margin-bottom: 128px;
    }
    @media (max-width: 450px) {
		gap: 16px;
	}
}

.header__menu p {
    font-size: 24px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.header__photo {
    display: grid;
    justify-content: center;
    margin-bottom: 24px;
}

.header__photo img {
	width: 280px;
	height: 280px;
	border-radius: 12px;
    box-shadow:
		0 67px 116px rgba(0, 0, 0, 0.06),
		0 13px 18px rgba(0, 0, 0, 0.13),
        0 3px 7px rgba(0, 0, 0, 0.2),
		0 32px 50px rgba(0, 0, 0, 0.1);
}

.works {
	display: grid;
	justify-content: center;
}

.work {
	display: grid;
    justify-content: center;
    justify-items: center;
	gap: 48px;
    @media (max-width: 450px) {
		gap: 32px;
	}
}

.work__title {
    display: grid;
    justify-content: center;
	width: 100%;
	max-width: 590px;
    @media (max-width: 620px) {
		max-width: 100%;
	}
}

.work__img {
	display: grid;
	justify-content: center;
}

.work__img img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow:
		0 67px 116px rgba(0, 0, 0, 0.06),
		0 13px 18px rgba(0, 0, 0, 0.13),
        0 3px 7px rgba(0, 0, 0, 0.2),
		0 32px 50px rgba(0, 0, 0, 0.1);
}

.together {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	grid-column-gap: 64px;
	grid-row-gap: 40px;
	width: 100%;
}

.together img {
	height: auto;
    box-shadow:
		0 0 0 rgba(0, 0, 0, 0);
}

picture {
	display: block;
	max-width: 100%;
}

picture img {
	max-width: 100%;
	height: auto;
}

picture + picture {
	display: grid;
	justify-items: center;
}

@media (max-width: 1024px) {
	picture + picture {
		display: none;
	}
}

@media (max-width: 800px) {
	header {
		gap: 16px;
		grid-template-columns: 1fr;
	}

	.container {
		width: 100%;
		max-width: 100%;
		padding: 24px;
	}

	.header__photo img {
		width: 160px;
		height: 160px;
	}

	.work__img img {
		border-radius: 8px;
	}
}
