﻿/* colorDefs */
:root
{
	--rc-darkgrey: #555555;
	--rc-grey: #999999;
	--rc-lightgrey: #CCCCCC;
	--rc-bg-main: #20242A;
	--rc-bg-nav: #000000CC;
	--rc-bg-content: #10101088;
	--rc-text: #E8E8E8;
	--rc-text-muted: #8D99A0;
	--rc-primary: #0094FF;
	--rc-primary-30: #0094FF4D;
	--rc-primary-50: #0094FF88;
	--rc-primary-hover: #8CCFFF;
	--rc-primary-active: #0F79AA;
	--rc-secondary: #0FAA55;
	--rc-secondary-30: #0FAA554D;
	--rc-secondary-50: #0FAA5588;
	--rc-secondary-hover: #7BD093;
	--rc-secondary-active: #0A753A;
	--rc-error:        rgb(170, 0, 0);
	--rc-error-30:     rgb(from var(--rc-error)     r g b / 0.3);
	--rc-error-50:     rgb(from var(--rc-error)     r g b / 0.5);
	--rc-warning:      rgb(204, 136, 0);
	--rc-warning-30:   rgb(from var(--rc-warning)   r g b / 0.3);
	--rc-warning-50:   rgb(from var(--rc-warning)   r g b / 0.5);
	--rc-success:      rgb(85, 170, 102);
	--rc-success-30:   rgb(from var(--rc-success)   r g b / 0.3);
	--rc-success-50:   rgb(from var(--rc-success)   r g b / 0.5);
	--rc-important:    rgb(136, 85, 238);
	--rc-important-30: rgb(from var(--rc-important) r g b / 0.3);
	--rc-important-50: rgb(from var(--rc-important) r g b / 0.5);
}

/* sizeDefs */
:root
{
	--rc-font-size: 16px;
	--rc-navbar-height: 90px;
	--rc-margin-side: 50px;
	--rc-margin-side-content: 100px;
}

/* fontDefs */
.titillium-web-extralight
{
	font-family: "Titillium Web", sans-serif;
	font-weight: 200;
	font-style: normal;
}

.titillium-web-light
{
	font-family: "Titillium Web", sans-serif;
	font-weight: 300;
	font-style: normal;
}

.titillium-web-regular
{
	font-family: "Titillium Web", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.titillium-web-semibold
{
	font-family: "Titillium Web", sans-serif;
	font-weight: 600;
	font-style: normal;
}

.titillium-web-bold
{
	font-family: "Titillium Web", sans-serif;
	font-weight: 700;
	font-style: normal;
}

.titillium-web-black
{
	font-family: "Titillium Web", sans-serif;
	font-weight: 900;
	font-style: normal;
}

.montserrat-extralight
{
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 200;
	font-style: normal;
}

.montserrat-light
{
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
}

.montserrat-regular
{
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.montserrat-semibold
{
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

.montserrat-bold
{
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
}

.montserrat-black
{
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
}

/* GW2 colorDefs */
:root
{
	/* arenanet */
	--arenanet: #EE2E22;

	/* rarities */
	--gw2-junk: #999083;
	--gw2-basic: #DCDCDC;
	--gw2-fine: #5599FF;
	--gw2-masterwork: #33CC11;
	--gw2-rare: #FFDD22;
	--gw2-exotic: #FFAA00;
	--gw2-ascended: #FF4488;
	--gw2-legendary: #9933FF;

	/* professions */
	--gw2-ele: #BA0918;
	--gw2-ele-30: #BA09184D;
	--gw2-ele-50: #BA091888;
	--gw2-ele-dark: #5D050C;
	--gw2-mes: #8800AA;
	--gw2-mes-30: #8800AA4D;
	--gw2-mes-50: #8800AA88;
	--gw2-mes-dark: #440055;
	--gw2-nec: #005544;
	--gw2-nec-30: #0055444D;
	--gw2-nec-50: #00554488;
	--gw2-nec-dark: #002B22;
	--gw2-eng: #874D24;
	--gw2-eng-30: #874D244D;
	--gw2-eng-50: #874D2488;
	--gw2-eng-dark: #442712;
	--gw2-rgr: #5E8F11;
	--gw2-rgr-30: #5E8F114D;
	--gw2-rgr-50: #5E8F1188;
	--gw2-rgr-dark: #2F4809;
	--gw2-thf: #8C414A;
	--gw2-thf-30: #8C414A4D;
	--gw2-thf-50: #8C414A88;
	--gw2-thf-dark: #462125;
	--gw2-grd: #0088AA;
	--gw2-grd-30: #0088AA4D;
	--gw2-grd-50: #0088AA88;
	--gw2-grd-dark: #004455;
	--gw2-rev: #670F0F;
	--gw2-rev-30: #670F0F4D;
	--gw2-rev-50: #670F0F88;
	--gw2-rev-dark: #340808;
	--gw2-war: #C38301;
	--gw2-war-30: #C383014D;
	--gw2-war-50: #C3830188;
	--gw2-war-dark: #624201;
}

body
{
	margin: 0;
	color: var(--rc-text);
	font-size: var(--rc-font-size);
	background-color: var(--rc-bg-main);
	background-image: url("../Resources/Images/BG_Main.jpg");
	background-size: cover;
	background-attachment: fixed;
	overflow-y: scroll;
	font-family: "Titillium Web", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 1rem;
}

body strong
{
	font-family: "Titillium Web", sans-serif;
	font-weight: 700;
	font-style: normal;
}

hr
{
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background: linear-gradient(90deg, transparent 0%, var(--rc-text) 50%, transparent 100%);
}

.vr
{
	margin: 0 1rem;
	background: linear-gradient(180deg, transparent 0%, var(--rc-text) 50%, transparent 100%);
	width: 1.1px;
	height: 100%;
}

h1, h2, h3, h4
{
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

h1
{
	font-size: 20px;
}

h2
{
	font-size: 18px;
}

h3
{
	font-size: 16px;
}

code
{
	outline: 1px solid var(--rc-darkgrey);
	border-radius: 5px;
	padding: 2px 6px !important;
	background-color: var(--rc-bg-content);
}

.spacer-xs
{
	height: 16px;
}

.spacer-s
{
	height: 30px;
}

.spacer-m
{
	height: 60px;
}

.spacer-l
{
	height: 90px;
}

.spacer-xl
{
	height: 120px;
}

.section-header
{
	display: flex;
	text-align: center;
	text-transform: uppercase;
	color: var(--rc-primary);
	align-items: center;
	filter: drop-shadow(0 0 10px black);
}

.section-header > h1
{
	margin-left: 16px;
	margin-right: 16px;
	min-width: fit-content;
}

.section-header-divider-left
{
	content: "";
	background: linear-gradient(90deg, transparent 0%, var(--rc-primary) 100%);
	height: 2px;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.section-header-divider-dot
{
	display: block;
	content: "";
	background-color: var(--rc-primary);
	height: 4px;
	width: 4px;
	border-radius: 3px;
}

.section-header-divider-right
{
	content: "";
	background: linear-gradient(-90deg, transparent 0%, var(--rc-primary) 100%);
	height: 2px;
	width: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

/* LINKS */
a
{
	color: var(--rc-primary);
	text-decoration: none;
	transition: .3s ease;
	cursor: pointer;
}

a:hover
{
	color: var(--rc-primary-hover);
}

a:active
{
	color: var(--rc-primary-active);
}
/* LINKS END */

/* SCROLLBAR */
::-webkit-scrollbar
{
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-corner
{
	background: #1e2124;
}

::-webkit-scrollbar-thumb
{
	background: #484b51;
	border-radius: 4px;
}

::-webkit-scrollbar-track
{
	background: #1e2124;
}
/* SCROLLBAR END */

/* MAIN */
main
{
	min-height: calc(100vh - 90px);
}

.content-page
{
	margin-left: auto;
	margin-right: auto;
	padding-top: var(--rc-navbar-height);
	padding-bottom: var(--rc-navbar-height);
	width: 80%;
	min-width: 400px;
}

.content-banner
{
	width: 100%;
}
/* MAIN END */

/* CARDS */
.card
{
	display: flex;
	flex-direction: column;
	padding: 16px;
	margin-block-end: 1rem;
	backdrop-filter: blur(5px);
	transition: 0.3s ease;
	border-radius: 10px;
}

.card *
{
	margin-block-start: 0;
	transition: 0.3s ease;
}

.card *:first-child
{
	margin-block-start: 0;
}

.card *:last-child
{
	margin-block-end: 0;
}

.cardcontent-center
{
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.cardstyle-gradient
{
	background: linear-gradient(45deg, var(--rc-primary-30) 0%, var(--rc-bg-content) 30%, var(--rc-bg-content) 80%, var(--rc-secondary-30) 100%);
	outline: 1px solid var(--rc-primary-50);
}

.cardstyle-error
{
	background: var(--rc-error-30);
	outline: 1px solid var(--rc-error-50);
}

.cardstyle-warning
{
	background: var(--rc-warning-30);
	outline: 1px solid var(--rc-warning-50);
}

.cardstyle-success
{
	background: var(--rc-success-30);
	outline: 1px solid var(--rc-success-50);
}

.cardstyle-important
{
	background: var(--rc-important-30);
	outline: 1px solid var(--rc-important-50);
}

.cardstyle-dark
{
	background: var(--rc-bg-content);
	outline: 1px solid var(--rc-primary-50);
}

.cardstyle-interactive
{
	background: linear-gradient(45deg, var(--rc-bg-content) 0%, var(--rc-bg-content) 0%, var(--rc-bg-content) 80%, var(--rc-bg-content) 100%);
	outline: 1px solid var(--rc-primary-50);
}

.cardstyle-interactive:hover
{
	outline: 1px solid var(--rc-primary);
	background: linear-gradient(45deg, var(--rc-primary-30) 0%, var(--rc-bg-content) 30%, var(--rc-bg-content) 80%, var(--rc-secondary-30) 100%);
}
/* CARDS END */

/* BUTTONS */
.btn
{
	display: inline-block;
	color: white;
	cursor: pointer;
	padding: 4px 8px;
	text-align: center;
	border-radius: 5px;
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-size: 1rem;
	backdrop-filter: blur(5px);
	transition: 0.3s ease;
}

.btn:disabled
{
	color: var(--rc-text-muted);
	border: 1px solid var(--rc-text-muted);
	background-color: var(--rc-text-muted);
}

.btnstyle-wide
{
	min-width: 120px;
}

.btnstyle-widest
{
	min-width: 200px;
}

.btnstyle-primary
{
	color: white !important;
	border: 1px solid var(--rc-primary-50);
	background-color: var(--rc-primary-30);
}

.btnstyle-primary:hover
{
	color: white;
	border: 1px solid var(--rc-primary);
	background-color: var(--rc-primary);
}

.btnstyle-primary:active
{
	color: white;
	border: 1px solid var(--rc-primary-active);
	background-color: var(--rc-primary-active);
}

.btnstyle-secondary
{
	color: var(--rc-text-muted);
	border: 1px solid var(--rc-darkgrey);
	background-color: var(--rc-bg-content);
}

.btnstyle-secondary:hover
{
	color: var(--rc-primary-hover);
	border: 1px solid var(--rc-primary-hover);
	background: linear-gradient(45deg, var(--rc-primary-30) 0%, #00000000 30%, #00000000 80%, var(--rc-secondary-30) 100%);
}

.btnstyle-secondary:active
{
	color: var(--rc-primary-hover);
	border: 1px solid var(--rc-primary-hover);
	background: var(--rc-bg-content);
}

.btnstyle-destructive
{
	color: var(--rc-text);
	border: 1px solid var(--rc-error-50);
	background-color: var(--rc-error-30);
}

.btnstyle-destructive:hover
{
	color: var(--rc-text);
	border: 1px solid var(--rc-error);
	background-color: var(--rc-error);
}

.btnstyle-destructive:active
{
	color: var(--rc-text);
	border: 1px solid var(--rc-error-50);
	background-color: var(--rc-error-50);
}

.btnstyle-discord
{
	color: var(--rc-text);
	border: 1px solid #5865f2;
	background-color: #5865f288;
}

.btnstyle-discord:hover
{
	color: white;
	border: 1px solid #5865f2;
	background-color: #5865f2;
}
/* BUTTONS END */

/* GENERIC */
.error
{
	color: var(--rc-error);
}

.warning
{
	color: var(--rc-warning);
}

.success
{
	color: var(--rc-success);
}
/* GENERIC END */

/* INPUTS */
.field-validation-error
{
	color: var(--rc-error);
}

input[type=text], input[type=email], input[type=password], input[type=url], input[type=datetime], input[type=datetime-local], textarea, select
{
	color: var(--rc-text) !important;
	padding: 8px 16px;
	box-sizing: border-box;
	border: 1px solid var(--rc-darkgrey);
	outline: none;
	background-color: var(--rc-bg-content) !important;
	width: 100%;
	font-family: 'Titillium Web';
}

select > option
{
	background-color: var(--rc-bg-main);
}

input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input[type=url]:focus, input[type=datetime]:hover, input[type=datetime-local]:hover, textarea:hover, select:hover
{
	border: 1px solid var(--rc-primary);
}

textarea
{
	max-width: 100%;
}

.checkbox
{
}
/* INPUTS END */
