* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #061312;
  color: #fff;
  line-height: 1.6;
}

nav {
  background-color:#010f10;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
nav .logo a{
  font-size: 2.5rem;
  font-weight: bold;
  color: #00a8af;
  font-family: 'Amatic SC', cursive;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover {
  color: #00a8af;
}

header {
  text-align: center;
  padding: 100px 20px;
  background-image: url("Img_s/Study_2_Black.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
}

.mouse{
	margin-right: auto;
	margin-left: auto;	
  margin-top: -3rem;
	width: 25px;
	height: 50px;
	border: 2px solid #00a8af;
	border-radius: 20px;
	display: flex;
	color: #00a8af;
	font-size: 2rem;
	font-weight: 400;
	opacity: 100;
	transform: translateY(3rem);
	animation: fadeInUp 2s ease calc(var(--typewriterSpeed) + 2s) forwards;
  }
  .mouse-wheel {

	display: block;
	width: 10px;
	height: 10px;
	background-color: #00a8af;
	border-radius: 50%;
	margin: auto;
	animation: move-wheel 2s linear infinite;
  }

  @keyframes move-wheel {
	  
	0%{ 
		opacity: 0;
		transform: translateY(-1rem);
	}
	100%{ 

		opacity: 1;
		transform: translateY(1rem);
	}

  }

/* Text-Kasten mit abgerundeten Ecken */
.text-box {
  display: inline-block;
  background-color: #fff;
  padding: 20px 40px;
  border-radius: 15px;
  backdrop-filter: blur(4px); /* optional: leichter Glas-Effekt */
}

/* Optional: schöner Textstil */
.text-box h1{
  margin: 0;
  color: #000000; /* heller Text für Kontrast */
  font-size: 1.5em;
}

.highlight {
  color: #00a8af;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  
}
.role {
  color: #00a8af;
  font-weight: bold;
  
}
p {
  max-width: 600px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
  color: #ddd;
}
.button-group {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  gap: 50px;
}

button {
  /* Variables */
  --button_radius: 2em;
  --button_color: #E8E8E8;
  --button_outline_color: #000000;
  font-size: 27px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: var(--button_radius);
  background: var(--button_outline_color);
}
.button_top {
  display: block;
  box-sizing: border-box;
  border: 2px solid var(--button_outline_color);
  border-radius: var(--button_radius);
  padding: 0.75em 1.5em;
  background: var(--button_color);
  color: var(--button_outline_color);
  transform: translateY(-0.2em);
  transition: transform 0.1s ease;
  text-decoration: none;
}
button:hover .button_top {
  /* Pull the button upwards when hovered */
  transform: translateY(-0.33em);
}
button:active .button_top {
  /* Push the button downwards when pressed */
  transform: translateY(0);
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  background: #00a8af;
  color: #0c281f;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn:hover {
  background: #00a8af;
}

.btn.secondary {
  margin-top: 2.5rem;
  background: transparent;
  border: 2px solid #00a8af;
  color: #00a8af;
  font-size: 1.5rem;
}
.btn.secondary:hover {
  background: #00a8af;
  color: #0c281f;
}

section {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.section-title {
  font-size: 5rem;
  margin-bottom: 20px;
  color: #000;
}
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
input, textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #1e2b2e;
  color: #fff;
}

/* Animierte Schrift Anfang*/

.animated-text{
  font-size: 34px;
  font-weight: 600;
  min-width: 280px;
  color: #000000;
  
}

.animated-text span{
  position: relative;
}

.animated-text span::before{
  content: "film enthusiast";
  color: #63A8A8;
  animation: words 20s infinite;
}

.animated-text span::after {
  content: "";
  position: absolute;
  width: calc(100% + 8px);
  height: 100%;
  background-color: #fff;
  border-left: 2px solid #63A8A8;
  right: -8px;
  animation: cursor .8s infinite, typing 20s steps(14) infinite;
}


@keyframes cursor {
  to{
      border-left: 2px solid #00a8af;
  }
}

@keyframes words {
  0%,20%{
      content: "film enthusiast";
  }
  21%,40%{
      content: "2D animator";
  }
  41%,60%{
      content: "creative mind";
  }
  61%,80%{
      content: "video editor";
  }
  81%,100%{
      content: "visual artist";
  }
}

@keyframes typing {
  10%,15%,30%,35%,50%,55%,70%,75%,90%,95%{
      width: 0;
  }
  5%,20%,25%,40%,45%,60%,65%,80%,85%{
      width: calc(100% + 8px);
  }
}

/* Animierte Schrift Ende */


/*------------------Timeline------------------*/
  
.timeline-top-section {
	text-align: center;
	font-family: 'Amatic SC', cursive;
	padding: 4rem 0;
	max-width: 600px;
	margin: 30px auto;
}
.timeline-top-section h2{
	text-transform:uppercase;
	letter-spacing:4px;
	padding-top: 10px;
	color: #fff;
  font-size: 4rem;
}

.timeline-top-section h5{

	color: #fff;
	margin-top: 30px;
	font-size: 18px;

}
  .timeline {
	position: relative;
	padding: 0;
	width: 100%;
	margin-top: 20px;
	list-style-type: none;
  }
  
  .timeline:before {
	position: absolute;
	left: 50%;
	top: 0;
	content: ' ';
	display: block;
	width: 2px;
	height: 100%;
	margin-left: -1px;
	z-index: 5;
  }
  
  .timeline li {
	padding: 2em 0;
  } 
  
  .direction-l,
  .direction-r {
	float: none;
	width: 100%;
	
  }
  
  .flag-wrapper {
	text-align: center;
	position: relative;
  }
  
  .flag {
	position: relative;
	display: inline;
	background: rgb(255,255,255);
	font-weight: 600;
	z-index: -15px;
	padding: 10px 10px;
	text-align: left;
	border-radius: 5px;
	z-index: 15;
  }
  
  .direction-l .flag:after{
	position: absolute;
	height: 0;
	width: 0;
	margin-left: -15px;
	border: solid transparent;
	border-bottom-color: rgb(255,255,255);
	border-width: 8px;
	pointer-events: none;
  } 

  .direction-r .flag:after{
	position: absolute;
	height: 0;
	width: 0;
	margin-left: -8px;
	border: solid transparent;
	border-bottom-color: rgb(255,255,255);
	border-width: 8px;
	pointer-events: none;
  } 
  
  
  .time-wrapper {
	display: block;
	position: relative;
	margin: 4px 0 0 0;
	z-index: 14;
	line-height: 1em;
	color: #fff;
  }
  
  .direction-l .time-wrapper {
	float: none;
  }
  
  .direction-r .time-wrapper {
	float: none;
  }
  
  .time {
	background: #fff;
	display: inline-block;
	padding: 10px;
	
  }
  
  .desc {
	position: relative;
	margin: 1em 0 0 0;
	padding: 1em;
	background: #fff;	
	z-index: 15;
	border-radius: 5px;
  color:#000000;
  text-align: left;
  
  }

  .direction-l .desc {
	position: relative;
	margin: 1em 0.5em 0 1em;
	padding: 1em;
	z-index: 15;
  text-align: right;
  }
  .direction-r .desc {
	position: relative;
	margin: 1em 0 0 0;
  margin-left: 0;
	padding: 1em;
	z-index: 15;
  }

  .reveal{
	color: #000000;
	position: relative;
	transform: translateY(150px);
	opacity: 0;
	transition: 1s all ease;
  }
  
  .reveal.active{
  color: #000000;
	transform: translateY(0);
	opacity: 1;
  }

  @media(min-width: 768px){
	.timeline {
	  width: 660px;
	  margin: 0 auto;
	  margin-top: 20px;
	}

	.timeline:before {
		position: absolute;
		left: 50%;
		top: 0;
		content: ' ';
		display: block;
		width: 2px;
		height: 100%;
		margin-left: -1px;
	}
	.timeline li:after {
	  content: "";
	  display: block;
	  height: 0;
	  clear: both;
	  visibility: hidden;
	}

	.direction-l{
	  position: relative;
	  width: 310px;
	  float: left;
	  text-align: right;
	}
  
	.direction-r {
	  position: relative;
	  width: 310px;
	  float: right;
	  text-align: left;
	}
  
	.flag-wrapper {
	  display: inline-block;
	}
	
	.flag {
	  font-size: 18px;
	  padding: 5px 10px;
	}
  
	.direction-l .flag:after {
	  left: auto;
	  right: -16px;
	  top: 50%;
	  margin-top: -8px;
	  border: solid transparent;
	  border-left-color: rgb(254,254,254);
	  border-width: 8px;
	}
  
	.direction-r .flag:after {
	  top: 50%;
	  margin-top: -8px;
	  border: solid transparent;
	  border-right-color: rgb(254,254,254);
	  border-width: 8px;
	  left: -8px;
	}
  
	.time-wrapper {
	  display: inline;
	  vertical-align: middle;
	  margin: 0;
	  
	}
  
	.direction-l .time-wrapper {
	  float: left;
	}
  
	.direction-r .time-wrapper {
	  float: right;
	}
  
	.time {
	  padding: 5px 10px;
	}
  
	.direction-r .desc {
	  margin: 1em 0 0 0.75em;
	}
  }
  
  @media(min-width: 992px){
	.timeline {
	  width: 800px;
	  margin: 0 auto;
	  margin-top: 20px;
	}
  
	.direction-l {
	  position: relative;
	  width: 380px;
	  float: left;
	  text-align: left;
	}
  
	.direction-r {
	  position: relative;
	  width: 380px;
	  float: right;
	  text-align: left;	  
	}
  .direction-r .btn-main {
    display: inline-block;
    margin-top: 1rem;
  }
  }

  .btn-main {
    padding: 12px 24px;
    border-radius: 10px;
    background: #00a8af;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    
  }
  .btn-main:hover {
    background: #217c7c;
  }

  .card-r .btn-main {
    display: inline-block;
    margin-top: 1rem;
    text-align: left;
  }
  
  .card-l .btn-main {
    display: inline-block;
    margin-top: 1rem;
    text-align: right;
  }
  
/*------------------/Timeline------------------*/

/* ---------- Contact Section  ---------- */
#contact {
  padding: 80px 20px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

#contact .section-title {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #fff;
  font-family: 'Amatic SC', cursive;

}

#contact p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact input,
#contact textarea {
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: #1e2b2e;
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s;
}

#contact input::placeholder,
#contact textarea::placeholder {
  color: #bbb;
}

#contact input:focus,
#contact textarea:focus {
  outline: none;
  background: #26383d;
}

#contact button {
  align-self: center;
  
  border-radius: 10px;
  background: #00a8af;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  
  display: block;
  box-sizing: border-box;
  border: 2px solid var(--button_outline_color);
  border-radius: var(--button_radius);
  padding: 0.75em 1.5em;
  background: var(--button_color);
  color: var(--button_outline_color);
  transform: translateY(-0.2em);
  transition: transform 0.1s ease;
}

#contact button:hover {
  transform: translateY(-0.33em);
}

/*------------------/Contact Section------------------*/


footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #010f10;;
  color: #666;
}

/* Socials */ 
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
}
.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
.example-2 .icon-content a:hover {
  color: white;
}
.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #00a8af;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: #00a8af;
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
  background-color: #00a8af;
}

/* Karten in About me */ 
.card-l {
  font-family: Montserrat, sans-serif;
  width: auto;
  height: auto;
  translate: -6px -6px;
  background: #00a8af;
  border: 3px solid #000000;
  box-shadow: -12px -12px 0 rgba(0, 168, 175, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  border-top-left-radius: 25px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 0;
}

.card-l:hover,
.card-r:hover {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4px, 0); }
  40% { transform: translate(4px, 0); }
  60% { transform: translate(-4px, 0); }
  80% { transform: translate(4px, 0); }
  100% { transform: translate(0, 0); }
}


.card-r{
  font-family: Montserrat, sans-serif;
  width: auto;
  height: auto;
  translate: -6px -6px;
  background: #00a8af;
  border: 3px solid #000000;
  box-shadow: 12px 12px 0 rgba(0, 168, 175, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  border-top-left-radius: 25px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 0;
}

.head {
  font-family: Montserrat, sans-serif;
  font-size: 25px;
  font-weight: 900;
  width: auto;
  height: auto;
  background: #00a8af;
  padding: 5px 12px;
  color: #fff;
  border-bottom: 3px solid #000000;
}

.content {
  padding: 8px 12px;
  font-size: 20px;
  font-weight: 600;
  background: #fff;
  color: #000;
}

.button-pt {
  padding: 5px 10px;
  margin-top: 10px;
  border: 3px solid #000000;
  box-shadow: 3px 3px 0 #000000;
  font-weight: 750;
  background: #4ade80;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button-pt :hover {
  translate: 1.5px 1.5px;
  box-shadow: 1.5px 1.5px 0 #000000;
  background: #fff;
}

.button-pt :active {
  translate: 3px 3px;
  box-shadow: 0 0 0 #000000;
}

.card:hover {
  translate: -6px;
}


