:root {
	--font-family-primary: "Noto Sans", serif; /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
  }

  /* Add root scaling */
  :root {
    transform: scale(1.25);
    transform-origin: top left;
    width: 80%
  }

        
/* // <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.noto-sans-<uniquifier> {
  font-family: "Noto Sans", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
} */

  /* body {
	font-family: var(--font-family-primary);
  } */

  #menu {
    position: fixed;
    top: 0;
    right: 0; /* Move to the right side */
    width: 200px;
    height: 100%;
    /* background-color: #333; Dark background */
    display: block;
    z-index: 1000;
}

#menu ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0;
}

#menu li {
  padding: 0; /* Remove default padding */
    margin-bottom: 12px; /* Space between menu items */

    margin-top: 16px;
    margin-left: -16px;
    padding-left: 0px;
    /* padding-bottom: 0px; */
    /* margin-left: -40px; */
    /* border-radius: 12px; */
    /* padding: 16px; */
    list-style: none;
    /* opacity: 0.80 !important; */
    /* border: 1px solid lightgray; */
    color: lightgray;
    border: none;
    /* line-height: 1.8rem; */
    backdrop-filter: blur(5px); /* Apply blur effect */
    /* background-color: rgba(0, 0, 0, 0.25); Optional: Add a semi-transparent background */
    display: block;


}

#menu li a.active {
    
    /* background: rgba(225, 24, 95, 0.28); */
    background: rgba(24, 131, 225, 0.28);
    padding-left: 16px;
    width: 100%;
    display: block;
    /* margin-left: -24px; */
    color: white;

}

#menu a:hover {
  margin-left: -16px;
}

#menu a {
  padding: 16px;

    font-size: 20px; /* Set font size */    
    /* margin-bottom: 12px; Space between menu items */

/* margin-top: 16px;
margin-left: 0px; */

margin: 0;

/* margin-left: -40px; */
border-radius: 12px;
/* padding: 16px; */
list-style: none;
/* opacity: 0.80 !important; */
/* border: 1px solid lightgray; */
/* color: lightgray; */
border: none;
/* line-height: 1.8rem; */
backdrop-filter: blur(5px); /* Apply blur effect */
background-color: rgba(0, 0, 0, 0.25); /* Optional: Add a semi-transparent background */
display: block;
backdrop-filter: blur(5px); /* Apply blur effect */


}



    @media (max-width: 768px) {
      #menu {
        display: none;
      }
    }

    html {
      scroll-behavior: smooth;
    }

html {
	font-family: var(--font-family-primary);
	font-optical-sizing: auto;
	/* font-style: normal; */
}

body {

	padding: 0px 0 50px 0;
	font-size: 16px;
	min-height: 100%;
	
	font-family: var(--font-family-primary);
	font-weight: 400;
	font-style: normal;
	line-height: 25px;
	background: #f9f8ff;
}

h1 {
	font-size: 42px;
	line-height: 48px;
	margin: 0px 0px 15px 0px;
	font-family: var(--font-family-primary);
	font-weight: 400;
	font-style: normal;
	width: 100%;
	color: var(--color-1);
	max-width: 686px;
	display: inline-block;
    -webkit-text-fill-color: transparent;
}

.gradient {
	/* gradient over text	 */
	background: linear-gradient(92deg, rgb(183 219 255) 0.41%, rgb(230 212 255) 40.68%, rgb(250 214 214) 62.12%, rgb(245 191 255) 97.82%) text, rgb(18 18 18) !important;

}

h2 {
	font-size: 24px;
	line-height: 30px;
	margin: 48px 0px 24px 0px;
	max-width: 686px;
}

h3 {
	font-size: 28px;
	line-height: 36px;
	margin: 0px 0px 19px 0px;
	max-width: 686px;
}

h4 {
	margin-bottom: 25px;
	font-weight: 600;
	font-style: normal;
	max-width: 686px;
}

p {
	margin: 0px 0px 25px 0px;
	text-transform: inherit;
	font-size: 18px;
	font-family: var(--font-family-primary);
	font-weight: 400;
	font-style: normal;
	max-width: 686px;
}

.small-text {
	/* margin: 0px 0px 25px 0px;
	text-transform: inherit;
	font-size: 18px; */
	font-family: var(--font-family-primary);
	/* font-weight: 400;
	font-style: normal;
	max-width: 686px; */
}

p.intro {
	font-size: 20px;
	line-height: 29px;
	margin: 0px 0px 13px 0px;
	max-width: 686px;
}

div.content {
	margin: 0 auto;

	text-align: left;
	width: 80%;
	padding: 144px 0px 0px 0px;
	/* max-width: 686px; */
	max-width: 1024px;
	padding-right: 10%;
}

h5 {
	margin: 0px 0px 25px 0px;
}

p.quote {
	font-size: 23px;
	line-height: 28px;
	font-style: italic;
	color: #666666;
	margin: 0px;
}

blockquote {
	font-size: 26px;
	line-height: 37px;
	margin-bottom: 25px;
}

a {
	text-transform: inherit;
	text-decoration: none;
	/* border-bottom: 1px dotted grey; */
	color: var(--link-color);
	background: rgba(0, 114, 255, 0.08);
	transition: 0.3s;

	/*	 color: rgba(137, 137, 137, 1);*/
}

a:hover {
	text-decoration: none;
	color: rgba(0, 0, 0, 1);
	background: rgba(225, 24, 95, 0.28);

}

/* a a {
	 color: rgba(132, 132, 132, 1);
} */

.social-icons {
	text-decoration: none;
	color: rgba(0, 0, 0, 1);
	/* background: rgb(255, 255, 255); */
	/* padding-right: 24px; */
	/* border-bottom: 0px dotted grey; */
}

.social-icons a {
	font-size: 24px;
	margin-right: 16px;
	padding: 4px;
	padding-top: 6px;
	padding-bottom: 0;
	position: relative;
	/* border-bottom: 0px dotted grey; */
}




li {
	margin-top: 48px;
	margin-left: -24px;
    margin-left: -40px;
    border-radius: 12px;
    padding: 16px;
    list-style: none;
	/* opacity: 0.80 !important; */
	border: .5px solid lightgray;
	color: lightgray;
	line-height: 1.8rem;
	font-family: var(--font-family-primary);
	font-weight: 400 !important;
    font-style: normal;
} 

span {
	color: white !important;
	/* font-size: 20px; */
	opacity: 1 !important;
}


li > strong {
	font-size: 20px;
}


li > p {
	opacity: 0.75;
    margin-bottom: -.1rem;
}


.thumbnail {
	/* float:right; */
	/* width: 90%;
    max-width: 320px; */
	/* margin: 15px 0; */
	margin: 0;
    margin-top: 15px;
	padding: 15px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);		
	transition: all 0.3s ease-in-out;
	width: 90%;
	max-width: 640px;
	cursor: pointer !important;

}



.thumbnail:hover {
	background: rgba(255, 255, 255, 0.025);	
}

/* .thumbnail {
	transition: all 0.3s ease-in-out;
	width: 90%;
	max-width: 320px;
	cursor: pointer;
  } */
  
  
  .thumbnail.expanded {
	max-width: 100%;
	filter: blur(8px);
	opacity: 0;
	transition: all 0.3s ease-in-out;
  }
  


.copyright {
	opacity: .35;
	font-size: 8px;
}


.media-container {
	display: none;
	margin: 15px 0;
	padding: 15px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
  }

  .media-container > div {
	margin-bottom: 44px;
  }


  .media-container > video {
	margin-bottom: 44px;
  }

  .media-container > img {
	margin-bottom: 44px;
  }

  
  .media-container.active {
	display: block;
  }
  
  .media-container img {
	width: 100%;
	max-width: 1024px;
	border-radius: 4px;
	margin: 10px 0;
	margin-bottom: 44px;
  }
  
  .media-container video {
	width: 100%;
	max-width: 1024px;
	border-radius: 4px;
  }
  
  .see-more-btn {
	display: inline-block;
	margin: 8px 0;
	padding: 6px 12px;
	border: 1px solid currentColor;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: opacity 0.2s;
  }
  
  .see-more-btn:hover {
	opacity: 1;
  }


  /* Add root font size */
  html {
    font-size: 16px; /* Base font size */
  }

  /* Convert measurements to rems */
  .text-block {
    margin: 1.5rem 0;
    /* max-width: 686px;  */
    margin-left: 2rem;
  }

  h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 1rem;

	font-family: var(--font-family-primary);
	font-weight: 400 !important;
    font-style: normal;
  }

  .pullquote {
	font-family: var(--font-family-primary);
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 686px;
    margin-left: 0px;
	opacity: 0.85 !important;
  }

  p, ul, blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
  }

  input, button {
    color: #333333 !important;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    border-radius: 8px;
    padding: 12px 24px;
    border: none !important;
  }


  button.close-button {
    color: #ffffff !important;
    background: #5badff !important;
    border: none !important;
    transition: 0.3s;
    width: 36px !important;
    height: 36px !important;
    padding: 8px;
    opacity: .5 !important;
  }
  

  button.close-button:hover {
    /* background: #5badff !important; */
    background: rgba(225, 24, 95, 0.28) !important;

    width: 40px !important;
    height: 40px !important;
    padding: 8px;
    opacity: .75 !important;
  }


  button.primary {
    color: #ffffff !important;
    background: #0062c3 !important;
    border: none !important;
    transition: 0.3s;
  }
  
  button.primary:hover {
    color: #f0f0f0;
    background: rgba(225, 24, 95, 0.28) !important;
    cursor: pointer;  
  
  }

  .highlight{
	font-family: var(--font-family-primary);
	font-weight: 400 !important;
    font-style: normal;
  }


  body:not(.dark-mode) p,
  body:not(.dark-mode) ul,
  body:not(.dark-mode) blockquote,
  body:not(.dark-mode) .disclosure,
  body:not(.dark-mode) .highlight,
  body:not(.dark-mode) .copyright {
    color: #333333;  /* Darker gray for light mode */
  }

  body:not(.dark-mode) li{
    border-color: #E0E0E0 !important;  
	border: 1px solid;
	color: #4b4b4b;
  }

  body:not(.dark-mode) span{
	color: #151515 !important;
  }

  body.dark-mode li{
    border-color: #4b4b4b70;   
	color: #E0E0E0;
  }


  body.dark-mode p,
  body.dark-mode ul,
  body.dark-mode blockquote,
  body.dark-mode .disclosure,
  body.dark-mode .highlight,
  body.dark-mode .copyright{
    color: #E0E0E0;  /* Light gray for dark mode */
  }

  body:not(.dark-mode) .thumbnail {
    background-color: #f0f0f0;  /* Light gray for dark mode */
  }

  body:not(.dark-mode) .media-container {
	background: #f0f0f0;
  }
  


  .disclosure {
    font-size: 0.875rem;
	opacity: 0.7;
  }

  .copyright {
    font-size: 0.875rem;
  }

  .social-icon {
    fill: currentColor;
    /* Replace zoom with width/height in rems */
    width: 1.5rem;
    height: 1.5rem;
  }
  
  body:not(.dark-mode) .social-icon {
    fill: #000000;
  }
  
  body.dark-mode .social-icon {
    fill: #ffffff;
  }

  /* Blur effect styles */
  .blur-container {
    transition: filter 0.3s ease;
    filter: blur(0.3125rem);
    cursor: default;
  }

  .blur-container:hover {
    filter: blur(0);
  }

  /* Make links still clickable through blur */
  .blur-container a {
    position: relative;
    z-index: 1;
    filter: blur(0) !important;
  }

  /* Prevent blur from affecting headings */
  h1, h2 {
    filter: blur(0) !important;
  }

  .blur-container:focus-within {
	filter: none;
  }


  /* Turn off blur effect on tablet and below (max-width: 768px) */
  @media (max-width: 1024px) {

    #passwordPrompt {
      margin-top: 100px;
    }

    .blur-container {
      filter: none;
    }
    
    .blur-container:hover,
    .blur-container:focus-within {
      filter: none;
    }

    body {

      padding: 0px !important;
    
  }

}
  /* Add waving hand animation */
  @keyframes wave {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(-20deg); }
    40% { transform: rotate(0deg); }
    60% { transform: rotate(10deg); }
    80% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
  }

  /* Style for the "Say hi!" link */
  a[aria-label="Email Francesco"] {
    position: relative;
    /* display: inline-block;   */
    /* Ensure proper box model */
    padding-left: 0rem;  /* Make room for the hand */
    /* margin-left: 1.5rem;   */
    /* Offset the link to account for the emoji space */
    transform: translateX(-1.5rem);  /* Pull link back to original position */
  }

  a[aria-label="Email Francesco"]::before {
    content: "👋";
    position: absolute;
    left: -4px;
    opacity: 0;
    transition: opacity 0.05s ease;
    margin-left: -1.5rem;
  }

  a[aria-label="Email Francesco"]:hover::before,
  a[aria-label="Email Francesco"]:focus::before {
    opacity: 1;
    animation: wave 0.75s ease;
  }





@media screen and (max-width: 1024px) {


	h1 {
		font-size: 36px;
		line-height: 50px;
	}

	div.content {
		margin: 96px 32px;
		width: 90%;
		padding: 14px 0px 0px 0px;
	}

	h2 {
		font-size: 30px;
		line-height: 38px;
	}

	a {
		color: rgba(0, 0, 0, 1);
	}

}

#footer {
	margin-top: 80px;
}

.disclosure {
	font-size: 12px;
	line-height: 24px;
	font-size: 0.875rem;
	opacity: 0.7 !important;
}

a.sayhi {
	font-size: 1.5rem;
	line-height: 1.5;
	margin-bottom: 2rem;
}

/* a.sayhi:hover {
	margin-left: 16px;
} */

a.sayhi:hover {
    left: 24;
    transition: opacity 0.05s ease;
    /* margin-left: 1.5rem; */
}

@media screen and (max-width: 440px) {

    /* Add root scaling */
    :root {
      transform: scale(1);
      transform-origin: top left;
      width: 100%
    }

    

	h1 {
		font-size: 36px;
		line-height: 50px;
	}

	div.content {
		margin: 96px 24px;
		width: 90%;
		padding: 14px 0px 0px 0px;
	}

	h2 {
		font-size: 30px;
		line-height: 38px;
		margin-top: 80px;
	}


	a {
		color: rgba(0, 0, 0, 1);
	}

	/* Dark mode toggle button */
	.dark-mode-toggle {
		top: 12px;
		right: 12px;
	}


}

/* Dark mode styles */
body.dark-mode {
	background-color: #121212;
	color: #f0f0f0;
}

li.dark-mode {
	/* background-color: #121212; */
	border-color: #3f3f3f;
}

body.dark-mode a {
	color: #66b3ff;
	background: rgba(102, 179, 255, 0.08);
}

body.dark-mode a:hover {
	color: #f0f0f0;
	background: rgba(225, 24, 95, 0.28);
}



/* Dark mode toggle button */
.dark-mode-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	outline: none;
}


/* <style> */
    
.media-container {
  display: none;
}


.media-wrapper {
  position: relative;
}

.media-content {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
  position: relative;
}

.media-content.visible {
  opacity: 1;
  filter: blur(0);
}

.close-button {
  position: absolute;
  /* top: 10px;
  right: 10px; */
  top: -16px;
  right: -16px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  transition: rotate 1s ease-in-out, opacity 0.3s ease-in-out, background 0.2s ease-in-out;
}

/* body.dark-mode a {
color: #66b3ff;
background: rgba(102, 179, 255, 0.08);
}

body.dark-mode a:hover {
color: #f0f0f0;
background: rgba(225, 24, 95, 0.28);
} */

.media-content.visible .close-button {
  opacity: 1;
}

.close-button:hover {
  /* background: rgba(0, 0, 0, 0.7); */
  background: rgba(225, 24, 95, 0.28);
  transform: scale(1.1);
  rotate: 180deg;
}

.media-title {
  cursor: pointer;
}

.media-wrapper {
  position: relative;
  pointer-events: none; /* This prevents the wrapper from capturing clicks */
}

.thumbnail, .media-content {
  pointer-events: auto; /* Re-enable pointer events for these elements */
}


/* </style> */

.column > p, .container> p {
  opacity: 0.75;
  /* margin-bottom: -.1rem; */
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 0px;
}

.flex-container {
  display: flex;
  gap: 32px;
}

.column {
  flex: 1;
  padding: 20px;
}

/* Mobile Responsive */
@media screen and (max-width: 940px) {

  .container {
    padding: 8px;
  }


  .flex-container {
      flex-direction: column;
      gap: 16px;

  }

  .column {
      margin-bottom: 20px;
      padding: 0px;
  }
}


/* Enhanced Metrics Dashboard Styles */
.metrics-dashboard {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: stretch;
  margin: 2rem 0;
  /* justify-content: center; */
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #4a9eff20 0%, #4a9eff08 100%); */
  border: .5px solid #4a9eff40;
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  text-align: center;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.15), transparent);
}

.metric-value {
  font-weight: 900;
  font-size: 2.5rem;
  color: #4a9eff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #4a9eff 0%, #6bb6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
}

.metric-label {
  font-size: 0.75rem;
  color: #c0c0c0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  font-family: system-ui;

}

/* Animation for metric values */
@keyframes countUp {
  from { 
    opacity: 0; 
    transform: translateY(20px) scale(0.8); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.metric-value {
  animation: countUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced highlight styles */
.highlight {
  font-weight: 600;
  font-size: 1.5rem;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 1rem;
}

.highlight-result {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #4a9eff15 0%, #4a9eff05 100%);
  border: 1px solid #4a9eff30;
  border-radius: 50px;
  font-size: 0.9rem;
  color: #4a9eff;
  font-weight: 600;
}
