/*
 Theme Name:   Technique Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face {
	font-family: 'avenir_lt_black';
	src:
		url('./fonts/avenirltproblack-webfont.woff2') format('woff2'),
		url('./fonts/avenirltproblack-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'avenir_black';
	src:
		url('./fonts/avenir_black-webfont.woff2') format('woff2'),
		url('./fonts/avenir_black-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'avenir_book';
	src:
		url('./fonts/avenir_book-webfont.woff2') format('woff2'),
		url('./fonts/avenir_book-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'avenir_heavy';
	src:
		url('./fonts/avenir_heavy-webfont.woff2') format('woff2'),
		url('./fonts/avenir_heavy-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'avenir_light';
	src:
		url('./fonts/avenir_light-webfont.woff2') format('woff2'),
		url('./fonts/avenir_light-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'avenir_regular';
	src:
		url('./fonts/avenir_regular-webfont.woff2') format('woff2'),
		url('./fonts/avenir_regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Poppins Black';
	src:
		url('./fonts/Poppins-Black.woff2') format('woff2'),
		url('./fonts/Poppins-Black.woff') format('woff');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Extra Light Italic';
	src:
		url('./fonts/Poppins-ExtraLightItalic.woff2') format('woff2'),
		url('./fonts/Poppins-ExtraLightItalic.woff') format('woff');
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Light';
	src:
		url('./fonts/Poppins-Light.woff2') format('woff2'),
		url('./fonts/Poppins-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Bold';
	src:
		url('./fonts/Poppins-Bold.woff2') format('woff2'),
		url('./fonts/Poppins-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Extra Light';
	src:
		url('./fonts/Poppins-ExtraLight.woff2') format('woff2'),
		url('./fonts/Poppins-ExtraLight.woff') format('woff');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Extra Bold';
	src:
		url('./fonts/Poppins-ExtraBold.woff2') format('woff2'),
		url('./fonts/Poppins-ExtraBold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Italic';
	src:
		url('./fonts/Poppins-Italic.woff2') format('woff2'),
		url('./fonts/Poppins-Italic.woff') format('woff');
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Bold Italic';
	src:
		url('./fonts/Poppins-BoldItalic.woff2') format('woff2'),
		url('./fonts/Poppins-BoldItalic.woff') format('woff');
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Black Italic';
	src:
		url('./fonts/Poppins-BlackItalic.woff2') format('woff2'),
		url('./fonts/Poppins-BlackItalic.woff') format('woff');
	font-weight: 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Extra Bold Italic';
	src:
		url('./fonts/Poppins-ExtraBoldItalic.woff2') format('woff2'),
		url('./fonts/Poppins-ExtraBoldItalic.woff') format('woff');
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Semi Bold Italic';
	src:
		url('./fonts/Poppins-SemiBoldItalic.woff2') format('woff2'),
		url('./fonts/Poppins-SemiBoldItalic.woff') format('woff');
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Thin';
	src:
		url('./fonts/Poppins-Thin.woff2') format('woff2'),
		url('./fonts/Poppins-Thin.woff') format('woff');
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Light Italic';
	src:
		url('./fonts/Poppins-LightItalic.woff2') format('woff2'),
		url('./fonts/Poppins-LightItalic.woff') format('woff');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Medium Italic';
	src:
		url('./fonts/Poppins-MediumItalic.woff2') format('woff2'),
		url('./fonts/Poppins-MediumItalic.woff') format('woff');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Semi Bold';
	src:
		url('./fonts/Poppins-SemiBold.woff2') format('woff2'),
		url('./fonts/Poppins-SemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Thin Italic';
	src:
		url('./fonts/Poppins-ThinItalic.woff2') format('woff2'),
		url('./fonts/Poppins-ThinItalic.woff') format('woff');
	font-weight: 100;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Regular';
	src:
		url('./fonts/Poppins-Regular.woff2') format('woff2'),
		url('./fonts/Poppins-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Poppins Medium';
	src:
		url('./fonts/Poppins-Medium.woff2') format('woff2'),
		url('./fonts/Poppins-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

h1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-family:
		Poppins Black,
		sans-serif;
}
h2 {
	font-size: clamp(1.6rem, 3vw, 2.5rem);
	font-family:
		Poppins Semi Bold,
		sans-serif;
}
h3 {
	font-size: clamp(1.35rem, 2.5vw, 2rem);
}
h4 {
	font-size: clamp(1.2rem, 2vw, 1.625rem);
}
h5 {
	font-size: clamp(1.1rem, 1.5vw, 1.375rem);
}
h6 {
	font-size: clamp(1rem, 1.2vw, 1.25rem);
}

a {
	text-decoration: none;
	font-family:
		Avenir Book,
		sans-serif;
}
#um-submit-btn {
	background: #e1047a;
}
.post-password-form {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}
.copyright-bar {
	display: none;
}

/* Base */
.btn_connexion a,
.btn_deconnexion a,
a.btn_connexion,
a.btn_deconnexion {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	padding: 12px 18px;
	border-radius: 12px;

	font-weight: 700;
	text-decoration: none;

	transition: all 0.2s ease;
}

/* Connexion */
.btn_connexion a,
a.btn_connexion {
	background: #e1047a;
	color: #fff !important;
}

.btn_connexion a:hover,
a.btn_connexion:hover {
	background: #1e293b;
	transform: translateY(-1px);
}

/* Déconnexion */
.btn_deconnexion a,
a.btn_deconnexion {
	background: #e1047a !important;
	color: #fff !important;
}

.btn_deconnexion a:hover,
a.btn_deconnexion:hover {
	background: #b9050f;
	transform: translateY(-1px);
}

/* Icône connexion */
.btn_connexion a::before {
	content: '';
	width: 18px;
	height: 18px;
	background: #fff !important;
	fill: #fff !important;

	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h4a2 2 0 012 2v14a2 2 0 01-2 2h-4M10 17l5-5m0 0l-5-5m5 5H3'/%3E%3C/svg%3E")
		center/contain no-repeat;

	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h4a2 2 0 012 2v14a2 2 0 01-2 2h-4M10 17l5-5m0 0l-5-5m5 5H3'/%3E%3C/svg%3E")
		center/contain no-repeat;
}

/* Icône déconnexion */
.btn_deconnexion a::before,
a.btn_deconnexion::before {
	content: '⇦';
	font-size: 18px;
	line-height: 1;
}

/* Wrapper */
.openid-connect-login-button a.button-large {
	font-family: avenir_lt_black, sans-serif !important;
	color: #3d3d3d;
}
