@keyframes descendPage {
  from {
    transform: translateY(-60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.page {
  animation: descendPage 2.2s cubic-bezier(.22,1,.36,1) forwards;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  transition: 0.3s ease;
}


:root {
  --bg: #fafafa;
  --text: #333;
  --card: #fff;
  --border: #ddd;
}

body.dark {
  --bg: #1e1e1e;
  --text: #f5f5f5;
  --card: #2b2b2b;
  --border: #444;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  padding: 10px 40px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.nav-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.img {
  margin-top: 10px;
  height: 80px;
  width: 90px;
  border-radius: 15px;
}

.logo {
  font-size: 1.6em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: underline;
  margin: 0;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu > li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.1em;
  font-weight: 500;
  padding: 8px 12px;
  display: inline-block;
  transition: 0.2s;
}

.menu a:hover {
  background-color: rgba(0,0,0,0.05);
  border-radius: 6px;
}


.dropdown-content {
  display: none;
  position: absolute;
  top: 38px;
  left: 0;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  min-width: 200px;
  padding: 5px 0;
  z-index: 100;
  list-style: none;
  margin: 0;
}

.dropdown-content li {
  border-bottom: 1px solid var(--border);
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: var(--text);
  text-align: left;
}

.dropdown-content a:hover {
  background-color: rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-content {
  display: block;
}


.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}


.lang-switch {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}

.lang-btn img {
  width: 20px;
  height: 20px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0);
}

.lang-btn.active {
  border-color: #012b5838;
  background-color: rgba(0, 0, 0, 0.116);
}


.theme-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 15%;
  font-size: 1.2em;
  padding: 6px 10px;
  cursor: pointer;
  transition: 0.2s;
}

.theme-btn:hover {
  background: rgba(0,0,0,0.05);
}


.content {
  text-align: center;
  margin-top: 100px;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 20px;
  margin: 20px;
  width: 60%;
  justify-content: center;
  margin-left: 19%;
  background-color: var(--card);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  transform: translateY(0);
  animation: float 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
