@font-face {
  font-family: "Roboto";
  src: url(fonts/Roboto-VariableFont_wdth\,wght.ttf) format("truetype");
}

@font-face {
  font-family: "Montserrat";
  src: url(fonts/Montserrat/Montserrat-VariableFont_wght.ttf) format("truetype");
}

@font-face {
  font-family: "Poppins";
  src: url(fonts/poppins/Poppins-Regular.woff) format("woff");
}

html,
body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif, Arial, Helvetica, sans-serif;
  background-color: rgb(20, 29, 47);
}

a {
  text-decoration: none;
  color: inherit;
}

.content{
  width: 100%;
  max-width: 1440px;
  height: 100%;
}

.general-btn {
  background-color: rgba(112, 230, 28, 1);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px 30px;
  font-size: 23px;
  cursor: pointer;
}

.general-btn:hover {
  background-color: rgba(151, 71, 255, 1);
  transition: ease, transform 0.2s ease;
  transform: scale(1.2);
}

#modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#modal-overlay.modal-open {
  display: flex;
}

#modal-box {
  background-color: rgb(30, 42, 64);
  border-radius: 14px;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.25s ease;
}

#modal-icon {
  width: 56px;
  height: 56px;
}

#modal-message {
  color: white;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

body.lang-en .iam,
body.lang-en #i-am {
  font-size: clamp(20px, 4.5vw + 0.5rem, 90px);
}

body.lang-de .iam,
body.lang-de #i-am {
  font-size: clamp(15px, 4.5vw - 0.5rem, 48px);
}

.fade-up,
.fade-up-right {
  opacity: 0;
  will-change: transform, opacity;
}

.fade-up.in-view {
  animation: fadeInLeftToRight 1s cubic-bezier(.22,.98,.38,1) both;
}

.fade-up-right.in-view {
  animation: fadeInRightToLeft 1s cubic-bezier(.22,.98,.38,1) both;
}

@keyframes fadeInLeftToRight {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRightToLeft {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

