.glass {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-left: 2vw;
  margin-right: 2vw;
}

@keyframes neon {
  0%,
  100% {
    text-shadow: 0 0 5px #9f7aea, 0 0 15px #9f7aea, 0 0 20px #9f7aea;
  }
  50% {
    text-shadow: 0 0 15px #9f7aea, 0 0 25px #9f7aea, 0 0 35px #9f7aea;
  }
}

.neon-text {
  font-size: 1.5rem;
  color: white;
  animation: neon 1.5s infinite;
  cursor: pointer;
}

.hero-content h1 {
  font-family: "Sansita", sans-serif;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
  background-color: transparent;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  background-color: transparent;
}

.scroll-text-container {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  visibility: hidden;
  z-index: 2;
  background-color: transparent;
}

.images_random {
  width: 100vw;
  height: 100vh;
  position: relative;
  position: absolute;
}

.images_random img {
  width: max(10vw, 10vh);
  transition: 2s;
  transition-timing-function: ease-in-out;
  height: auto;
  position: absolute;
  opacity: 0;
}

@media (max-width: 640px) {
  #projects {
    padding: 20px;
  }

  #contact-form {
    max-width: 90%;
    margin: 0 auto;
  }
}

.flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
    "Noto Emoji", sans-serif;
}

.flag img {
  display: none;
}

@supports (font-variation-settings: normal) {
  .flag img {
    display: inline-block;
    width: 20px;
    height: 15px;
    vertical-align: middle;
    margin-left: 5px;
  }
}

.about-text {
  margin-left: 8vw;
  margin-right: 8vw;
  justify-content: center;
  text-align: center;
}

@media (max-width: 576px) {
  .about-text {
    margin-left: 8vw;
    margin-right: 8vw;
    /* padding-left: 8vw;
    padding-right: 8vw; */

    text-align: center;
  }
}

#message::-webkit-scrollbar {
  width: 10px;
}

#message::-webkit-scrollbar-track {
  background: #4a5568;
  border-radius: 5px;
}

#message::-webkit-scrollbar-thumb {
  background: #9f7aea;
  border-radius: 5px;
}

#message::-webkit-scrollbar-thumb:hover {
  background: #805ad5;
}

#message {
  scrollbar-width: thin;
  scrollbar-color: #9f7aea #4a5568;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #2d3748;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: #9f7aea;
  border-radius: 6px;
  border: 3px solid #2d3748;
}

::-webkit-scrollbar-thumb:hover {
  background: #805ad5;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #9f7aea #2d3748;
}

.os-theme-dark {
  --os-size: 12px;
  --os-padding-perpendicular: 0;
  --os-track-bg: #2d3748;
  --os-track-border-radius: 6px;
  --os-thumb-bg: #9f7aea;
  --os-thumb-border-radius: 6px;
  --os-thumb-bg-hover: #805ad5;
}

.language-selector {
  position: relative;
}

.language-selector .dropdown {
  display: none; 
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); 
  color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); 
  z-index: 1;
  border-radius: 10px; 
  padding: 8px 0; 
  max-height: 200px; 
  overflow-y: auto;
}

.language-selector .dropdown::-webkit-scrollbar {
  width: 2px;
}

.language-selector .dropdown::-webkit-scrollbar-thumb {
  background-color: #7e57c2;
  border-radius: 8px;
}

.language-selector .dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.language-selector .dropdown {
  scrollbar-width: thin; 
  scrollbar-color: #7e57c2 transparent;
}

.language-selector .dropdown.show {
  display: block;
}

.language-selector .dropdown a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.language-selector .dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.language-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  cursor: pointer;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) scale(1.1);
  padding: 16px 32px;
  border-radius: 4px;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  font-size: 16px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) scale(1.1);
}
