/* Style the buttons that are used to open and close the accordion panel */
.accordion {
	background-color: #111;
	color: white;
	cursor: pointer;
	padding: 6px 18px 0px 18px;
	width: 100%;
	text-align: left;
	border: none;
	outline: none;
	transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.accordion:hover {
	background-color: #111;
	color: red;
	border-left: 5px solid #111;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
	padding: 0 18px;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	/* margin-bottom: 5px; */
	/* margin-top: 5px; */
}

.panel.open {
	overflow: hidden;
}


.accordion:after {
	content: '\25BC';
	/* Unicode character for "plus" sign (+) */
	font-size: large;
	color: white;
	float: right;
	margin-left: 5px;
	margin-bottom: 5px;
}

.active:after {
	content: "\25B2";
	/* Unicode character for "minus" sign (-) */
	margin-bottom: 5px;
}

#cssportal-grid {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	width: 100%;
	height: 100%;
	/* margin-bottom: 250px; */
}

#div1 {
	grid-area: 1 / 1 / 2 / 2;
}

#div2 {
	grid-area: 2 / 1 / 3 / 2;
}

#cssportal-grid h3 {
	text-align: center;
	margin-bottom: 2px;
}

#cssportal-grid img {
	min-width: 200px;
	width: 45%;
	margin: 5px 10px 10px 10px;
}

#div3 {
	grid-area: 1 / 2 / 3 / 3;
}

.summary {
	box-shadow: 3px 3px 2px 0px red;
	padding-right: 5px;
	padding-bottom: 5px;
}

.flex-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}

.flex-items:nth-child(1) {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
	align-self: auto;
	order: 0;
}

.flex-items:nth-child(2) {
	display: block;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: auto;
	align-self: auto;
	order: 0;
}

/* * Testing */

.project-title {
	font-size: 1.25rem;
	font-weight: bold;
}

.project-date {
	/* padding-top: 10%; */
	font-size: 0.9rem;
	/* font-style: italic; */
}