:root {
	--prime: #41807c;
	--second: white;
	--bg-light: #5ea6a1;
	--bg-yellow: #f1c50e;
	--bg-black: #1e1e1e;
}
/* general css */
*,
*::after,
*::before {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
}
ul{
	margin-bottom: 0;
}
html {
	font-size: 62.5%;
	box-sizing: border-box;
}

.nav-item {
	margin: 0 1rem;
}
nav a {
	font-size: 2rem;
	font-weight: 500;
	color: var(--bg-light);
}
nav a:hover {
	color: var(--prime);
}

.main {
	width: 100vw;
	/* height: 100vh; */
	background-color: var(--prime);
	position: relative;
}

.container {
	background-color: var(--bg-light);
	display: flex;
	justify-content: flex-end;
	max-width: 85%;
	min-height: 75vh;
	/* position: absolute; */
	/* top: 45%; */
	/* left: 50%; */
	/* transform: translate(-50%, -50%); */
	border-radius: 15px;
	box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.5);
	padding: 4rem 1rem;
	margin-top: 12rem;
	margin-bottom: 5rem;
	/* text-align: right; */
	position: relative;
	overflow: hidden;
}

.background-img {
	background-image: url(./img/campus-drive.jpg);
	height: 100%;
	width: 50%;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-clip-path: ellipse(60% 70% at 0% 50%);
	clip-path: ellipse(60% 70% at 0% 50%);
	opacity: 0.8;
}

.heading-box {
	margin: 1rem 1rem;
	padding: 1rem;
	width: max-content;
	position: relative;
	display: inline-block;
}

.heading {
	font-size: 4rem;
	font-weight: 700;
	margin-bottom: 1.3rem;
}

.hidden-img {
	display: none;
	opacity: 0;
}

.underline {
	/* display: inline-block; */
	/* display: grid; */
	width: 100%;
	/* width: %; */
	height: 8px;
	margin-bottom: 2rem;
	background-color: #fff;
	border-radius: 5px;
}

.sub-container-1 {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	padding: 0rem;
	width: 70%;
	position: relative;
}

.sub-container-2 {
	padding: 0 1rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.container-text {
	font-size: 2rem;
	color: #000;
	text-align: justify;
}
.container-text li {
	margin-bottom: 1.5rem;
}

.btn {
	margin: 1rem;
	padding: 1rem 2rem;
	background-color: var(--bg-yellow);
	border-radius: 50px;
	color: #000;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.5);
	transition: all 0.3s;
}

.btn:active {
	transform: translateY(0);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
	transition: all 0.3s;
}

.btn a:link,
.btn a:visited {
	text-decoration: none;
	color: inherit;
	font-size: 2rem;
}

.img {
	height: 30rem;
	border-radius: 10px;
	align-self: flex-start;
}
/* text around img */
.float-left {
	width: 50%;
	float: left;
	margin: 0 20px 10px 0; /* Adjust the margin as needed for spacing */
}

.container::after {
	content: "";
	display: table;
	clear: both;
}
.container-text {
	list-style-position: inside;
}

.container-text {
	text-align: left;
}
.container-list_item:not(:last-child) {
	margin-bottom: 2rem;
}
.container-icon {
	height: 3rem;
	margin-right: 1rem;
	display: inline-block;
}
.container-list_text {
	display: inline-block;
	font-size: 1.8rem;
	margin-left: 1rem;
}
.container-list {
	list-style: none;
	padding: 0 1rem;
}

@media screen and (max-width: 1200px) {
	html {
		font-size: 55%;
	}

	.container {
		max-width: 80%;
	}

	.sub-container-2 {
		flex-direction: column;
		display: flex;
    	align-items: flex-start;
	}
}

@media screen and (max-width: 920px) {
	html {
		font-size: 55%;
	}

	.hidden-back {
		display: none;
	}

	.hidden-img {
		display: inline-block;
		opacity: 1;
	}

	.container {
		/* margin-top: 7rem; */
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		max-width: 85%;
		margin-bottom: 5rem;
	}

	.heading-box {
		/* margin-top: 5rem; */
		text-align: center;
		width: 100%;
	}

	.sub-container-1 {
		flex-direction: column;
		padding: 0 1rem;
		width: 100%;
	}

	.sub-container-2 {
		padding: 1rem 2rem;
		align-items: flex-start;
	}

	.underline {
		/* width: 70%; */
	}

	.img {
		height: 30rem;
		align-self: center;
	}

	.btn {
		margin-top: 4rem;
	}
	.float-left {
		width: 80%;
	}

	.container-text {
		text-align: left;
	}
	.container-list_item:not(:last-child) {
		margin-bottom: 1rem;
	}
	.container-icon {
		height: 2rem;
		display: inline-block;
	}
	.container-list_text {
		font-size: 1.4rem;
		margin-left: 1rem;
	}
	.container-list {
		padding: 0 1rem;
	}
}

@media screen and (max-width: 550px) {
	html {
		font-size: 45%;
	}

	.container {
		/* margin-top: 5rem; */
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		max-width: 95%;
		height: max-content;
		padding: 2rem 0;
	}

	.sub-container-1 {
		padding: 0 1rem;
	}

	.sub-container-2 {
		padding: 1rem 2rem;
	}

	.heading-box {
		margin-top: 5rem;
		text-align: center;
		width: 100%;
	}

	.underline {
		/* width: 90%; */
	}

	.img {
		height: 20rem;
		align-self: center;
	}

	.sub-container-1 {
		flex-direction: column;
	}

	.btn {
		margin-top: 0;
	}

	.container-list {
		padding: 0;
	}
}
