/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  
  header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: left;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: 0;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .hamburger {
    font-size: 24px;
    cursor: pointer;
    display: inline-block;
  }
  
  .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background: #333;
    border: 1px solid #444;
  }
  
  .menu li {
    padding: 10px 20px;
  }
  
  .menu a {
    color: #fff;
    text-decoration: none;
  }
  
  .menu-toggle:checked ~ .menu {
    display: block;
  }
  
  main {
    padding: 20px;
  }
  
  footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
  }
  
  /* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main.app {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f0f0;
}

main {
  text-align: center;
}

.compass {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 20px auto;
}

.compass-face {
  width: 100%;
  height: 100%;
  border: 5px solid #333;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
}

.compass-needle {
  width: 2px;
  height: 50%;
  background-color: red;
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: bottom;
  transform: translateX(-50%) rotate(0deg);
  transition: transform 0.1s ease-out;
}

.direction {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: bold;
}

.compass-target-needle {
  width: 2px;
  height: 50%;
  background-color: blue;
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: bottom;
  transform: translateX(-50%) rotate(0deg);
  transition: transform 0.1s ease-out;
}
