:root {
	--pale-blue: hsl(225, 100%, 94%);
	--bright-blue: hsl(245, 75%, 52%);
	--very-pale-blue: hsl(225, 100%, 98%);
	--desaturated-blue: hsl(224, 23%, 55%);
	--dark-blue: hsl(223, 47%, 23%);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	background-color: var(--pale-blue);
	background-image: url(/images/pattern-background-desktop.svg);
	background-repeat: no-repeat;
	background-size: contain;
	min-height: 100vh;
	font-family: "Red Hat Display", sans-serif;
	font-size: 1.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--desaturated-blue);
}

.card {
	max-width: 40rem;
	background-color: white;
	border-radius: 2rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	box-shadow: 0 10px 10px rgb(220, 216, 251);
}

.order-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 0;
}
.order-summary-title {
	color: var(--dark-blue);
	font-weight: 900;
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
}

.hero-image {
	width: 100%;
}

.order-summary-text {
	max-width: 80%;
	line-height: 1.5;
	margin-bottom: 1.5rem;
}

.plan-container {
	width: 80%;
	font-size: 1.6rem;
	background-color: var(--very-pale-blue);
	padding: 2.5rem;
	border-radius: 1.2rem;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2.5rem;
}
.annual-plan {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.plan-title {
	color: var(--dark-blue);
	font-weight: 700;
	margin-bottom: 5px;
	font-size: 1.4rem;
}

.plan-price {
	font-size: 1.4rem;
}

.plan-change {
	color: var(--bright-blue);
	font-size: 1.3rem;
	font-weight: 700;
}

.plan-change:hover {
	text-decoration: none;
}

.proceed-button {
	width: 80%;
	border: none;
	font-weight: 700;
	font-size: 1.4rem;
	border-radius: 1.2rem;
	cursor: pointer;
	background-color: var(--bright-blue);
	padding: 1.5rem;
	color: white;
	margin-bottom: 2.5rem;
	box-shadow: 0 15px 10px rgb(220, 216, 251);
}

.proceed-button:hover {
	background-color: #766cf1;
}

.cancel-order {
	color: var(--desaturated-blue);
	text-decoration: none;
}

.cancel-order:hover {
	cursor: pointer;
	color: var(--dark-blue);
}

@media (max-width: 24rem) {
	body {
		background-image: url(/images/pattern-background-mobile.svg);
	}

	.card {
		max-width: 90%;
	}
	.order-summary-text {
		max-width: 70%;
	}
}
