@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */


html,
body {
	border: none;
	margin: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
}

blockquote::before,
blockquote::after {
	content: "";
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */


@font-face {
    font-family: "Magistral";
    src: url(../fonts/magistral.ttf) format("truetype");
}

:root{

	--colour-bg: rgb(250,247,247);
	--colour-menu: rgb(254,252,252);
	--colour-light: rgb(255,255,255);
	--colour-light-highlight: rgb(231,217,217);
	--colour-light-rgb: 255,255,255;
	--colour-primary: rgb(27,29,33);
	--colour-primary-rgb: rgb(27,29,33);
	--colour-cwx: rgb(236,31,39);
	--colour-cwx-rgb: 236,31,39;
	--link-text-color: rgb(153,150,144);

	--font-regular-family: 'Lato', sans-serif;
	--font-heading-family: 'Magistral', sans-serif;
    --font-regular-weight: 300;
    --font-regular-size: 1rem;
    --font-small-size: .75rem;
	--font-x-small-size: .6rem;

	--default-border-radius: 10px;
	--default-input-border-radius: 4px;

}

body{
	background-color: var(--colour-bg);
	min-height: 100vh;
	padding:0;
	font-family: var(--font-regular-family);
	font-weight: var(--font-regular-weight);
	font-style: normal;
	color: var(--colour-primary);
}

small{
	font-size: var(--font-small-size);
}

a, a:link, a:visited{
	color: var(--link-text-color);
}

a:hover, a:active{
	color: var(--colour-primary);
	text-decoration: none;
}

p{
	margin-bottom: 1rem;
}


/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */

.sign-in-page{
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	height: 100dvh;
	align-items: center;
	justify-items: center;
}

@media screen and (max-width: 930px) {
	.sign-in-page{
		grid-template-columns: 1fr;
		/* grid-template-rows: repeat(2, minmax(50%, 1fr)); */
		grid-template-rows: 50% max-content;
	}
}

#sign-in-page__splash{
	width: 100%;
	height: 100%;
	overflow: hidden;

	img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}

#sign-in-page__content{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	width: 100%;
	max-width: 400px;
}
.sign-in-page__content__header{
	width: 100%;
	margin-bottom: 2rem;
}



#form-login{
	width: 100%;

	.form-label-input {
		display: flex;
		flex-direction: column;
		margin-bottom: 1rem;

		input{
			margin: .25rem 0;
			padding: .5rem;
			font-family: var(--font-regular-family);
			font-weight: var(--font-regular-weight);
			font-size: var(--font-regular-size);
			font-style: normal;
			color: var(--colour-primary);
			border-color: #e7d9d9;
			border-radius: var(--default-input-border-radius);
			border-width: 1px;
			border-style: solid;
		}
	}
}


#btn-login-submit, #btn-sign-up-submit{
	width: 100%;
	padding: .5rem;
	font-family: var(--font-regular-family);
	font-weight: var(--font-regular-weight);
	font-size: var(--font-regular-size);
	font-style: normal;
	color: var(--colour-light);
	background-color: var(--colour-cwx);
	border: none;
	border-radius: var(--default-input-border-radius);
	text-align: center;
	cursor: pointer;
}

#sign-in-page__content__footer{
	width: 100%;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	text-align: left;
	border-color: #e7d9d9;
	border-top-width: 1px;
	border-top-style: solid;
}

#sign-in-page__content__haveaccount{
	width: 100%;
	margin-bottom: 1.5rem;
	padding-top: 1.2rem;
	text-align: left;
	border-color: #e7d9d9;
	border-top-width: 1px;
	border-top-style: solid;
	border-bottom-width: 1px;
	border-bottom-style: solid;
}



#sign-in-message{
	margin-top: 1rem;
	padding: .5rem;
	width: 100%;
	text-align: center;
	font-family: var(--font-regular-family);
	font-weight: var(--font-regular-weight);
	font-size: var(--font-regular-size);
	font-style: normal;
	color: var(--colour-light);
	background-color: rgb(var(--colour-cwx-rgb),.5);
	border-color: var(--colour-cwx);
	border-radius: var(--default-input-border-radius);
	border-width: 1px;
	border-style: solid;
	display: none;
}


/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------------------------------------------------------------------------- */
