@import url('https://fonts.googleapis.com/css2?family=Poppins');

.text {
	margin-top: 0 !important;
	margin-bottom: 0 !important;;
}

.studentsContainer {
	width: 100%;
	max-width: 1200px;
	margin: 1rem auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.studentCard {
	color: black;
	position: relative;
	border: 1px solid #e8e8e8;
	border-radius: 0.25rem;
	margin: 1rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
	transition: all 0.2s ease-in-out;
}
.studentCard:hover {
	color: black;
	border-radius: 10px;
	box-shadow: 0 0 20px 2px #acacac;
}
.studentCard__desc {
	font-family: "Poppins";
	padding: 40px 30px;
	display: flex;
	flex-direction: column;
}
.studentCard__img {
	height: auto;
	background-size: cover;
	background-position: center;
}
.studentCard.flip > .studentCard__img {
	order: 1;
}
.studentCard.flip > .studentCard__desc {
	order: 2;
}
.studentCard__desc > .head {
	font-family: "Poppins";
	text-transform: uppercase;
	font-weight: 600;
	font-size: 22px;
	color: black;
	margin: 0;
}
.studentCard__desc > .text {
	color: #808291;
	line-height: 1.5em;
	font-size: 16px;
	font-weight: 100;
	letter-spacing: 0.75px;
	flex: 1;
}
.studentCard__desc > .text > .icon {
	margin: 10px 0;
	transition: all 0.2s ease-in-out;
}
.studentCard__desc > .text > .icon:hover > i {
	transform: scale(1.2);
}
.studentCard__desc > .text > .icon > * {
	transition: all 0.2s ease-in-out;
	font-size: 26px;
}
.studentCard__desc > .timestamp {
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 12px;
	margin-bottom: 0;
	opacity: 0.65;
}

/* media queries */
@media only screen and (max-width: 480px) {
	.studentsContainer {
		grid-template-columns: 1fr;
	}
}
@media only screen and (max-width: 768px) {
	.studentCard {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr;
	}
	.studentCard > * {
		width: 100%;
	}
	.studentCard__img {
		grid-row: 1;
		height: 100%;
	}
	.studentCard__desc > .head {
		font-weight: 700;
		font-size: 20px;
		color: black;
	}
	.studentCard__desc > .text {
		font-size: 14px;
	}
	.studentCard__desc > .text > .icon > * {
		font-size: 18px;
	}
}

.visit_website:hover {
	border: 1px solid #000;
	background: #2bdfbe;
	color: #000;
	text-decoration: none;
}

.visit_website {
	font-family: "Raleway", sans-serif;
	text-transform: uppercase;
	font-weight: 250;
	font-size: 12px;
	display: inline-block;
	padding: 8px 8px;
	border-radius: 2px;
	transition: 0.5s;
	border: 1px solid #000;
	color: #000;
	text-align: center !important;
	margin-top: 1rem;
}

.studentCard__desc {
	background: white;
}
