body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.tool {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
}

.hidden {
    display: none;
}

.compass-circle {
    width: 200px;
    height: 200px;
    border: 2px solid #000;
    border-radius: 50%;
    position: relative;
}

.compass-needle {
    width: 2px;
    height: 100px;
    background-color: red;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: bottom;
}

.compass-degree, .compass-direction {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

.ruler-scale {
    width: 100%;
    height: 20px;
    background-color: #ccc;
    position: relative;
}

.level-bubble {
    width: 100px;
    height: 100px;
    border: 2px solid #000;
    border-radius: 50%;
    position: relative;
}

.level-degree {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

.buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
}