* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  background: #1a1a1a;
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
  scroll-behavior: smooth;
}

button {
  cursor: pointer;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.header {
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.line {
  height: 16px;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header nav a {
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.right .connect {
  background: #fff;
  border: 1px solid #dbdbdb;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 60px;
}

.functions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.landing .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing .top .text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing .top .text h1 {
  font-size: 42px;
  font-weight: bold;
  color: #fff;
}

.landing .top .text p {
  font-size: 14px;
  color: #fff;
  max-width: 350px;
}

.landing .top .text a {
  background: #bcff2f;
  padding: 15px 30px;
  width: max-content;
  border-radius: 60px;
}

.bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.bottom .feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 30px 20px;
  border: 1px solid #2e2e2e;
  border-radius: 32px;
}

.bottom .feature img {
  width: 120px;
  height: 120px;
}

.bottom .feature p {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}

.bottom .feature span {
  color: #909090;
  font-size: 15px;
  text-align: center;
}

.wiakw {
  margin: 0 auto;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 40px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.2);
  width: max-content;
}

footer {
  background: #000;
  padding: 60px 0px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 100px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.up {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 1600px;
}

.up img {
  width: max-content;
}

.up p {
  color: #6c6c6c;
  font-size: 14px;
}

.down {
  display: flex;
  width: 100%;
  max-width: 1600px;
  align-items: start;
  gap: 80px;
}

.down .col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.down .col p {
  color: #fff;
}

.down .col a {
  font-size: 14px;
  color: #909090;
}

modal {
  position: relative;
  width: 400px;
  height: 550px;
  display: flex;
  z-index: 1;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
  background: #1a1a1a;
  backdrop-filter: blur(5px);
  border-radius: 5px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
}

.mhead {
  z-index: 5;
  position: absolute;
  top: 0;
  width: 100%;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.mlogo {
  height: 16px;
}

#modal {
  top: 30px;
  position: absolute;
  right: 0px;
  z-index: -1;
}

.mcontent {
  padding: 20px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  width: 100%;
}

.mtitle {
  font-size: 52px;
  width: 100%;
  color: white;
}

.experience {
  letter-spacing: 2px;
  color: white;
  text-align: center;
  font-size: 16px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.mbuttons {
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.mbuttons a {
  width: 100%;
  height: 50px;
  background: #bcff2f;
  font-size: 18px;
  border-radius: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.insert img {
  height: 60px;
}

.mcontent .insert {
  background: transparent;
  font-size: 24px;
  border-radius: 16px;
  width: 100%;
  height: 65px;
  display: flex;
  border: 2px solid #2e2e2e;
  justify-content: center;
  align-items: center;
}

.mcontent .insert img {
  height: 50px;
}

#chooser {
  height: 100px;
  width: auto;
}

.whiteline {
  padding: 10px;
  border: 2px solid #2e2e2e;
  color: #ffffff;
  font-size: 16px;
  border-radius: 6px;
}

textarea {
  width: 100%;
  background: transparent;
  gap: 10px;
  border: 2px solid #2e2e2e;
  border-radius: 16px;
  color: #ffffff;
  font-size: 16px;
  padding: 10px;
  height: 150px;
  outline: none;
  font-family: Jogan Regular, sans-serif;
}

#inserter .mcontent {
  gap: 10px;
}

.insertitle {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin-top: 40px;
  text-align: center;
}

overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  z-index: 99;
}

.modalimage {
  width: 300px;
  margin: 0 auto;
}

.language-switcher {
  position: relative;
  font-family: "Inter", sans-serif;
  margin-left: 20px;
  z-index: 100;
}

.selected-language {
  display: flex;
  font-size: 12px;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}

.selected-language:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.flag-icon {
  width: 16px;
  margin-right: 8px;
  border-radius: 15px;
  object-fit: cover;
}

.selected-language span {
  color: #fff;
}

.dropdown-arrow {
  margin-left: 8px;
  transition: transform 0.2s;
}

.language-switcher.active .dropdown-arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 160px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 8px;
  padding: 8px 0;
  display: none;
  list-style: none;
  z-index: 101;
}

.language-dropdown li {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
  transition: background-color 0.2s;
}

.language-dropdown li:hover {
  background-color: #f5f5f5;
}

.language-switcher.active .language-dropdown {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dark-theme .language-dropdown {
  background-color: #222;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-theme .language-dropdown li {
  color: #eee;
}

.dark-theme .language-dropdown li:hover {
  background-color: #333;
}
