/* 
    Style for the frontend of the website, including the header and other elements.
    This file is part of the JEF 4 Website plugin.
*/
:root {
    --primary-color: #15141B;
    --secondary-color: #1A1E54;
    --accent-color: #7C25D9;
    --text-color: #333333;

    --violet-color: #7797FF;
    --violet-color-light: #C2C1E3;
    --blu-accent-color: #0084FF;

    --grey-light-color: #D9D9D9;

    --primary-font: 'Inter', sans-serif;
}
body {
    font-family: var(--primary-font);
    background-color: var(--primary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
a:visited, a:link 
{
    color: inherit;
    text-decoration: none;
}
p
{
    margin: 0 0 15px 0;
    padding: 0;
}
*
{
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width:1024px) {
  html
  {
    font-size: 14px;
  }
}
/* @media screen and (max-width:768px) {
  html
  {
    font-size: 12px;
  }
} */


/* TITLE WEBSITE */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}
.mainTitleWebsite 
{
	font-size: 3.1rem;
	line-height: 3.5rem;
  font-weight: 500;
	color: white;
  filter: blur(3px);
}
body.elementor-editor-active .mainTitleWebsite,
.mainTitleWebsite.noFilter
{
	filter: blur(0);
}

.mainTitleWebsite.gradient {
	background-color: var(--grey-light-color);
	background: linear-gradient(95deg, #FFFFFF 15%, #1D83E8 70%, #7C25D9 80%);
	background-clip: text;
	color: transparent;
  padding-bottom: 20px;
}

.mainTitleWebsite.bigger
{
	font-size: 4.9rem;
	line-height: 5.3rem;
  font-weight: 600;
  letter-spacing: -5%;
}

.mainTitleWebsite p
{
  margin: 0;
  padding: 0;
}

.mainTextWebsite 
{
	font-size: 1rem;
	line-height: 1.3rem; 
  font-weight: 300;
	color: var(--text-color);
  filter: blur(2px);
}
body.elementor-editor-active .mainTextWebsite,
.mainTextWebsite.noFilter
{
	filter: blur(0);
}

.mainTextWebsite.bigger
{
	font-size: 1.5rem;
	line-height: 1.9rem; 
  font-weight: 500;
}

.mainTextWebsite.medium
{
	font-size: 1.3rem;
	line-height: 1.7rem;
}
.mainTextWebsite.smaller
{
	font-size: 12px;
	line-height: 15px;
}
.mainTextWebsite strong
{
  font-weight: 700;
}

.nomargin .mainTextWebsite p,
.nomargin p
{
  margin: 0;
  padding: 0;
}

@media screen and (max-width:480px) {
  .mainTitleWebsite 
  {
    font-size: 2.7rem;
    line-height: 3.1rem;
  }
  .mainTitleWebsite.bigger
  {
    font-size: 4rem;
    line-height: 4.5rem;
  }
}


/*BUTTON "LABEL" WEBSITE*/

.labelWebsite {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 15px;
	border-radius: 90px;
	background-color: rgba(30, 36, 121, 0.61);
	width: fit-content;
	max-width: 100%;
  gap: 10px;
}

.labelWebsite span
{
  color: var(--violet-color);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -5%;
}

.mainButtonWebsite
{
  display: inline-block;
  padding: 12px 25px;
  border-radius: 90px;
  background-color: white;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.3rem;
  font-weight: 400;
  text-decoration: none;
  /* transition: background-color 0.3s ease; */
  cursor: pointer;
  border: 0;
}
.mainButtonWebsite.transparent
{
  background-color: transparent;
  color: white;
}
button,
button.mainButtonWebsite
{
  border: 0;
}
.mainButtonWebsite.bigger
{
  font-size: 1.5rem;
	line-height: 1.9rem; 
}



/* From Uiverse.io by PriyanshuGupta28 */ 
.pushable {
  position: relative;
  background: transparent;
  padding: 0px;
  border: none;
  cursor: pointer;
  outline-offset: 4px;
  outline-color: deeppink;
  transition: filter 250ms;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  display: inline-block;
}


/* .shadowButton {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: hsl(227, 25%, 69%);
  border-radius: 8px;
  filter: blur(2px);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
} */

.edgeButton {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  background: white;
  opacity: 0.6;
}

.frontButton {
  display: block;
  position: relative;
  border-radius: 8px;
  background: white;
  padding: 16px 32px;
  color: #2C77EB;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 1rem;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.frontButton.bigger
{
  font-size: 1.5rem;
  line-height: 1.9rem; 
  transform: translateY(-8px);
}

.pushable:hover {
  filter: brightness(110%);
}

.pushable:hover .frontButton {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:hover .frontButton.bigger {
  transform: translateY(-12px);
}

.pushable:active .frontButton {
  transform: translateY(-2px);
  transition: transform 34ms;
}
.pushable:active .frontButton.bigger {
  transform: translateY(-4px);
}

.pushable:hover .shadowButton {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .shadowButton {
  transform: translateY(1px);
  transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}


/* TRANSITION SECTION - waveform */
.waveformjef
{
  position:relative;
  overflow:hidden !important;
}
.waveformjef svg.waveform-effect {
	width: 120vw;
	height: auto;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 1;
}
.waveformjef.curva_sotto svg.waveform-effect {
	bottom: -1px;
}
.waveformjef.curva_sopra svg.waveform-effect {
	top: 0;
}

/* HEADER */
header
{ 
	position: sticky;
	top: 0;
	z-index: 99;
	background-color: rgba(21, 20, 27, 1.0);
}
.main-navigation
{
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 1.0);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-navigation ul
{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}
.main-navigation a
{
  color: white;
  font-size: 1rem;
  line-height: 1.3rem;
  font-weight: 400;
  padding: 10px 15px;
  transition: color 0.3s ease;
  position: relative;
}
.main-navigation li:not(.menu-item-has-children) > a::after
{
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease;
  position: absolute;
  bottom: 0;
  left:0;
  border-radius: 90px;
}
.main-navigation li:not(.menu-item-has-children) > a:hover::after
{
  width: 100%;
}

.main-navigation ul.sub-menu
{
  opacity: 0;
  visibility: hidden;
  width: 280px;
  background-color: var(--primary-color);
  padding: 15px;
  padding-top: 25px;
  position: absolute;
  top: calc(100% + 25px);
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column; 
  transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
}
.main-navigation li
{
  display: block;
  position:relative;
}

.main-navigation li.menu-item-has-children
{
  cursor: pointer;
  padding-right: 15px;
}
.main-navigation li.menu-item-has-children::after
{
  content: url(angle-down.svg);
  transform: rotate(0);
  transform-origin: center;
  transition: all 0.3s ease;
  position: absolute;
  top:0;
  right: 0;
  display: block;
}
.main-navigation li.menu-item-has-children:hover::after
{
  transform: rotate(180deg);
}
.main-navigation li.menu-item-has-children:hover > ul.sub-menu
{
  opacity: 1;
  visibility: visible;
  top: 100%;
}
.main-navigation ul.sub-menu li
{
  display: block;
  width: 100%;
  margin-top: 10px;
  padding-bottom: 10px;
}

header .rightNav 
{
  display: flex;
  gap: 15px;
  align-items: center;
}
/* header .rightNav .buttons_header
{
  border-radius: 90px;
  overflow: hidden;
  border: 1px solid white;
  display: flex;
}
header .rightNav .buttons_header button
{
  border-radius: 0;
  min-width: 150px;
} */

header .rightNav .language_switcher {
	width: 40px;
	text-align: center;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid white;
	border-radius: 90px;
}
header .rightNav .language_switcher li {
	list-style: none;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	font-size: 12px;
	line-height: 12px;
	font-weight: 600;
}
header .rightNav .language_switcher li a
{
	text-transform: uppercase;
  color: white;
  font-size: 14px;
	line-height: 14px;
	font-weight: 600;
}

/* FOOTER */
footer
{
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: var(--primary-color);

  color: white;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.3rem;
}

footer p
{
  margin: 0 0 25px 0;
  padding: 0;
}

footer ul, 
footer li
{
  list-style: none;
  margin: 0;
  padding: 0;
}
footer ul li
{
  margin: 0 0 15px 0;
}