/* The main section */
main {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	padding-bottom: 2rem;
}

/* Home image gallery */
.image_gallery {
	grid-column: 1/13;
	display: flex;
	position: relative;
	width: 100%;
	height: 25rem;
	z-index: 1;
}

.buttons_container {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
}

.buttons {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 25rem;
	height: 20rem;
	padding: 1rem;
}

.button {
	width: 1rem;
	height: 1rem;
	cursor: pointer;
	padding: 0.5rem 0;
	background-color: var(--primary);
}

.button:hover {
	padding: 0.5rem;
}

.image_container {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: opacity 0.5s ease-in;
}

.image_container_content {
	width: fit-content;
	position: relative;
	padding: 1rem;
}

.content {
	position: relative;
	width: fit-content;
	overflow: hidden;
}

.image_desc {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	font-size: 1.5rem;

	display: flex;
	justify-content: start;
	align-items: flex-end;

}

.image_desc > .text {
	width: 50%;
	height: 100%;
	padding: 2rem;
	display: flex;
	justify-content: start;
	align-items: flex-end;
	border: none;
	border-top-right-radius: 100%;
	background-color: var(--text-bg);
	box-shadow: var(--shadow);
}

.image {
	width: 100%;
	overflow: hidden;
	max-width: 25rem;
	height: 20rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.image > img {
	width: 100%;
	min-height: 20rem;
	object-fit: cover;
}

.image_inactive {
	opacity: 0;
}

/* Notifications section */
.notifications {
	grid-column: 1/13;
	padding: 0 2rem;
}

/* News Section */
.news {
	grid-column: 1/13;
	padding: 0 2rem;
}

/* Syllabi Details */
.syllabusdetails {
	grid-column: 1/13;
	padding: 0 2rem;
}

/* For all main sections */
.section_headers {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--color);
	padding: 1rem 0;
	margin-bottom: 1rem;
	cursor: pointer;
}

.section_toggles > div {
	width: 1rem;
	height: 1rem;
}

.section_list {
	transition: all 0.5s ease-in-out;
	list-style-type: disc;
}

.section_inactive {
	height: 0;
	overflow: hidden;
}

/* The Divisor */
.divisor {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 2rem 0;
}

.divisor > .line {
	width: 50%;
	height: 0.1rem;
	background-color: var(--color);
}

/* Information Section */
.information {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
}

.info, .links {
	grid-column: span 12;
	padding: 0 2rem;
}

.information h1 {
	margin: 1rem 0;
}

.information ul {
	padding-left: 2rem;
	list-style-type: disc;
}

.information a {
	color: var(--color);
	text-decoration: none;
}

.information a:hover {
	text-decoration: underline;
}

.information p {
	margin: 1rem 0;
}

/* Media queries */
@media only screen and (min-width: 600px) {
	.buttons {
		max-width: 35rem;
	}
	.image {
		max-width: 35rem;
	}
	.image_desc {
		font-size: 2rem;
	}
}

@media only screen and (min-width: 768px) {
	.buttons {
		max-width: 50rem;
	}
	.image {
		max-width: 50rem;
	}
	.image_desc {
		font-size: 2.5rem;
	}
}

@media only screen and (min-width: 992px) {
	/* Gallery */
	.image_gallery {
		grid-column: 1/9;
	}

	/* Notifications section */
	.notifications {
		grid-column: 9/13;
	}

	.info {
		grid-column: span 8;
	}

	.links {
		grid-column: span 4;
	}

	.news, .syllabusdetails {
		grid-column: span 6;
	}
}

@media only screen and (min-width: 1200px) {
}
