/* dynapuff-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DynaPuff";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/dynapuff-v4-latin-regular.woff2")
    format(
      "woff2"
    ); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  min-height: 100vh;
  min-width: 100vw;
  background-image: linear-gradient(135deg, #cdf93d 10%, #58cffb 100%);
  margin: auto;
  font-family: "DynaPuff";
  color: #22232e;

  display: flex;
  flex-direction: column;
}

:root {
  color-scheme: dark light;
}

footer {
  text-align: right;
  margin-inline: 1em;
  margin-block: 1em;
  /* border-top: 1px solid black; */
}

header {
  display: flex;
  font-size: 1.3em;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  color: #22232e;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  list-style: none; /* emoves default list styling */
}

.left-nav,
.right-nav {
  flex: 1;
}

.left-nav {
  justify-content: flex-start;
}

.right-nav {
  justify-content: flex-end;
}

nav a {
  color: #22232e;
  text-decoration: none; /* removes underline */
  padding: 2em; /* Vertical padding for clickability */
  transition: color 0.3s ease; /* Smooth color transition */
}

nav a:hover {
  color: #0048ff; /* Changes color on hover */
}

.user {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.user img {
  height: 3em;
  border-radius: 50%; /* Circle image*/
  margin-bottom: 1em; /* Space between image and text */
}

/* Media queries to make it nice and responsive for mobile devices */
@media (max-width: 900px) {
  header {
    font-size: 1.2em;
  }

  nav {
    padding: 0.5em;
  }

  nav a {
    padding: 1em;
  }
}

/* Media queries to make it nice and responsive for mobile devices */
@media (max-width: 700px) {
  header {
    flex-direction: column;
    font-size: 1em;
    text-align: center;
  }

  nav {
    align-items: center;
  }
}
