/*!
Theme Name: Martin Photo
Theme URI: http://underscores.me/
Author: Lucas Lacroix
Author URI: https://lucaslacroix.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Martin photo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

	/* rest css contenteditable="true" */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Éléments généraux */

html {
font-family: 'Lora-Regular', serif;
  font-size: 16px;
  word-spacing: 1px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

:root {
  --primaire: #0a0e21;
  --primaire-survol: #000013;
  --texte-gris: #0a0e21;
  --texte-gris-clair: #616679;
  --texte-blanc: #fff;
  --texte-rouge: #c30c3d;
  --texte-vert: #2B8266;
  --texte-gris-tres-clair: #fafafa;
  --surface-sombre: #0a0e21;
  --surface-claire: #E7E7E7;
  --surface-blanc: #fff;
  --surface-code: #edecf0;
  --ligne-fonce: #0B051E;
  --ligne-claire: #d7d4e1;
}

body {
  background-color: var(--surface-claire);
  color: var(--texte-gris);
}

::selection {
  color: var(--texte-blanc);
  background-color: var(--primaire);
}

* {
  box-sizing: border-box;
  margin: 0;
}

img {
  width: 100%;
  height: auto;
}
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

b,
strong {
	font-weight: bolder;
	/*font-family: 'Poppins SemiBold';*/
}

html {
	box-sizing: border-box;
}

button,
input,
select,
optgroup,
textarea {
	color: var(--texte-gris);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 15px 0px;
	line-height: 120%;
}

p {
	margin-bottom: 1.5em;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

hr {
	background-color: var(--ligne-fonce);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	margin: 12px 0px;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--texte-gris);
}

.has-sombre-background-color a:focus-visible {
	outline-offset: 2px;
	outline: var(--ligne-claire) 2px solid;
}

button.primaire:focus-visible, button:focus-visible, input:focus-visible, select, textarea:focus-visible, a:focus-visible {
	outline-offset: 2px;
	outline: var(--primaire) 2px solid;
  }

  .modal button:focus-visible, .modal input:focus-visible, .modal select, .modal textarea:focus-visible, .modal a:focus-visible {
	outline-offset: 2px;
	outline: var(--ligne-claire) 2px solid;
  }

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: var(--primaire);
	color: var(--texte-blanc);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	cursor: pointer;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.main-navigation {
	display: block;
	width: 100%;
}

.menu-toggle {
	display: none;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.main-navigation.toggled ul {
	display: block;

}

.main-navigation ul {
	display: flex;
}

#mobile-navigation {
	background-image: url('./elements/menu-mobile.svg');
	background-size: cover;
	background-repeat: no-repeat;
	padding: 5px 15px;
	display: none;
	flex-direction: row;
	position: fixed;
	bottom: 10px;
	left: 10px;
	right: 10px;
	color: white;
	font-size: small;
	z-index: 3200;
	justify-content: space-around;
	border-radius: 50px;
}

#mobile-navigation img {
	height: 46px;
	width: 46px;
}

#mobile-navigation p {
	margin-bottom: 0;
	margin-top: -10px;
	text-align: center;
}
#mobile-navigation a {
	text-decoration: none;
	color: white;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.wp-block-separator {
	border-top: 0px solid;
	border-bottom: 0px solid;
}

.wp-block-columns {
	max-width: 1200px;
	margin: 0 auto;
}

.wp-block-button__link {
	font-size: small;
	background-color: var(--primaire);
	color: var(--texte-blanc);
}

.modal {
	visibility: hidden;
	position: fixed;
	opacity: 0;
	transition: opacity 0.3s ease;
	position: fixed;
	bottom: 16px;
	right: 0px;
	width: 100%;
	max-width: 703px;
	transform: translateX(184px);
	padding: 20px 32px;
	background-color: var(--surface-sombre);
	opacity: 0;
	transition: opacity transform 0.3s ease;
	color: var(--texte-blanc);
	z-index: 2000;
	left: 0px;
	margin: 0 auto;
	max-height: 609px;
  }

.modal.show {
    visibility: visible;
    opacity: 1;
	z-index: 4000;
	transform: translateX(0px);
	transition: opacity transform 0.3s ease;
}

.modal a {
	color: white;
	padding: 3px 0px;
}
.modal a:hover {
	color: white;
	border-bottom: 1px solid var(--ligne-claire);
}

.modal hr {
	background-color: #2c3357;
}

.modal p {
	line-height: 220%;
}

.collection h2 {
	margin-top: -12px;
	margin-bottom: 22px;
	font-size: 40px;
}

.close {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
    padding: 8px;
    color: white;
	z-index: 2000;
}

.nav-menu a {
    padding: 8px;
}

.entry-content {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	font-family: 'Bebas-Regular';
}

h1 a,
h2 a,
h3 a,
h4 a {
	text-decoration: none;
}

h1 {
	font-size: 80px;
	line-height: 109%;
	margin: 10px 0px;
}

h2 {
	font-size: 56px;
	line-height: 120%;
	margin: 10px 0;
}

h3 {
	font-size: 40px;
}

h4 {
	font-size: 32px;
}

p {
	font-family: 'Lora-Regular', serif;
	margin-bottom: 36px;
}

main p {
	max-width: 700px;
}

b,
strong {
	font-weight: bold;
}

aside p {
	margin-bottom: 5px;
}

form p {
    margin-bottom: 6px;
}

input,
select,
textarea {
	border: 2px solid var(--ligne-fonce) !important;
	background-color: rgb(255 255 255 / 0%);
	border-radius: 5px;
	margin: 0 0 8px !important;
	padding: 8px !important;
	display: block;
	width: 100%;
	max-width: 480px;
}

label {
  display: block;
  padding: 2px 5px;
  font-size: small;
  font-weight: bold;
}

form button {
	border: 0;
	padding: 8px 24px;
	border-radius: 5px;
	cursor: pointer;
	background-color: var(--primaire);
	color: #fff;
	margin: 15px 0;
}

input[type="submit"] {
	border: 0px solid !important;
	padding: 12px !important;
	margin-top: 16px !important;
}

.is-style-rounded {
	border-radius: 0px !important;
}

.has-sombre-color {
	color: #0a0e21;
}

.has-sombre-background-color {
	background-color: #0a0e21;
}

.has-sombre-background-color p a {
	border-bottom: .5px solid var(--texte-blanc);
	text-decoration: none;
	transition: .2s bottom;
}

.has-gris-color {
	color: #e7e7e7;
}

.has-gris-background-color {
	background-color: #e7e7e7;
}

a {
	color: var(--texte-gris);
	text-decoration: none;
}


p a {
	border-bottom: .5px solid var(--texte-gris);
	text-decoration: none;
	transition: .2s bottom;
}

.is-style-outline {
	color: var(--primaire);
	border: var(--primaire);
	font-size: small;
}

#masthead {
	display: flex;
	flex-direction: row;
	align-items: center;
	max-width: 1200px;
	margin: 0px auto;
	justify-content: center;
	position: fixed;
	bottom: 16px;
	left: 16px;
	right: 16px;
}

#masthead .site-branding img {
	max-height: 40px;
	height: 100%;
	min-width: 40px;
}

#masthead button {
	background-color: rgba(0,0,0,00);
}

main {
	z-index: 1;
}
header {
	z-index: 20;
}

button#openBtn {
  background-color: var(--primaire);
  color: var(--surface-claire);
  border-radius: 0;
  border: 1px solid var(--surface-claire);
  padding: 12px 18px 12px 16px;
  z-index: 1900;
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: inherit;
}

button#openBtn svg {
	height: 24px;
	width: 24px;
}


.site-branding {
	margin-right: 15px;
}

#menu-menu-2 {
	display: flex;
	align-items: last baseline;
}

#menu-menu-2 {
	padding-top: 4px;
}

.promo {
	position: relative;
}

.promo .wp-block-button__link {
	position: absolute;
	bottom: 61px;
	right: 48px;
}

.wp-block-button a:visited {
  color: #fff;
}

a.post-edit-link {
	background-color: white;
	padding: 12px 16px 9px 16px;
	position: fixed;
	bottom: 16px;
	border-radius: 24px;
	text-decoration: none;
	right: 16px;
  }

@font-face {
	font-family: 'Bebas-Regular';
	src: url('./elements/Bebas-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'Lora-Regular';
	src: url('./elements/Lora-Regular.woff2') format('woff2');
}



@media screen and (max-width: 1220px) {
	.wp-block-column {
		padding-left: 24px;
		padding-right: 24px;
	}

	.wp-block-column .wp-block-column {
		padding-left: 0px;
		padding-right: 0px;
	}

	.wp-block-cover__inner-container {
		width: inherit !important;
	}
}

@media screen and (max-width: 800px) {
	.modal {
		padding-top: 72px;
	}
	.modal {
		visibility: hidden;
		position: fixed;
		opacity: 0;
		transition: opacity 0.3s ease;
		position: fixed;
		top: 0px;
		bottom: 0px;
		right: 0px;
		width: 100%;
		height: 100%;
		max-height: none;
		max-width: 560px;
		transform: translateX(184px);
		padding: 20px;
		background-color: var(--surface-sombre);
		color: var(--texte-blanc);
	}

	h1 {
		font-size: 56px;
		line-height: 109%;
		margin: 10px 0px;
	}
	
	h2 {
		font-size: 40px;
		line-height: 120%;
		margin: 10px 0;
	}
	
	h3 {
		font-size: 32px;
	}
	
	h4 {
		font-size: 24px;
	}
}
