@charset "UTF-8";

/* --------------------------------------------
FONTS
--------------------------------------------- */
@font-face{
	font-family : "M PLUS 2";
	font-style : normal;
	font-weight : 100 900;
	font-optical-sizing : auto;
	src : url( "../fonts/M_PLUS_2/MPLUS2-VariableFont_wght.woff2" ) format( "woff2" );
	font-display : swap;
}
:root{
	--fontFamily : "M PLUS 2" , sans-serif;
}

/* --------------------------------------------
UNIT
--------------------------------------------- */
@media screen and ( width <= 750px ){
	@property --breakPoint{
		syntax : "<number>";
		inherits : false;
		initial-value : 750;
	}
	@property --wrapperSize{
		syntax : "<number>";
		inherits : false;
		initial-value : 700;
	}
	@property --gutter{
		syntax : "<number>";
		inherits : false;
		initial-value : 25;
	}
}
@media print , screen and ( width > 750px ){
	@property --breakPoint{
		syntax : "<number>";
		inherits : false;
		initial-value : 1600;
	}
	@property --wrapperSize{
		syntax : "<number>";
		inherits : false;
		initial-value : 1240;
	}
	@property --gutter{
		syntax : "<number>";
		inherits : false;
		initial-value : 20;
	}
}
@property --remBase{
	syntax : "*";
	inherits : false;
	initial-value : * .1rem;
}
:root{
	--percentBase : * 100% / var( --wrapperSize );
	--viewportBase : * 100% / var( --breakPoint );
}

/* --------------------------------------------
COLOR
--------------------------------------------- */
@property --base{
	syntax : "<color>";
	inherits : true;
	initial-value : #333;
}
@property --primary{
	syntax : "<color>";
	inherits : false;
	initial-value : #a82125;
}
@property --secondary{
	syntax : "<color>";
	inherits : false;
	initial-value : #2e3a61;
}
@property --tertiary{
	syntax : "<color>";
	inherits : false;
	initial-value : #87abf3;
}
@property --quaternary{
	syntax : "<color>";
	inherits : false;
	initial-value : #f3eed9;
}

/* --------------------------------------------
FILTER
--------------------------------------------- */
@property --filterWhite{
	syntax : "*";
	inherits : false;
	initial-value : brightness( 0 ) invert( 1 );
}
@property --filterPrimary{
	syntax : "*";
	inherits : false;
	initial-value : invert( 25% ) sepia( 81% ) saturate( 1602% ) hue-rotate( 333deg ) brightness( 77% ) contrast( 107% );
}
@property --filterSecondary{
	syntax : "*";
	inherits : false;
	initial-value : invert( 20% ) sepia( 10% ) saturate( 3329% ) hue-rotate( 189deg ) brightness( 89% ) contrast( 85% );
}

/* --------------------------------------------
FONT SIZE
--------------------------------------------- */
@media screen and ( width <= 750px ){
	:root{
		--min : 10px;
		--max : 20rem;
	}
}
@media print , screen and ( width > 750px ){
	:root{
		--min : 10px;
		--max : 20rem;
	}
}

/* --------------------------------------------
TRANSITION
--------------------------------------------- */
@property --transitionBase{
	syntax : "*";
	inherits : false;
	initial-value : .3s ease-out;
}
@property --transitionBoundsTiming{
	syntax : "*";
	inherits : false;
	initial-value : linear( 0 , .009 , .035 2.1% , .141 , .281 6.7% , .723 12.9% , .938 16.7% , 1.017 , 1.077 , 1.121 , 1.149 24.3% , 1.159 , 1.163 , 1.161 , 1.154 29.9% , 1.129 32.8% , 1.051 39.6% , 1.017 43.1% , .991 , .977 51% , .974 53.8% , .975 57.1% , .997 69.8% , 1.003 76.9% , 1.004 83.8% , 1 );
}
:root{
	--transitionBounds : 1s var( --transitionBoundsTiming );
}

/* --------------------------------------------
REGULATE
--------------------------------------------- */
*{
	padding : 0;
	margin : 0;
	word-break : break-all;
}
* , *::before , *::after{
	box-sizing : border-box;
}
*:not(fieldset, progress, meter){
	background-repeat : no-repeat;
	background-origin : border-box;
	border-style : solid;
	border-width : 0;
}
:root{
	color-scheme : light ! important;
}
:where( html ){
	block-size : 100%;
	-webkit-text-size-adjust : none;
	tab-size : 2;
}
@media ( prefers-reduced-motion : no-preference ){
	html{
		scroll-behavior : smooth;
	}
}
:where( html:has( dialog[open] ) ){
	overflow : clip;
}
:where( body ){
	overflow-x : clip;
	overflow-y : auto;
	font-family : var( --fontFamily );
	font-weight : 400;
	font-feature-settings : "palt" on;
	font-optical-sizing : auto;
	line-height : 1;
	color : var( --base );
	overflow-wrap : anywhere;
	text-rendering : optimizeSpeed;
	min-block-size : 100%;
	line-break : strict;
}
main{
	overflow-x : clip;
}
:where( svg, video, canvas, audio, iframe, embed, object ){
	display : block;
}
:where( img, svg, video ){
	max-width : inherit;
	font-size : 0;
	vertical-align : top;
	inline-size : auto;
}
:where( img ){
	image-rendering : -webkit-optimize-contrast;
}
:where( svg ){
	fill : currentColor;
	stroke : none;
}
:where( svg:not( [fill] ) ){
	fill : none;
	stroke : currentColor;
	stroke-linecap : round;
	stroke-linejoin : round;
}
:where( svg:not( [width] ) ){
	inline-size : 5rem;
}
:where( input, button, textarea, select , input[type="file"]::-webkit-file-upload-button ){
	font : inherit;
	font-size : inherit;
	color : inherit;
	letter-spacing : inherit;
	outline : none;
}
:where( p, h1, h2, h3, h4, h5, h6 ){
	overflow-wrap : break-word;
}
:where( p, h1, h2, h3, h4, h5, h6 , a ):has( > img:only-child ){
	font-size : 0;
	line-height : 1;
}
:where( ul, ol ){
	list-style : none;
}
:where( a ){
	color : var( --base );
	-webkit-text-decoration : none;
	text-decoration : none;
	text-underline-offset : calc( ( 1lh - 1em ) / 2 );
	touch-action : manipulation;
	cursor : pointer;
	text-decoration-skip-ink : auto;
}
:where( button , [type="button"] , [type="reset"] , [type="submit"] ){
	touch-action : manipulation;
}
:where( button ){
	background-color : transparent;
}
:where( button, input, label[for], select, summary, textarea, [tabindex]:not( [tabindex*="-"] ) ){
	touch-action : manipulation;
	cursor : pointer;
}
:where( :disabled ){
	cursor : not-allowed;
}
:where( label:has( > input:disabled ), label:has( + input:disabled ) ){
	cursor : not-allowed;
}
:where( button, button[type], input[type="button"], input[type="submit"], input[type="reset"],input[type="file"]::-webkit-file-upload-button,input[type="file"]::file-selector-button ){
	-webkit-tap-highlight-color : transparent;
	-webkit-touch-callout : none;
	user-select : none;
}
:where( select ){
	appearance : none;
}
:where( table ){
	border-collapse : collapse;
}
:where( picture ){
	display : block;
	font-size : 0;
}
:where( em,dfn ){
	font-style : normal;
}
:where( dialog , [popover] ){
	inset : unset;
	max-width : unset;
	max-width : 100%;
	max-height : unset;
	max-height : 100%;
	color : inherit;
	background : none;
	border : none;
}
:where( dialog:not( [open] ), [popover]:not( :popover-open ) ){
	display : none;
}
:where( summary  ){
	display : block;
	list-style : none;
}
:where( summary  )::-webkit-details-marker{
	display : none;
}
@view-transition{
	navigation : auto;
}

/* --------------------------------------------
PRINT
--------------------------------------------- */
@media print{
	body{
		width : 100%;
		overflow-x : hidden;
	}
	@page{
		margin : .5cm;
		margin-top : .4cm;
		size : a4 portrait;
	}
	.no-print{
		display : none;
	}
}