:root {
	--logo-size: 34;
}

@media only screen and (max-width: 735px) {
	:root {
		--logo-size: 60;
	}
}

.image-hero-wrapper {
	position: relative;
	height: 0;
	/* using variable if need smaller than 100% width */
	padding-top: calc((950 / 950 * 100%) * (var(--logo-size) / 100));
	display: grid;
	place-items: center;
}

@media only screen and (max-width: 735px) {
	.image-hero-wrapper {
		/* using variable if need smaller than 100% width */
		padding-top: calc((950 / 950 * 100%) * (var(--logo-size) / 100));
	}
}

.ssc-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 100%;
	height: auto;
	width: calc(var(--logo-size) * 1%);
}

@media only screen and (min-width: 1441px) {
	.section-content.section-content-larger {
		width: 1200px;
	}
}

/* body[data-color-scheme="light"] .bg-alt {
	background-color: #fafafa;
} */

.doodle-hero-1 {
	position: absolute;
	bottom: -80px;
	right: -80px;
}

@media only screen and (max-width: 1068px) {
	.doodle-hero-1 {
		display: none;
	}
}

.violator.violator-reduced {
	color: #000;
	border-color: #000;
	vertical-align: middle;
}

body[data-color-scheme="dark"] .violator.violator-reduced {
	color: #fff;
	border-color: #fff;
}

/* .doodle-hero-2 {
	position: absolute;
	top: 50%;
	left: -70px;
} */
.doodle-parent {
	position: relative;
}

.doodle-3 {
	position: absolute;
	top: -10px;
	left: -18px;
}

.doodle-4 {
	position: absolute;
	bottom: -10px;
	right: -18px;
}

.section-news .row + * {
	margin-top: 2em;
}

@media only screen and (max-width: 735px) {
	.section-news .row + * {
		margin-top: 1.5em;
	}
}

hr {
	margin-top: 3em;
	margin-bottom: 3em;
	border-top-width: medium;
	/* border-color: black; */
}

/* .violator-frameless-reduced {
	padding-bottom: 1em;
} */

.accent-get-ready {
	position: absolute;
	top: -28px;
	left: -42px;
	width: 265px;
}

.accent-get-ready-line {
	position: absolute;
	top: 44px;
	left: -11px;
	width: 205px;
}

.accent-distinguished-winners {
	position: absolute;
	top: -18px;
	left: -82px;
	width: 76px;
	transform: rotate(-5deg);
}

.accent-next-steps {
	position: absolute;
	top: -33px;
	left: -34px;
	width: 233px;
}

@media only screen and (max-width: 1068px) {
	.accent-get-ready {
		position: absolute;
		top: -28px;
		left: -24px;
		width: 200px;
	}

	.accent-get-ready-line {
		position: absolute;
		top: 37px;
		left: -11px;
		width: 173px;
	}

	.accent-distinguished-winners {
		position: absolute;
		top: -18px;
		left: -82px;
		width: 76px;
		transform: rotate(-5deg);
	}

	.accent-next-steps {
		position: absolute;
		top: -27px;
		left: -32px;
		width: 196px;
	}
}

@media only screen and (max-width: 850px) {
	.accent-distinguished-winners {
		display: none;
	}
}

@media only screen and (max-width: 735px) {
	.accent-get-ready {
		position: absolute;
		top: -28px;
		left: -20px;
		width: 180px;
	}

	accent-get-ready-line {
		position: absolute;
		top: 35px;
		left: -11px;
		width: 152px;
	}

	.accent-next-steps {
		position: absolute;
		top: -21px;
		left: -19px;
		width: 160px;
	}
}

.section-todo h2 {
	margin-bottom: 0.8em;
}

/* ========== Student Grid  ========== */

.student-grid-container {
	display: grid;
	grid-template-columns: 65% 35%;
	/* grid-template-rows: 1fr 1fr; */
	grid-template-rows: auto 1fr;
	height: 100%;

	gap: 20px;
	margin-top: 3.5em;
}

.student-col-large,
.student-col-small-top,
.student-col-small-bottom {
	background-color: #fff;
	border-radius: 18px;
}

body[data-color-scheme="dark"] .student-col-large,
body[data-color-scheme="dark"] .student-col-small-top,
body[data-color-scheme="dark"] .student-col-small-bottom {
	background-color: #000;
}

.student-col-large {
	grid-column: 1;
	grid-row: 1 / 3;
	/* background: lightblue; */
}

.student-col-small-top {
	padding: 2.5em 1.5em !important;
	grid-column: 2;
	grid-row: 1;
	/* background: lightcoral; */
}

.student-col-small-bottom {
	padding: 2.5em 1.5em !important;
	grid-column: 2;
	grid-row: 2;
	height: 100%;
	/* background: lightgoldenrodyellow; */
}

.inverted-order.student-grid-container {
	grid-template-columns: 35% 65%;
}

.inverted-order .student-col-large {
	grid-column: 2;
	grid-row: 1 / 3;
}

.inverted-order .student-col-small-top {
	grid-column: 1;
	grid-row: 1;
}

.inverted-order .student-col-small-bottom {
	grid-column: 1;
	grid-row: 2;
}

@media only screen and (max-width: 1068px) {
	.student-grid-container,
	.inverted-order.student-grid-container {
		grid-template-columns: 1fr;
		/* grid-template-rows: minmax(300px, auto); */
		grid-template-rows: auto;
	}

	.student-col-large,
	.student-col-small-top,
	.student-col-small-bottom {
		grid-column: 1;
	}

	.student-col-large {
		grid-row: 3;
		min-height: 300px;
	}

	.student-col-small-top {
		grid-row: 1;
	}

	.student-col-small-bottom {
		grid-row: 2;
	}

	.inverted-order .student-col-large,
	.inverted-order .student-col-small-top,
	.inverted-order .student-col-small-bottom {
		grid-column: 1;
	}

	.inverted-order .student-col-large {
		grid-row: 3;
	}

	.inverted-order .student-col-small-top {
		grid-row: 1;
	}

	.inverted-order .student-col-small-bottom {
		grid-row: 2;
	}
}

.row-card-profile {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1em;
}

.profile-image {
	width: 75px;
	height: 75px;
	max-width: 75px;
	border-radius: 100px;
	background-size: cover;
	flex: 1 0 auto;
}

.profile-gam {
	background-image: url("/swift-student-challenge/images/creation-portrait-gam-large_2x.jpg");
}

.profile-jia {
	background-image: url("/swift-student-challenge/images/creation-portrait-jia-large_2x.jpg");
}

.profile-alexander {
	background-image: url("/swift-student-challenge/images/creation-portrait-alexander-large_2x.jpg");
}

.profile-fpo {
	filter: brightness(0) contrast(0.5);
}

.gam-life {
	background-image: url("/swift-student-challenge/images/creation-life-gam-2-large_2x.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.jia-life {
	background-image: url("/swift-student-challenge/images/creation-life-jia-0-large_2x.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.alexander-life {
	background-image: url("/swift-student-challenge/images/creation-life-alexander-0-large_2x.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	/* background-position: center; */
}
