/*
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
*/

/* Poppins Fonts */
@font-face {
	font-family: 'Poppins Regular';
	font-style: normal;
	font-weight: normal;
	src: local('Poppins Regular'), url('fonts/Poppins-Regular.woff') format('woff');
}

@font-face {
	font-family: 'Poppins Italic';
	font-style: normal;
	font-weight: normal;
	src: local('Poppins Italic'), url('fonts/Poppins-Italic.woff') format('woff');
}

@font-face {
	font-family: 'Poppins SemiBold';
	font-style: normal;
	font-weight: normal;
	src: local('Poppins SemiBold'), url('fonts/Poppins-SemiBold.woff') format('woff');
}

@font-face {
	font-family: 'Poppins Bold';
	font-style: normal;
	font-weight: normal;
	src: local('Poppins Bold'), url('fonts/Poppins-Bold.woff') format('woff');
}

/* Butler Fonts */

   @font-face {
    font-family: 'Butler Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Butler Regular'), url('fonts/Butler_Regular.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Butler Light';
    font-style: normal;
    font-weight: normal;
    src: local('Butler Light'), url('fonts/Butler_Light.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Butler Medium';
    font-style: normal;
    font-weight: normal;
    src: local('Butler Medium'), url('fonts/Butler_Medium.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Butler Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Butler Bold'), url('fonts/Butler_Bold.woff') format('woff');
    }
    
    @font-face {
    font-family: 'Butler ExtraBold';
    font-style: normal;
    font-weight: normal;
    src: local('Butler ExtraBold'), url('fonts/Butler_ExtraBold.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Butler Black';
    font-style: normal;
    font-weight: normal;
    src: local('Butler Black'), url('fonts/Butler_Black.woff') format('woff');
    }

/* CSS Variables and Typography */
:root {
	--primary-color-10: #eee8dd;
	--primary-color-20: #eee8dd;
	--primary-color-30: #eee8dd;
	--primary-color-40: #eee8dd;
	--primary-color-50: #eee8dd;
	--primary-color-60: #eee8dd;
	--primary-color-70: #eee8dd;
	--primary-color-80: #eee8dd;
	--primary-color-90: #eee8dd;

	--secondary-color-10: #eee8dd;
	--secondary-color-20: #eee8dd;
	--secondary-color-30: #eee8dd;
	--secondary-color-40: #eee8dd;
	--secondary-color-50: #eee8dd;
	--secondary-color-60: #eee8dd;
	--secondary-color-70: #eee8dd;
	--secondary-color-80: #eee8dd;
	--secondary-color-90: #eee8dd;

	--tertial-color-10: #eee8dd;
	--tertial-color-20: #eee8dd;
	--tertial-color-30: #eee8dd;
	--tertial-color-40: #eee8dd;
	--tertial-color-50: #eee8dd;
	--tertial-color-60: #eee8dd;
	--tertial-color-70: #eee8dd;
	--tertial-color-80: #eee8dd;
	--tertial-color-90: #eee8dd;

	--neutral-color-10: #eee8dd;
	--neutral-color-20: #eee8dd;
	--neutral-color-30: #eee8dd;
	--neutral-color-40: #eee8dd;
	--neutral-color-50: #eee8dd;
	--neutral-color-60: #eee8dd;
	--neutral-color-70: #eee8dd;
	--neutral-color-80: #eee8dd;
	--neutral-color-90: #eee8dd;

	--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;

	
	--h1-desktop: 60px;
	--h2-desktop: 45px;
	--h3-desktop: 30px;
	--subtitle-desktop: 25px;
	--p-desktop: 18px;

	--h1-mobile: 30px;
	--h2-mobile: 25px;
	--h3-mobile: 20px px;
	--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: 'Butler Medium', sans-serif;
}

body,
p,
.paragraph {
	font-family: 'Poppins Regular', 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;
}
/*Navbar*/
.logo {
	max-width: 160px;
}
.logo img {
	width: 100%;
	max-width: 160px;
	height: auto;
}
.navbar {
	align-items: center;
	background: var(--light);
	box-shadow: var(--box-shadow-1);
	display: flex;
	flex-direction: row;
	font-family: sans-serif;
	padding: 10px 50px;
	border-radius: var(--border-radius);
	z-index: 9;
	/* position: static; */
}

.push-left {
	margin-left: auto;
}

.hamburger {
	background: transparent;
	border: none;
	cursor: pointer;
	display: none;
	outline: none;
	height: 30px;
	position: relative;
	width: 30px;
	z-index: 1000;
}

.hamburger-line {
	background: #272727;
	height: 3px;
	position: absolute;
	left: 0;
	transition: all 0.2s ease-out;
	width: 100%;
}
.hamburger:hover .hamburger-line {
	background: #777;
}
.hamburger-line-top {
	top: 3px;
}
.menu-active .hamburger-line-top {
	top: 50%;
	transform: rotate(45deg) translatey(-50%);
}
.hamburger-line-middle {
	top: 50%;
	transform: translatey(-50%);
}
.menu-active .hamburger-line-middle {
	left: 50%;
	opacity: 0;
	width: 0;
}
.hamburger-line-bottom {
	bottom: 3px;
}
.menu-active .hamburger-line-bottom {
	bottom: 50%;
	transform: rotate(-45deg) translatey(50%);
}
.nav-menu {
	background: var(--light);
	justify-content: end;
	display: flex;
	align-items: center;
	gap: 20px;
}
.nav-menu ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	text-decoration: none;
	transition: all 0.25s ease-in;
	gap: 10px;
}

.nav-menu .menu-item a {
	color: var(--dark);
	display: block;
	line-height: 30px;
	margin: 0px 10px;
	text-decoration: none;
	font-size: var(--p-desktop);
}
.nav-menu img {
	width: 45px;
	height: 45px;
}

.nav-menu .menu-item a:hover {
	color: var(--primary-color-70);
}

.sub-nav {
	border: 1px solid #ccc;
	display: none;
	position: absolute;
	background-color: #fff;
	padding: 5px 5px;
	list-style: none;
	width: 230px;
}

.nav__link:hover + .sub-nav {
	display: block;
}

.sub-nav:hover {
	display: block;
}

.menu li::after {
	content: '';
	display: block;
	width: 100%;
	height: 5px;
	border-radius: 100px;
	background: var(--primary-color-20);
	margin-bottom: 5px;
	transform-origin: right;
	transform: scaleX(0);
	transition: transform 0.3s ease-in-out;
}
.menu li:hover::after {
	transform-origin: left;
	transform: scaleX(1);
}
.menu li.current_page_item a {
	color: var(--primary-color-50);
}
.menu li.current_page_item::after {
	content: '';
	display: block;
	width: 100%;
	height: 5px;
	border-radius: 100px;
	background: var(--primary-color-50);
	margin-bottom: 5px;
	transform-origin: left;
	transform: scaleX(1);
}
.menu-active .costum-navbar {
	height: 100%;
}
.costum-navbar {
	position: fixed;
	top: 0;
	width: -webkit-fill-available;
}
.costum-navbar .logo img {
	width: 100px;
}
.cta-header {
	display: flex;
	gap: 15px;
}
@media screen and (max-width: 1280px) and (min-width: 1065px) {
	.logo,
	.logo img {
		max-width: 130px;
	}
	.navbar {
		padding: 10px;
	}
	.nav-menu .menu-item a {
		font-size: var(--p-mobile);
	}
}
@media screen and (max-width: 1065px) {
	.hamburger {
		display: inline-block;
	}
	.menu-active .hamburger {
		top: 30px;
		position: absolute;
	}
	.nav-menu {
		background: var(--light);
		flex-direction: column;
		justify-content: center;
		opacity: 0;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		transform: translatey(-100%);
		text-align: center;
		display: flex;
	}
	.cta-header {
		margin-top: 30px;
	}
	.nav-menu ul {
		flex-direction: column;
	}
	.menu li {
		width: fit-content;
		margin: auto;
	}
	body.menu-active {
		overflow: hidden;
	}
	.menu-active .nav-menu {
		transform: translatey(0%);
		opacity: 1;
		z-index: 999;
	}
	.nav-menu .menu-item a {
		font-size: 20px;
		margin: 8px;
	}
	.sub-nav {
		position: relative;
		width: 100%;
		display: none;
		background-color: rgba(0, 0, 0, 0.2);
		box-sizing: border-box;
	}
}

/*Breadcrumb*/
.breadcrumb {
	display: flex;
	padding-left: 80px;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 30px;
}
.breadcrumb-content {
	display: flex;
	align-items: center;
	gap: 10px;
}
.breadcrumb a {
	text-decoration: none;
	color: var(--primary-color-50);
}

@media screen and (max-width: 768px) {
	.breadcrumb {
		display: none;
	}
}
