:root {
  --dark: #062c43ff;
  --primary: #054569ff;
  --middle: #447588ff;
  --accent: #9ccddcff;
  --light: #ced7e0ff;
  --dark-rgb: 6, 44, 67;
  --primary-rgb: 5, 69, 105;
  --middle-rgb: 68, 117, 136;
  --accent-rgb: 156, 205, 220;
  --light-rgb: 206, 215, 224;
}
/*
$gradient-top: linear-gradient(0deg, #062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff);
$gradient-right: linear-gradient(90deg, #062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff);
$gradient-bottom: linear-gradient(180deg, #062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff);
$gradient-left: linear-gradient(270deg, #062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff);
$gradient-top-right: linear-gradient(45deg, #062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff);
$gradient-bottom-right: linear-gradient(135deg, #062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff);
$gradient-top-left: linear-gradient(225deg, #062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff);
$gradient-bottom-left: linear-gradient(315deg, #062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff);
$gradient-radial: radial-gradient(#062c43ff, #054569ff, #447588ff, #9ccddcff, #ced7e0ff); 
*/

body {
	margin:0;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	background-color:#02131f;
	color:white;
}

header {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    background-color: var(--dark);
    padding: 5px;
    z-index: 1000;
}

#headercenter {
    display: flex;
    gap: 70px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

header h1 {
	display:inline-block;
	margin:10px;
	padding:0;
	font-size:32px;
}

#header-h1-a {
  text-decoration:none;
  color:white;
}

.locala {
	padding:0;
	color:white;
	text-decoration:none;
	font-size:16px;
    transition: color 0.2s ease;
}

.locala:hover {
    color: var(--accent);
}

#header-menu {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 1000px) {

    #header-menu {
        display: block;
    }

    #headercenter {
        display: flex;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;

        flex-direction: column;
        gap: 0;

        background: var(--dark);

        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-10px);

        transition:
            max-height 0.3s ease,
            opacity 0.3s ease,
            transform 0.3s ease;
    }

    #headercenter.open {
        max-height: 400px; /* Larger than the menu height */
        opacity: 1;
        transform: translateY(0);
    }

    .locala {
        padding: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

#header-menu span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#header-menu span:nth-child(1) {
  top: 11px;
}

#header-menu span:nth-child(2) {
  top: 18px;
}

#header-menu span:nth-child(3) {
  top: 25px;
}

#header-menu.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#header-menu.open span:nth-child(2) {
  opacity: 0;
}

#header-menu.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

footer {
  display:flex;
  align-items:center;
  justify-content:center;
  height:200px;
}

.footer-a{
  color:white;
  text-decoration:none;
}

.hero-text-div {
    position: relative;
    overflow: hidden;

    min-height: 101vh;

    display: flex;
    justify-content: center;
    align-items: center;

background:
radial-gradient(
    ellipse at top center,
    #02131f 0%,
    var(--dark) 36%,
    var(--primary) 58%,
    var(--middle) 76%,
    var(--accent) 92%,
    var(--accent) 100%
);
}

.hero-text {
    text-align: center;
    font-size: 72px;
    font-family: "Unbounded", sans-serif;
    margin: 5px;
	letter-spacing:-1px;
    position: relative;
    z-index: 2;

    text-shadow:
        0 0 10px rgba(156, 205, 220, 0.8),
        0 0 30px rgba(156, 205, 220, 0.5),
        0 0 60px rgba(156, 205, 220, 0.3);
}

@media (max-width: 1000px) {
  .hero-text-div{
    background:
linear-gradient(
    #02131f 0%,
    var(--dark) 36%,
    var(--primary) 58%,
    var(--middle) 76%,
    var(--accent) 92%,
    var(--accent) 100%
);
  }
}

.overview-div {
    position: relative;
    overflow: hidden;
    background:
    radial-gradient(
        circle at 15% 20%,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0) 32%
    ),
    linear-gradient(
        180deg,
        var(--accent) 0%,
        var(--light) 100%
    );
    color: var(--dark);
	height:100vh;
	display:flex;
	align-items:center;
	justify-content:center;
}

.overview {
    max-width: 980px;
    font-size: clamp(22px, 3vw, 42px);
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: 0;
    text-wrap: balance;
  margin:10px;
}

.overview::before {
    content: "";
    display: block;
    width: 92px;
    height: 5px;
    margin-bottom: 28px;
    background-color: var(--primary);
    border-radius: 999px;
}

.timeline {
	display:flex;
	flex-direction:column;
	align-items:center;
}

.timeline h2 {
	padding-bottom:10px;
	padding-top:75px;
	margin:0;
    font-size: 72px;
	letter-spacing:-2px;
	background-color:#02131f;
	width:100vw;
	text-align:center;
}

.blue-square {
	width:12px;
	height:12px;
	display:inline-block;
	background-color:var(--accent);
}

.center {
	position: sticky;
    top: calc(50vh - 6px);
    z-index: 100;
    margin-bottom:144px;
}

.topfadedark {
	position: sticky;
    top: 0;
    z-index: 10;
	height: 40vh;
	width:100%;
	background:
	linear-gradient(
        180deg,
        #02131fff 0%,
		#02131fff 60%,
        #02131f00 100%
    );
}

.bottomfadedark {
	position: sticky;
    top: calc(60vh);
    z-index: 11;
	height: 40vh;
	width:100%;
	background:
	linear-gradient(
        180deg,
        #02131f00 0%,
		#02131fff 40%,
        #02131fff 100%
    );
}

.timeline-top-div {
	display:flex;
	align-items:center;
	margin-top:20px;
}

.timeline-top-p {
	display:inline-block;
	font-size:18px;
	margin:0;
	padding: 0 0 0 5px;
}

.timeline-center {
    flex: 1;
	position: relative;
}

.timeline-center::after {
	content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);

    background: repeating-linear-gradient(
        to bottom,
        #ffffff 0 4px,
        transparent 4px 12px
    );
}

.timeline-side {
	z-index:20;
	width:calc(50vw - 6px);
	height:100%;
  margin-top:100px;
}

.timeline-mainsec {
  display:flex;
  margin-bottom:50px;
}

.timeline-item {
  position: sticky;
  top: calc(50vh - 150px);
  margin:auto;
  width: min(400px, calc(100vw - 20px));
  height: auto;
  min-height: 300px;
  background-color: var(--dark);
  border:2px solid var(--accent);
  display:flex;
  flex-direction:column;
}

.timeline-item-h{
  margin:0;
  padding:20px;
  font-size:24px;
  border-bottom:2px solid var(--accent);
  font-weight:500;
}

.timeline-item-p{
  margin:0;
  padding:20px;
  font-size:18px;
  flex: 1;
}

.timeline-item-lang{
  margin:0;
  padding:20px;
  font-size:18px;
  border-top:2px solid var(--accent);
}

.timeline-item-lang-divider{
  color: var(--accent);
}

.timeline-item-a{
  color: inherit;
  text-decoration:none;
}

.timeline-item-spacer {
  height:100vh;
}

@media (max-width: 900px) {
  .topfadedark,
  .bottomfadedark,
  .center {
    display: none;
  }
  .timeline-mainsec {
	display:block;
    margin:0;
  }
  .timeline-item-spacer{
    height:auto;
    margin:75px 10px;
  }
  .timeline-side{
    padding:0;
    margin:0;
    width: 100%;
  }
  .timeline-item {
    position: static;
    top: auto;
  }
  .timeline-top-div .blue-square{
    display:none;
  }
  .timeline-top-div {
    text-align:center;
  }
}

a {
  color:var(--primary);
}

.share {
  background: radial-gradient(circle at top,
    var(--dark) 0%,
    var(--primary) 40%,
    #02131f 100%
  );
  padding: 80px 20px;
  text-align: center;
  color: var(--light);
  height:calc(100vh - 160px);
}

.share h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 48px;
  margin-bottom: 10px;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(156,205,220,0.4);
}

.share p {
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-size: 18px;
  opacity: 0.9;
}

.share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.share-btn {
  padding: 12px 18px;
  border: 1px solid rgba(156,205,220,0.4);
  border-radius: 10px;
  text-decoration: none;
  color: var(--accent);
  background: rgba(6, 44, 67, 0.4);
  transition: 0.2s ease;
  backdrop-filter: blur(6px);
}

.share-btn:hover {
  transform: translateY(-2px);
  background: rgba(156,205,220,0.1);
  box-shadow: 0 0 20px rgba(156,205,220,0.15);
}

.share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 12px;
  background: rgba(2, 19, 31, 0.6);
  border: 1px solid rgba(156,205,220,0.2);
}

.share-link input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--light);
  outline: none;
  font-size: 14px;
}

.share-link button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.share-link button:hover {
  background: var(--middle);
}

.toggle {
  position: relative;
  padding: 6px;
  border: 1px solid rgba(156,205,220,0.4);
  border-radius: 10px;
  display: inline-flex;
  gap: 4px;
  margin:15px;
}

.toggle a {
  position: relative;
  z-index: 2;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
}

.toggle-slider {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  background: rgba(6, 44, 67, 0.6);
  border-radius: 8px;
  transition: transform 0.25s ease;
  z-index: 1;
}

.techstack {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
  padding:50px;

    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.5), transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(68,117,136,.15), transparent 30%),
        radial-gradient(circle at 40% 100%, rgba(156,205,220,.35), transparent 35%),
        linear-gradient(
            180deg,
            #f6fbfd 0%,
            var(--light) 55%,
            var(--accent) 100%
        );
}

.techstack-h{
  color:black;
}

.techstack-h-emp{
  color:var(--primary);
}

.techstack-desc{
  color:var(--middle);
}

.techstack-grid{
  display:flex;
}

.techstack-item-a{
  text-decoration:none;
  margin:10px;
}

.techstack-item{
  width:130px;
  height:100px;
  padding:25px;
  background-color:#eeeeff;
  border:1.5px solid transparent;
  border-radius:16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.techstack-cat{
  margin:0;
  font-size:14px;
  display:inline-block;
  padding:3px 6px;
  border-radius:4px;
}

.techstack-emj{
  margin:0;
  padding:10px 2px;
  font-size:24px;
}

.techstack-name{
  margin:0;
  color:black;
  font-size:16px;
}

.techstack-item:hover{
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.techstack-bl:hover{
  background:
    linear-gradient(#eeeeff) padding-box,
    linear-gradient(135deg, #3B82F6, #3B82F677) border-box;
}

.techcat-bl{
  background-color:#3B82F620;
  color:#3B82F6;
}

.techstack-or:hover{
  background:
    linear-gradient(#eeeeff) padding-box,
    linear-gradient(135deg, #eab308, #eab30877) border-box;
}

.techcat-or{
  background-color:#eab30820;
  color:#eab308;
}

.techstack-yl:hover{
  background:
    linear-gradient(#eeeeff) padding-box,
    linear-gradient(135deg, #fdbe0f, #fdbe0f20) border-box;
}

.techcat-yl{
  background-color:#fdbe0f20;
  color:#fdbe0f;
}

.techstack-gr:hover{
  background:
    linear-gradient(#eeeeff) padding-box,
    linear-gradient(135deg, #22c55e, #22c55e20) border-box;
}

.techcat-gr{
  background-color:#22c55e20;
  color:#22c55e;
}

.techstack-pr:hover{
  background:
    linear-gradient(#eeeeff) padding-box,
    linear-gradient(135deg, #a855f7, #a855f720) border-box;
}

.techcat-pr{
  background-color:#a855f720;
  color:#a855f7;
}

.techstack-cy:hover{
  background:
    linear-gradient(#eeeeff) padding-box,
    linear-gradient(135deg, #0ea5e9, #0ea5e920) border-box;
}

.techcat-cy{
  background-color:#0ea5e920;
  color:#0ea5e9;
}

.lang{}

.fw{}

.sw{}

.techstack-toggle {
  position: relative;
  padding: 6px;
  border: 1px solid var(--middle);
  background-color: rgba(var(--middle-rgb), 0.5);
  border-radius: 10px;
  display: inline-flex;
  gap: 4px;
  margin:15px;
}

.techstack-toggle a {
  position: relative;
  z-index: 2;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
}