body,
html,
#app {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

#app {
  touch-action: pan-up;
  color: #707070;
  font-family: "Montserrat", sans-serif;
  text-shadow: 0 0 5px #ffffff, 0 0 20px #000, 0 0 30px #000;
  position: relative;
  /* background-color: rgba(0, 0, 0, 0.3); */
}

::-webkit-scrollbar {
  display: none;
}

#app canvas {
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.header.header-hidden {
  transform: translateY(-100%);
}

#typing-area {
  padding: 30px;
}

.nav-brand {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  z-index: 1001;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: right 0.3s ease;
    gap: 2rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.5rem;
    width: auto;
    text-align: center;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
  }

  .nav-toggle.active .hamburger {
    background: transparent;
  }

  .nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .nav-brand {
    font-size: 1.2rem;
  }

  .nav-menu {
    padding: 1.5rem;
  }

  .nav-link {
    font-size: 1.3rem;
    padding: 0.8rem 1.6rem;
  }
}

.top-buttons:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.top-button {
  background-color: rgba(255, 255, 255, 0);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

.top-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

#social-buttons {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
}

#social-buttons a {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s, opacity 0.3s;
}

#social-buttons a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#social-buttons a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

#site-title {
  font-size: 48px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 10px #ffffff, 0 0 20px #000, 0 0 30px #000;
  margin: 0;
}

#site-title:hover {
  color: #ffffff;
  text-shadow: 0 0 15px #ffffff, 0 0 30px #000, 0 0 40px #000;
  transition: all 0.3s ease-in-out;
}

#site-description {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  line-height: 1.6;
  width: 80%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
}

img {
  width: 700px;
  height: 400px;
  margin-bottom: 10px;
}

#additional-info {
  margin: 10px auto;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  padding: 10px 20px;
  z-index: 8;

  img {
    width: 40%;
  }
}

#site-info {
  transition: opacity 0.5s ease, visibility 0.5s ease;
  padding-top: 60px;
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 10px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); */
  text-align: center;
  color: #ffffff;
  z-index: 10;
  /* margin-bottom: 110px; */
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.visible {
  opacity: 1;
  visibility: visible;
}

body {
  background: #000;
}

svg {
  /* position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); */
  height: 150px;
  width: 150px;
}

footer {
  /* background-color: rgba(0, 0, 0, 0.13); */
}

.footerContainer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  padding-top: 20px;
}

.socialIcons {
  display: flex;
  justify-content: center;
  align-items: center;
  /* img {
    height: 52px;
    width: 52px;
  } */
}

.socialIcons a {
  text-decoration: none;
  padding: 10px;
  background-color: white;
  margin: 10px;
  border-radius: 50%;
}

.socialIcons a i {
  font-size: 2em;
  color: black;
  opacity: 0, 9;
}

.socialIcons a:hover {
  background-color: #111;
  transition: 0.5s;
}

.socialIcons a:hover i {
  color: white;
  transition: 0.5s;
}

/* .footerNav{
  margin: 30px 0;
} */
.footerNav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

.footerNav ul li a {
  color: white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
  transition: 0.5s;
}

.footerNav ul li a:hover {
  opacity: 1;
}

.footerBottom {
  background-color: #000;
  padding: 20px;
  text-align: center;
}

.footerBottom p {
  color: white;
}

.designer {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}

@media (max-width: 700px) {
  .footerNav ul {
    flex-direction: column;
  }

  .footerNav ul li {
    width: 100%;
    text-align: center;
    margin: 10px;
  }

  .socialIcons a {
    padding: 8px;
    margin: 4px;
  }
}

#about {
  font-size: 24px;
  color: #fff;
  font-family: "Courier New", monospace;
  white-space: nowrap;
  overflow: hidden;
}

#about-info {
  white-space: pre-line;
}

#about-columns {
  display: flex;
  justify-content: center;
  /* margin-top: 20px; */
  gap: 45px;
  padding: 10px;
}

.about-block {
  height: 500px;
  width: calc(100% - 50px);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  overflow: hidden;
  line-height: 1.4;
  text-align: justify;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease;

  word-wrap: break-word;
  overflow-wrap: break-word;
  text-overflow: ellipsis;
  white-space: normal;
}

.about-block:hover {
  background-color: rgba(185, 132, 255, 0.3);
  border-color: #ffffff;
  transform: scale(1.02);
  z-index: 10;
}

.about-title {
  text-align: center;
  font-size: xx-large;
  padding-top: 5px;
  margin-bottom: 20px;
}

#text-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: 2rem;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.text-block {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.text-block:hover {
  background-color: rgba(185, 132, 255, 0.3);
  transform: scale(1.02);
}

.text-block img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.text-block-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: bold;
  color: #ffffff;
  margin: 0.5rem 0;
  text-align: center;
}

.text-block-description {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.6;
  color: #ffffff;
  opacity: 0.9;
  text-align: justify;
  overflow-wrap: break-word;
  hyphens: auto;
  overflow-y: auto;
  flex: 1;
  padding-right: 0.5rem;
}

@media (max-width: 1024px) {
  #text-columns {
    gap: 1.5rem;
  }

  .column {
    gap: 1.5rem;
  }

  .text-block {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  #text-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .text-block:hover {
    transform: scale(1.01);
  }
}

@media (max-width: 480px) {
  #text-columns {
    gap: 1rem;
  }

  .column {
    gap: 1rem;
  }

  .text-block {
    padding: 1rem;
  }

  .text-block:hover {
    transform: none;
  }

  .text-block-description::-webkit-scrollbar {
    width: 4px;
  }

  .text-block-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
  }

  .text-block-description::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }
}
