/*
Theme Name: Enfant de hello elementor
Template: hello-elementor
Author: Emmanuel Lemal
Description: Thème enfant crée sur base du thème Hello Elementor
Version: 1.0.0
*/

@font-face {
    font-family: 'Ogg';
    src: url('https://dev.etu47.techniques-graphiques.be/wp-content/uploads/2025/08/Ogg-MediumTrial.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Ogg';
    src: url('https://dev.etu47.techniques-graphiques.be/wp-content/uploads/2025/08/Ogg-RegularTrial.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'AcidGrotesk';
    src: url('https://dev.etu47.techniques-graphiques.be/wp-content/uploads/2025/08/FFFAcidGroteskVariableTRIALVF.ttf') format('truetype');
    font-style: normal;
}


.loopbox {
    width: 100%;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%);
    flex: 1;
    overflow: hidden;
    position: relative;
}

.loopbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.loopbox::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.7) 20%,
        rgba(255, 255, 255, 0) 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.loopbox:hover {
    filter: grayscale(0%);
    width: calc(100% + 20px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.loopbox:hover::after {
    opacity: 1;
}

.looptext {
    position: absolute;
    bottom: 40px;
    left: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: black;
    font-family: 'AcidGrotesk';
    font-weight: 400;
    font-size: 16px;
    z-index: 2;
}

.loopbox:hover .looptext {
    opacity: 1;
}

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
 */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h3, h4, h5, h6 {
  margin-block-start: 0.5rem;
  margin-block-end: 1rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

.elementor-43 .elementor-element.elementor-element-70eb8530 .elementor-nav-menu--main .elementor-item  {
 	font-size: 17px;
	font-family: 'AcidGrotesk';
	color: black;
	text-transform: uppercase;
	font-weight: 100;
	line-height: 0.75;
}



h1 {
  	font-size: 250px;
	text-transform: uppercase;
    font-family: 'Ogg';
	color: black;
	line-height: 0.75;
	font-weight: 300;
}

h2 {
 	font-size: 250px;
	font-family: 'AcidGrotesk';
	color: black;
	text-transform: uppercase;
	font-weight: 75;
	line-height: 0.75;
}

h3 {
 	font-size: 30px;
	font-family: 'AcidGrotesk';
	color: black;
	text-transform: uppercase;
	font-weight: 200;
	line-height: 0.75;
}

h4 {
 	font-size: 22px;
	font-family: 'AcidGrotesk';
	color: black;
	text-transform: uppercase;
	font-weight: 100;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-block-start: 0;
  margin-block-end: 0.9rem;
}


.image-block {
    width: 100%;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%);
    flex: 1;
    overflow: hidden;
}

.image-block:hover {
    filter: grayscale(0%);
    width: calc(100% + 20px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.navbar {
  border-bottom: 2px solid black;
	width: 95%;
	margin: auto;
}

