/*

Theme Name: Com' des frères

Theme URI: https://www.comdesfreres.fr

Author: Com' des frères

Author URI: https://www.comdesfreres.fr

Description: Personal theme.

Version: 1.0

Requires at least: 4.7

Requires PHP: 5.2.4

License: Com' des frères License

License URI: https://www.comdesfreres.fr

Text Domain: comdesfreres

*/
@font-face {
	font-family: 'Hell Print';
	font-style: normal;
	font-display: swap;
	font-weight: normal;
	size-adjust: 100%;
	ascent-override: 90%;
	descent-override: 10%;
	line-gap-override: 0%;
	src:
		local('Hell Print'),
		url('fonts/HellPrint.woff') format('woff');
}

@font-face {
	font-family: 'Bernhard Gothic URW Medium';
	font-style: normal;
	font-display: swap;
	font-weight: normal;
	size-adjust: 100%;
	ascent-override: 90%;
	descent-override: 10%;
	line-gap-override: 0%;
	src:
		local('Bernhard Gothic URW Medium'),
		url('fonts/BernhardGothicURW-Medium.woff') format('woff');
}
@font-face {
	font-family: 'Bernhard Gothic URW Ultra';
	font-style: normal;
	font-display: swap;
	font-weight: normal;
	size-adjust: 100%;
	ascent-override: 90%;
	descent-override: 10%;
	line-gap-override: 0%;
	src:
		local('Bernhard Gothic URW Ultra'),
		url('fonts/BernhardGothicURW-Ultra.woff') format('woff');
}
/* CSS Variables and Typography */

:root {
	--primary-color-10: #eee8dd;
	--primary-color-20: #e8d8bb;
	--primary-color-30: #e7c992;
	--primary-color-40: #edbd64;
	--primary-color-50: #f9b22f;
	--primary-color-60: #e89a0a;
	--primary-color-70: #b37709;
	--primary-color-80: #7e5508;
	--primary-color-90: #4a3205;

	--secondary-color-10: #ece2dd;
	--secondary-color-20: #e2c8bd;
	--secondary-color-30: #ddac97;
	--secondary-color-40: #dd8e6d;
	--secondary-color-50: #e26f3e;
	--secondary-color-60: #e25112;
	--secondary-color-70: #ae3f10;
	--secondary-color-80: #7a2e0d;
	--secondary-color-90: #481c09;

	--tertial-color-10: #ebdeda;
	--tertial-color-20: #dfc1b7;
	--tertial-color-30: #d9a08f;
	--tertial-color-40: #d77d62;
	--tertial-color-50: #db5830;
	--tertial-color-60: #c73f15;
	--tertial-color-70: #a62d08;
	--tertial-color-80: #752107;
	--tertial-color-90: #451406;

	--neutral-color-10: #e4e4e3;
	--neutral-color-20: #cecdcc;
	--neutral-color-30: #b8b7b5;
	--neutral-color-40: #a2a09e;
	--neutral-color-50: #8d8a87;
	--neutral-color-60: #777470;
	--neutral-color-70: #605d5a;
	--neutral-color-80: #494744;
	--neutral-color-90: #32302f;

	--error-color-10: #eee8dd;
	--error-color-20: #eee8dd;
	--error-color-30: #eee8dd;
	--error-color-40: #eee8dd;
	--error-color-50: #eee8dd;
	--error-color-60: #eee8dd;
	--error-color-70: #eee8dd;
	--error-color-80: #eee8dd;
	--error-color-90: #eee8dd;

	--bg-linear-gradient: linear-gradient(180deg, var(--Tertial-600, #c73f15) 0%, var(--Primary-500, #f9b22f) 100%);
	--bg-linear-gradient-reverse: linear-gradient(180deg, #edad40 0%, var(--Secondary-600, #e25112) 100%);

	--h1-desktop: 80px;
	--h2-desktop: 80px;
	--h3-desktop: 70px;
	--subtitle-desktop: 25px;
	--p-desktop: 18px;

	--h1-mobile: 42px;
	--h2-mobile: 35px;
	--h3-mobile: 25px;
	--subtitle-mobile: 18px;
	--p-mobile: 15px;
}

html {
	overflow-x: hidden;
}

body {
	margin: 0 !important;
	padding: 0;
	min-height: 100vh;
	background: #ffffff;
	overflow-x: hidden;
}

h1,
h2,
h3,
.title {
	font-family: 'Hell Print', sans-serif;
	margin: 0;
}
h1 {
	text-align: center;
	margin: auto !important;
}
h1,
h2 {
	font-size: var(--h1-desktop);
}
p,
.paragraph {
	font-family: 'Bernhard Gothic URW Medium', sans-serif;
}

@media screen and (max-width: 768px) {
	h1 {
		font-size: var(--h1-mobile);
	}

	h2 {
		font-size: var(--h2-mobile);
	}

	h3 {
		font-size: var(--h3-mobile);
	}

	.subtitle {
		font-size: var(--subtitle-mobile);
	}

	p,
	li {
		font-size: var(--p-mobile);
	}
}

main,
section,
footer {
	position: relative;
	z-index: 0;
}

/*Button*/
.btn {
	text-decoration: none;
	color: var(--primary-color-90);
	position: relative;
	width: fit-content;
	display: block;
	margin: 5px;
	transition: transform ease-in-out 0.4s;
}
.box-btn {
	-moz-transform: scale(1.3) rotate(358deg) translate(-11px, 0px) skew(-6deg, 0deg);
	-webkit-transform: scale(1.3) rotate(358deg) translate(-11px, 0px) skew(-6deg, 0deg);
	-o-transform: scale(1.3) rotate(358deg) translate(-11px, 0px) skew(-6deg, 0deg);
	-ms-transform: scale(1.3) rotate(358deg) translate(-11px, 0px) skew(-6deg, 0deg);
	transform: scale(1.3) rotate(358deg) translate(-11px, 0px) skew(-6deg, 0deg);
	background: var(--secondary-color-10);
	position: absolute;
	top: 0;
	left: 15px;
	width: 100%;
	height: 50px;
	z-index: 0;
}
.text-btn {
	display: flex;
	gap: 15px;
	justify-content: center;
	z-index: 1;
	position: relative;
	transform: rotate(-2deg);
}
.text-btn span {
	font-family: 'Hell Print', sans-serif;
	font-size: var(--h2-mobile);
	height: fit-content;
}
.text-btn img {
	width: 50px;
	height: auto;
	position: relative;
	right: 0;
	transition: ease-in-out 0.4s;
}

.btn:hover {
	transform: scale(1.1) rotate(2deg);
}
.btn:hover .text-btn img {
	right: -20px;
}
@media screen and (max-width: 768px) {
	.text-btn span {
		font-size: var(--h1-mobile);
	}
	.text-btn img {
		width: 50px;
	}
}

.btn-back {
	display: flex;
	align-items: center;
}
.btn-back img {
	transform: rotate(180deg);
}
/*Navbar*/
nav.navbar {
	position: fixed;
	top: 0;
	z-index: 9;
	width: 95%;
	display: flex;
	justify-content: end;
}
@media screen and (max-width: 870px) {
	nav.navbar .btn {
		display: none;
	}

	.btn-ticket {
		position: fixed;
		bottom: 15%;
		transition: ease-in-out 0.3s;
	}

	.btn-ticket.costum-navbar {
		position: fixed;
		bottom: 5%;
		z-index: 9;
		transition: ease-in-out 0.3s;
	}
}
/*Homepage*/

main {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 90vh;
	background: var(--bg-linear-gradient);
	position: relative;
}
img.cloud {
	position: absolute;
	bottom: 0;
	width: 105%;
	height: auto;
	z-index: 2;
	animation-name: floating;
	animation-duration: 5s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}
img.roll {
	position: fixed;
	top: 5%;
	width: 100%;
	height: auto;
	max-width: 1000px;
	z-index: 1;
	animation: rotation 50s infinite linear;
}
@keyframes rotation {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(359deg);
	}
}
@keyframes floating {
	0% {
		transform: translate(0, 0px);
	}
	50% {
		transform: translate(0, 15px);
	}
	100% {
		transform: translate(0, -0px);
	}
}
img.logo {
	position: fixed;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 645px;
	height: auto;
	z-index: 3;
	width: 100%;
	transition: ease-in-out 0.2s;
}
img.logo.costum-navbar {
	max-width: 150px;
	padding: 10px 20px;
	top: 7%;
	transition: ease-in-out 0.3s;
}
@media screen and (max-width: 768px) {
	img.logo {
		top: 23%;
		width: 300px;
	}
	img.roll {
		top: 5%;
	}
}
.section-1 {
	background: var(--bg-linear-gradient-reverse);
	text-align: center;
	padding: 70px 20px;
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: 25px;
	position: relative;
}
.cta {
	display: flex;
	justify-content: center;
	margin: 70px 0 0 0;
}
img.foule {
	width: 60%;
	height: auto;
	z-index: 1;
}

.grain {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(assets/image/bg-grain.png);
	background-size: 100%;

	z-index: -1;
}
@media screen and (max-width: 768px) {
	main {
		height: 45vh;
	}
	img.foule {
	width: 100%;
	height: auto;
	z-index: 1;
}

}
/*Programmation*/
h2 {
	color: var(--secondary-color-10);
}
ul {
	padding: 0;
	margin: 0;
}
li {
	font-family: 'Hell Print', sans-serif;
	list-style: none;
	color: var(--secondary-color-10);
	margin-top: 80px;
	opacity: 0.6;
	font-size: var(--h3-desktop);
}
li:hover {
	opacity: 1;
}

@media screen and (max-width: 768px) {
	li {
		font-size: var(--h3-mobile);
		margin-top: 8%;
	}
}

/*Footer*/
footer {
	background-image: url(./assets/image/bg-brun.png);
	background-position: top;
	background-size: cover;
	width: 100%;
	height: 200px;
	background-color: var(--secondary-color-60);
	text-align: center;
	padding: 50px 20px;
}
footer img {
	max-width: 300px;
}
.list-link {
	display: flex;
	justify-content: space-evenly;
	margin-top: 20px;
	width: 100%;
	align-items: center;
	margin-top: 50px;
}
.link {
	text-decoration: none;
	font-family: 'Bernhard Gothic URW Medium', sans-serif;
	color: var(--primary-color-10);
	font-size: var(--p-desktop);
}
.social {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-top: 20px;
}
@media screen and (max-width: 768px) {
	footer {
		height: auto;
		padding: 50px 0;
	}
	.list-link {
		flex-direction: column-reverse;
		gap: 20px;
		margin-top: 15px;
	}
	.link {
		font-size: var(--p-mobile);
	}
}
/*Compteur*/
.openDate {
	font-size: var(--h2-mobile);
	margin: 70px 20px 20px;
}

.countdown {
	display: flex;
	gap: 20px;
	color: #ffffff;
	font-family: 'hell print', sans-serif;
	justify-content: center;
}

.time {
	background-color: var(--secondary-color-60);
	padding: 15px;
	border-radius: 6px;
	text-align: center;
}

.time span {
	display: block;
	font-size: 36px;
	font-weight: bold;
}

.time small {
	font-size: 12px;
	opacity: 0.7;
}

.number {
	height: 40px;
	overflow: hidden;
}

.number span {
	display: block;
	transition: transform 0.4s ease-in-out;
}
@media screen and (min-width: 768px) {
	.time span {
		font-size: 50px;
	}
	.time small {
		font-size: 20px;
	}
	.number {
		height: 60px;
	}
}
/*Page froide*/
.article-full {
	max-width: 1400px;
	margin: auto;
	background: #fff;
	color: black;
	text-decoration: none;
	padding: 20px;
	margin-top: 50px;
}

.article-full .page-header {
	margin-bottom: 50px;
}
.article-full .page-header h1 {
	letter-spacing: 8px;
}
.article-full h2 {
	font-size: var(--h2-mobile);
	color: #000;
	font-family: 'Bernhard Gothic URW Medium', sans-serif;
}
