/*============================================
  PX TO REM CONVERSION GUIDE
  1px = 0.0625rem, 2px = 0.125rem, 4px = 0.25rem, etc.
=============================================*/

/*============================================
  CSS VARIABLES / ROOT COLORS
=============================================*/
:root {
	/* Primary brand colors */
	--color_payback_blue: #003eb0;
	--color_payback_blue_75: #003eb075;
	--color_payback_blue_light: #ccce6ff;
	--color_payback_red: #c80a0a;
	--color_white: #ffffff;
	--color_grey_10: #C1C1C1;
	--color_grey_8: #888888;
	--color_grey_6: #666666;
	--color_black: #000000;
	--color_black_50: #00000050;
	--color_berry_red: #ad3966;
	--color_intense_green: #459a2b;
	--color_light_green: #73cb1f;
	--color_tourquoise: #53b7ba;
	--color_ocean: #067eb2;
	--color_yellow: #ffa905;
	--color_sky: #00bbfd;
	--color_azur: #4dabf8;
	--color_sapphire: #3880f6;
	--color_royal: #0068e3;

	/* Gradient / shade colors */
	--color_shade_1: #ffffff;
	--color_shade_2: #f5f9fe;
	--color_shade_3: #ecf6fd;
	--color_shade_4: #dff0fc;
	--color_shade_5: #d8ecfb;
	--color_shade_6: #cbe5f9;
	--color_shade_7: #c1e0f7;
	--color_shade_8: #b7dbf5;
}

/*============================================
  FONT-FACES
=============================================*/
@font-face {
	font-family: "Payback";
	src: url('payback_light.woff') format('woff'),
	url('payback_light.ttf') format('truetype');
	font-weight: 300;
}
@font-face {
	font-family: "Payback";
	src: url('payback_regular.woff') format('woff'),
	url('payback_regular.ttf') format('truetype');
	font-weight: 400;
}
@font-face {
	font-family: "Payback";
	src: url('payback_bold.woff') format('woff'),
	url('payback_bold.ttf') format('truetype');
	font-weight: 700;
}

/*============================================
  GLOBAL RESET
=============================================*/
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-family: Arial, sans-serif;
	font-size: 16px;
}

body {
	font-family: Arial, sans-serif;
	font-size: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	height: 100vh;
	overflow-y: scroll;
	color: var(--color_payback_blue);
}

:focus-visible {
	outline: 0.25rem solid var(--color_sapphire);
	outline-offset: 0.125rem;
}

/*============================================
  LAYOUT STRUCTURE: HEADER, MAIN, FOOTER
=============================================*/
header {
	width: 100%;
	height: 210px; /* Fixed header height */
	background-color: var(--color_shade_6);
	z-index: 1;
}

main {
	width: 100%;
	background-color: #FFF;
	flex: 1;
	z-index: 1;
}

footer {
	width: 100%;
	background-color: #FFF;
}

.header_container,
.login_container,
.main_container,
.footer_container {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	position: relative;
}

.header_container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	z-index: 1;
	min-height: 220px;
}

.main_container {
	padding: 2rem 0;
}

/*============================================
  TYPOGRAPHY
=============================================*/
h1, h2, h3 {
	font-family: "Payback", sans-serif;
	color: var(--color_payback_blue);
	margin-bottom: 0.75rem;
}

h1 { font-size: 1.875rem; color: var(--color_sapphire); }
h2 { font-size: 1.5rem; color: var(--color_payback_blue); }
h3 { font-size: 1.25rem; color: var(--color_payback_blue); }

p {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	padding-bottom: 0.75rem;
	color: var(--color_payback_blue);
}

i { font-style: italic; }
b { font-weight: 700; }
small {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--color_payback_blue);
}

a {
	font-weight: 400;
	color: var(--color_ocean);
	text-decoration: underline;
	cursor: pointer;
}

/*============================================
  LOGIN / HEADER SPECIFIC STYLES
=============================================*/
.login_container {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	padding: 0; /* overridden in media queries */
}

.login_container a.logo {
	padding: 1.5rem 0;
	height: fit-content;
	width: fit-content;
	z-index: 2;
	position: relative;
}

.login_container a.logo img {
	height: 4rem;
	width: auto;
	border: 4px solid white;
	border-radius: 10px;
	position: relative;
}

/* Decorative bubble behind logo */
.login_container a.logo::before {
	content: "";
	position: absolute;
	top: -220px;
	left: -250px;
	width: 580px;
	height: 400px;
	background-image: url(../images/bubble.png);
	background-repeat: no-repeat;
	background-size: contain;
}

/* Header container styling */
.header_container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
}

/*============================================
  ICONS
=============================================*/
.icon-desktop {
	width: 480px;
	height: 253px;
	margin-top: 0.5rem; /* 8px */
	margin-right: 8rem; /* 128px */
}

.icon-mobile {
	display: none;
}

/*============================================
  TEMPORARY / SPECIAL CLASSES
=============================================*/
.temporary,
.footer_container ul {
	text-align: center;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.blue-font { color: #003daf; }

.title {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.temporary-text {
	font-size: 1.3rem;
	font-weight: bold;
	background: #cbe5f9;
	height: fit-content;
	padding: 5px 10px;
	margin-top: 2.5rem;
	margin-left: 1.25rem;
}

/*============================================
  LISTS
=============================================*/
li { font-family: "Payback", sans-serif; font-weight: normal; }

.footer_container ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 0.5rem;
}

.footer_container {
	padding: 0.75rem 0;
	text-align: center;
	display: flex;
	justify-content: center;
}

.footer_container a {
	color: var(--color_payback_blue);
	text-decoration: none;
}

/*============================================
  MEDIA QUERIES
=============================================*/
@media (max-width: 1000px) {
	.main_container,
	.login_container { padding: 1rem 0.75rem; }

	.title { gap: 0; }

	.login_container a.logo::before { top: -270px; }
}

@media (max-width: 960px) {
	.title { flex-direction: column; }
	.icon-desktop { display: none; }
	.icon-mobile {
		width: 100%;
		height: auto;
		display: block;
		margin-top: 3.375rem; /* 54px */
		margin-right: -5.5625rem; /* -89px */
	}
}

@media (max-width: 420px) {
	.icon-mobile { margin-top: 6.25rem; /* 100px */ }
}
