* {
	box-sizing: border-box;
	--name-size: clamp(3rem, 7vw, 6rem);
}

body {
	margin: 0;
	font-family: "Roboto", sans-serif;
	color: black;
}

html {
	scroll-behavior: smooth;
	scroll-snap-type: y mandatory;
}

.navbar-nav .nav-link {
	padding: 0.5rem;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 300;
	text-decoration: none;
}

.navbar-nav .nav-link:hover {
	color: #BBABE0;
}

.segment {
	min-height: 100vh;
	min-height: 100svh;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.segment-intro,
.segment-body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
}

.segment-intro {
	background: linear-gradient(to bottom right, #000000, #2B2B2B);
}

.segment-body {
	background: linear-gradient(to bottom right, #B9B9B9, #FFFFFF);
}

/* The same Bootstrap navbar is fixed after scrolling. */
.site-navbar {
	position: relative;
	z-index: 1030;
	width: 100%;
}

.site-navbar.is-scrolled {
	position: fixed;
	top: 0;
	left: 0;
	background: linear-gradient(to bottom right, #000000, #2B2B2B);
}

.intro-center {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6rem;
}

.profile-photo {
	width: calc(var(--name-size) * 2.2);
	height: calc(var(--name-size) * 2.2);
	object-fit: cover;
}

.first-name,
.last-name {
	margin: 0;
	color: #868686;
	font-size: var(--name-size);
	line-height: 1.1;
}

.tagline {
	margin: 0;
	color: #868686;
	font-size: calc(var(--name-size) * 0.65);
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}

.gradient-text-primary {
	background: linear-gradient(90deg, #DCBDDF, #BBABE0, #9A99E1, #008BD0);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.gradient-text-orange {
	background: linear-gradient(90deg, #FFA602, #FF168D, #8227FF);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.gradient-text-ed {
	background: linear-gradient(90deg, #4b6cb7, #182848);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.gradient-text-clauger {
	background: linear-gradient(90deg, #0C73B7, #DA1018);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.button-assembly .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20rem;
	height: 5rem;
	padding: 0 2rem;
	font-size: 2rem;
}

.btn-more {
	background-color: #008BD0;
	border-color: #008BD0;
	color: #fff;
}

.btn-more:hover {
	background-color: #0078b5;
	border-color: #0078b5;
	color: #fff;
}

.Orange-width {
	width: 15rem;
}

.Clauger-width {
	width: 35rem;
}

.Title-Exp {
	margin: 0;
	font-size: calc(var(--name-size) * 0.65);
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	height: fit-content;
}

.badge {
	font-weight: 400;
	font-size: 1em;
	padding: 0.1em 0.5em;
}

.w-fit {
	width: fit-content;
}

.Description {
	margin-inline: auto;
	font-size: calc(var(--name-size) * 0.27);
	font-weight: 300;
	text-align: justify;
}

.Description-pro {
	margin: 0;
	margin-inline: auto;
	font-size: calc(var(--name-size) * 0.20);
	font-weight: 300;
	text-align: justify;
}

.maxW {
	max-width: 50vw;
}

.stat-icon {
	width: 6em;
	height: 6em;
	object-fit: contain;
}

.stat-icon-f {
	width: 4em;
	height: 4em;
	object-fit: contain;
}

.stat-number {
	display: block;
	font-size: 4rem;
	font-weight: 700;
	line-height: 1;
	margin: 0;
}

.stat-item {
	flex: 1 1 0;
	min-width: 0;
}

.stat-divider {
	flex: 0 0 1px;
	align-self: stretch;
}

.Django-Title {
	font-size: calc(var(--name-size) * 0.3);
	font-weight: 500;
}

.script-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 3rem;
}

.title-row {
	font-size: 2.5rem;
	font-weight: 600;
}

.para-row {
	font-weight: 300;
	text-align: justify;
	font-size: 1.1rem;
}

.site-navbar .nav-link.active {
	font-weight: 700;
}

.Title-Project {
	margin: 0;
	font-size: calc(var(--name-size) * 0.40);
	font-weight: 500;
	line-height: 1.3;
	text-align: start;
	height: fit-content;
}

.gradient-text-crypt {
	background: linear-gradient(90deg, #032741, #5685AA);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.btn-gradient-crypt {
	background: linear-gradient(90deg, #032741, #5685AA, #032741);
	background-size: 200% 100%;
	background-position: 0% 50%;
	border: none;
	font-size: calc(var(--name-size) * 0.25);
	color: white;
	transition: background-position 0.5s ease;
}

.btn-gradient-crypt:hover {
	background-position: 100% 50%;
	color: white;
}

.btn-gradient-crypt:active {
	background-position: 0% 50%;
	color: white;
	transition-duration: 0.15s;
}

.emph {
	font-weight: 500;
}

.pro-name {
	font-size: calc(var(--name-size) * 0.3);
}

.mt-6 {
	margin-top: 4rem !important;
}

.video-container {
	width: min(100%, 900px);
	margin-inline: auto;
	overflow: hidden;
	border-radius: 12px;
}

.cryptograph-video {
	display: block;
	width: 100%;
	height: auto;
}

.tech-icon {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #212529;
}

.tech-icon i {
	font-size: 48px;
}

.tech-icon span {
	font-size: 16px;
	font-weight: 600;
}

.row-ed {
	display: flex;
	gap: 20px;
	margin: 0 !important;
	/* No max-height: the row needs to grow to fit the cards. */
}

.row-ed > .col {
	flex: 1;
	min-width: 0;
	/* No max-height: let the columns stretch to the tallest card. */
}

.col-bg {
	display: flex;
	flex-direction: column;
	background: linear-gradient(
		135deg,
		rgba(238, 232, 230, 0.45),
		rgba(232, 237, 240, 0.35)
	);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.logo-ed {
  display: block;
  width: 160px;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 35px;
}


.drapeau {
	display: block;
	width: 40%;
	height: auto;
	margin: auto auto 0;
	border-radius: 5px;
}

.date-ed {
	display: inline-block;
	align-self: flex-start;
	margin: 0 0 5px;
	padding: 0 5px;
	border: 1px solid #6b7280;
	border-radius: 999px;
	background: transparent;
	color: #6b7280;
	font-size: 0.8rem;
}

.justify {
  font-weight: 300;
  font-size: 1rem;
  text-align: justify;
}

.emph-ed {
  font-weight: 600;
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
}

.location .drapeau {
  width: 40%;
  margin: 0;
}

.location-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.location-city {
  font-size: 0.9rem;
  color: #6b7280;
}

.location-country {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
}
