/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
 * Variable
 */

:root {
  --transition-hover: 0.3s ease;
  --vert-fonce: #344e41;
  --vert-clair: #a3b18a;
  --beige: #dad7cd;
  --beige25: rgba(218, 215, 205, 0.25);
  --vert: #588157;
  --vert25: rgba(88, 129, 87, 0.25);
  --vert-profond: #3a5a40;
}

/*
 * Reset
 */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0;
}

/*
 * Text editor
 */

.elementor-widget-text-editor
  .elementor-widget-container
  > h2:not(:first-child, :last-child),
.elementor-widget-text-editor
  .elementor-inline-editing
  > h2:not(:first-child, :last-child),
.elementor-widget-text-editor
  .elementor-widget-container
  > h3:not(:first-child, :last-child),
.elementor-widget-text-editor
  .elementor-inline-editing
  > h3:not(:first-child, :last-child) {
  margin: 20px 0;
}

.elementor-widget-text-editor .elementor-widget-container > h2:first-child,
.elementor-widget-text-editor .elementor-inline-editing > h2:first-child,
.elementor-widget-text-editor .elementor-widget-container > h3:first-child,
.elementor-widget-text-editor .elementor-inline-editing > h3:first-child {
  margin-bottom: 20px;
}

.elementor-widget-text-editor .elementor-widget-container > h2:last-child,
.elementor-widget-text-editor .elementor-inline-editing > h2:last-child,
.elementor-widget-text-editor .elementor-widget-container > h3:last-child,
.elementor-widget-text-editor .elementor-inline-editing > h3:last-child {
  margin-top: 20px;
}

.elementor-widget-text-editor .elementor-widget-container > p:last-child,
.elementor-widget-text-editor .elementor-inline-editing > p:last-child {
  margin-bottom: 0 !important;
}

.elementor-widget-text-editor a,
.elementor-tab-content a {
  text-decoration: underline !important;
  transition: all var(--transition-hover) !important;
}

.elementor-widget-text-editor ul {
  padding-left: 14px !important;
}

.elementor-widget-text-editor ul + p {
  margin-top: 20px !important;
}

/*
 * Margin 0
 */

.m-0 * {
  margin: 0 !important;
}

/*
 * Link transition
 */

.link-transition a,
.a-svg-hover svg {
  transition: all var(--transition-hover) !important;
}

/*
 * White space
 */

.whitespace-nowrap {
  white-space: nowrap !important;
}

.whitespace a,
.whitespace svg {
  display: block !important;
}

.whitespace-font-size {
  font-size: 0 !important;
  line-height: normal !important;
}

/*
 * Width fit content
 */

.w-fit {
  width: fit-content !important;
}

/*
 * Overflow visible
 */

.overflow-visible {
  overflow: visible !important;
}

/*
 * Text selection
 */

::selection {
  background-color: rgba(218, 215, 205, 0.99) !important;
  color: rgba(88, 129, 87, 0.99) !important;
}

/*
 * Color
 */

.vert-fonce * {
  color: var(--vert-fonce) !important;
}

.vert-fonce a:hover {
  color: var(--beige) !important;
}

/*
 * Width 50%
 */

@media (min-width: 1025px) {
  .w-1-2 p {
    width: 50% !important;
    margin: auto !important;
  }
}

/*
 * First line
 */

h1::first-line,
h2::first-line,
.citation .elementor-blockquote__content::first-line {
  background-color: var(--vert-profond) !important;
}

/*
 * First word
 */

.first-word {
  background-color: var(--vert-fonce) !important;
}

/*
 * Shadow
 */

.shadow {
  box-shadow: 40px 0px 0 40px var(--vert-profond) !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .shadow {
    box-shadow: 60px 0 0 0 var(--vert-profond) !important;
  }
}

@media (min-width: 1025px) {
  .shadow {
    box-shadow: 100px 0 0 0 var(--vert-profond) !important;
  }
}

/*
 * Toggle
 */

.elementor-tab-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

.elementor-toggle-title {
  transition: color var(--transition-hover) !important;
}

.elementor-tab-title:hover .elementor-toggle-title {
  color: var(--vert-clair) !important;
}

.elementor-toggle-icon {
  order: 10 !important;
}

.elementor-toggle-icon svg {
  margin-inline-start: 0 !important;
  transition: fill var(--transition-hover) !important;
}

.elementor-tab-title:hover .elementor-toggle-icon svg {
  fill: var(--vert-clair) !important;
}

/*
 * Signature
 */

.signature {
  display: flex !important;
  align-items: center !important;
}

.logo-alexandre-orlowski svg {
  width: 15px !important;
  margin-left: 3px !important;
}

.laser {
  fill: none !important;
  stroke-width: 35 !important;
  stroke-linecap: round !important;
  stroke-miterlimit: 35 !important;
  transition: all var(--transition-hover) !important;
  animation: laser 4s ease infinite !important;
}

.laser-25 {
  stroke: var(--beige25) !important;
}

.logo-alexandre-orlowski:hover .laser-25 {
  stroke: var(--vert25) !important;
}

.laser-100 {
  stroke: var(--beige) !important;
  animation-delay: 250ms !important;
}

.logo-alexandre-orlowski:hover .laser-100 {
  stroke: var(--vert) !important;
}

.laser-1 {
  stroke-dasharray: 900px !important;
  stroke-dashoffset: 900px;
}

.laser-2 {
  stroke-dasharray: 430px !important;
  stroke-dashoffset: 430px;
}

.laser-3 {
  stroke-dasharray: 400px !important;
  stroke-dashoffset: 400px;
}

@keyframes laser {
  25% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/*
 * Back to top
 */

.back-to-top {
  position: fixed !important;
  right: 0 !important;
  cursor: pointer !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity var(--transition-hover) !important;
}

/*
 * Cursor
 */

@media (pointer: fine) {
  .cursor {
    position: fixed !important;
    transform: translate(-50%, -50%) !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: 2px solid var(--vert-profond) !important;
    pointer-events: none !important;
    z-index: 10 !important;
  }
}

/*
 * Tagline
 */

@media (max-width: 639px) {
  .tagline {
    display: none !important;
  }
}

/*
 * Language-switcher
 */

.elementor-widget-polylang-language-switcher {
  display: grid !important;
  grid-auto-flow: column !important;
  align-items: center !important;
  column-gap: 5px !important;
  position: relative !important;
  bottom: 1px !important;
}

@media (min-width: 768px) {
  .elementor-widget-polylang-language-switcher {
    column-gap: 10px !important;
  }
}

.elementor-widget-polylang-language-switcher::before {
  content: "—";
}
