:root {
  --main-color : #00e0c6;
  --darkcolor : rgb(20, 30, 40);
  --navcolor : rgb(15, 15, 40);
}

@font-face {
  font-family: 'DynaPuff';
  src: url('../fonts/DynaPuff.ttf');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'DynaPuff', sans-serif;
  color: #f0f0f0;
}

html,
body {
  height: 100%;
  background-image: url('../img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
}

.homefiller-container {
    position: relative;
    width: 100%;
    height: 20vh;
    overflow: hidden;
}

.homefiller {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
}

.homefiller-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
    text-shadow: 0 0 5px var(--main-color), 0 0 10px var(--main-color);
    pointer-events: none;
}

.background-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  width: 95vw;
  height: 95vh;
  margin: 2.5vh auto;
  background-color: var(--darkcolor);
  box-shadow:
    0 0 5px var(--main-color),
    0 0 10px var(--main-color),
    0 0 15px var(--main-color);
    overflow-y: scroll;
}

/* --- Navigation --- */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navcolor);
  padding: 16px 32px;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--main-color);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #f0f0f0;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--main-color);
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 24px;
}

.lang-switch a {
  text-decoration: none;
  color: #ccc;
  font-weight: 600;
  transition: color 0.2s;
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--main-color);
  text-shadow:
    0 0 4px var(--main-color),
    0 0 6px var(--main-color),
    0 0 8px var(--main-color);
}

.noselect {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* --- Version Mobile --- */
@media (max-width: 768px) {
  .logo{
    display: none;
  }

  .homefiller-text{
    font-size: 30px !important;
  }

  .container{
    padding-bottom: 25px;
  }

  .nav-links{
    gap: 8px;
  }

  .lang-switch{
    font-size: 18px;
  }

  .navbar{
    padding: 16px 16px;
  }
}
