body {
	margin: 0;
}

.section1 {
	padding-inline: 16px;
	width: 100%;
	background-color: #a251ff;
	text-align: center;
	padding-bottom: clamp(24px, 4vw, 44px);
}

.section2 {
	padding-inline: 16px;
	padding-top: 50px;
	width: 100%;
	background-color: #e5e7ea;
	text-align: center;
	padding-bottom: 100px;
}

.sec2-title {
	color: #111827;
	font-size: 2.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.sec2-row {
	display: flex;
	flex-wrap: wrap;
	margin-left: 6%;
	width: 88%;
	margin-top: 20px;
}

.sec2-row > div {
	flex-grow: 1;
	flex-basis: 0;
	margin-left: 10px;
	margin-right: 10px;
	box-shadow: 0 2px 3px rgb(8 8 8 / 10%), 0 0 0 1px rgb(8 8 8 / 10%);
	border-radius: 10px;
	background-color: white;
	min-width: min(300px, calc(100% - 20px));
	margin-top: 20px;
}

.message-header {
	width: 100%;
	background-color: #a251ff;
	border-radius: 10px 10px 0 0;
	padding: 10px 12px;
	font-size: 20px;
	color: #160b29;
	font-weight: 600;
}

.message-missions-content {
	width: 100%;
	padding: 20px clamp(20px, 3vw, 40px);
	font-size: 16px;
	color: #4a4a4a;
	text-align: left;
}

.sec2-mission {
	margin-top: 30px;
	margin-inline: auto;
	width: min(100%, 760px);
	border-radius: 20px;
	background-color: white;
	box-shadow: 0 2px 3px rgb(8 8 8 / 10%), 0 0 0 1px rgb(8 8 8 / 10%);
	font-size: 1.2rem;
	line-height: 1.55;
	padding: 30px 5% 30px 5%;
	text-align: left;
}

.logo {
	width: clamp(76px, 10vw, 112px);
	height: auto;
	margin-top: clamp(24px, 4vw, 40px);
}

.title1 {
	margin: 12px 0 0;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.12;
	text-wrap: balance;
	color: #160b29;
	font-weight: 700;
	/*text-shadow: 2px 2px #777777;*/
}

.title2 {
	margin-top: 8px;
	font-size: 1.2rem;
	color: #160b29;
}

.section3 {
	padding-inline: 16px;
	padding-top: 50px;
	width: 100%;
	background-color: #e5e7ea;
	text-align: center;
	padding-bottom: 50px;
}

.sec3-title {
	color: #111827;
	font-size: 2.5rem;
	font-weight: 600;
}

.IN-PROGRESS {
	margin-top: 50px;
	padding-top: 100px;
	padding-bottom: 100px;
}

.navBtn {
    margin-right: 30px;
    width: 100px;
}

.monthlyMain {
	padding: clamp(22px, 4vw, 52px) 16px;
	background-color: #f5f1fa;
}

.contest-section-title {
	margin: 0;
	color: #241237;
	font-size: clamp(1.9rem, 4vw, 2.85rem);
	font-weight: 750;
	line-height: 1.12;
	text-wrap: balance;
	letter-spacing: -0.03em;
}

.contest-update {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	width: min(100%, 1080px);
	margin-inline: auto;
	overflow: hidden;
	background: white;
	border: 1px solid #dfd2eb;
	border-radius: 16px;
	color: #38294a;
	line-height: 1.55;
}

.contest-invite,
.contest-schedule {
	padding: clamp(20px, 4vw, 44px);
}

.contest-intro {
	margin: 12px 0 18px;
	max-width: 53ch;
}

.contest-highlights {
	display: grid;
	gap: 8px;
	margin: 22px 0 0;
	padding-inline-start: 1.2em;
}

.contest-highlights li::marker {
	color: #6229ab;
}

.contest-signup-note {
	margin: 0 0 10px;
}

.contest-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.contest-actions a {
	display: inline-grid;
	place-items: center;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid #6229ab;
	border-radius: 8px;
	font-weight: 700;
}

.contest-actions .contest-register {
	background: #6229ab;
	color: white;
}

.contest-actions .contest-register:hover {
	background: #4d1e79;
}

.contest-actions .contest-discord:hover {
	background: #f2eafb;
}

.contest-update a:focus-visible {
	outline: 2px solid #6229ab;
	outline-offset: 3px;
}

.contest-resources {
	margin: 14px 0 0;
	font-size: 0.9rem;
}

.contest-resources a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.contest-schedule {
	align-content: center;
	background: #eee4fa;
	text-align: center;
}

.contest-schedule h3 {
	margin: 0;
	color: #4b3562;
	font-size: 1rem;
	font-weight: 700;
}

.contest-update .contest-countdown {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: min(100%, 470px);
	margin: 0 auto;
	padding: 0 8px;
	overflow: hidden;
	border: 1px solid #d8c8e7;
	border-radius: 14px;
	background-color: #f8f5fc;
	color: #4d1e79;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.contest-update .contest-countdown-unit {
	position: relative;
	display: grid;
	gap: 7px;
	min-width: 0;
	place-items: center;
	padding: 16px 0 14px;
	white-space: nowrap;
}

.contest-update .contest-countdown-unit + .contest-countdown-unit::before {
	position: absolute;
	inset: 12px auto 12px 0;
	width: 1px;
	background: #d8c8e7;
	content: "";
}

.contest-update .contest-countdown-value {
	font-size: clamp(1.75rem, 8vw, 2.75rem);
	font-variant-numeric: tabular-nums;
	font-weight: 750;
	letter-spacing: -0.03em;
	line-height: 0.9;
}

.contest-update .contest-countdown-label {
	color: #5b426f;
	font-size: clamp(0.59rem, 1.6vw, 0.72rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.contest-update .contest-countdown--message {
	display: block;
	padding: 22px 18px;
	font-size: clamp(1.25rem, 5vw, 1.7rem);
	font-weight: 700;
	line-height: 1.3;
}

.contest-update .contest-dates {
	margin: 6px 0 20px;
	color: #241237;
	font-size: clamp(1.25rem, 2.6vw, 1.8rem);
	font-weight: 750;
	line-height: 1.25;
}

@media (max-width: 740px) {
	.contest-update {
		grid-template-columns: minmax(0, 1fr);
	}
}

body a {
	color: #6229ab;
}

body a:hover {
	color: #6229ab;
}
