@import "template.css";

/* Text container - Mobile First */
.text-container {
	padding: 20px;
	margin-top: 20px;
}

.text-container p:nth-child(1) {
	font-family: calibri, serif;
	font-weight: bold;
	font-size: clamp(18px, 4vw, 22px);
	margin-bottom: 10px;
}

.text-container p:nth-child(2) {
	font-family: calibri, serif;
	font-weight: bold;
	font-size: clamp(32px, 8vw, 60px);
	margin-bottom: 10px;
	line-height: 1.2;
}

.text-container p:nth-child(3) {
	font-family: myriad pro regular, serif;
	font-size: clamp(18px, 4vw, 30px);
	line-height: 1.4;
}

.text-container p {
	margin: 10px 0;
	width: 100%;
	max-width: 100%;
}

/* Buttons */
.hire-btn {
	border: 2px solid #373636;
	color: #373636;
	background-color: transparent;
	padding: 10px 20px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.down-cv {
	background-color: #0B0B0B;
	color: #fff;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	transition: all 0.3s ease;
}

button:active {
	transform: scale(1.1);
}

/* About container - Mobile First */
.about-container {
	width: 90%;
	max-width: 1200px;
	margin: 30px auto;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.about-container img {
	width: 100%;
	max-width: 250px;
	height: auto;
	border-radius: 10px;
	margin-bottom: 20px;
}

.about-text {
	width: 100%;
	text-align: center;
}

.about-text p:nth-child(1) {
	font-family: myriad pro regular, serif;
	font-weight: bold;
	font-size: clamp(20px, 4vw, 23px);
	line-height: 1.6;
	margin-bottom: 15px;
}

.about-text p:nth-child(2),
.about-text p:nth-child(3),
.about-text p:nth-child(4),
.about-text p:nth-child(5),
.about-text p:nth-child(6),
.about-text p:nth-child(7),
.about-text p:nth-child(8),
.about-text p:nth-child(9) {
	font-family: Calibri, serif;
	font-size: clamp(16px, 3vw, 20px);
	line-height: 1.6;
	margin: 8px 0;
}

/* Services sections - Mobile First */
.services,
.services2 {
	width: 90%;
	max-width: 1200px;
	margin: 30px auto;
	background-color: #ffffff;
	padding: 20px;
	border-radius: 20px;
	box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
}

.services-text {
	width: 100%;
	margin: 20px 0;
}

.services-text p:nth-child(1) {
	font-family: calibri, serif;
	font-weight: bold;
	font-size: clamp(24px, 5vw, 30px);
	margin-bottom: 10px;
}

.services-text p:nth-child(2) {
	font-family: calibri, serif;
	font-weight: bold;
	color: #3e3d3d;
	font-size: clamp(14px, 3vw, 15px);
	margin-bottom: 5px;
}

.services-text p:nth-child(3) {
	font-family: calibri, serif;
	color: #7e7d7d;
	font-size: clamp(14px, 3vw, 15px);
}

/* Box container - Mobile First */
.box-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	margin: 20px 0;
}

.box-container a {
	text-decoration: none;
}

.box-1,
.box-2,
.box-3 {
	width: 100%;
	max-width: 300px;
	height: 320px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	box-shadow: 2px 2px 18px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	transition: transform 0.3s ease;
}

.box-1:hover,
.box-2:hover,
.box-3:hover {
	transform: translateY(-5px);
}

.box-1 {
	background-image: url("../images/blogs and projects/blog1.png");
}

.box-2 {
	background-image: url("../images/blogs and projects/blog2.png");
}

.box-3 {
	background-image: url("../images/blogs and projects/blog3.png");
}

.box-21 {
	background-image: url("../images/blogs and projects/project1.jpg");
}

.box-22 {
	background-image: url("../images/blogs and projects/project2.jpg");
}

.box-23 {
	background-image: url("../images/blogs and projects/project3.jpg");
}

.box-1 span,
.box-2 span,
.box-3 span {
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: calibri, serif;
	font-weight: bold;
}

.box-1 p:nth-child(2),
.box-2 p:nth-child(2),
.box-3 p:nth-child(2) {
	color: #FFFFFF;
	font-family: calibri, serif;
	font-size: 23px;
	margin: 10px 0;
}

.box-1 p:nth-child(3),
.box-2 p:nth-child(3),
.box-3 p:nth-child(3) {
	font-family: calibri, serif;
	color: #8F8F8F;
	text-align: center;
	width: 90%;
	max-width: 230px;
	margin: 0 0 20px 0;
}

.box-1 button,
.box-2 button,
.box-3 button {
	width: 100px;
	height: 30px;
	background-color: #FFFFFF;
	border: none;
	outline: none;
	border-radius: 5px;
	cursor: pointer;
}

/* View me button */
.view-me {
	display: inline-block;
	margin: 20px auto;
	padding: 12px 30px;
	border: 2px solid #373636;
	color: #373636;
	background-color: transparent;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-weight: 600;
}

.view-me:hover {
	background-color: #373636;
	color: white;
}

/* Tablet and up */
@media only screen and (min-width: 768px) {
	.text-container {
		padding: 40px;
		margin-top: 30px;
	}

	.about-container {
		flex-direction: row;
		padding: 30px;
	}

	.about-container img {
		max-width: 300px;
		margin-bottom: 0;
		margin-right: 30px;
	}

	.about-text {
		text-align: left;
	}

	.box-container {
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.box-1,
	.box-2,
	.box-3 {
		width: calc(50% - 10px);
	}
}

/* Desktop and up */
@media only screen and (min-width: 992px) {
	.text-container {
		padding: 60px 100px;
	}

	.services,
	.services2 {
		padding: 40px 60px;
	}

	.box-container {
		flex-wrap: nowrap;
	}

	.box-1,
	.box-2,
	.box-3 {
		width: 300px;
	}
}