:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  display: flex;
  margin: 0;
  background-image: url('Vakaroria_Banner.png'); 
  background-color: rgb(49, 51, 51);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  overflow: scroll;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.card {
  padding: 2em;
}

#app {
  max-width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

img, svg {
    max-width: 100%; /* Ensures images scale down on small screens */
    height: auto;    /* Prevents image distortion */
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

.logo {
  padding-right: 6px;
  padding-left: 3px;
  background: transparent;
  border: 5px solid #6dcaff;
  border-style: groove;
  border-radius: 6px;
  box-shadow: 0 0 15px #00ffc8;
  backdrop-filter: blur(20px);
  font-size: 48px;
  color: #56ff67;
  user-select: none;
}

p {
  background-color: #2f3b7a;
  border-radius: 20%;
  padding: 2%;
}

div .sub{
  background-color: blue;
  border: #1a1a1a solid 3px;
  border-radius: 20%;
  padding: 5%;
  margin-top: 5%;
  margin-bottom: 5%;
}

/* Header / nav responsive helpers */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
}

.site-nav a, .site-nav button {
  background: transparent;
  border: none;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Default desktop styles (applied in +layout.svelte <style> or app.css) */
.nav-links {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    justify-content: space-between;
}

/* Mobile Overrides (Triggered on screens 600px wide or smaller) */
@media (max-width: 600px) {
    .nav-links {
        flex-direction: column; /* Vertical stacking */
        align-items: stretch;   /* Make buttons full width */
        padding: 0;
    }
    
    .nav-links a {
        display: block; /* Make each link take up the full width */
        text-align: center;
        margin-bottom: 5px;
    }
}