* {
	box-sizing: border-box;
}

:root {
	--text-main: #f5f5f5;
	--header-bg: #000;
}

body {
	margin: 0;
	font-family: "Arial", sans-serif;
	color: var(--text-main);
	background-image: url('../images/wall.png');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	min-height: 100vh;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
	width: 600px;
	height: 600px;
	background-image: url('../images/work.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
	z-index: 0;
	opacity: 0.25;
}

.content-section{
  position:absolute;
  left:50%;
  top :18vh;
  transform:translate(-50%,-50%);
  z-index:1;

  width:min(720px, calc(100% - 32px));
  margin:0;
  text-align:center;
  color:#111;
}
.content-section h1{
  margin:0 0 12px;
  font-size:3rem;
  font-weight:800;
}
.content-section p{
  margin:0;
  font-size:25px;
  line-height:1;
}
.page-header {
  background: #000;
  color: #BEBEBE;
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
}
.header-inner {
  height: 100%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo {
  height: 64px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.header-nav a {
  color: #BEBEBE;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: 6px;
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 540px) {
	.header-inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		padding: 0 8px;
	}

	.header-nav {
		width: 100%;
		gap: 4px;
	}

	.header-nav a {
		font-size: 0.75rem;
		padding: 4px 6px;
	}
}

@media (max-width: 320px) {
	.page-header {
		height: auto;
		min-height: 60px;
		padding: 8px 0;
	}

	.header-inner {
		padding: 0 6px;
	}

	.header-nav {
		gap: 3px;
	}

	.header-nav a {
		font-size: 0.7rem;
		padding: 3px 5px;
	}
}
@media (max-width: 240px) {
	.header-nav a {
		font-size: 0.65rem;
		padding: 2px 4px;
	}
}

.container {
	max-width: 1600px;

@media (max-width: 390px) {
	.content-section {
		width: 98vw;
		left: 50%;
		top: 22vh;
		transform: translate(-50%, 0);
		padding: 0 4px;
	}
	.content-section h1 {
		font-size: 1.3rem;
	}
	.content-section p {
		font-size: 13px;
		line-height: 1.2;
		word-break: break-word;
	}
}
	margin: 0 auto;
	padding: 40px 20px;
	position: relative;
	z-index: 2;
}

.flexbox-grid {
	display: grid;
	grid-template-columns: repeat(4, 260px);
	gap: 20px;
	justify-content: center;
}

.box {
	width: 260px;
	height: 260px;
	background-color: rgba(0, 0, 0, 0);
	border: 2px solid rgba(255, 255, 255, 0);
	border-radius: 8px;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.box p {
	margin: 0;
	font-size: clamp(16px, 2vw, 14px);
	line-height: 1.5;
	text-align: justify;
	color: #000000;
}

.box-image {
	padding: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

.box-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

@media (max-width: 1200px) {
	.flexbox-grid {
		grid-template-columns: repeat(3, 220px);
		gap: 15px;
	}

	.box {
		width: 220px;
		height: 220px;
		padding: 15px;
	}
}

@media (max-width: 768px) {
	.flexbox-grid {
		grid-template-columns: repeat(2, 180px);
		gap: 12px;
	}

	.box {
		width: 180px;
		height: 180px;
		padding: 12px;
	}
}

@media (max-width: 480px) {
	.flexbox-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.box {
		width: 100%;
		height: auto;
		min-height: 150px;
		padding: 10px;
	}

	.box p {
		font-size: clamp(12px, 3vw, 16px);
	}
}
